fixed stack overflow

This commit is contained in:
Milos Kozak 2018-08-07 23:50:43 +02:00
parent 671a8030b5
commit d793135339

View file

@ -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));