aboutsummaryrefslogtreecommitdiffstats
path: root/device.cpp
Commit message (Collapse)AuthorAgeFilesLines
* recovery: Remove insecure wipe from menu on user buildsPat Erley2016-02-051-0/+4
| | | | | | | | This would allow people who gain access to a pin-locked device to remove the pin and gain access to media. This will still allow wipes from Android to preserve media. Change-Id: I73bc9d176297081a41c8d29fc77638d665442fe8
* recovery: Menu rewrites and cleanupsTom Marshall2016-02-041-22/+98
| | | | | | | | | | | | | | * Introduce a menu stack for navigating sub-menus. The menu data structure format is a bit messy, but necessary in order to provide a string list for the ui. * Create "advanced" sub-menu for rarely used and dangerous commands. * Create "factory reset" sub-menu for various reset and wipe commands. * Separate "wipe data" and "factory reset" items. Change-Id: Ib9bc6967b98d022880cfe7fa8e324cd64b07d248
* recovery: Allow devices to reboot to download modeAndreas Blaesius2015-11-251-0/+4
| | | | Change-Id: Ib6ccf98ed68efacbb3b8c8238945da60b23a20d7
* sr: Touch UITom Marshall2015-11-251-0/+4
| | | | Change-Id: I4ee87f3474aec0496c47bb561ddecc74e151cbbf
* recovery: datamedia supportTom Marshall2015-11-251-3/+5
| | | | Change-Id: I4cef82973a15111bee92cd7c81f0e1db8d211991
* recovery: Awakening of MiniVoldTom Marshall2015-11-251-9/+7
| | | | | | A minimal vold client for recovery. Change-Id: Id25d955dc1861a910e5f5fc27d9a19e245d66833
* Add back and home key handling.Steve Kondik2015-11-201-0/+15
| | | | Change-Id: I5abac0f1b59d480b859f77ce16126f13fccd440b
* Move the menu header out of the menu.Elliott Hughes2015-04-131-18/+0
| | | | | | | | | | | This makes it easier for us to deal with arbitrary information at the top, and means that headers added by specific commands don't overwrite the default ones. Add the fingerprint back, but broken up so it fits even on sprout's display. Change-Id: Id71da79ab1aa455a611d72756a3100a97ceb4c1c
* Auto-detect whether to use the long-press UI.Elliott Hughes2015-04-101-7/+43
| | | | Change-Id: Ie77a5584e301467c6a5e164d2c62d6f036b2c0c0
* Move "Mount /system" to the main menu.Elliott Hughes2015-04-101-3/+5
| | | | | | | Everyone's adding secret key combinations for this anyway, and it's very useful when debugging. Change-Id: Iad549452b872a7af963dd649f283ebcd3ea24234
* Move default implementations into Device.Elliott Hughes2015-04-091-0/+54
The current abstract class was a nice idea but has led to a lot of copy & paste in practice. Right now, no one we know of has any extra menu items, so let's make the default menu available to everyone. (If we assume that someone somewhere really does need custom device-specific menu options, a better API would let them add to our menu rather than replacing it.) Change-Id: I59f6a92f3ecd830c2ce78ce9da19eaaf472c5dfa