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

Commit 0df25171 authored by a.lukianenko's avatar a.lukianenko Committed by android-build-merger
Browse files

Merge "Fixing 'No data transfer' mode in USB configuration"

am: e8da6089

Change-Id: I7f0e03ccebb65e0c9a483adffc4af980ff164a3b
parents 53507c34 e8da6089
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -909,6 +909,8 @@ public class UsbDeviceManager implements ActivityTaskManagerInternal.ScreenObser
                    if (!mScreenLocked && mScreenUnlockedFunctions != UsbManager.FUNCTION_NONE) {
                        // If the screen is unlocked, also set current functions.
                        setScreenUnlockedFunctions();
                    } else {
                        setEnabledFunctions(UsbManager.FUNCTION_NONE, false);
                    }
                    break;
                case MSG_UPDATE_SCREEN_LOCK: