Remove the invalid use of a flag which is not defined for the target platform in this code branch.

This commit is contained in:
Pierrot 2019-03-25 16:07:22 +01:00
parent e9cdffcacf
commit d10b0b6516

View file

@ -1507,7 +1507,6 @@ public abstract class Screen implements ItemLayout.ItemLayoutListener, ItemView.
e.printStackTrace();
}
} else {
flags &= ~WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS;
flags |= WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS | WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION;
mWindow.setFlags(flags, 0xffffffff);
}