Merge "Use Build.VERSION.RELEASE_OR_PREVIEW_DISPLAY for user visible versions" am: 9c59242102 am: e23884eed9 am: f21625fe80
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2003011 Change-Id: I6e850608c5454ce80562a956074bc9ebe5c1597d
This commit is contained in:
@@ -89,7 +89,7 @@ public class SystemUpdatePreferenceController extends BasePreferenceController {
|
||||
@Override
|
||||
public CharSequence getSummary() {
|
||||
CharSequence summary = mContext.getString(R.string.android_version_summary,
|
||||
Build.VERSION.RELEASE_OR_CODENAME);
|
||||
Build.VERSION.RELEASE_OR_PREVIEW_DISPLAY);
|
||||
final FutureTask<Bundle> bundleFutureTask = new FutureTask<>(
|
||||
// Put the API call in a future to avoid StrictMode violation.
|
||||
() -> mUpdateManager.retrieveSystemUpdateInfo());
|
||||
|
||||
Reference in New Issue
Block a user