mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-10-01 01:35:54 -04:00
082bc48c32
https://review.lineageos.org/q/topic:P_asb_2022-05 https://review.lineageos.org/q/topic:P_asb_2022-06 https://review.lineageos.org/q/topic:P_asb_2022-07 https://review.lineageos.org/q/topic:P_asb_2022-08 https://review.lineageos.org/q/topic:P_asb_2022-09 https://review.lineageos.org/q/topic:P_asb_2022-10 https://review.lineageos.org/q/topic:P_asb_2022-11 https://review.lineageos.org/q/topic:P_asb_2022-12 https://review.lineageos.org/q/topic:P_asb_2023-01 https://review.lineageos.org/q/topic:P_asb_2023-02 https://review.lineageos.org/q/topic:P_asb_2023-03 https://review.lineageos.org/q/topic:P_asb_2023-04 https://review.lineageos.org/q/topic:P_asb_2023-05 https://review.lineageos.org/q/topic:P_asb_2023-06 https://review.lineageos.org/q/topic:P_asb_2023-07 accounted for via manifest change: https://review.lineageos.org/c/LineageOS/android_external_freetype/+/361250 https://review.lineageos.org/q/topic:P_asb_2023-08 accounted for via manifest change: https://review.lineageos.org/c/LineageOS/android_external_freetype/+/364606 accounted for via patches: https://review.lineageos.org/c/LineageOS/android_system_ca-certificates/+/365328 https://review.lineageos.org/q/topic:P_asb_2023-09 https://review.lineageos.org/q/topic:P_asb_2023-10 https://review.lineageos.org/q/topic:P_asb_2023-11 accounted for via patches: https://review.lineageos.org/c/LineageOS/android_system_ca-certificates/+/374916 https://review.lineageos.org/q/topic:P_asb_2023-12 https://review.lineageos.org/q/topic:P_asb_2024-01 https://review.lineageos.org/q/topic:P_asb_2024-02 https://review.lineageos.org/q/topic:P_asb_2024-03 https://review.lineageos.org/q/topic:P_asb_2024-04 Signed-off-by: Tavi <tavi@divested.dev>
39 lines
1.8 KiB
Diff
39 lines
1.8 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Evan Severson <evanseverson@google.com>
|
|
Date: Tue, 30 Nov 2021 18:19:18 -0800
|
|
Subject: [PATCH] Hide overlays on ReviewPermissionsAtivity
|
|
|
|
Test: atest PermissionReviewTapjackingTest
|
|
Bug: 176094367
|
|
Merged-In: I9f263b947853e14d081a73ce907917e9326b6ef7
|
|
Change-Id: I9f263b947853e14d081a73ce907917e9326b6ef7
|
|
(cherry picked from commit 725244f010c9c5ed5b169c2ec00600864fce38ab)
|
|
Merged-In: I9f263b947853e14d081a73ce907917e9326b6ef7
|
|
---
|
|
.../permission/ui/ReviewPermissionsActivity.java | 5 +++++
|
|
1 file changed, 5 insertions(+)
|
|
|
|
diff --git a/src/com/android/packageinstaller/permission/ui/ReviewPermissionsActivity.java b/src/com/android/packageinstaller/permission/ui/ReviewPermissionsActivity.java
|
|
index 4caf4ce8a..81d9d7c4c 100644
|
|
--- a/src/com/android/packageinstaller/permission/ui/ReviewPermissionsActivity.java
|
|
+++ b/src/com/android/packageinstaller/permission/ui/ReviewPermissionsActivity.java
|
|
@@ -24,6 +24,8 @@ import android.content.pm.PackageInfo;
|
|
import android.content.pm.PackageManager;
|
|
import android.os.Bundle;
|
|
import android.text.TextUtils;
|
|
+import android.view.WindowManager;
|
|
+
|
|
import com.android.packageinstaller.DeviceUtils;
|
|
import com.android.packageinstaller.R;
|
|
import com.android.packageinstaller.permission.ui.handheld.ReviewPermissionsFragment;
|
|
@@ -37,6 +39,9 @@ public final class ReviewPermissionsActivity extends Activity
|
|
protected void onCreate(Bundle savedInstanceState) {
|
|
super.onCreate(savedInstanceState);
|
|
|
|
+ getWindow().addPrivateFlags(
|
|
+ WindowManager.LayoutParams.PRIVATE_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS);
|
|
+
|
|
PackageInfo packageInfo = getTargetPackageInfo();
|
|
if (packageInfo == null) {
|
|
finish();
|