Merge "Changing apk name in the manifest and the corresponding packages." into tm-dev

This commit is contained in:
Baligh Uddin
2022-03-25 13:12:10 +00:00
committed by Android (Google) Code Review
3 changed files with 5 additions and 5 deletions

View File

@@ -70,8 +70,8 @@ public class BluetoothMaxConnectedAudioDevicesPreferenceControllerTest {
mPreference.setEntryValues(R.array.bluetooth_max_connected_audio_devices_values);
// Retrieve default max connected audio devices to a test controlled value
try {
Resources res = mSpyContext.getPackageManager().getResourcesForApplication("com.android.bluetooth");
TEST_MAX_CONNECTED_AUDIO_DEVICES = res.getInteger(res.getIdentifier("config_bluetooth_max_connected_audio_devices", "integer", "com.android.bluetooth"));
Resources res = mSpyContext.getPackageManager().getResourcesForApplication("com.android.bluetooth.services");
TEST_MAX_CONNECTED_AUDIO_DEVICES = res.getInteger(res.getIdentifier("config_bluetooth_max_connected_audio_devices", "integer", "com.android.bluetooth.services"));
} catch (PackageManager.NameNotFoundException e) {
e.printStackTrace();
}