Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 902d63b5 authored by Felipe Leme's avatar Felipe Leme
Browse files

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
parent 770a4129
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment