Merge "mMaximumObscuringOpacityForTouch should remain valid" into tm-qpr-dev am: 44e160108d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22427298 Change-Id: I42b2133b99690b8b57b98b0eb54c1100038b737c Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -913,6 +913,11 @@ public class WindowManagerService extends IWindowManager.Stub
|
||||
mMaximumObscuringOpacityForTouch = Settings.Global.getFloat(resolver,
|
||||
Settings.Global.MAXIMUM_OBSCURING_OPACITY_FOR_TOUCH,
|
||||
InputManager.DEFAULT_MAXIMUM_OBSCURING_OPACITY_FOR_TOUCH);
|
||||
if (mMaximumObscuringOpacityForTouch < 0.0f
|
||||
|| mMaximumObscuringOpacityForTouch > 1.0f) {
|
||||
mMaximumObscuringOpacityForTouch =
|
||||
InputManager.DEFAULT_MAXIMUM_OBSCURING_OPACITY_FOR_TOUCH;
|
||||
}
|
||||
}
|
||||
|
||||
void updateSystemUiSettings(boolean handleChange) {
|
||||
|
||||
Reference in New Issue
Block a user