From 7c4e947a49d5b2e26aebc690b78963f1b00e6551 Mon Sep 17 00:00:00 2001 From: Darrell Shi Date: Wed, 22 Dec 2021 15:10:20 -0800 Subject: [PATCH] Add showClockAndComplications to dream metadata. This boolean metadata allows the dream to declare whether they want complications to display on the overlay. Test: manual on device Bug: 211519550 Change-Id: I7e2dfc3275022be3e1b490e6f8bf104a92fbf11a --- core/api/current.txt | 1 + core/res/res/values/attrs.xml | 3 +++ core/res/res/values/public.xml | 1 + 3 files changed, 5 insertions(+) diff --git a/core/api/current.txt b/core/api/current.txt index b983617445e54..9a804c6c37e68 100644 --- a/core/api/current.txt +++ b/core/api/current.txt @@ -1312,6 +1312,7 @@ package android { field public static final int shouldDisableView = 16843246; // 0x10101ee field public static final int shouldUseDefaultUnfoldTransition = 16844364; // 0x101064c field public static final int showAsAction = 16843481; // 0x10102d9 + field public static final int showClockAndComplications; field public static final int showDefault = 16843258; // 0x10101fa field public static final int showDividers = 16843561; // 0x1010329 field public static final int showForAllUsers = 16844015; // 0x10104ef diff --git a/core/res/res/values/attrs.xml b/core/res/res/values/attrs.xml index 1705371a7f4a9..86c83c590b773 100644 --- a/core/res/res/values/attrs.xml +++ b/core/res/res/values/attrs.xml @@ -8442,6 +8442,9 @@ + +