Remove cacheObj

This commit is contained in:
misaochan 2016-01-11 16:56:49 +13:00
parent e62760ebc0
commit 9baafdf82b

View file

@ -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