Commit graph

1381 commits

Author SHA1 Message Date
Elliott Hughes
985022a623 Remove unnecessary globals.
Change-Id: I76a042432aede08ceaf250319cf5eeb25d601150
2015-04-13 13:04:32 -07:00
Elliott Hughes
300ed089b3 Treat KEY_ENTER the same as KEY_POWER in the pager.
Our long-press UI sends KEY_ENTER for long presses, which the long-press
UI treats as equivalent to KEY_POWER in the regular UI. So anywhere we accept
KEY_POWER we should accept KEY_ENTER too.

Change-Id: I99d376c961887043cf02037c26d000c8ba4d66f9
2015-04-13 10:47:59 -07:00
Elliott Hughes
f59062b7ea am d56e0f37: am 0e3781ef: Merge "Rewritten file pager."
* commit 'd56e0f377eab630b1fbedcf291954489fd4fa5e3':
  Rewritten file pager.
2015-04-11 21:09:01 +00:00
Elliott Hughes
d56e0f377e am 0e3781ef: Merge "Rewritten file pager."
* commit '0e3781ef9af2df648f54eb2a7765bef7b6b5b22e':
  Rewritten file pager.
2015-04-11 20:39:04 +00:00
Elliott Hughes
0e3781ef9a Merge "Rewritten file pager." 2015-04-11 20:29:47 +00:00
Tao Bao
ea9439a64a am dd4d48be: am 558ba1ba: Merge "Revert "Append kernel logs to last_log file""
* commit 'dd4d48be37c9899cad6ede0b13ee375ddc46e5f3':
  Revert "Append kernel logs to last_log file"
2015-04-11 02:51:13 +00:00
Tao Bao
dd4d48be37 am 558ba1ba: Merge "Revert "Append kernel logs to last_log file""
* commit '558ba1bafa232935148b6483dc40277cdf4be292':
  Revert "Append kernel logs to last_log file"
2015-04-11 02:30:13 +00:00
Tao Bao
558ba1bafa Merge "Revert "Append kernel logs to last_log file"" 2015-04-11 02:21:27 +00:00
Elliott Hughes
95fc63e87b Rewritten file pager.
Most importantly, this one no longer skips lines because of wrapping.

Change-Id: Ic1c1944682ab8cbf3d542418ee86d29819173fc9
2015-04-10 19:12:01 -07:00
Tao Bao
f012432f96 Revert "Append kernel logs to last_log file"
This reverts commit 2ec803f435.

Change-Id: I419025a772ef99db4c0a78bfa7ef66767f3fa062
2015-04-11 02:04:11 +00:00
Tao Bao
7f04e8e655 am fa51b50a: am 464c3e71: Merge "Append kernel logs to last_log file"
* commit 'fa51b50ae75344addbf0671719f6cf4deaa57217':
  Append kernel logs to last_log file
2015-04-11 01:56:22 +00:00
Tao Bao
fa51b50ae7 am 464c3e71: Merge "Append kernel logs to last_log file"
* commit '464c3e718f4c52444d17ab66ab6c9f71936cd4b8':
  Append kernel logs to last_log file
2015-04-11 01:19:58 +00:00
Tao Bao
464c3e718f Merge "Append kernel logs to last_log file" 2015-04-11 01:12:24 +00:00
Tao Bao
7438ccc386 am 57ca725d: am 6d1bd3d3: Merge "Update the comments for package installer commands"
* commit '57ca725d874c8434284a4345ac24c55d207367ad':
  Update the comments for package installer commands
2015-04-11 00:25:32 +00:00
Tao Bao
2ec803f435 Append kernel logs to last_log file
Currently we are keeping one copy of the kernel log (LAST_KMSG_FILE).
This CL changes to append it to the recovery log.

Bug: 18092237
Change-Id: I06ad5629016846927153064f1663753a90296f79
2015-04-10 17:23:34 -07:00
Tao Bao
57ca725d87 am 6d1bd3d3: Merge "Update the comments for package installer commands"
* commit '6d1bd3d3d4f7e715b2692696eb75e1927a4cd954':
  Update the comments for package installer commands
2015-04-10 23:59:56 +00:00
Tao Bao
6d1bd3d3d4 Merge "Update the comments for package installer commands" 2015-04-10 23:53:54 +00:00
Tao Bao
b07e1f3a3a Update the comments for package installer commands
These commands are for the communication between the installer and the
update binary (edify interpreter). Update the comments in sync with the
codes.

Change-Id: I7390f022b1447049a974b0b45697ef1d2e71d4e0
2015-04-10 16:18:32 -07:00
Elliott Hughes
68dfb5a936 am 34bbc7d4: am f19007a5: Merge "Auto-detect whether to use the long-press UI."
* commit '34bbc7d49a4f0578798d039fc16369b1a6ea16bd':
  Auto-detect whether to use the long-press UI.
2015-04-10 23:03:07 +00:00
Elliott Hughes
34bbc7d49a am f19007a5: Merge "Auto-detect whether to use the long-press UI."
* commit 'f19007a5252d62020c3ac8796908d9ee4653830d':
  Auto-detect whether to use the long-press UI.
2015-04-10 22:36:42 +00:00
Elliott Hughes
f19007a525 Merge "Auto-detect whether to use the long-press UI." 2015-04-10 22:28:57 +00:00
Elliott Hughes
4af215b2c3 Auto-detect whether to use the long-press UI.
Change-Id: Ie77a5584e301467c6a5e164d2c62d6f036b2c0c0
2015-04-10 15:14:35 -07:00
Elliott Hughes
a16bb6d9e4 am a90ba39b: am 51697d27: Merge "Switch minadb over to C++."
* commit 'a90ba39beb8762f5a1f21b03f2734acda4fb03b1':
  Switch minadb over to C++.
2015-04-10 21:58:43 +00:00
Elliott Hughes
a90ba39beb am 51697d27: Merge "Switch minadb over to C++."
* commit '51697d2781501c30d8db6d2a8e6c2becebcffad8':
  Switch minadb over to C++.
2015-04-10 21:41:15 +00:00
Elliott Hughes
448c4ad353 am 53b8ca4b: am 23017c5d: Merge "Switch minui over to C++."
* commit '53b8ca4b7215389488862010751b956729e92733':
  Switch minui over to C++.
2015-04-10 21:32:02 +00:00
Elliott Hughes
51697d2781 Merge "Switch minadb over to C++." 2015-04-10 21:28:46 +00:00
Elliott Hughes
87835abd97 am 9b0ebf99: am 5d1630a9: Merge "Fix ScreenRecoveryUI to handle devices without power/up/down."
* commit '9b0ebf992e01960db42ab7debf02bb25b372c734':
  Fix ScreenRecoveryUI to handle devices without power/up/down.
2015-04-10 21:05:52 +00:00
Elliott Hughes
53b8ca4b72 am 23017c5d: Merge "Switch minui over to C++."
* commit '23017c5d5c145a1040ee49466d30489d6e11bb61':
  Switch minui over to C++.
2015-04-10 21:03:53 +00:00
Elliott Hughes
20531ef605 Switch minadb over to C++.
Change-Id: I5afaf70caa590525627c676c88b445d3162de33e
2015-04-10 13:59:19 -07:00
Elliott Hughes
23017c5d5c Merge "Switch minui over to C++." 2015-04-10 20:57:37 +00:00
Elliott Hughes
07cfb8fe79 Switch minui over to C++.
Change-Id: I59e08a304ae514a3fdb6fab58721f11670bc1b01
2015-04-10 13:42:55 -07:00
Elliott Hughes
9b0ebf992e am 5d1630a9: Merge "Fix ScreenRecoveryUI to handle devices without power/up/down."
* commit '5d1630a926a02ca13a66eb1e385eabba16b04cfc':
  Fix ScreenRecoveryUI to handle devices without power/up/down.
2015-04-10 20:32:34 +00:00
Elliott Hughes
5d1630a926 Merge "Fix ScreenRecoveryUI to handle devices without power/up/down." 2015-04-10 20:26:53 +00:00
Elliott Hughes
642aaa7a3e Fix ScreenRecoveryUI to handle devices without power/up/down.
Currently fugu has a custom subclass to handle this. The default code
supports devices with trackballs but not all shipping Nexus devices?
That's just silly.

Change-Id: Id2779c91284899a26b4bb1af41e7033aa889df10
2015-04-10 12:47:46 -07:00
Elliott Hughes
2d71dcdc2a am c22f5774: am 6b0dd1d7: Merge "Move "Mount /system" to the main menu."
* commit 'c22f5774d04bed56c7c00874b5a0a0ec37f605aa':
  Move "Mount /system" to the main menu.
2015-04-10 17:53:22 +00:00
Elliott Hughes
71bc735547 am 10dacbce: am 18eaa0cf: Merge "Add ev_iterate_available_keys to minui."
* commit '10dacbce5ce330310ab630aa9199db620b171e76':
  Add ev_iterate_available_keys to minui.
2015-04-10 17:32:32 +00:00
Elliott Hughes
c22f5774d0 am 6b0dd1d7: Merge "Move "Mount /system" to the main menu."
* commit '6b0dd1d7e1e1f3645230f880db95cad1279a826b':
  Move "Mount /system" to the main menu.
2015-04-10 17:28:24 +00:00
Elliott Hughes
6b0dd1d7e1 Merge "Move "Mount /system" to the main menu." 2015-04-10 17:20:04 +00:00
Elliott Hughes
10dacbce5c am 18eaa0cf: Merge "Add ev_iterate_available_keys to minui."
* commit '18eaa0cfe7aa775546369de829a1ff3049cf82a5':
  Add ev_iterate_available_keys to minui.
2015-04-10 17:07:29 +00:00
Elliott Hughes
ec28340cf3 Move "Mount /system" to the main menu.
Everyone's adding secret key combinations for this anyway, and it's
very useful when debugging.

Change-Id: Iad549452b872a7af963dd649f283ebcd3ea24234
2015-04-10 10:01:53 -07:00
Elliott Hughes
18eaa0cfe7 Merge "Add ev_iterate_available_keys to minui." 2015-04-10 16:58:48 +00:00
Elliott Hughes
2ac4d2fdc4 am 5f3dee94: am f471861e: Merge "Move the recovery image version out of the menu header."
* commit '5f3dee94480bff0b16dcbb58cc675785bf52ba75':
  Move the recovery image version out of the menu header.
2015-04-10 16:58:19 +00:00
Elliott Hughes
0713819fd2 Add ev_iterate_available_keys to minui.
This lets us recognize whether we have up/down/power, say, and tailor
the UI accordingly.

Change-Id: If94e454f14243b59d2f473ac9a436bd60591da01
2015-04-10 09:40:53 -07:00
Elliott Hughes
5f3dee9448 am f471861e: Merge "Move the recovery image version out of the menu header."
* commit 'f471861e832e4be3a07359dfb72c1812de64b7ac':
  Move the recovery image version out of the menu header.
2015-04-10 16:30:36 +00:00
Elliott Hughes
f471861e83 Merge "Move the recovery image version out of the menu header." 2015-04-10 16:25:32 +00:00
Elliott Hughes
a9dfd59c83 am 7b66aaeb: am e001074f: Merge "Move default implementations into Device."
* commit '7b66aaebefb64e75597b33dbfac90072a8e32e9b':
  Move default implementations into Device.
2015-04-10 04:32:56 +00:00
Elliott Hughes
bb78d6286d Move the recovery image version out of the menu header.
Rather than add code to wrap menu items, let's just put output the
recovery version to the log. It'll be visible at the bottom of the
screen and automatically wrap.

Change-Id: I158fe2d85bc56b195e00619fba455321743923bd
2015-04-09 20:51:08 -07:00
Elliott Hughes
7b66aaebef am e001074f: Merge "Move default implementations into Device."
* commit 'e001074f227fb74f6ebf5b26c222d09fe69712c0':
  Move default implementations into Device.
2015-04-09 22:59:07 +00:00
Elliott Hughes
e001074f22 Merge "Move default implementations into Device." 2015-04-09 22:53:36 +00:00
Elliott Hughes
061fe46c09 am 0c23c97c: am 06522ef5: Merge "Remove some commented-out code."
* commit '0c23c97c78211bc98c3dadd7f613e764e183a0ea':
  Remove some commented-out code.
2015-04-09 21:31:50 +00:00