Clean bluetooth code
Fixing nit from Ib40a6264d8d6908103d76b6401ddcfd3ffa7dd88 Test: m ROBOTEST_FILTER="com.android.settings.bluetooth" RunSettingsRoboTests Test: Open developer settings Bug: 257158801 Change-Id: Id3521c423e5ab751633df627d113206f374fbe8e
This commit is contained in:
@@ -203,7 +203,7 @@ public final class Utils {
|
||||
public static String findBluetoothPackageName(Context context)
|
||||
throws NameNotFoundException {
|
||||
// this activity will always be in the package where the rest of Bluetooth lives
|
||||
String sentinelActivity = "com.android.bluetooth.opp.BluetoothOppLauncherActivity";
|
||||
final String sentinelActivity = "com.android.bluetooth.opp.BluetoothOppLauncherActivity";
|
||||
PackageManager packageManager = context.createContextAsUser(UserHandle.SYSTEM, 0)
|
||||
.getPackageManager();
|
||||
String[] allPackages = packageManager.getPackagesForUid(BLUETOOTH_UID);
|
||||
|
Reference in New Issue
Block a user