From 0cfc9839ab102ed59334c08a82cad7e41f06b076 Mon Sep 17 00:00:00 2001 From: Salini Venate Date: Tue, 7 Dec 2021 10:23:25 +0530 Subject: [PATCH] Test files app 1 --- ...w-clipboard-access-to-intel-packages.patch | 29 ------------------- 1 file changed, 29 deletions(-) delete mode 100644 aosp_diff/caas_cfc/frameworks/base/0001-Allow-clipboard-access-to-intel-packages.patch diff --git a/aosp_diff/caas_cfc/frameworks/base/0001-Allow-clipboard-access-to-intel-packages.patch b/aosp_diff/caas_cfc/frameworks/base/0001-Allow-clipboard-access-to-intel-packages.patch deleted file mode 100644 index 728c6d55c7..0000000000 --- a/aosp_diff/caas_cfc/frameworks/base/0001-Allow-clipboard-access-to-intel-packages.patch +++ /dev/null @@ -1,29 +0,0 @@ -From f5322868ae95e630f5454a6793cd78b43cb2fab2 Mon Sep 17 00:00:00 2001 -From: Vinay Prasad Kompella -Date: Mon, 12 Jul 2021 11:37:51 +0530 -Subject: [PATCH] Allow clipboard access to intel packages - -Signed-off-by: Vinay Prasad Kompella ---- - .../java/com/android/server/clipboard/ClipboardService.java | 5 +++++ - 1 file changed, 5 insertions(+) - -diff --git a/services/core/java/com/android/server/clipboard/ClipboardService.java b/services/core/java/com/android/server/clipboard/ClipboardService.java -index ed3a223b5dd7..ede467c7d866 100644 ---- a/services/core/java/com/android/server/clipboard/ClipboardService.java -+++ b/services/core/java/com/android/server/clipboard/ClipboardService.java -@@ -274,6 +274,11 @@ public class ClipboardService extends SystemService { - if (mWm.isUidFocused(Binder.getCallingUid())) { - return true; - } -+ // Allow clipboard access to intel packages marked as system -+ // and have the permissions granted -+ if (callingPackage.startsWith("com.intel.")) { -+ return true; -+ } - } - - return false; --- -2.17.1 -