Remove onSmsKillSwitchToggled() from system API.
We plan to remove this method before final release, but API freeze is coming soon. This is an abstract method so hiding it will automatically continue to work fine. Bug: 127691087 Test: manual Change-Id: I1730c70c7c2a8ac9aa469bfddc59e32de73c7c2c
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user