Loading packages/SystemUI/shared/src/com/android/systemui/shared/recents/IOverviewProxy.aidl +6 −1 Original line number Diff line number Diff line Loading @@ -23,7 +23,7 @@ import android.os.IRemoteCallback; import android.view.MotionEvent; import com.android.systemui.shared.recents.ISystemUiProxy; // Next ID: 38 // Next ID: 39 oneway interface IOverviewProxy { void onActiveNavBarRegionChanges(in Region activeRegion) = 11; Loading Loading @@ -154,4 +154,9 @@ oneway interface IOverviewProxy { * Sent when {@link TaskbarDelegate#onDisplayRemoved} is called. */ void onDisplayRemoved(int displayId) = 37; /** * Sent when {@link TaskbarDelegate#onDisplayRemoveSystemDecorations} is called. */ void onDisplayRemoveSystemDecorations(int displayId) = 38; } packages/SystemUI/src/com/android/systemui/navigationbar/TaskbarDelegate.java +14 −0 Original line number Diff line number Diff line Loading @@ -265,6 +265,20 @@ public class TaskbarDelegate implements CommandQueue.Callbacks, } } @Override public void onDisplayRemoveSystemDecorations(int displayId) { CommandQueue.Callbacks.super.onDisplayRemoveSystemDecorations(displayId); if (mOverviewProxyService.getProxy() == null) { return; } try { mOverviewProxyService.getProxy().onDisplayRemoveSystemDecorations(displayId); } catch (RemoteException e) { Log.e(TAG, "onDisplaySystemDecorationsRemoved() failed", e); } } // Separated into a method to keep setDependencies() clean/readable. private LightBarTransitionsController createLightBarTransitionsController() { Loading Loading
packages/SystemUI/shared/src/com/android/systemui/shared/recents/IOverviewProxy.aidl +6 −1 Original line number Diff line number Diff line Loading @@ -23,7 +23,7 @@ import android.os.IRemoteCallback; import android.view.MotionEvent; import com.android.systemui.shared.recents.ISystemUiProxy; // Next ID: 38 // Next ID: 39 oneway interface IOverviewProxy { void onActiveNavBarRegionChanges(in Region activeRegion) = 11; Loading Loading @@ -154,4 +154,9 @@ oneway interface IOverviewProxy { * Sent when {@link TaskbarDelegate#onDisplayRemoved} is called. */ void onDisplayRemoved(int displayId) = 37; /** * Sent when {@link TaskbarDelegate#onDisplayRemoveSystemDecorations} is called. */ void onDisplayRemoveSystemDecorations(int displayId) = 38; }
packages/SystemUI/src/com/android/systemui/navigationbar/TaskbarDelegate.java +14 −0 Original line number Diff line number Diff line Loading @@ -265,6 +265,20 @@ public class TaskbarDelegate implements CommandQueue.Callbacks, } } @Override public void onDisplayRemoveSystemDecorations(int displayId) { CommandQueue.Callbacks.super.onDisplayRemoveSystemDecorations(displayId); if (mOverviewProxyService.getProxy() == null) { return; } try { mOverviewProxyService.getProxy().onDisplayRemoveSystemDecorations(displayId); } catch (RemoteException e) { Log.e(TAG, "onDisplaySystemDecorationsRemoved() failed", e); } } // Separated into a method to keep setDependencies() clean/readable. private LightBarTransitionsController createLightBarTransitionsController() { Loading