Loading api/current.txt +2 −0 Original line number Diff line number Diff line Loading @@ -3863,12 +3863,14 @@ package android.app { field public static final java.lang.String OPSTR_RECEIVE_WAP_PUSH = "android:receive_wap_push"; field public static final java.lang.String OPSTR_RECORD_AUDIO = "android:record_audio"; field public static final java.lang.String OPSTR_SEND_SMS = "android:send_sms"; field public static final java.lang.String OPSTR_SYSTEM_ALERT_WINDOW = "android:system_alert_window"; field public static final java.lang.String OPSTR_USE_FINGERPRINT = "android:use_fingerprint"; field public static final java.lang.String OPSTR_USE_SIP = "android:use_sip"; field public static final java.lang.String OPSTR_WRITE_CALENDAR = "android:write_calendar"; field public static final java.lang.String OPSTR_WRITE_CALL_LOG = "android:write_call_log"; field public static final java.lang.String OPSTR_WRITE_CONTACTS = "android:write_contacts"; field public static final java.lang.String OPSTR_WRITE_EXTERNAL_STORAGE = "android:write_external_storage"; field public static final java.lang.String OPSTR_WRITE_SETTINGS = "android:write_settings"; } public static abstract interface AppOpsManager.OnOpChangedListener { api/system-current.txt +2 −0 Original line number Diff line number Diff line Loading @@ -3975,12 +3975,14 @@ package android.app { field public static final java.lang.String OPSTR_RECEIVE_WAP_PUSH = "android:receive_wap_push"; field public static final java.lang.String OPSTR_RECORD_AUDIO = "android:record_audio"; field public static final java.lang.String OPSTR_SEND_SMS = "android:send_sms"; field public static final java.lang.String OPSTR_SYSTEM_ALERT_WINDOW = "android:system_alert_window"; field public static final java.lang.String OPSTR_USE_FINGERPRINT = "android:use_fingerprint"; field public static final java.lang.String OPSTR_USE_SIP = "android:use_sip"; field public static final java.lang.String OPSTR_WRITE_CALENDAR = "android:write_calendar"; field public static final java.lang.String OPSTR_WRITE_CALL_LOG = "android:write_call_log"; field public static final java.lang.String OPSTR_WRITE_CONTACTS = "android:write_contacts"; field public static final java.lang.String OPSTR_WRITE_EXTERNAL_STORAGE = "android:write_external_storage"; field public static final java.lang.String OPSTR_WRITE_SETTINGS = "android:write_settings"; } public static abstract interface AppOpsManager.OnOpChangedListener { core/java/android/app/AppOpsManager.java +8 −2 Original line number Diff line number Diff line Loading @@ -325,6 +325,12 @@ public class AppOpsManager { /** Write external storage. */ public static final String OPSTR_WRITE_EXTERNAL_STORAGE = "android:write_external_storage"; /** Required to draw on top of other apps. */ public static final String OPSTR_SYSTEM_ALERT_WINDOW = "android:system_alert_window"; /** Required to write/modify/update system settingss. */ public static final String OPSTR_WRITE_SETTINGS = "android:write_settings"; /** * This maps each operation to the operation that serves as the Loading Loading @@ -427,8 +433,8 @@ public class AppOpsManager { OPSTR_SEND_SMS, null, null, null, null, OPSTR_WRITE_SETTINGS, OPSTR_SYSTEM_ALERT_WINDOW, null, OPSTR_CAMERA, OPSTR_RECORD_AUDIO, Loading Loading
api/current.txt +2 −0 Original line number Diff line number Diff line Loading @@ -3863,12 +3863,14 @@ package android.app { field public static final java.lang.String OPSTR_RECEIVE_WAP_PUSH = "android:receive_wap_push"; field public static final java.lang.String OPSTR_RECORD_AUDIO = "android:record_audio"; field public static final java.lang.String OPSTR_SEND_SMS = "android:send_sms"; field public static final java.lang.String OPSTR_SYSTEM_ALERT_WINDOW = "android:system_alert_window"; field public static final java.lang.String OPSTR_USE_FINGERPRINT = "android:use_fingerprint"; field public static final java.lang.String OPSTR_USE_SIP = "android:use_sip"; field public static final java.lang.String OPSTR_WRITE_CALENDAR = "android:write_calendar"; field public static final java.lang.String OPSTR_WRITE_CALL_LOG = "android:write_call_log"; field public static final java.lang.String OPSTR_WRITE_CONTACTS = "android:write_contacts"; field public static final java.lang.String OPSTR_WRITE_EXTERNAL_STORAGE = "android:write_external_storage"; field public static final java.lang.String OPSTR_WRITE_SETTINGS = "android:write_settings"; } public static abstract interface AppOpsManager.OnOpChangedListener {
api/system-current.txt +2 −0 Original line number Diff line number Diff line Loading @@ -3975,12 +3975,14 @@ package android.app { field public static final java.lang.String OPSTR_RECEIVE_WAP_PUSH = "android:receive_wap_push"; field public static final java.lang.String OPSTR_RECORD_AUDIO = "android:record_audio"; field public static final java.lang.String OPSTR_SEND_SMS = "android:send_sms"; field public static final java.lang.String OPSTR_SYSTEM_ALERT_WINDOW = "android:system_alert_window"; field public static final java.lang.String OPSTR_USE_FINGERPRINT = "android:use_fingerprint"; field public static final java.lang.String OPSTR_USE_SIP = "android:use_sip"; field public static final java.lang.String OPSTR_WRITE_CALENDAR = "android:write_calendar"; field public static final java.lang.String OPSTR_WRITE_CALL_LOG = "android:write_call_log"; field public static final java.lang.String OPSTR_WRITE_CONTACTS = "android:write_contacts"; field public static final java.lang.String OPSTR_WRITE_EXTERNAL_STORAGE = "android:write_external_storage"; field public static final java.lang.String OPSTR_WRITE_SETTINGS = "android:write_settings"; } public static abstract interface AppOpsManager.OnOpChangedListener {
core/java/android/app/AppOpsManager.java +8 −2 Original line number Diff line number Diff line Loading @@ -325,6 +325,12 @@ public class AppOpsManager { /** Write external storage. */ public static final String OPSTR_WRITE_EXTERNAL_STORAGE = "android:write_external_storage"; /** Required to draw on top of other apps. */ public static final String OPSTR_SYSTEM_ALERT_WINDOW = "android:system_alert_window"; /** Required to write/modify/update system settingss. */ public static final String OPSTR_WRITE_SETTINGS = "android:write_settings"; /** * This maps each operation to the operation that serves as the Loading Loading @@ -427,8 +433,8 @@ public class AppOpsManager { OPSTR_SEND_SMS, null, null, null, null, OPSTR_WRITE_SETTINGS, OPSTR_SYSTEM_ALERT_WINDOW, null, OPSTR_CAMERA, OPSTR_RECORD_AUDIO, Loading