Remove TODO

This commit is contained in:
misaochan 2018-01-12 20:35:43 +10:00
parent ba8bf51dbf
commit cd713caa5e
2 changed files with 0 additions and 2 deletions

View file

@ -49,7 +49,6 @@ class DirectUpload {
}
void initiateCameraUpload() {
//boolean useExtStorage = defaultPrefs.getBoolean("useExternalStorage", true);
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
if (ContextCompat.checkSelfPermission(fragment.getActivity(), WRITE_EXTERNAL_STORAGE) != PackageManager.PERMISSION_GRANTED) {
if (fragment.getActivity().shouldShowRequestPermissionRationale(WRITE_EXTERNAL_STORAGE)) {

View file

@ -416,7 +416,6 @@ public class NearbyMapFragment extends android.support.v4.app.Fragment {
});
}
//TODO: Handle onRequestPermissionsResult
@Override
public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) {
Timber.d("onRequestPermissionsResult: req code = " + " perm = " + permissions + " grant =" + grantResults);