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

Commit daa10f99 authored by Yorke Lee's avatar Yorke Lee Committed by Android Git Automerger
Browse files

am 9b400d81: am c52a78cb: am 5dba48f2: DO NOT MERGE Fix NPE during activity recreation

* commit '9b400d81':
  DO NOT MERGE Fix NPE during activity recreation
parents 304b6f7b 9b400d81
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -978,8 +978,10 @@ public class DialtactsActivity extends TransactionSafeActivity implements View.O

    @Override
    public void setDialButtonEnabled(boolean enabled) {
        if (mDialButton != null) {
            mDialButton.setEnabled(enabled);
        }
    }

    @Override
    public void setDialButtonContainerVisible(boolean visible) {
+3 −0
Original line number Diff line number Diff line
@@ -1563,6 +1563,9 @@ public class DialpadFragment extends Fragment
     * Update the enabledness of the "Dial" and "Backspace" buttons if applicable.
     */
    private void updateDialAndDeleteButtonEnabledState() {
        if (getActivity() == null) {
            return;
        }
        final boolean digitsNotEmpty = !isDigitsEmpty();
        mDelete.setEnabled(digitsNotEmpty);
        // On CDMA phones, if we're already on a call, we *always* enable the Dial button (since