Merge "Remove onSmsKillSwitchToggled() from system API."

This commit is contained in:
TreeHugger Robot
2019-03-11 18:53:50 +00:00
committed by Android (Google) Code Review
2 changed files with 2 additions and 1 deletions

View File

@@ -1125,7 +1125,6 @@ package android.app.role {
method public abstract boolean onIsApplicationQualifiedForRole(@NonNull String, @NonNull String);
method public abstract boolean onIsRoleVisible(@NonNull String);
method @WorkerThread public abstract boolean onRemoveRoleHolder(@NonNull String, @NonNull String, int);
method @WorkerThread public abstract void onSmsKillSwitchToggled(boolean);
field public static final String SERVICE_INTERFACE = "android.app.role.RoleControllerService";
}

View File

@@ -262,6 +262,8 @@ public abstract class RoleControllerService extends Service {
* Cleanup appop/permissions state in response to sms kill switch toggle
*
* @param enabled whether kill switch was turned on
*
* @hide
*/
//STOPSHIP: remove this api before shipping a final version
@WorkerThread