Remove slash from set-test-mode cmd (for renounce)
(NOTE: We recently applied an identical fix to other tests. This commit
applies the fix to NearbyDevicesRenouncePermissionTest.)
We're currently using the following command to enable/disable Bluetooth
test mode:
dumpsys activity service X set-test-mode enabled
dumpsys activity service X set-test-mode disabled
...where X is:
com.android.bluetooth/.btservice.AdapterService
This is failing. Change X to:
com.android.bluetooth.btservice.AdapterService
The reason this broke is that:
1. The slash actually invokes a different syntax, where the part left
of the slash refers to an APK package name.
2. Bluetooth recently renamed their APK from 'com.android.bluetooth' to
'com.android.bluetooth.services'.
With no slash, the path simply refers to a Java class package name.
Bug: 227026613
Test: atest NearbyDevicesRenouncePermissionTest
Change-Id: I8827481862ad23f7de3fc7c314bfa447e6583553
1 file changed