Merge "Finish autofill session when service dies."

This commit is contained in:
Felipe Leme
2018-07-23 20:49:14 +00:00
committed by Android (Google) Code Review
2 changed files with 3 additions and 3 deletions

View File

@@ -123,8 +123,7 @@ final class RemoteFillService implements DeathRecipient {
}
public void destroy() {
mHandler.sendMessage(obtainMessage(
RemoteFillService::handleDestroy, this));
mHandler.sendMessage(obtainMessage(RemoteFillService::handleDestroy, this));
}
private void handleDestroy() {

View File

@@ -839,7 +839,8 @@ final class Session implements RemoteFillService.FillServiceCallbacks, ViewState
// FillServiceCallbacks
@Override
public void onServiceDied(RemoteFillService service) {
// TODO(b/337565347): implement
Slog.w(TAG, "removing session because service died");
forceRemoveSelfLocked();
}
// AutoFillUiCallback