Activities now return correct menus that can be utilized by the toolbar

This commit is contained in:
Anthony Restaino 2015-01-26 13:07:57 -05:00
parent 762fe5b55b
commit 7b8088f3d4
2 changed files with 10 additions and 0 deletions

View File

@ -73,4 +73,9 @@ public class IncognitoActivity extends BrowserActivity {
closeDrawers();
finish();
}
@Override
public int getMenu() {
return R.menu.incognito;
}
}

View File

@ -66,6 +66,11 @@ public class MainActivity extends BrowserActivity {
return false;
}
@Override
public int getMenu() {
return R.menu.main;
}
@Override
public void closeActivity() {
closeDrawers();