frameworks/base: Set LOCAL_SDK_VERSION where possible.
This change sets LOCAL_SDK_VERSION for all packages where this is possible without breaking the build, and LOCAL_PRIVATE_PLATFORM_APIS := true otherwise. Setting one of these two will be made required soon, and this is a change in preparation for that. Not setting LOCAL_SDK_VERSION makes the app implicitly depend on the bootclasspath, which is often not required. This change effectively makes depending on private apis opt-in rather than opt-out. Test: make relevant packages Bug: 73535841 Change-Id: Ibcffec873a693d1c792ca210fb597d2bf37e9068 Merged-In: I4233b9091d9066c4fa69f3d24aaf367ea500f760
Showing
- apct-tests/perftests/core/Android.mk 1 addition, 0 deletionsapct-tests/perftests/core/Android.mk
- apct-tests/perftests/multiuser/Android.mk 1 addition, 0 deletionsapct-tests/perftests/multiuser/Android.mk
- core/tests/BTtraffic/Android.mk 1 addition, 0 deletionscore/tests/BTtraffic/Android.mk
- core/tests/ConnectivityManagerTest/Android.mk 1 addition, 0 deletionscore/tests/ConnectivityManagerTest/Android.mk
- core/tests/SvcMonitor/Android.mk 1 addition, 0 deletionscore/tests/SvcMonitor/Android.mk
- core/tests/bandwidthtests/Android.mk 1 addition, 0 deletionscore/tests/bandwidthtests/Android.mk
- core/tests/bluetoothtests/Android.mk 1 addition, 0 deletionscore/tests/bluetoothtests/Android.mk
- core/tests/coretests/Android.mk 1 addition, 0 deletionscore/tests/coretests/Android.mk
- core/tests/coretests/DisabledTestApp/Android.mk 1 addition, 0 deletionscore/tests/coretests/DisabledTestApp/Android.mk
- core/tests/coretests/EnabledTestApp/Android.mk 1 addition, 0 deletionscore/tests/coretests/EnabledTestApp/Android.mk
- core/tests/coretests/apks/FrameworkCoreTests_apk.mk 1 addition, 0 deletionscore/tests/coretests/apks/FrameworkCoreTests_apk.mk
- core/tests/hosttests/test-apps/DownloadManagerTestApp/Android.mk 1 addition, 0 deletions...sts/hosttests/test-apps/DownloadManagerTestApp/Android.mk
- core/tests/notificationtests/Android.mk 3 additions, 0 deletionscore/tests/notificationtests/Android.mk
- core/tests/packagemanagertests/Android.mk 1 addition, 0 deletionscore/tests/packagemanagertests/Android.mk
- core/tests/systemproperties/Android.mk 1 addition, 0 deletionscore/tests/systemproperties/Android.mk
- core/tests/utiltests/Android.mk 1 addition, 0 deletionscore/tests/utiltests/Android.mk
- location/tests/locationtests/Android.mk 1 addition, 0 deletionslocation/tests/locationtests/Android.mk
- lowpan/tests/Android.mk 1 addition, 0 deletionslowpan/tests/Android.mk
- media/mca/samples/CameraEffectsRecordingSample/Android.mk 1 addition, 0 deletionsmedia/mca/samples/CameraEffectsRecordingSample/Android.mk
- media/mca/tests/Android.mk 1 addition, 0 deletionsmedia/mca/tests/Android.mk
Loading
Please register or sign in to comment