Merge "Add example to TypedValue.changingConfigurations JavaDoc" into oc-dev

This commit is contained in:
TreeHugger Robot
2017-04-13 20:54:24 +00:00
committed by Android (Google) Code Review

View File

@@ -187,6 +187,27 @@ public class TypedValue {
/**
* If the value came from a resource, these are the configurations for
* which its contents can change.
*
* <p>For example, if a resource has a value defined for the -land resource qualifier,
* this field will have the {@link android.content.pm.ActivityInfo#CONFIG_ORIENTATION} bit set.
* </p>
*
* @see android.content.pm.ActivityInfo#CONFIG_MCC
* @see android.content.pm.ActivityInfo#CONFIG_MNC
* @see android.content.pm.ActivityInfo#CONFIG_LOCALE
* @see android.content.pm.ActivityInfo#CONFIG_TOUCHSCREEN
* @see android.content.pm.ActivityInfo#CONFIG_KEYBOARD
* @see android.content.pm.ActivityInfo#CONFIG_KEYBOARD_HIDDEN
* @see android.content.pm.ActivityInfo#CONFIG_NAVIGATION
* @see android.content.pm.ActivityInfo#CONFIG_ORIENTATION
* @see android.content.pm.ActivityInfo#CONFIG_SCREEN_LAYOUT
* @see android.content.pm.ActivityInfo#CONFIG_UI_MODE
* @see android.content.pm.ActivityInfo#CONFIG_SCREEN_SIZE
* @see android.content.pm.ActivityInfo#CONFIG_SMALLEST_SCREEN_SIZE
* @see android.content.pm.ActivityInfo#CONFIG_DENSITY
* @see android.content.pm.ActivityInfo#CONFIG_LAYOUT_DIRECTION
* @see android.content.pm.ActivityInfo#CONFIG_COLOR_MODE
*
*/
public @Config int changingConfigurations = -1;