Loading src/com/android/settings/bluetooth/BluetoothPermissionRequest.java +1 −1 Original line number Diff line number Diff line Loading @@ -126,7 +126,7 @@ public final class BluetoothPermissionRequest extends BroadcastReceiver { // "Clear All Notifications" button Intent deleteIntent = new Intent(BluetoothDevice.ACTION_CONNECTION_ACCESS_REPLY); deleteIntent.setPackage("com.android.bluetooth.services"); deleteIntent.setPackage("com.android.bluetooth"); deleteIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); deleteIntent.putExtra(BluetoothDevice.EXTRA_CONNECTION_ACCESS_RESULT, BluetoothDevice.CONNECTION_ACCESS_NO); Loading src/com/android/settings/development/BluetoothMaxConnectedAudioDevicesPreferenceController.java +2 −2 Original line number Diff line number Diff line Loading @@ -47,10 +47,10 @@ public class BluetoothMaxConnectedAudioDevicesPreferenceController extends try { Resources res = context.getPackageManager().getResourcesForApplication( "com.android.bluetooth.services"); "com.android.bluetooth"); mDefaultMaxConnectedAudioDevices = res.getInteger(res.getIdentifier( "config_bluetooth_max_connected_audio_devices", "integer", "com.android.bluetooth.services")); "integer", "com.android.bluetooth")); } catch (PackageManager.NameNotFoundException e) { e.printStackTrace(); } Loading tests/robotests/src/com/android/settings/development/BluetoothMaxConnectedAudioDevicesPreferenceControllerTest.java +2 −2 Original line number Diff line number Diff line Loading @@ -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.services"); TEST_MAX_CONNECTED_AUDIO_DEVICES = res.getInteger(res.getIdentifier("config_bluetooth_max_connected_audio_devices", "integer", "com.android.bluetooth.services")); 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")); } catch (PackageManager.NameNotFoundException e) { e.printStackTrace(); } Loading Loading
src/com/android/settings/bluetooth/BluetoothPermissionRequest.java +1 −1 Original line number Diff line number Diff line Loading @@ -126,7 +126,7 @@ public final class BluetoothPermissionRequest extends BroadcastReceiver { // "Clear All Notifications" button Intent deleteIntent = new Intent(BluetoothDevice.ACTION_CONNECTION_ACCESS_REPLY); deleteIntent.setPackage("com.android.bluetooth.services"); deleteIntent.setPackage("com.android.bluetooth"); deleteIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); deleteIntent.putExtra(BluetoothDevice.EXTRA_CONNECTION_ACCESS_RESULT, BluetoothDevice.CONNECTION_ACCESS_NO); Loading
src/com/android/settings/development/BluetoothMaxConnectedAudioDevicesPreferenceController.java +2 −2 Original line number Diff line number Diff line Loading @@ -47,10 +47,10 @@ public class BluetoothMaxConnectedAudioDevicesPreferenceController extends try { Resources res = context.getPackageManager().getResourcesForApplication( "com.android.bluetooth.services"); "com.android.bluetooth"); mDefaultMaxConnectedAudioDevices = res.getInteger(res.getIdentifier( "config_bluetooth_max_connected_audio_devices", "integer", "com.android.bluetooth.services")); "integer", "com.android.bluetooth")); } catch (PackageManager.NameNotFoundException e) { e.printStackTrace(); } Loading
tests/robotests/src/com/android/settings/development/BluetoothMaxConnectedAudioDevicesPreferenceControllerTest.java +2 −2 Original line number Diff line number Diff line Loading @@ -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.services"); TEST_MAX_CONNECTED_AUDIO_DEVICES = res.getInteger(res.getIdentifier("config_bluetooth_max_connected_audio_devices", "integer", "com.android.bluetooth.services")); 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")); } catch (PackageManager.NameNotFoundException e) { e.printStackTrace(); } Loading