Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 70099a92 authored by Mark Harman's avatar Mark Harman
Browse files

Keep what's new disabled for now, but control under whats_new_enabled flag.

parent 853aa680
Loading
Loading
Loading
Loading
+22 −19
Original line number Diff line number Diff line
@@ -391,7 +391,9 @@ public class MainActivity extends Activity implements AudioListener.AudioListene
					Log.d(TAG, "version_code: " + version_code);
					Log.d(TAG, "latest_version: " + latest_version);
				}
				/*final boolean force_whats_new = false;
				final boolean whats_new_enabled = false;
				if( whats_new_enabled ) {
					final boolean force_whats_new = false;
					//final boolean force_whats_new = true; // for testing
					// don't show What's New if this is the first time the user has run
					if( has_done_first_time && ( force_whats_new || version_code > latest_version ) ) {
@@ -409,7 +411,8 @@ public class MainActivity extends Activity implements AudioListener.AudioListene
							}
						});
						alertDialog.show();
				}*/
					}
				}
				// we set the latest_version whether or not the dialog is shown - if we showed the irst time dialog, we don't
				// want to then show the What's New dialog next time we run!
				SharedPreferences.Editor editor = sharedPreferences.edit();