Filter status is not retained in App info
Selected filter is not retained after device orientation changed. In old design, we only update selected index one time when the enabled filter(filterType) equals the previous selected filter. After that, the selected index won't be changed again. But we sort the filter options every time(Collections.sort) when we add a new filter. Therefore, it makes all indexes of filters option could be changed. For example, Old filter options => All apps, Personal, Work Selected index = 1 Add "Intsalled app" option => All apps, Installed app, Personal, Work Selected filter option becomes "Installed app" but not Personal. Since we saved previous selected filter option before device orientation changes, we can check again whether or not the selected index is previous filter type when we enable any new filter. Test: manual test, robotest Fixes: 120798975 Change-Id: I35de186a6a1fae3bd863bd31a6ce3f76861dc896
Loading
Please register or sign in to comment