Set listener properties for UMS mount/unmount

Some kernels require the usb functions be defined before UMS mounting
of storage partitions will work. This sets the sys.storage.ums_enabled
property upon mount/unmount which can be listened for in init.rc.

Example routines to include in init.rc:

on property:sys.storage.ums_enabled=1
    write /sys/class/android_usb/android0/enable 0
    write /sys/class/android_usb/android0/functions adb,mass_storage
    write /sys/class/android_usb/android0/enable 1

on property:sys.storage.ums_enabled=0
    write /sys/class/android_usb/android0/enable 0
    write /sys/class/android_usb/android0/functions adb
    write /sys/class/android_usb/android0/enable ${service.adb.root}

Change-Id: I8a8ad4b392abbaa173d402714bcb4049ba84ccca
Force GUI render after setting brightness

Change-Id: I4470a3a090d10f400575d45338a8349fbee8a027
Enable UMS mounting of storage drives

Change-Id: I4c369222cf16cb5bd87f007c3b172cd787d20fb1
Fix handling of storage after decryption

Change-Id: I0c2614f841a225699be9d4a52c60e9456241659b
Merge changes I4c369222,I8a8ad4b3 into android-4.4

* changes:
  Enable UMS mounting of storage drives
  Set listener properties for UMS mount/unmount
Merge "Force GUI render after setting brightness" into android-4.4
Fix include of cutils

Change-Id: I9868298908ce501d3043326862057e8a637544af
Fix make file flag name for minzip

Change-Id: I53380ee203c1fe75d37f24f99e36f5c5a62e5b39
Don't switch between fast and normal scroll during drag in listviews

Signed-off-by: Vojtech Bocek <vbocek@gmail.com>

Change-Id: I925adda7f417c6e578f501babc8ef2bec638f66b
ifdef some file system options that are not available in older trees

Change-Id: I11a7e441f7fe4e556a5349822150493de90095f1
Fix SELinux function compatibility in older trees

Change-Id: I3d8c23b51b3331d062099c1edb1833551cc6af91
Merge "ifdef some file system options that are not available in older trees" into android-4.4
Add option to set flag for storage=0

Change-Id: I46b94d55fc649a2abf27569ccf99aabb2822d663
Clear the relative directory before passing on to twrpTar with the static du object. Otherwise we will not backup /system/media etc

Change-Id: Ib62af6ad8596aa18bf48cb750e2ecf442dadc627
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
Refactor twrpTar to use TarList

Eliminate the use of tarDirs and Generate_MultipleArcives in
favor of Generate_TarList so that we have one method for backup
creation instead of three.

Change-Id: I267937b6e40b32d43fbac8b4cca82f7468d4f94c
Improve android secure handling

Change-Id: I9e1c7f4a8353b7be51e1a54bf5d506c9dce70da2
Load RTC offset on Qualcomm Krait chips, fixes the broken time & date

Signed-off-by: Vojtech Bocek <vbocek@gmail.com>

Change-Id: I04ad07f3e6be961003e063be8c648e191e2f9431
Fix error message on split backups

Change-Id: I9effd57c2b4d28c3bd9ca1045a0bb0ac8c958245
minui: adapt backlight blanking commit to TWRP

Change-Id: I79417d218c84fcdaf2ce5ecdf314031831d89575