photo-editor fix
This commit is contained in:
parent
80fd1c8150
commit
759251c297
|
@ -287,7 +287,7 @@ public class PhotoEditorActivity extends BaseActivity implements OnPhotoEditorL
|
|||
if (requestPermission(Manifest.permission.WRITE_EXTERNAL_STORAGE)) {
|
||||
showLoading(getString(R.string.saving));
|
||||
SharedPreferences sharedpreferences = getSharedPreferences(Helper.APP_PREFS, MODE_PRIVATE);
|
||||
String myDir = sharedpreferences.getString(Helper.SET_FOLDER_RECORD, Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS).getAbsolutePath());
|
||||
String myDir = sharedpreferences.getString(Helper.SET_FOLDER_RECORD, getCacheDir().getAbsolutePath());
|
||||
String filename = System.currentTimeMillis()+"_"+Helper.getFileName(PhotoEditorActivity.this, uri);
|
||||
|
||||
File file = new File(myDir+"/"+filename);
|
||||
|
|
|
@ -732,6 +732,7 @@ public class GNUAPI {
|
|||
*/
|
||||
private APIResponse getHomeTimeline(String max_id, String since_id, String min_id, int limit) {
|
||||
|
||||
apiResponse = new APIResponse();
|
||||
HashMap<String, String> params = new HashMap<>();
|
||||
if (max_id != null)
|
||||
params.put("max_id", max_id);
|
||||
|
|
Loading…
Reference in New Issue