diff --git a/core/java/android/content/res/Resources.java b/core/java/android/content/res/Resources.java
index 93fe73b06e896..54a59680fe4dc 100644
--- a/core/java/android/content/res/Resources.java
+++ b/core/java/android/content/res/Resources.java
@@ -126,9 +126,9 @@ public class Resources {
* Returns the most appropriate default theme for the specified target SDK version.
*
* - Below API 11: Gingerbread
- *
- APIs 11 thru 14: Holo
- *
- APIs 14 thru XX: Device default dark
- *
- API XX and above: Device default light with dark action bar
+ *
- APIs 12 thru 14: Holo
+ *
- APIs 15 thru 23: Device default dark
+ *
- APIs 24 and above: Device default light with dark action bar
*
*
* @param curTheme The current theme, or 0 if not specified.
@@ -156,7 +156,7 @@ public class Resources {
if (targetSdkVersion < Build.VERSION_CODES.ICE_CREAM_SANDWICH) {
return holo;
}
- if (targetSdkVersion < Build.VERSION_CODES.CUR_DEVELOPMENT) {
+ if (targetSdkVersion < Build.VERSION_CODES.N) {
return dark;
}
return deviceDefault;