Skip to content
Commit 51f3d51f authored by Aaron Liu's avatar Aaron Liu
Browse files

Make getCurrentController async friendly.

Ensure that getCurrentController does not have a return type. If the
view controller is cached, then the callback will be immediately called,
otherwise, we inflate the view on a bg thread.

Fixes: 276924513
Fixes: 277039068
Test: simpin, simpuk, pin, password, pattern views.
Test: no security method
Test: atest android.security.identity.cts.UserAuthTest
Test: unit tests
Change-Id: I85e60cfc6fd5a71eb00a44405620ac650867b481
parent 8dd16441
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