Loading packages/SystemUI/shared/src/com/android/systemui/shared/recents/IOverviewProxy.aidl +11 −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: 36 // Next ID: 38 oneway interface IOverviewProxy { void onActiveNavBarRegionChanges(in Region activeRegion) = 11; Loading Loading @@ -144,4 +144,14 @@ oneway interface IOverviewProxy { * TouchInteractionService is expected to send the reply once it has finished cleaning up. */ void onUnbind(IRemoteCallback reply) = 35; /** * Sent when {@link TaskbarDelegate#onDisplayReady} is called. */ void onDisplayReady(int displayId) = 36; /** * Sent when {@link TaskbarDelegate#onDisplayRemoved} is called. */ void onDisplayRemoved(int displayId) = 37; } packages/SystemUI/src/com/android/systemui/navigationbar/TaskbarDelegate.java +18 −0 Original line number Diff line number Diff line Loading @@ -236,11 +236,29 @@ public class TaskbarDelegate implements CommandQueue.Callbacks, @Override public void onDisplayReady(int displayId) { CommandQueue.Callbacks.super.onDisplayReady(displayId); if (mOverviewProxyService.getProxy() == null) { return; } try { mOverviewProxyService.getProxy().onDisplayReady(displayId); } catch (RemoteException e) { Log.e(TAG, "onDisplayReady() failed", e); } } @Override public void onDisplayRemoved(int displayId) { CommandQueue.Callbacks.super.onDisplayRemoved(displayId); if (mOverviewProxyService.getProxy() == null) { return; } try { mOverviewProxyService.getProxy().onDisplayRemoved(displayId); } catch (RemoteException e) { Log.e(TAG, "onDisplayRemoved() failed", e); } } // Separated into a method to keep setDependencies() clean/readable. Loading Loading
packages/SystemUI/shared/src/com/android/systemui/shared/recents/IOverviewProxy.aidl +11 −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: 36 // Next ID: 38 oneway interface IOverviewProxy { void onActiveNavBarRegionChanges(in Region activeRegion) = 11; Loading Loading @@ -144,4 +144,14 @@ oneway interface IOverviewProxy { * TouchInteractionService is expected to send the reply once it has finished cleaning up. */ void onUnbind(IRemoteCallback reply) = 35; /** * Sent when {@link TaskbarDelegate#onDisplayReady} is called. */ void onDisplayReady(int displayId) = 36; /** * Sent when {@link TaskbarDelegate#onDisplayRemoved} is called. */ void onDisplayRemoved(int displayId) = 37; }
packages/SystemUI/src/com/android/systemui/navigationbar/TaskbarDelegate.java +18 −0 Original line number Diff line number Diff line Loading @@ -236,11 +236,29 @@ public class TaskbarDelegate implements CommandQueue.Callbacks, @Override public void onDisplayReady(int displayId) { CommandQueue.Callbacks.super.onDisplayReady(displayId); if (mOverviewProxyService.getProxy() == null) { return; } try { mOverviewProxyService.getProxy().onDisplayReady(displayId); } catch (RemoteException e) { Log.e(TAG, "onDisplayReady() failed", e); } } @Override public void onDisplayRemoved(int displayId) { CommandQueue.Callbacks.super.onDisplayRemoved(displayId); if (mOverviewProxyService.getProxy() == null) { return; } try { mOverviewProxyService.getProxy().onDisplayRemoved(displayId); } catch (RemoteException e) { Log.e(TAG, "onDisplayRemoved() failed", e); } } // Separated into a method to keep setDependencies() clean/readable. Loading