summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2019-10-28 16:35:27 -0700
committerNarayan Kamath <narayan@google.com>2020-02-06 11:17:31 +0000
commitea53debe942246827e252eb248941045379e7abf (patch)
tree3907656d8260c0c0ec39dadcf208042be91dc020
parent6de5e46ae829a4c5fddb1e3dc08bdfaa9c850d71 (diff)
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.
-rw-r--r--java/com/android/dialer/app/voicemail/LegacyVoicemailNotificationReceiver.java2
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;
}