commit | 2ee2f40c0d58247f4cabf52345d19bf09cc74bc2 | [log] [tgz] |
---|---|---|
author | Wenting Zhai <wentingzhai@google.com> | Tue Mar 19 10:53:38 2019 -0700 |
committer | Wenting Zhai <wentingzhai@google.com> | Fri Apr 19 18:05:20 2019 +0000 |
tree | a80141ee50ac48780178bee341f9d414ecd2321b | |
parent | 33941226de21c5f912c89ddc98be76ec7d4edd29 [diff] |
Fix asynchronous problems in Trusted Device in CarSettings This change will fix: (1) Settings will be closed if we call goBack in ActivityResultCallBack. (2) Settings crash when call goBack when the fragment is starting, add postOnMainThread control will solve the concurrency issue. Bug: 128913807 Test: Build and flash, Robolectric test Change-Id: Ic40cb8563fefc0181181edb8bae1d4955ebda831 (cherry picked from commit 76dd680cf6ed0811f37e61622c81866a0dc36031)