From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Thomas Stuart Date: Wed, 28 Sep 2022 09:40:14 -0700 Subject: [PATCH] prevent overlays on the phone settings A report came in showing a 3rd party app could overlay a button on the phone settings causing unwanted behavior. In order to prevent this, a new system flag has been added that only allows system overlays. bug: 246933785 Test: manual Change-Id: I427b65bc6c1acf06676e1753a34a7a38e21bbae0 Merged-In: I427b65bc6c1acf06676e1753a34a7a38e21bbae0 (cherry picked from commit e827d8f13c1c92622474fa2bf9e41a1f4ce21e2c) Merged-In: I427b65bc6c1acf06676e1753a34a7a38e21bbae0 --- AndroidManifest.xml | 3 +++ .../phone/settings/AccessibilitySettingsActivity.java | 6 ++++-- .../phone/settings/PhoneAccountSettingsActivity.java | 5 ++++- .../android/phone/settings/VoicemailSettingsActivity.java | 4 ++++ 4 files changed, 15 insertions(+), 3 deletions(-) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 810e7bca0..766572164 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -176,6 +176,9 @@ + + +