diff options
author | Dianne Hackborn <hackbod@google.com> | 2019-10-28 16:35:27 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2019-11-11 15:05:04 -0800 |
commit | 2f78b36f87f0ca7f26d57ffa79f9ea0c0a5add18 (patch) | |
tree | 3907656d8260c0c0ec39dadcf208042be91dc020 | |
parent | b022622b50b9b7b1ad643ccea77e317616d4e5de (diff) |
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: Ic8fe4defb609dee24f53358dc7b37e3590482b27
-rw-r--r-- | java/com/android/dialer/app/voicemail/LegacyVoicemailNotificationReceiver.java | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |