Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5d4faa91 authored by Adam Powell's avatar Adam Powell
Browse files

Fix bug 5149918 - Can't call ProgressDialog.setProgressNumberFormat()

before dialog is shown

Change-Id: I287637e022fb653f02b45b34075eccb68e4a9221
parent 09d569a5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -343,7 +343,7 @@ public class ProgressDialog extends AlertDialog {
    
    private void onProgressChanged() {
        if (mProgressStyle == STYLE_HORIZONTAL) {
            if (!mViewUpdateHandler.hasMessages(0)) {
            if (mViewUpdateHandler != null && !mViewUpdateHandler.hasMessages(0)) {
                mViewUpdateHandler.sendEmptyMessage(0);
            }
        }