Add required libraries to list.

Change-Id: Ice466de2bddd6050335978d70f31831f4d428576
6.0.4.4

Change-Id: Ia6a077ea71d9f03e90e039ce28eebe26d28a221f
Merge "Add required libraries to list." into cm-10.2
Make "one confirm" the default action.  Create .many_confirm to restore
all the extra no options.

Change-Id: I1362815b18f4f1aeecb7426689f38bf8f1f1f008
Enable optional swipe based touch controls

Enabled via BOARD_RECOVERY_SWIPE := true in BoardConfig.mk.
Does not interfere with hardware keys, they continue to work.

Patchset 1) Initial set
Patchset 2) change Board Config variable
            don't add if BOARD_TOUCH_RECOVERY set
Patchset 3) more ifdef's for all!
Patchset 4) moved instructions
            even more stuff ifdef'ed
            no more abs name issues
Patchset 5) clean up commit message
Patchset 6) Move things to swipe.c to clean up ui.c
Patchset 7) white space

Change-Id: Id9844c38c31bd1985dd78a6d1dd81e71aa1f87f3
always do a clean reboot

Change-Id: I576c054dc5ab6a080e499f26c8cb2a66ecb8ae42
fix the following bugs to better handle new vold code
- do not show partition sdcard entries for vold managed volumes until we have a valid blk_device2. That also caused a memory overflow
- make it possible again to partition old style blk_device volumes
- enable format voldmanaged devices to ext2 and ext3 with existing binaries by using optional blk_device2 (defined in recovery to NULL but not currently implemented by fs_mgr
- fix unexpected behavior when in format/partition menus and insert an usb key (REFRESH return code)
- ensure_path_unmounted() could not unmount /sdcard path on /data/media devices
- format_device() and format_volume() properly handle /sdcard path argument on /data/media devices

Change-Id: I2d5872690805e70175ba1346fd03978e3c2b879e
Do not log to screen when mounting/unmounting sdcards.
This will preserve logging for format/usb mount and for all USB OTG storage

Change-Id: I0ab41632b4b97d23a43471755e21d9750c6cfa04
friendly write_recovery_version()

Change-Id: I43ad3d2600b9529d726aac435f0091713786ac4f
One less integer

Change-Id: Ie94b28694c12182652464c4b8e61ab4c67905b07
minui: Match API to AOSP

 * AOSP added a "bold" flag for image based fonts. Stay compatible
   with that API since there are other components using minui.

Change-Id: I6c0f12f7f8f1df8dd27779b47883ccff96f2d291
Add guard makefile for allowing simple recovery build

Change-Id: I6ec438f61cafce69c5083977c4330277f56aa060
Revert "minui: Match API to AOSP"

 * Breaks every device because of their deprecated graphics.c overloads.
 * Revert until we clean this mess up.

This reverts commit 48ccdcef23664c52d092875cef3585e828341914.
Prevent scroll drifting in swipe recovery

Change-Id: I8179607517f55b2941924b5726e0e57b012f8e18
minui: Allow devices to blank/unblank using LCD backlight

* Some devices rely on the LCD backlight to blank/unblank the display,
  support them by allowing a custom LCD backlight path to be used.

Change-Id: I8406b4b55cd7a2afc4f8f8ba65de2c53b949489d
Merge "minui: Allow devices to blank/unblank using LCD backlight" into cm-10.2
recovery: Add a proper CleanSpec.mk

 * Clean all the stuff that conflicts with AOSP recovery.

Change-Id: I175329c446a014c451f4c0fc5a9a4472941afc10
recovery: Clean ALL the things

 * We need to clean everything, otherwise nasty things happen when
   switching to alternate recovery module.

Change-Id: I9ea88179f5329112c587b649328c1c83df0bd5d9
Revert "Revert "minui: Match API to AOSP""

This reverts commit 2457cc01c709abcf7835799d7737ca51b6485cab.
updater: introduce and set_metadata and set_metadata_recursive

Introduce two new updater functions:

* set_metadata
* set_metadata_recursive

Long term, these functions are intended to be more flexible replacements
for the following methods:

* set_perm
* set_perm_recursive

Usage:

  set_metadata("filename", "key1", "value1", "key2", "value2", ...)
  set_metadata_recursive("dirname", "key1", "value1", "key2", "value2", ...)

Description:

set_metadata() and set_metadata_recursive() set the attributes on a file/directory
according to the key/value pairs provided. Today, the following keys are
supported:

* uid
* gid
* mode (set_perm_extd only)
* fmode (set_perm_extd_recursive only)
* dmode (set_perm_extd_recursive only)
* selabel
* capabilities

Unknown keys are logged as warnings, but are not fatal errors.

Examples:

* set_metadata("/system/bin/netcfg", "selabel", "u:object_r:system_file:s0");

This sets the SELinux label of /system/bin/netcfg to u:object_r:system_file:s0.
No other changes occur.

* set_metadata("/system/bin/netcfg", "uid", 0, "gid", 3003, "mode", 02750, "selabel", "u:object_r:system_file:s0", "capabilities", 0x0);

This sets /system/bin/netcfg to uid=0, gid=3003, mode=02750,
selinux label=u:object_r:system_file:s0, and clears the capabilities
associated with the file.

* set_metadata_recursive("/system", "uid", 0, "gid", 0, "fmode", 0644, "dmode", 0755, "selabel", "u:object_r:system_file:s0", "capabilities", 0x0);

All files and directories under /system are set to uid=0, gid=0,
and selinux label=u:object_r:system_file:s0. Directories are set to
mode=0755.  Files are set to mode=0644 and all capabilities are cleared.

Bug: 10183961
Bug: 10186213
Bug: 8985290
Change-Id: Ifdcf186a7ed45265511dc493c4036e1ac5e3d0af