Skip to content

Commit

Permalink
download needed audio files for Audio Quran reminders if not yet down…
Browse files Browse the repository at this point in the history
…loaded or when preference changes
  • Loading branch information
hani-28 committed Jun 15, 2019
1 parent e8b95d5 commit 423164f
Show file tree
Hide file tree
Showing 4 changed files with 681 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
import com.HMSolutions.thikrallah.Utilities.AppRater;
import com.HMSolutions.thikrallah.Utilities.MainInterface;
import com.HMSolutions.thikrallah.Utilities.MyDBHelper;
import com.HMSolutions.thikrallah.Utilities.MyListPreference;
import com.HMSolutions.thikrallah.Utilities.WhatsNewScreen;
import com.crashlytics.android.Crashlytics;
import com.google.android.gms.location.LocationListener;
Expand Down Expand Up @@ -468,7 +469,11 @@ protected void onCreate(Bundle savedInstanceState) {
Intent intent1 = new Intent("com.HMSolutions.thikrallah.Notification.ThikrBootReceiver.android.action.broadcast");


new WhatsNewScreen(this).show();
//new WhatsNewScreen(this).show();
//below is not nice or organized but will refactor and improve code next time
MyListPreference isDownload=new MyListPreference(this);
isDownload.downloadFilesIfNeeded();


timeOperation("timing", "showing what's new screen");

Expand Down
Loading

0 comments on commit 423164f

Please sign in to comment.