summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/profiles/TriggerPagerAdapter.java
diff options
context:
space:
mode:
authorRoman Birg <roman@cyngn.com>2015-03-12 16:42:51 -0700
committerMichael Bestas <mikeioannina@gmail.com>2015-12-27 21:40:33 +0200
commita48f1658f3e155a32286059a7d314ebc638ad859 (patch)
tree4f2352b635d41143fdfb3526563a963daa02726b /src/com/android/settings/profiles/TriggerPagerAdapter.java
parent80b4c3500b66b88729fc5f792b7d7719975396b4 (diff)
downloadpackages_apps_Settings-a48f1658f3e155a32286059a7d314ebc638ad859.zip
packages_apps_Settings-a48f1658f3e155a32286059a7d314ebc638ad859.tar.gz
packages_apps_Settings-a48f1658f3e155a32286059a7d314ebc638ad859.tar.bz2
Settings: merge ProfilesList into ProfilesSettings
ProfilesSettings previously had a viewpager with the profiles list, and an app group list. Then we removed app groups, but the viewpager was left over. The main reason for getting rid of it now is to make sure that refreshList() always works. Previously there was a small chance that because it was in a viewpager, the preference may not have been attached (at the time of the resetAll() dialog being shown and user pressing yes), which caused the refresh method call to fail, since it needs access to the preference screen, which is null at that time. Change-Id: Ib9c3a27e3062660bd8a91998c20c15b4ffb4390b Signed-off-by: Roman Birg <roman@cyngn.com>
Diffstat (limited to 'src/com/android/settings/profiles/TriggerPagerAdapter.java')
0 files changed, 0 insertions, 0 deletions