From d389bf1773ca069ae1fd8114d8432ec2195219f5 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Fri, 25 Feb 2022 13:17:43 +0100 Subject: [PATCH] sdk: Add device controls global action Change-Id: I8be18dfa1fe7807ca2eff13c4c2d477322530af0 --- .../java/org/lineageos/internal/util/PowerMenuConstants.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sdk/src/java/org/lineageos/internal/util/PowerMenuConstants.java b/sdk/src/java/org/lineageos/internal/util/PowerMenuConstants.java index d98dd1b6..b04deb2e 100644 --- a/sdk/src/java/org/lineageos/internal/util/PowerMenuConstants.java +++ b/sdk/src/java/org/lineageos/internal/util/PowerMenuConstants.java @@ -1,6 +1,6 @@ /* * Copyright (C) 2015 The CyanogenMod Project - * Copyright (C) 2017-2021 The LineageOS Project + * Copyright (C) 2017-2022 The LineageOS Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -32,6 +32,7 @@ public class PowerMenuConstants { public static final String GLOBAL_ACTION_KEY_ASSIST = "assist"; public static final String GLOBAL_ACTION_KEY_LOGOUT = "logout"; public static final String GLOBAL_ACTION_KEY_EMERGENCY = "emergency"; + public static final String GLOBAL_ACTION_KEY_DEVICECONTROLS = "devicecontrols"; /** * Advanced restart menu actions @@ -54,6 +55,7 @@ public class PowerMenuConstants { GLOBAL_ACTION_KEY_SILENT, GLOBAL_ACTION_KEY_VOICEASSIST, GLOBAL_ACTION_KEY_ASSIST, + GLOBAL_ACTION_KEY_DEVICECONTROLS, GLOBAL_ACTION_KEY_LOGOUT, };