Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 518da781 authored by Jonathan Klee's avatar Jonathan Klee
Browse files

Add logs for Android Auto

parent 2ae84818
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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);
            }
@@ -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) {