summaryrefslogtreecommitdiff
path: root/src/com/android/settings/system/SystemUpdatePreferenceController.java
AgeCommit message (Collapse)Author
2020-02-06Reland: Rework platform version to hide codenames.Dianne Hackborn
The public platform version no longer can be a codename, it is always the most recently released platform. A new build property and API provides either the offical version or the current codename as appropriate. This will avoid breaking apps that look at the platform version while development is under a codename. Bug: 143175463 Test: manual Exempt-From-Owner-Approval: Previously approved, no new changes. Change-Id: Ifb6f6236aab2c40fd51abb9c6587eafcc8983857
2019-11-14Revert submissionKevin Lau Fang
Reason for revert: This causes a boot issue on Taimen (b/144480969). It wasn't caught by TreeHugger due to Taimen tests being disabled due to a different lab outage (b/144350336). Change-Id: I490dc6c933c08c3c83b962786df11bd2da66b28a
2019-11-12Rework platform version to hide codenames.Dianne Hackborn
The public platform version no longer can be a codename, it is always the most recently released platform. A new build property and API provides either the offical version or the current codename as appropriate. This will avoid breaking apps that look at the platform version while development is under a codename. Bug: 143175463 Test: manual Change-Id: I711ca20c4c8ce389697e940696051a336f5fd808
2019-04-10Add background flag to CI system update intentNaina Nalluri
Add flag to allow KEY_CI_ACTION_ON_SYS_UPDATE_INTENT_STRING intent. This is needed as the receiver service is modified to use latest target version SDK which introduces Background broadcast limitations. Bug: 78634470 Test: On Device, verified that the intents are received by the service Change-Id: I140c1988b241885a737413bd5f0b9c3cc63c4ea8
2018-08-28Sort importsFan Zhang
Having consistent import order will reduce chance of merge conflict between internal and external master Test: rebuild Change-Id: I0b1a170967ddcce7f388603fd521f6ed1eeba30b
2018-06-18Reorder and clean up imports.Fan Zhang
Test: rebuild Change-Id: I178485c84ae7146f991fd77b6d7504b029942a68
2018-05-11Fix a strict mode violation in SystemUpdatePrefControllerFan Zhang
Change-Id: I4770b878b6f69318f08f8974c5c4d2690c5611d4 Bug: 78626509 Test: robotests
2018-05-09Establish permanently unavailable settingsMatthew Fritze
Distinguish between settings which are permanently unavailable on the device, and temporarily unavailable. This enables us to restrict which setting slices are exposed in onSliceGetDescendants. The primary changes in this CL are renaming: "DISABLED_UNSUPPORTED" -> "UNSUPPORTED_ON_DEVICE" to be more clear the the setting will cannot be accessed on the device, and, adding a new enum to encapsulate settings which are currently unavailable, but could be enabled in the future. Also remove UNAVAILABLE_UNKNOWN. Devs should never need this enum. Bug: 78910582 Bug: 79245656 Test: robotests Change-Id: I58821a6cfd6134b3b351657b6edf5f74ead00643
2018-04-20Migrate Settings to androidx.Aurimas Liutikas
Test: make Settings Bug: 76692459 Change-Id: I941dea40562170649bf056e675cc32e5163c0e39
2018-02-28Remove custom updateState() if it's just setting summaryFan Zhang
Change-Id: I6311d67d6ba11961a6814b91dcd8e37a2e17df40 Fixes: 73950519 Test: rerun robotests
2018-02-27Change PreferenceController#getSummary return type.Fan Zhang
Return CharSequence instead of String. All user visible string should be modeled as CharSequence. Bug: 73950519 Test: robotest Change-Id: I30befef0c33f94351d4a2774e283bd1ed804aa8b
2018-01-31Use SystemUpdateManager to provide system update info.Fan Zhang
Change-Id: I38b631cda8aa63e478c74625eba3d18f9a5723bd Fixes: 36874007 Test: robotests