Refactor TaskShortcutFactory to return List of SystemShortcuts

* Remove ENABLE_SPLIT_SELECT feature flag
* Remove unused SystemUiProxy methods

Bug: 233006032
Test: Options show up as expected
Change-Id: I9b98d962db79363a20ad41faa15404f1c156b9ec
This commit is contained in:
Vinit Nayak committed 2022-06-01 16:27:04 -07:00
1 parent c9e64b3c47
commit 28036435b6
10 files changed
+124 -181

No files matched your search

@@ -270,18 +270,6 @@ public class SystemUiProxy implements ISystemUiProxy, DisplayController.DisplayI
}
}
@Override
public Rect getNonMinimizedSplitScreenSecondaryBounds() {
if (mSystemUiProxy != null) {
try {
return mSystemUiProxy.getNonMinimizedSplitScreenSecondaryBounds();
} catch (RemoteException e) {
Log.w(TAG, "Failed call getNonMinimizedSplitScreenSecondaryBounds", e);
}
}
return null;
}
public float getLastNavButtonAlpha() {
return mLastNavButtonAlpha;
}
@@ -384,28 +372,6 @@ public class SystemUiProxy implements ISystemUiProxy, DisplayController.DisplayI
}
}
@Override
public void handleImageAsScreenshot(Bitmap bitmap, Rect rect, Insets insets, int i) {
if (mSystemUiProxy != null) {
try {
mSystemUiProxy.handleImageAsScreenshot(bitmap, rect, insets, i);
} catch (RemoteException e) {
Log.w(TAG, "Failed call handleImageAsScreenshot", e);
}
}
}
@Override
public void setSplitScreenMinimized(boolean minimized) {
if (mSystemUiProxy != null) {
try {
mSystemUiProxy.setSplitScreenMinimized(minimized);
} catch (RemoteException e) {
Log.w(TAG, "Failed call setSplitScreenMinimized", e);
}
}
}
@Override
public void notifySwipeUpGestureStarted() {
if (mSystemUiProxy != null) {