From 3fb5b81816216f59c316dfb38f9a6b6e80a01b66 Mon Sep 17 00:00:00 2001 From: David Kimmel Date: Tue, 28 Nov 2023 13:04:04 -0800 Subject: [PATCH] Power: add AUTOMOTIVE_PROJECTION power mode Test: Boot Bug: 300362894 Change-Id: I83ffd47becbd5bde0a64950f26a321e6a48001c4 Signed-off-by: David Kimmel --- .../current/android/hardware/power/Mode.aidl | 1 + power/aidl/android/hardware/power/Mode.aidl | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/power/aidl/aidl_api/android.hardware.power/current/android/hardware/power/Mode.aidl b/power/aidl/aidl_api/android.hardware.power/current/android/hardware/power/Mode.aidl index b8a071096f..46eca69309 100644 --- a/power/aidl/aidl_api/android.hardware.power/current/android/hardware/power/Mode.aidl +++ b/power/aidl/aidl_api/android.hardware.power/current/android/hardware/power/Mode.aidl @@ -52,4 +52,5 @@ enum Mode { GAME, GAME_LOADING, DISPLAY_CHANGE, + AUTOMOTIVE_PROJECTION, } diff --git a/power/aidl/android/hardware/power/Mode.aidl b/power/aidl/android/hardware/power/Mode.aidl index 78f03632dc..a8fba720f4 100644 --- a/power/aidl/android/hardware/power/Mode.aidl +++ b/power/aidl/android/hardware/power/Mode.aidl @@ -173,4 +173,10 @@ enum Mode { * or switching between inner and outer panels. */ DISPLAY_CHANGE, + + /** + * This mode indicates that the device is rendering to a remote display in + * a vehicle (such as Android Auto projection screen). + */ + AUTOMOTIVE_PROJECTION, }