Loading services/usb/java/com/android/server/usb/UsbProfileGroupSettingsManager.java +2 −0 Original line number Diff line number Diff line Loading @@ -901,6 +901,7 @@ public class UsbProfileGroupSettingsManager { int count = resolveInfos.size(); for (int i = 0; i < count; i++) { ResolveInfo resolveInfo = resolveInfos.get(i); Log.i(TAG, "jklee resolveInfo:" + resolveInfo); if (packageMatchesLocked(resolveInfo, null, accessory)) { matches.add(resolveInfo); } Loading Loading @@ -1080,6 +1081,7 @@ public class UsbProfileGroupSettingsManager { @Nullable UsbAccessory accessory) { // Remove all matches which are on the denied list ArraySet deniedPackages = null; Log.i(TAG, "jklee intent:" + intent + " matches:" + matches + " defaultActivity:" + defaultActivity + " device:" + device + " accessory:" + accessory); if (device != null) { deniedPackages = mDevicePreferenceDeniedMap.get(new DeviceFilter(device)); } else if (accessory != null) { Loading Loading
services/usb/java/com/android/server/usb/UsbProfileGroupSettingsManager.java +2 −0 Original line number Diff line number Diff line Loading @@ -901,6 +901,7 @@ public class UsbProfileGroupSettingsManager { int count = resolveInfos.size(); for (int i = 0; i < count; i++) { ResolveInfo resolveInfo = resolveInfos.get(i); Log.i(TAG, "jklee resolveInfo:" + resolveInfo); if (packageMatchesLocked(resolveInfo, null, accessory)) { matches.add(resolveInfo); } Loading Loading @@ -1080,6 +1081,7 @@ public class UsbProfileGroupSettingsManager { @Nullable UsbAccessory accessory) { // Remove all matches which are on the denied list ArraySet deniedPackages = null; Log.i(TAG, "jklee intent:" + intent + " matches:" + matches + " defaultActivity:" + defaultActivity + " device:" + device + " accessory:" + accessory); if (device != null) { deniedPackages = mDevicePreferenceDeniedMap.get(new DeviceFilter(device)); } else if (accessory != null) { Loading