From d0c4f20517f3d3d6f2aafc4d165499745f1156c4 Mon Sep 17 00:00:00 2001 From: Hai Zhang Date: Tue, 26 Jan 2021 23:41:57 +0000 Subject: [PATCH] Deprecate SMS_FINANCIAL_TRANSACTION permission. It's added and no longer used since Q developer preview. Fixes: 155348891 Test: presubmit Change-Id: I2f75e69241fdc223254ae8f948331a976cf1cd50 --- core/api/current.txt | 2 +- core/res/AndroidManifest.xml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/core/api/current.txt b/core/api/current.txt index e8174c0e3fe6d..dd46fa46d1336 100644 --- a/core/api/current.txt +++ b/core/api/current.txt @@ -157,7 +157,7 @@ package android { field public static final String SET_WALLPAPER = "android.permission.SET_WALLPAPER"; field public static final String SET_WALLPAPER_HINTS = "android.permission.SET_WALLPAPER_HINTS"; field public static final String SIGNAL_PERSISTENT_PROCESSES = "android.permission.SIGNAL_PERSISTENT_PROCESSES"; - field public static final String SMS_FINANCIAL_TRANSACTIONS = "android.permission.SMS_FINANCIAL_TRANSACTIONS"; + field @Deprecated public static final String SMS_FINANCIAL_TRANSACTIONS = "android.permission.SMS_FINANCIAL_TRANSACTIONS"; field public static final String START_VIEW_PERMISSION_USAGE = "android.permission.START_VIEW_PERMISSION_USAGE"; field public static final String STATUS_BAR = "android.permission.STATUS_BAR"; field public static final String SYSTEM_ALERT_WINDOW = "android.permission.SYSTEM_ALERT_WINDOW"; diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index 397552969c311..e187978f2f658 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -5287,7 +5287,8 @@ android:protectionLevel="signature" /> + Protection level: signature|appop + @deprecated The API that used this permission is no longer functional. -->