Loading src/com/android/calendar/SearchActivity.java +6 −4 Original line number Diff line number Diff line Loading @@ -111,11 +111,13 @@ public class SearchActivity extends AppCompatActivity implements CalendarControl mContentResolver = getContentResolver(); if (mIsMultipane) { getSupportActionBar().setDisplayOptions( ActionBar.DISPLAY_HOME_AS_UP, ActionBar.DISPLAY_HOME_AS_UP); if (getSupportActionBar() != null) { getSupportActionBar().setDisplayOptions(ActionBar.DISPLAY_HOME_AS_UP, ActionBar.DISPLAY_HOME_AS_UP); } } else { getSupportActionBar().setDisplayOptions(0, ActionBar.DISPLAY_HOME_AS_UP | ActionBar.DISPLAY_SHOW_HOME); if (getSupportActionBar() != null) { getSupportActionBar().setDisplayOptions(0, ActionBar.DISPLAY_HOME_AS_UP | ActionBar.DISPLAY_SHOW_HOME); } } // Must be the first to register because this activity can modify the Loading src/com/android/calendar/selectcalendars/SelectVisibleCalendarsActivity.java +3 −2 Original line number Diff line number Diff line Loading @@ -101,8 +101,9 @@ public class SelectVisibleCalendarsActivity extends AbstractCalendarActivity { @Override public boolean onCreateOptionsMenu(Menu menu) { getSupportActionBar() .setDisplayOptions(ActionBar.DISPLAY_HOME_AS_UP, ActionBar.DISPLAY_HOME_AS_UP); if (getSupportActionBar() != null) { getSupportActionBar().setDisplayOptions(ActionBar.DISPLAY_HOME_AS_UP, ActionBar.DISPLAY_HOME_AS_UP); } return true; } Loading Loading
src/com/android/calendar/SearchActivity.java +6 −4 Original line number Diff line number Diff line Loading @@ -111,11 +111,13 @@ public class SearchActivity extends AppCompatActivity implements CalendarControl mContentResolver = getContentResolver(); if (mIsMultipane) { getSupportActionBar().setDisplayOptions( ActionBar.DISPLAY_HOME_AS_UP, ActionBar.DISPLAY_HOME_AS_UP); if (getSupportActionBar() != null) { getSupportActionBar().setDisplayOptions(ActionBar.DISPLAY_HOME_AS_UP, ActionBar.DISPLAY_HOME_AS_UP); } } else { getSupportActionBar().setDisplayOptions(0, ActionBar.DISPLAY_HOME_AS_UP | ActionBar.DISPLAY_SHOW_HOME); if (getSupportActionBar() != null) { getSupportActionBar().setDisplayOptions(0, ActionBar.DISPLAY_HOME_AS_UP | ActionBar.DISPLAY_SHOW_HOME); } } // Must be the first to register because this activity can modify the Loading
src/com/android/calendar/selectcalendars/SelectVisibleCalendarsActivity.java +3 −2 Original line number Diff line number Diff line Loading @@ -101,8 +101,9 @@ public class SelectVisibleCalendarsActivity extends AbstractCalendarActivity { @Override public boolean onCreateOptionsMenu(Menu menu) { getSupportActionBar() .setDisplayOptions(ActionBar.DISPLAY_HOME_AS_UP, ActionBar.DISPLAY_HOME_AS_UP); if (getSupportActionBar() != null) { getSupportActionBar().setDisplayOptions(ActionBar.DISPLAY_HOME_AS_UP, ActionBar.DISPLAY_HOME_AS_UP); } return true; } Loading