OSDN Git Service

Add preference controller for app header view.
authorDoris Ling <dling@google.com>
Thu, 14 Dec 2017 22:23:41 +0000 (14:23 -0800)
committerDoris Ling <dling@google.com>
Thu, 14 Dec 2017 22:23:41 +0000 (14:23 -0800)
commite712aed3d729ab6e0cd85ceded029f8fcac5f50d
tree113ce0c2df854f37413f963a12eace850db088bb
parent91ffc73152713d5b702407add22dbaa87bf4b27d
Add preference controller for app header view.

- move code related to initializing/refreshing the app header from
AppInfoDashboardFragment into a new controller.
- this is the last preference logic in AppInfoDashboardFragment. With
this change, the conversion into dashboad fragment will be considered
as complete.
- remaining work for the bug will be enable the feature flag and remove
the obsolete InstalledAppDetails.

Bug: 69384089
Test: make RunSettingsRoboTests
Change-Id: I14056bf291278b2b36f9502177c84edd6a899d0f
src/com/android/settings/applications/appinfo/AppHeaderViewPreferenceController.java [new file with mode: 0644]
src/com/android/settings/applications/appinfo/AppInfoDashboardFragment.java
tests/robotests/src/com/android/settings/applications/appinfo/AppHeaderViewPreferenceControllerTest.java [new file with mode: 0644]