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

Commit 3abef4d3 authored by Ganesh Keethol's avatar Ganesh Keethol Committed by Gerrit - the friendly Code Review server
Browse files

Added NULL check for Action Bar

Change-Id: I1f3ad19724a5c8c53f89e56f0a732e1788ab8837
parent df4e734f
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -214,9 +214,11 @@ public class SettingsDrawerActivity extends Activity {

    public void showMenuIcon() {
        mShowingMenu = true;
        if(getActionBar() != null){
            getActionBar().setHomeAsUpIndicator(R.drawable.ic_menu);
            getActionBar().setDisplayHomeAsUpEnabled(true);
        }
    }

    public List<DashboardCategory> getDashboardCategories() {
        if (sDashboardCategories == null) {