Reduce jank on DND apps page
1) Remove call to redisplay the api when registering our app listener - this meant all preferences were always removed/readded on page load because the app list isn't ready at that time 2) Stop rebuilding the UI for events we don't care about 3) Keep existing preferences when possible and just do the diff of prefs that need to be added/removed Fixes: 234298144 Test: ZenModeAddBypassingAppsPreferenceControllerTest Test: ZenModeAllBypassingAppsPreferenceControllerTest Test: manually view page; add & remove apps that have dnd breakthrough Change-Id: I57b36d36135dd25d1d2fd73073cf6b7a033659a6
Loading
Please register or sign in to comment