Allow MTP debug setting to stick through a reboot

Change-Id: I81eb5eaa2286c0ee3078e01304d65b9489f13bf2
Prevent MTP enable on startup if crash detected

Change-Id: Ie1388a8acadf714a29721dd90c7f9a8aa38a860d
Properly set mtp enable variable if disabled during boot

Change-Id: Iedf08419a1fd46908e5b9186a769a0497ce62ca8
MTP Fix property list for multiple storage devices

Change-Id: Ice23fef31439a6c88d0a12380688eccd8dc3a71c
MTP Fix rename in Windows

Change-Id: Ieef2fc16aac1da3d03908cfb285895954b42a14a
MTP: Better handling of stat

Do some error checking of lstat calls and better handle those
errors.
Use lstat instead of dirent to check if an item is a directory
because dirent does not return the correct item type when using
exfat-fuse.

Change-Id: I0d008aff55a0e0b4fbeae24cf8d0c04453b7b77e
Fix reporting of folder size on exfat-fuse

Change-Id: Icfd4af21b9eeade68956e44ae89bae12398920df
MTP: Use fork instead of pthread

Change-Id: I95cf6f4def0c86f40c775738f0712323f0a0f146
update exfat from current head

Change-Id: I7d93474296612fda1dde23f6e8690668d6880e27
mktime_tz is blocking, don't use it

Change-Id: I0a66a69b68d975389302ae4361c9c106eb722538
MTP: fix some code paths

Still doesn't fix the bug of copying zip files to the root of
storage in Windows.

Change-Id: Iddec66a49c17cf48cbd1c67ad6679349ece8e05c
MTP: Build flag for setting custom MTP device/path

Change-Id: Ic19ec61dc6cb08df00eb1326d96262b46bb93bfb
Fix handling of MTP fork/child process

Change-Id: Iacd8a38d21e9c8b0dfafefbeb646f46cd3ba02a1
Include no strict aliasing for MTP

Change-Id: I570bb1c1387ec16fb062d7844af12b24c74e3755
Merge remote-tracking branch 'omni/android-4.4' into android-4.4