Merge "Reland: Rework platform version to hide codenames."

This commit is contained in:
Narayan Kamath
2020-02-10 10:01:25 +00:00
committed by Android (Google) Code Review
7 changed files with 7 additions and 7 deletions

View File

@@ -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);
Build.VERSION.RELEASE_OR_CODENAME);
final FutureTask<Bundle> bundleFutureTask = new FutureTask<>(
// Put the API call in a future to avoid StrictMode violation.
() -> mUpdateManager.retrieveSystemUpdateInfo());