summaryrefslogtreecommitdiff
path: root/src/com/android/settings/development/FileEncryptionPreferenceController.java
diff options
context:
space:
mode:
authortmfang <tmfang@google.com>2019-02-18 11:08:24 +0800
committertmfang <tmfang@google.com>2019-02-18 17:52:03 +0800
commit7fb266f30bf04359dc70d4c1e2a88e1e85841340 (patch)
tree6ca6cea13ea7e2cafadcbfad272374bda1264df0 /src/com/android/settings/development/FileEncryptionPreferenceController.java
parentb87dfdc189b016379b14e76e4073f9776433e970 (diff)
Fix janky in App info screen
If a Recycle view inside in a NestedScrollView, The times of calling recyclerView#onCreateViewHolder() is requal to its data set. When there are large set of apps need to be shown, RecyclerView will need to take many time to call onCreateViewHolder for each item. So, it causes the screen is janky or freeze UI when page is loading large data set. For now, we get rid of NestedScrollView, just use RecycleView and AppBarLayout to have same bahavior for spinner. Fixes: 124384314 Fixes: 123036231 Fixes: 122964660 Fixes: 123088178 Test: 1. Select show system in App info screen. Observe whether there is any janky. 2. Select show system in App info screen, and then change device orientation. Observer whether there is any janky. 3. Go to Settings > Apps & notifications> Advanced > Special app access > Select "battery optimization", and then Tap drop down and select "all apps". Observe whether ther is any janky. Change-Id: Icd65e91eec3b32476d80cc12e9c4baa71151306a
Diffstat (limited to 'src/com/android/settings/development/FileEncryptionPreferenceController.java')
0 files changed, 0 insertions, 0 deletions