diff options
| author | Felipe Leme <felipeal@google.com> | 2019-01-24 14:42:03 -0800 |
|---|---|---|
| committer | Felipe Leme <felipeal@google.com> | 2019-01-24 14:42:33 -0800 |
| commit | 902d63b542190f2ca3a970139cfda693e5136545 (patch) | |
| tree | b1e02c439e1d241d37a70dae94426b4669be9657 /docs/html/sdk/api_diff/16/changes | |
| parent | 770a41298d36806804266dec3fba9302279ed404 (diff) | |
Fixed View.getContentCaptureSession(ContentCaptureManager).
This method was meant to optimize the ContentCaptureManager lookup, but it was not recursively
callign itself....
With this change and using System.out / System.nanotime() to measure:
$ adb shell am start android.contentcaptureservice.cts/.BlankWithTitleActivity
16 calls, taking 260.051us before and 30.311us after
$ adb shell am start android.contentcaptureservice.cts/.LoginActivity
24 calls, taking 290.261us before and 41.403us after
Bug: 123307965
Bug: 121039624
Test: atest ContentCaptureSession
Test: manual verification using system.out for timing
Change-Id: Ida5015ed117cae8ab4484a55f74cbc20fdc6df7f
Diffstat (limited to 'docs/html/sdk/api_diff/16/changes')
0 files changed, 0 insertions, 0 deletions
