Merge "Give guidance on alternatives to deprecated locale field" into nyc-dev am: 78dd08d

am: b22b5d7

* commit 'b22b5d7e60b15632aa06597e146a8f6a5efc4321':
  Give guidance on alternatives to deprecated locale field

Change-Id: I83520d6effb804a7274f69450020490fa3ba5bec
This commit is contained in:
Raph Levien
2016-04-27 19:55:25 +00:00
committed by android-build-merger

View File

@@ -87,7 +87,8 @@ public final class Configuration implements Parcelable, Comparable<Configuration
* resource qualifier.
*
* @deprecated Do not set or read this directly. Use {@link #getLocales()} and
* {@link #setLocales(LocaleList)}.
* {@link #setLocales(LocaleList)}. If only the primary locale is needed,
* <code>getLocales().get(0)</code> is now the preferred accessor.
*/
@Deprecated public Locale locale;