Make IMMS#mImeDrawsImeNavBarRes multi-user aware
This CL reworks how a dynamic resource overlay com.android.internal.R.bool.config_imeDrawsImeNavBar is being accessed and monitord in IMMS [1][2][3][4]. Overall the observable behavior should remain unchanged, but from the implementation viewpoint there are many improvements in this CL. * takes advantage of UserData object. * no longer depends on SystemServerInitThreadPool and ConcurrentUtils.waitForFutureNoInterrupt(). * registers the broadcast receiver only once. [1]: I3e7e1f83554444131e2765dc159617bb9e2337c7 ff7b453c [2]: Id0cfa44cce5de515dc5d28254e1d41bdfc01e201 177e4aaf [3]: Id3d6a71d8ba1bfa49131350b68aa8d3424eca381 f93769b1 [4]: I20f6be5d676b9e61ea3077aeaa2eadc5dbbdcd0c 53706a28 Bug: 305849394 Bug: 343601565 Fix: 225366708 Fix: 345519864 Test: presubmit Flag: EXEMPT refactor Change-Id: Icf49020eda790629dd871b9f7365e7015dd6931b
Loading
Please register or sign in to comment