Merge "Fix ACTION_ONE_HANDED_SETTINGS breaks CTS IntentTest"

This commit is contained in:
TreeHugger Robot
2021-11-19 09:53:15 +00:00
committed by Android (Google) Code Review
2 changed files with 2 additions and 10 deletions

View File

@@ -1563,15 +1563,6 @@ public class Intent implements Parcelable, Cloneable {
@SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
public static final String ACTION_POWER_USAGE_SUMMARY = "android.intent.action.POWER_USAGE_SUMMARY";
/**
* Activity Action: Show one-handed mode settings to the user.
* <p>Input: Nothing.
* <p>Output: Nothing.
* @hide
*/
public static final String ACTION_ONE_HANDED_SETTINGS =
"android.intent.action.ONE_HANDED_SETTINGS";
/**
* Activity Action: Setup wizard action provided for OTA provisioning to determine if it needs
* to run.

View File

@@ -105,7 +105,8 @@ public class OneHandedModeTile extends QSTileImpl<BooleanState> {
@Override
public Intent getLongClickIntent() {
return new Intent(Intent.ACTION_ONE_HANDED_SETTINGS);
// TODO(b/201743873) define new intent action ACTION_ONE_HANDED_SETTINGS in Settings.
return null;
}
@Override