File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
ChangeLogLib/src/main/java/info/hannes/changelog Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ import android.content.Context
55import android.content.SharedPreferences
66import android.content.pm.PackageManager.NameNotFoundException
77import android.os.Build
8+ import android.os.Handler
9+ import android.os.Looper
810import android.preference.PreferenceManager
911import android.util.Log
1012import android.util.SparseArray
@@ -216,7 +218,7 @@ open class ChangeLog @JvmOverloads constructor(
216218 // Show "More…" button if we're only displaying a partial change log.
217219 builder.setNegativeButton(
218220 R .string.changelog_show_full
219- ) { _, _ -> fullLogDialog.show() }
221+ ) { _, _ -> Handler ( Looper .getMainLooper()).post{ fullLogDialog.show()} }
220222 }
221223
222224 return builder.create()
You can’t perform that action at this time.
0 commit comments