mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 01:46:49 +00:00
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:
@@ -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