fixed stack overflow
This commit is contained in:
parent
671a8030b5
commit
d793135339
1 changed files with 0 additions and 4 deletions
|
@ -22,10 +22,6 @@ import info.nightscout.androidaps.R;
|
||||||
public class OKDialog {
|
public class OKDialog {
|
||||||
private static Logger log = LoggerFactory.getLogger(OKDialog.class);
|
private static Logger log = LoggerFactory.getLogger(OKDialog.class);
|
||||||
|
|
||||||
public static void show(final Activity activity, String title, String message, final Runnable runnable) {
|
|
||||||
show(activity, title, message, runnable);
|
|
||||||
}
|
|
||||||
|
|
||||||
public static void show(final Context context, String title, String message, final Runnable runnable) {
|
public static void show(final Context context, String title, String message, final Runnable runnable) {
|
||||||
try {
|
try {
|
||||||
AlertDialog.Builder builder = new AlertDialog.Builder(new ContextThemeWrapper(context, R.style.AppTheme));
|
AlertDialog.Builder builder = new AlertDialog.Builder(new ContextThemeWrapper(context, R.style.AppTheme));
|
||||||
|
|
Loading…
Reference in a new issue