diff options
| author | Felipe Leme <felipeal@google.com> | 2017-07-27 11:45:24 -0700 |
|---|---|---|
| committer | Felipe Leme <felipeal@google.com> | 2017-08-10 11:17:27 -0700 |
| commit | 052562c40fcf113ff854556a3ec73170ec9165d6 (patch) | |
| tree | 440ee80e244769718c3abea9d3d8861b85ee02b7 /core/java/android | |
| parent | 57ae4db22508d3ee764650fec89effb5f3f461c8 (diff) | |
Calls CancellationSignal when onFillRequest() times out.
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases -t android.autofillservice.cts.LoginActivityTest#testCancellationSignalCalledAfterTimeout
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases
Fixes: 64034169
Change-Id: I501653405e8244543a4c27f736bacfa23d22e6f7
Diffstat (limited to 'core/java/android')
| -rw-r--r-- | core/java/android/service/autofill/AutofillService.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/core/java/android/service/autofill/AutofillService.java b/core/java/android/service/autofill/AutofillService.java index c068e6a21db6..b35e57286a37 100644 --- a/core/java/android/service/autofill/AutofillService.java +++ b/core/java/android/service/autofill/AutofillService.java @@ -18,16 +18,15 @@ package android.service.autofill; import android.annotation.CallSuper; import android.annotation.NonNull; import android.annotation.Nullable; -import android.os.RemoteException; -import android.provider.Settings; - -import com.android.internal.os.HandlerCaller; import android.annotation.SdkConstant; -import android.app.Service;import android.content.Intent; +import android.app.Service; +import android.content.Intent; import android.os.CancellationSignal; import android.os.IBinder; import android.os.ICancellationSignal; import android.os.Looper; +import android.os.RemoteException; +import android.provider.Settings; import android.util.Log; import android.view.View; import android.view.ViewStructure; @@ -35,6 +34,7 @@ import android.view.autofill.AutofillId; import android.view.autofill.AutofillManager; import android.view.autofill.AutofillValue; +import com.android.internal.os.HandlerCaller; import com.android.internal.os.SomeArgs; /** |
