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

Commit 121b28e8 authored by Yorke Lee's avatar Yorke Lee Committed by Android (Google) Code Review
Browse files

Merge "Fix clear call log option in overflow menu" into klp-dev

parents 9bead9c0 c8625790
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -157,7 +157,7 @@ public class CallLogActivity extends Activity {
        // If onPrepareOptionsMenu is called before fragments loaded. Don't do anything.
        if (mAllCallsFragment != null && itemDeleteAll != null) {
            final CallLogAdapter adapter = mAllCallsFragment.getAdapter();
            itemDeleteAll.setEnabled(adapter != null && !adapter.isEmpty());
            itemDeleteAll.setVisible(adapter != null && !adapter.isEmpty());
        }
        return true;
    }