diff options
author | Jorge Ruesga <jorge@ruesga.com> | 2012-11-24 20:40:12 +0100 |
---|---|---|
committer | Jorge Ruesga <jorge@ruesga.com> | 2012-12-11 23:14:43 +0100 |
commit | addb5e77c9cfebce30dd39e1c625155303107c78 (patch) | |
tree | 11586108b6fa9ab791ef3ccfae4ba220104f7abb | |
parent | ca21af1190ad9d8e0aff028481cef4a0c75c3f41 (diff) | |
download | android_packages_apps_CMFileManager-addb5e77c9cfebce30dd39e1c625155303107c78.tar.gz android_packages_apps_CMFileManager-addb5e77c9cfebce30dd39e1c625155303107c78.tar.bz2 android_packages_apps_CMFileManager-addb5e77c9cfebce30dd39e1c625155303107c78.zip |
CMFileManager: PickerActivity: debug requested paremeters
Add requested parameters to logcat for better debugging.
Change-Id: I52e362ca8ad4b3687b78ee92e18e3015a6e645e0
-rw-r--r-- | src/com/cyanogenmod/filemanager/activities/PickerActivity.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/cyanogenmod/filemanager/activities/PickerActivity.java b/src/com/cyanogenmod/filemanager/activities/PickerActivity.java index 5d3c0336..c1fce9d9 100644 --- a/src/com/cyanogenmod/filemanager/activities/PickerActivity.java +++ b/src/com/cyanogenmod/filemanager/activities/PickerActivity.java @@ -171,6 +171,7 @@ public class PickerActivity extends Activity // Check that call has a valid request (GET_CONTENT a and mime type) String action = getIntent().getAction(); + Log.d(TAG, "PickerActivity. action: " + String.valueOf(action)); //$NON-NLS-1$ if (action.compareTo(Intent.ACTION_GET_CONTENT.toString()) != 0) { setResult(Activity.RESULT_CANCELED); finish(); @@ -181,11 +182,13 @@ public class PickerActivity extends Activity Map<DisplayRestrictions, Object> restrictions = new HashMap<DisplayRestrictions, Object>(); //- Mime/Type restriction String mimeType = getIntent().getType(); + Log.d(TAG, "PickerActivity. type: " + String.valueOf(mimeType)); //$NON-NLS-1$ if (mimeType != null) { restrictions.put(DisplayRestrictions.MIME_TYPE_RESTRICTION, mimeType); } // Other restrictions Bundle extras = getIntent().getExtras(); + Log.d(TAG, "PickerActivity. extras: " + String.valueOf(extras)); //$NON-NLS-1$ if (extras != null) { //-- File size if (extras.containsKey(android.provider.MediaStore.Audio.Media.EXTRA_MAX_BYTES)) { |