Skip to content

Commit 535fea1

Browse files
author
Adam Lesinski
committed
Use Android.mk to specify private symbol package name
Change-Id: I290cb5a16173af9e8d1b16203ed8e8ddaa35045f
1 parent caceb02 commit 535fea1

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

core/res/Android.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ LOCAL_CERTIFICATE := platform
2323
# Tell aapt to create "extending (non-application)" resource IDs,
2424
# since these resources will be used by many apps.
2525
LOCAL_AAPT_FLAGS := -x
26+
LOCAL_AAPT_FLAGS += --private-symbols com.android.internal
2627

2728
LOCAL_MODULE_TAGS := optional
2829

core/res/res/values/symbols.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@
1616
*/
1717
-->
1818
<resources>
19-
<!-- We don't want to publish private symbols in android.R as part of the
20-
SDK. Instead, put them here. -->
21-
<private-symbols package="com.android.internal" />
22-
2319
<!-- Private symbols that we need to reference from framework code. See
2420
frameworks/base/core/res/MakeJavaSymbols.sed for how to easily generate
2521
this.

0 commit comments

Comments
 (0)