Check for isTaskbarPresent in addition to isTransientTaskbar
when the method is called outside of taskbar. This prevents the case where phone runs transient taskbar logic. Bug: 260006210 Test: added local logs, tested in phone mode Change-Id: I600c06d6c797bd68461ac033dcc2c6158f221024
This commit is contained in:
1 parent
691c6e511f
commit
807823155d
3 files changed
+50
-63
No files matched your search
@@ -1632,7 +1632,7 @@ public class TaskView extends FrameLayout implements Reusable {
|
||||
*/
|
||||
private static RectF getInsetsToDrawInFullscreen(PreviewPositionHelper pph,
|
||||
DeviceProfile dp, boolean isTaskbarTransient) {
|
||||
if (isTaskbarTransient) {
|
||||
if (dp.isTaskbarPresent && isTaskbarTransient) {
|
||||
return pph.getClippedInsets();
|
||||
}
|
||||
return dp.isTaskbarPresent && !dp.isTaskbarPresentInApps
|
||||
|
||||
Reference in new issue
Block a user