mediaprovider: Add theme support to Ringtone activity

Usage:

Intent intent = new Intent(RingtoneManager.ACTION_RINGTONE_PICKER);
intent.putExtra(RingtoneManager.EXTRA_RINGTONE_TYPE, RingtoneManager.TYPE_ALARM);
intent.putExtra(RingtoneManager.EXTRA_RINGTONE_DIALOG_THEME, R.style.CustomDialogTheme); <<< Add your custom dialog theme here
startActivityForResult(intent, 0);

Style Usage:

Define an style that inherits from an android base theme

<style name="CustomDialogThemeDark" parent="@*android:style/Theme.Holo.Dialog.Alert">

or

<style name="CustomDialogThemeLight" parent="@*android:style/Theme.Holo.Light.Dialog.Alert">

or define your own dialog style

Depends on http://review.cyanogenmod.org/#/c/61392

Change-Id: I409eba2674f68386cdd20b74fc3ea42b8e81d111
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Add dummy strings to prevent aapt warnings

Change-Id: I14abbfa886fb5bedb8d03b29c1fe32a7eaf34722
Fix mounting of ext4 formated sdcards

FileUtils.getVolumeUUID(path) doesn't return a uuid for ext4 formated
sdcards.

Using actualVolume.getUuid()and parsing the returned value works for all
file systems.

Change-Id: I77fe9e09b523bcba68dd2409def68acb715ca33c
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
Merge tag 'android-4.4.3_r1.1' into kk-4.4.3

Android 4.4.3 release 1.1
Clean up cursors in try/finally

Make sure we release cursor resources.

Change-Id: Ia122100b1350ae5db4804f8f0e95c49785ab645b
Deactivate the MiniThumbFile when it is not needed.

Issue description:
Unable to use camera after deleting all files in internal storage from PC
with MTP. The toast message "Connect USB storage before using the camera"
is poped up when we launch camera after deleting all files in internal storage
from PC with MTP.

Steps to reproduce the issue:
1. Launch Camera and take a picture.
2. Connect device to PC with MTP mode.
3. Delete all files on Internal stoage from PC.
4. Launch Camera after step 3 finished.
Then we find that we are unable to use camera and the toast message is poped
up.

Root cause:
The .thumbdata3--xxxxx in /sdcard/DCIM/.thumbnails/ is opened in
android.process.media process when we take picture in step 1. But the file is
never closed. So camera cannot create the directories(/sdcard/DCIM/Camera)
it needs to store captured pictures because "Device busy" error.

Solution:
Deactivate the MiniThumbFile when it is not needed.

Change-Id: I0faab5ffd95c5626f7f9ef1bc02b2ae56e2eb19b
Signed-off-by: hanpengx <pengfeix.han@intel.com>
Merge branch 'kk-4.4.3' of https://github.com/Mahdi-Rom/android_packages_providers_MediaProvider into kk-4.4