summaryrefslogtreecommitdiff
path: root/repackaged/libphonenumber/src/com/android/i18n/phonenumbers/ShortNumberInfo.java
AgeCommit message (Collapse)Author
2018-11-27Annotate repackaged API with @UnsupportedAppUsagePaul Duffin
Adds @UnsupportedAppUsage annotations to the parts of libphonenumber that are in the hidden API. Allows the libphonenumber entries to be removed from the frameworks/base/config/hiddenapi-light-greylist.txt. The build rule had to be changed to depend (by default) on the core.platform.api.stubs as UnsupportedAppUsage annotation is not present in the core_current API. This was tested by making and then manually checking that the generated out/target/common/obj/PACKAGING/hiddenapi-light-greylist.txt was the same (after sorting) before and after this change. Bug: 117818301 Test: see above Change-Id: Ic8c6a424a083b1a6c567126b93f49ce10f4e5f93
2018-11-20Use generated source not jarjarPaul Duffin
This is in preparation to adding UnsupportedAppUsage annotations to the source. Note: Although the classes in the android/ directory are in the correct package and so do not need to be moved to a different package they do reference classes that are in the wrong package and so they need those references transformed. Tested using: m -j32 droid adb reboot bootloader fastboot flashall -w m -j32 cts cts-tradefed run cts -m CtsTelephonyTestCases -t android.telephony.cts.PhoneNumberUtilsTest Bug: 117818301 Test: see above Change-Id: I523e98eabc7eddff593afeddd399c11061664a59