diff --git a/app/src/main/java/net/sourceforge/opencamera/MainActivity.java b/app/src/main/java/net/sourceforge/opencamera/MainActivity.java index a92a7d8972924a0a51cd4045b219efcb7d5093dd..7d1a2f517c9cc0e1c886436d500fd870d959519f 100644 --- a/app/src/main/java/net/sourceforge/opencamera/MainActivity.java +++ b/app/src/main/java/net/sourceforge/opencamera/MainActivity.java @@ -516,29 +516,8 @@ public class MainActivity extends Activity { boolean has_done_first_time = sharedPreferences.contains(PreferenceKeys.FirstTimePreferenceKey); if( MyDebug.LOG ) Log.d(TAG, "has_done_first_time: " + has_done_first_time); - if( !has_done_first_time ) { + if (!has_done_first_time) { setDeviceDefaults(); - } - if( !has_done_first_time ) { - if( !is_test ) { - AlertDialog.Builder alertDialog = new AlertDialog.Builder(this); - alertDialog.setTitle(R.string.app_name); - alertDialog.setMessage(R.string.intro_text); - alertDialog.setPositiveButton(android.R.string.ok, null); - alertDialog.setNegativeButton(R.string.preference_online_help, new DialogInterface.OnClickListener() { - @Override - public void onClick(DialogInterface dialog, int which) { - if( MyDebug.LOG ) - Log.d(TAG, "online help"); - launchOnlineHelp(); - } - }); - /* On application start 20 millisecond delay is not enough for all screen rotating animation to be complete - (if user use the camera in portrait mode, then it moves from portrait to landscape & then again landscape to portrait). - 500 milliseconds delay would do the trick. */ - showAlertDialog(alertDialog, "first time load dialog dismissed", 500L); - } - setFirstTimeFlag(); }