summaryrefslogtreecommitdiff
path: root/core/java
diff options
context:
space:
mode:
authorMiranda Kephart <mkephart@google.com>2019-10-29 11:52:56 -0400
committerMiranda Kephart <mkephart@google.com>2019-11-04 12:13:19 -0500
commitea2e67a5a024e17f19160619212884f3de3b497c (patch)
tree5cc3c094d6fd6d20e177424d050f9d3eac4894a3 /core/java
parentbd1b494bda1ec52e4e7f073f6b607ed4e336c06b (diff)
Add corner flow for screenshots
Instead of showing a notification, the screenshot animates into the bottom left corner of the phone. Tapping on it leads to the same intent as tapping "Edit" on the notification would. The screenshot disappears after 8 seconds. Bug: 137153302 Test: adds feature behind flag, tested that behavior remains the same if flag is false Change-Id: I4f48ba7de36f298bd6a66439ea6885fc92a8cb9c
Diffstat (limited to 'core/java')
-rw-r--r--core/java/com/android/internal/config/sysui/SystemUiDeviceConfigFlags.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/java/com/android/internal/config/sysui/SystemUiDeviceConfigFlags.java b/core/java/com/android/internal/config/sysui/SystemUiDeviceConfigFlags.java
index 033e9b2c6eba..36a7a9c91ee4 100644
--- a/core/java/com/android/internal/config/sysui/SystemUiDeviceConfigFlags.java
+++ b/core/java/com/android/internal/config/sysui/SystemUiDeviceConfigFlags.java
@@ -337,6 +337,14 @@ public final class SystemUiDeviceConfigFlags {
"brightline_falsing_zigzag_y_secondary_deviance";
+ // Flags related to screenshots
+
+ /**
+ * (boolean) Whether screenshot flow going to the corner (instead of shown in a notification)
+ * is enabled.
+ */
+ public static final String SCREENSHOT_CORNER_FLOW = "screenshot_corner_flow";
+
private SystemUiDeviceConfigFlags() {
}
}