aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes2016-04-14 18:49:04 -0500
committerElliott Hughes2016-04-15 00:44:23 -0500
commit498cda6ef6c610efb055221d6c689185d49447bb (patch)
tree93254321220442262525eb80b50f60055e3cea17 /device.h
parent8febafa67e93b2159804b1130a41f15b009de1cd (diff)
downloadplatform-bootable-recovery-498cda6ef6c610efb055221d6c689185d49447bb.tar.gz
platform-bootable-recovery-498cda6ef6c610efb055221d6c689185d49447bb.tar.xz
platform-bootable-recovery-498cda6ef6c610efb055221d6c689185d49447bb.zip
Update the system update animation.
Switch to a Wear-like intro/loop system. We don't have an intro yet, but hopefully this will let Wear delete more code when they move to N. Unlike them, we don't hard-code the number of frames: we just look to see what we have available. We do hard-code the fps though. Also add a graphics test mode so you can see a demo of the UI components without having to actually apply an OTA. Also fix a bug where default locale is null rather than en-US: it's more useful to show _some_ text if we don't have a locale (which should only be during development anyway). Bug: http://b/26548285 Change-Id: I63422e3fef3c41109f924d96fb5ded0b3ae7815d
Diffstat (limited to 'device.h')
-rw-r--r--device.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/device.h b/device.h
index f74b6b04..5017782e 100644
--- a/device.h
+++ b/device.h
@@ -68,6 +68,7 @@ class Device {
68 SHUTDOWN = 8, 68 SHUTDOWN = 8,
69 VIEW_RECOVERY_LOGS = 9, 69 VIEW_RECOVERY_LOGS = 9,
70 MOUNT_SYSTEM = 10, 70 MOUNT_SYSTEM = 10,
71 RUN_GRAPHICS_TEST = 11,
71 }; 72 };
72 73
73 // Return the list of menu items (an array of strings, 74 // Return the list of menu items (an array of strings,