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

Commit fb717b6a 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

am: 0df25171

Change-Id: I86e2d7afdb9039e62441d064d9c678811d8934b7
parents 1e34c25e 0df25171
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: