Fix Taskbar Y-Translation with Visible Bottom Sheet

When bottom sheet is visible, such as in SUW or when app launcher pauses, the taskbar three buttons are translated upwards clashing with SUW UI.

Flag: EXEMPT bugfix
Bug: 358532768
Test: Manual
Change-Id: I0d18bda5cb7aeae894f5058df89cc413e34c00fc
This commit is contained in:
Sukesh Ram committed 2024-10-14 23:41:38 +00:00
1 parent 81d1295b46
commit d82503fc42
6 files changed
+71 -26

No files matched your search

@@ -306,6 +306,10 @@ public abstract class BaseActivity extends Activity implements ActivityContext {
removeActivityFlags(ACTIVITY_STATE_RESUMED | ACTIVITY_STATE_DEFERRED_RESUMED);
}
public boolean isPaused() {
return !hasBeenResumed() && (mActivityFlags & ACTIVITY_STATE_DEFERRED_RESUMED) == 0;
}
/**
* Sets the activity to appear as resumed.
*/