Merge "Keep a removed API to not break GCore presubmit" into oc-dev

This commit is contained in:
Svetoslav Ganov
2017-04-11 18:58:50 +00:00
committed by Android (Google) Code Review
4 changed files with 4 additions and 1 deletions

View File

@@ -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();

View File

@@ -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();

View File

@@ -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();

View File

@@ -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();