From ea53debe942246827e252eb248941045379e7abf Mon Sep 17 00:00:00 2001 From: Dianne Hackborn Date: Mon, 28 Oct 2019 16:35:27 -0700 Subject: Reland: Rework platform version to hide codenames. 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: Ic0621234215d4ba79255b985dccdd4ae6c863fc8 Exempt-From-Owner-Approval: Previously approved, no new changes. --- .../dialer/app/voicemail/LegacyVoicemailNotificationReceiver.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/com/android/dialer/app/voicemail/LegacyVoicemailNotificationReceiver.java b/java/com/android/dialer/app/voicemail/LegacyVoicemailNotificationReceiver.java index fee845469..cf7638538 100644 --- a/java/com/android/dialer/app/voicemail/LegacyVoicemailNotificationReceiver.java +++ b/java/com/android/dialer/app/voicemail/LegacyVoicemailNotificationReceiver.java @@ -65,7 +65,7 @@ public class LegacyVoicemailNotificationReceiver extends BroadcastReceiver { + ", PREVIEW_SDK_INT=" + Build.VERSION.PREVIEW_SDK_INT + ", RELEASE=" - + Build.VERSION.RELEASE); + + Build.VERSION.RELEASE_OR_CODENAME); return; } -- cgit v1.2.3