As mentioned in go/partitions-in-r, we plan to forbid hidden API in
product partition.
So this app should be moved to /system_ext because it uses hidden API.
It is not permanent, so they can be moved back to /product due to
needs if there isn't hidden usage anymore.
Bug: 137908189
Test: m
Test: check whether device boots successfully
Change-Id: Id1e897eadea814b780f199fa7f3d683924eb4ab3
getControllerActivityEnergyInfo() is an @hide API,
migrate to getWifiActivityEnergyInfoAsync() which is an
@SystemApi.
Bug: 145244073
Test: m Development && adb install Development.apk,
open Dev Tools app, go to Connectivity page, tap on
Link Stats button, ensure link stats printed in text
box below.
Change-Id: I0a9edfff7d924a31c5a3470a89e03bd161f1a8fb
Emulator host will set the guest keyboard layout with boot
properties based on the host keyboard layout.
Also, fixed complaints in setting properties adb_enabled and
install_non_market_apps.
BUG: 78115103
Merged-In: Iad3750af5383ba27fbf20eb9b26652f037853f1f
Change-Id: Iad3750af5383ba27fbf20eb9b26652f037853f1f
Signed-off-by: Weilun Du <wdu@google.com>
Emulator host will set the guest keyboard layout with boot
properties based on the host keyboard layout.
Also, fixed complaints in setting properties adb_enabled and
install_non_market_apps.
BUG: 78115103
Change-Id: Iad3750af5383ba27fbf20eb9b26652f037853f1f
Signed-off-by: Weilun Du <wdu@google.com>
launchperf use the private APIs in android.test.runner. So
LOCAL_SDK_VERSION of launchperf will be changed to platform.
Bug: 77577799
Test: m -j
Merged-In: I4ab94e009d96c297b37c7afee35f8ddd2546b977
Change-Id: I4ab94e009d96c297b37c7afee35f8ddd2546b977
launchperf use the private APIs in android.test.runner. So
LOCAL_SDK_VERSION of launchperf will be changed to platform.
Bug: 77577799
Test: m -j
Change-Id: I4ab94e009d96c297b37c7afee35f8ddd2546b977
This reverts commit 3bf31401fe.
Reason for revert: Build cop revert because this change is breaking Blueline builds.
Change-Id: I54f87f21eec0e93873ffedec6b0bbe154584ba4b
Otherwise, it causes the CTS-on-GSI failure on non-emulator devices:
CtsPermission2TestCases android.permission2.cts.PrivappPermissionsTest#testPrivappPermissionsEnforcement
Because non-emulator devices lack the permission file in their /vendor.
/system/priv-app/SdkSetup/SdkSetup.apk
/vendor/etc/permissions/privapp-permissions-goldfish.xml
Bug: 110517983
Test: boot a GSI and checks that SdkSetup.apk is moved to /vendor
Change-Id: I3086f99c477eeca38f42041e1809a5aa3b8bfa7a
An on-device dumpsys / logcat viewer.
It needs the following 3 permissions in order to access logcat / dumpsys.
<uses-permission android:name="android.permission.READ_LOGS"/>
<uses-permission android:name="android.permission.DUMP"/>
<uses-permission android:name="android.permission.PACKAGE_USAGE_STATS"/>
Use "adb install -r -g DumpViewer.apk" to give the permissions.
Alternatively, you can grant the permissions with "pm grant":
pm grant com.android.dumpviewer android.permission.PACKAGE_USAGE_STATS
pm grant com.android.dumpviewer android.permission.READ_LOGS
pm grant com.android.dumpviewer android.permission.DUMP
Bug: 110088132
Test: manual test
Change-Id: If5aed1e459e67989f6759a2f53c80a26c3eacccf