Fix the rss issue
Change UsbHandlerHal to static Bug: 261021174 Test: android.platform.test.scenario.sleep.Idle#testDoingNothing Change-Id: I3d435534152cd51c2e3ca710ad3fc7e602c0a4ab Signed-off-by: Ricky Niu <rickyniu@google.com>
This commit is contained in:
@@ -219,7 +219,7 @@ public class UsbDeviceManager implements ActivityTaskManagerInternal.ScreenObser
|
||||
|
||||
private static EventLogger sEventLogger;
|
||||
|
||||
private UsbGadgetHal mUsbGadgetHal;
|
||||
private static UsbGadgetHal mUsbGadgetHal;
|
||||
|
||||
/**
|
||||
* Counter for tracking UsbOperation operations.
|
||||
@@ -1976,7 +1976,7 @@ public class UsbDeviceManager implements ActivityTaskManagerInternal.ScreenObser
|
||||
}
|
||||
}
|
||||
|
||||
private final class UsbHandlerHal extends UsbHandler {
|
||||
private static final class UsbHandlerHal extends UsbHandler {
|
||||
|
||||
private final Object mGadgetProxyLock = new Object();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user