mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
Added extra logs
This commit is contained in:
parent
881acda52d
commit
a422937d02
1 changed files with 2 additions and 0 deletions
|
|
@ -189,8 +189,10 @@ public class ShareActivity
|
||||||
mediaUriString = mediaUri.toString();
|
mediaUriString = mediaUri.toString();
|
||||||
Log.d(TAG, "Uri: " + mediaUriString);
|
Log.d(TAG, "Uri: " + mediaUriString);
|
||||||
//convert image Uri to file path
|
//convert image Uri to file path
|
||||||
|
Log.d(TAG, "Ext storage dir: " + Environment.getExternalStorageDirectory());
|
||||||
FilePathConverter uriObj = new FilePathConverter(this, mediaUri);
|
FilePathConverter uriObj = new FilePathConverter(this, mediaUri);
|
||||||
String filePath = uriObj.getFilePath();
|
String filePath = uriObj.getFilePath();
|
||||||
|
Log.d(TAG, "Filepath: " + filePath);
|
||||||
|
|
||||||
//Using global singleton to get CacheController to last longer than the activity lifecycle
|
//Using global singleton to get CacheController to last longer than the activity lifecycle
|
||||||
cacheObj = ((CommonsApplication)this.getApplication());
|
cacheObj = ((CommonsApplication)this.getApplication());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue