mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Remove cacheObj
This commit is contained in:
parent
e62760ebc0
commit
9baafdf82b
1 changed files with 1 additions and 3 deletions
|
|
@ -191,9 +191,7 @@ public class ShareActivity
|
|||
//convert image Uri to file path
|
||||
FilePathConverter uriObj = new FilePathConverter(this, mediaUri);
|
||||
String filePath = uriObj.getFilePath();
|
||||
|
||||
//Using global singleton to get CacheController to last longer than the activity lifecycle
|
||||
cacheObj = ((CommonsApplication)this.getApplication());
|
||||
|
||||
|
||||
if (filePath != null) {
|
||||
//extract the coordinates of image in decimal degrees
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue