OSDN Git Service

Move system update preference from device_info to system.
authorFan Zhang <zhfan@google.com>
Mon, 3 Oct 2016 18:05:08 +0000 (11:05 -0700)
committerFan Zhang <zhfan@google.com>
Mon, 3 Oct 2016 20:53:45 +0000 (13:53 -0700)
commit9c1fcf9916857df1cb831428251eecece70b0c30
tree41e2f4edfdc095d510c0252cd99e7b10340604fd
parent8fdb96e32e86124b75e219fffa4c337d79db75f1
Move system update preference from device_info to system.

In order to move the preference and its logic cleanly, created a
controller object that encapsulates the preference/click handler.

Bug: 31801428
Test: RunSettingsRoboTests
Change-Id: I332384e20fbf0e21d2f3becb531d97b20f7f7ef1
res/xml/system_dashboard_fragment.xml
src/com/android/settings/DeviceInfoSettings.java
src/com/android/settings/deviceinfo/SystemUpdatePreferenceController.java [new file with mode: 0644]
src/com/android/settings/system/SystemDashboardFragment.java
tests/robotests/src/com/android/settings/deviceinfo/SystemUpdatePreferenceControllerTest.java [new file with mode: 0644]