A ResTable_map entry has a name attribute, which could be a dynamic reference if it comes from a shared library. It was not being patched with the correct package id. Bug:16795890 Change-Id: Ia8df6a943269b2fefb2132c3ed74eb1997d7701b
56 lines
1.0 KiB
C++
56 lines
1.0 KiB
C++
#ifndef __BASE_R_H
|
|
#define __BASE_R_H
|
|
|
|
namespace base {
|
|
namespace R {
|
|
|
|
namespace attr {
|
|
enum {
|
|
attr1 = 0x7f010000, // default
|
|
attr2 = 0x7f010001, // default
|
|
};
|
|
}
|
|
|
|
namespace layout {
|
|
enum {
|
|
main = 0x7f020000, // default, fr-sw600dp-v13
|
|
};
|
|
}
|
|
|
|
namespace string {
|
|
enum {
|
|
test1 = 0x7f030000, // default
|
|
test2 = 0x7f030001, // default
|
|
|
|
test3 = 0x7f070000, // default (in feature)
|
|
test4 = 0x7f070001, // default (in feature)
|
|
};
|
|
}
|
|
|
|
namespace integer {
|
|
enum {
|
|
number1 = 0x7f040000, // default, sv
|
|
number2 = 0x7f040001, // default
|
|
|
|
test3 = 0x7f080000, // default (in feature)
|
|
};
|
|
}
|
|
|
|
namespace style {
|
|
enum {
|
|
Theme1 = 0x7f050000, // default
|
|
Theme2 = 0x7f050001, // default
|
|
};
|
|
}
|
|
|
|
namespace array {
|
|
enum {
|
|
integerArray1 = 0x7f060000, // default
|
|
};
|
|
}
|
|
|
|
} // namespace R
|
|
} // namespace base
|
|
|
|
#endif // __BASE_R_H
|