Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c33c55b2 authored by Hai Zhang's avatar Hai Zhang
Browse files

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
parent f5e8ccd8
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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";
  }
+2 −0
Original line number Diff line number Diff line
@@ -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