Make Activites touch opaque - DO NOT MERGE am: 73ee4cb9c4

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/21611410

Change-Id: I0de6127f9e8dfc5efbee58a53f9eb5170fc69eef
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Linus Tufvesson
2023-03-01 18:58:39 +00:00
committed by Automerger Merge Worker

View File

@@ -86,6 +86,10 @@ class ActivityRecordInputSink {
mInputWindowHandle.layoutParamsFlags &= ~WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE; mInputWindowHandle.layoutParamsFlags &= ~WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE;
changed |= notTouchable; changed |= notTouchable;
} }
if (mInputWindowHandle.displayId != mActivityRecord.getDisplayId()) {
mInputWindowHandle.displayId = mActivityRecord.getDisplayId();
changed = true;
}
return changed; return changed;
} }