Properly delete all GUIObjects and pages on theme reload

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

Change-Id: I8df41877f8f4439a434becfd47a9914b50649b34
Cache results of GUIObject::isConditionTrue()

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

Change-Id: Ia50f7c365b2dc0a65ee046bb42972e3594264878
Improve ORS scanning of storage locations

Grab a vector of storage locations and iterate through them for
searching for zips and restore folders.

Change-Id: Ia045b1e15ac3701132d61fe9f5847da5785a9b4e
Merge "Improve ORS scanning of storage locations" into android-4.4
Remove some unneeded code

Change-Id: I52b34a316950e92a3aa4c1675475fca8dc08d2c8
Add capslock support to keyboard

Change-Id: I4be3849ff0485536575395d798aa5edbe12651a7
Look also for buttons when checking if input device is mouse

* Some touchscreens have REL_* events

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

Change-Id: I332637ff58324895896ad09bf4ac08a2f127e49f
fix slash between directories
add fixing contexts of Android directory for apps that store stuff here
fix data/data contexts to be recursive

Change-Id: I1122559c83845c3af0a351a4034cd7ad6da83fa5
Merge "Look also for buttons when checking if input device is mouse" into android-4.4
Merge "Add capslock support to keyboard" into android-4.4
Merge "Remove some unneeded code" into android-4.4
Remove unneeded logging

Change-Id: I5c7d104689ed2b578b463a6be55b3688dcc4c01a
Add word wrap to console output and fix scrolling in console

Change-Id: Ibcf89952ee1391350c715f1ec82cf0cdb9b0ca7d
Allow sideloading from /tmp

Change-Id: I7ba9a8a496536ed55241e45e18297bd824d7e28c
Check auto generated backup names for invalid characters

Change name to date/time only if the auto generated backup name
contains any invalid characters.

Change-Id: I73e9e546373088ee7852fa31015060ce95a1d020
Check crypto footer before offering to decrypt

Verify that we have a valid footer with proper magic before
setting things up for decryption to help prevent user confusion
when dealing with data partitions that fail to mount. Also check
to make sure that the block device for /data is present.

Change-Id: Ie87818fe4505a8bf71df7d3934c114e7328ef3ca
Merge "Allow sideloading from /tmp" into android-4.4
Merge "Check auto generated backup names for invalid characters" into android-4.4
Merge "Check crypto footer before offering to decrypt" into android-4.4
test

Change-Id: I2c47d1fe214daac375ad53c2f27628745e5c9ba9