From d7e8eebc44815414082e9a1feec9d8384cc5e8b8 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 (cherry picked from commit d0c4f20517f3d3d6f2aafc4d165499745f1156c4) --- 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 3efb78943bd72..8dae2104693c9 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 f447cd2055163..fceef65fc5158 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -5298,7 +5298,8 @@ android:protectionLevel="signature" /> + Protection level: signature|appop + @deprecated The API that used this permission is no longer functional. -->