Add Settings#ACTION_NIGHT_DISPLAY_SETTINGS

am: 06c0cb7acd

Change-Id: I7ea6ce28be43d519144ec9311e15334d35e2702f
This commit is contained in:
Justin Klaassen
2016-07-22 22:13:23 +00:00
committed by android-build-merger
2 changed files with 17 additions and 1 deletions

View File

@@ -439,6 +439,22 @@ public final class Settings {
public static final String ACTION_DISPLAY_SETTINGS =
"android.settings.DISPLAY_SETTINGS";
/**
* Activity Action: Show settings to allow configuration of Night display.
* <p>
* In some cases, a matching Activity may not exist, so ensure you
* safeguard against this.
* <p>
* Input: Nothing.
* <p>
* Output: Nothing.
*
* @hide
*/
@SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
public static final String ACTION_NIGHT_DISPLAY_SETTINGS =
"android.settings.NIGHT_DISPLAY_SETTINGS";
/**
* Activity Action: Show settings to allow configuration of locale.
* <p>

View File

@@ -74,7 +74,7 @@ public class NightDisplayTile extends QSTile<QSTile.BooleanState>
@Override
public Intent getLongClickIntent() {
return new Intent(Settings.ACTION_DISPLAY_SETTINGS);
return new Intent(Settings.ACTION_NIGHT_DISPLAY_SETTINGS);
}
@Override