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

Commit 94e460fd authored by Jason Monk's avatar Jason Monk
Browse files

Fix Usb-C dialog issues

 - Fix theme
 - Fix PTP bug introduced in initial USB-C support

Bug: 21615151
Change-Id: I577f06929b028fe3f50ef5b9adcfa9507fd1df0e
parent 42ae7fba
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1828,7 +1828,7 @@
                  android:excludeFromRecents="true"
                  android:exported="true"
                  android:permission="android.permission.MANAGE_USB"
                  android:theme="@style/Transparent">
                  android:theme="@android:style/Theme.Material.Light.Dialog.NoActionBar">
        </activity>

        <activity android:name=".bluetooth.RequestPermissionHelperActivity"
+1 −1
Original line number Diff line number Diff line
@@ -83,7 +83,7 @@ public class UsbBackend {
        } else if (mUsbManager.isFunctionEnabled(UsbManager.USB_FUNCTION_MTP)) {
            return MODE_DATA_MTP;
        } else if (mUsbManager.isFunctionEnabled(UsbManager.USB_FUNCTION_PTP)) {
            return MODE_DATA_MTP;
            return MODE_DATA_PTP;
        } else if (mUsbManager.isFunctionEnabled(UsbManager.USB_FUNCTION_MIDI)) {
            return MODE_DATA_MIDI;
        }