diff --git a/OsmAnd/src/net/osmand/plus/audionotes/AudioVideoNotesPlugin.java b/OsmAnd/src/net/osmand/plus/audionotes/AudioVideoNotesPlugin.java index 002f685798..e84396b9a6 100644 --- a/OsmAnd/src/net/osmand/plus/audionotes/AudioVideoNotesPlugin.java +++ b/OsmAnd/src/net/osmand/plus/audionotes/AudioVideoNotesPlugin.java @@ -621,8 +621,7 @@ public class AudioVideoNotesPlugin extends OsmandPlugin { runMediaRecorder(mapActivity, mr, f); } catch (Exception e) { logErr(e); - return; - } + } } @Override @@ -654,8 +653,7 @@ public class AudioVideoNotesPlugin extends OsmandPlugin { private void logErr(Exception e) { log.error("Error starting recorder ", e); AccessibleToast.makeText(app, app.getString(R.string.recording_error) + " : " + e.getMessage(), Toast.LENGTH_LONG).show(); - return; - } + } protected Camera openCamera() { try { diff --git a/SherlockBar/src/com/actionbarsherlock/widget/SuggestionsAdapter.java b/SherlockBar/src/com/actionbarsherlock/widget/SuggestionsAdapter.java index 82d4f0c425..77cd1ca12d 100644 --- a/SherlockBar/src/com/actionbarsherlock/widget/SuggestionsAdapter.java +++ b/SherlockBar/src/com/actionbarsherlock/widget/SuggestionsAdapter.java @@ -281,7 +281,6 @@ class SuggestionsAdapter extends ResourceCursorAdapter implements OnClickListene if (extras != null && extras.getBoolean(SearchManager.CURSOR_EXTRA_KEY_IN_PROGRESS)) { // mSearchView.getWindow().getDecorView().post(mStartSpinnerRunnable); // TODO: - return; } // If cursor is null or is done, stop the spinner // mSearchView.getWindow().getDecorView().post(mStopSpinnerRunnable); // TODO: