diff options
Diffstat (limited to 'main/src')
| -rw-r--r-- | main/src/cgeo/geocaching/activity/Progress.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/activity/Progress.java b/main/src/cgeo/geocaching/activity/Progress.java index 88a29ec..f4b7a33 100644 --- a/main/src/cgeo/geocaching/activity/Progress.java +++ b/main/src/cgeo/geocaching/activity/Progress.java @@ -3,6 +3,7 @@ package cgeo.geocaching.activity; import android.app.ProgressDialog; import android.content.Context; import android.os.Message; +import android.view.WindowManager; /** * progress dialog wrapper for easier management of resources @@ -41,6 +42,7 @@ public class Progress { } else { dialog.setCancelable(false); } + dialog.getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); dialog.show(); } } |
