Merge "Keep a removed API to not break GCore presubmit" into oc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
c62250ad52
@@ -36975,6 +36975,7 @@ package android.service.autofill {
|
||||
|
||||
public abstract class AutofillService extends android.app.Service {
|
||||
ctor public AutofillService();
|
||||
method public final deprecated void disableSelf();
|
||||
method public final android.os.IBinder onBind(android.content.Intent);
|
||||
method public void onConnected();
|
||||
method public void onDisconnected();
|
||||
|
||||
@@ -40071,6 +40071,7 @@ package android.service.autofill {
|
||||
|
||||
public abstract class AutofillService extends android.app.Service {
|
||||
ctor public AutofillService();
|
||||
method public final deprecated void disableSelf();
|
||||
method public final android.os.IBinder onBind(android.content.Intent);
|
||||
method public void onConnected();
|
||||
method public void onDisconnected();
|
||||
|
||||
@@ -37134,6 +37134,7 @@ package android.service.autofill {
|
||||
|
||||
public abstract class AutofillService extends android.app.Service {
|
||||
ctor public AutofillService();
|
||||
method public final deprecated void disableSelf();
|
||||
method public final android.os.IBinder onBind(android.content.Intent);
|
||||
method public void onConnected();
|
||||
method public void onDisconnected();
|
||||
|
||||
@@ -242,7 +242,7 @@ public abstract class AutofillService extends Service {
|
||||
public void onDisconnected() {
|
||||
}
|
||||
|
||||
/** @hide */
|
||||
@Deprecated
|
||||
public final void disableSelf() {
|
||||
// TODO(b/33197203): Remove when GCore has migrated off this API
|
||||
getSystemService(AutofillManager.class).disableOwnedAutofillServices();
|
||||
|
||||
Reference in New Issue
Block a user