Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(100)

Unified Diff: remoting/android/java/src/org/chromium/chromoting/Chromoting.java

Issue 2404903003: [Remoting Android] Change talkback for the navigation drawer button (Closed)
Patch Set: Reviewer's Feedback Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | remoting/resources/remoting_strings.grd » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/android/java/src/org/chromium/chromoting/Chromoting.java
diff --git a/remoting/android/java/src/org/chromium/chromoting/Chromoting.java b/remoting/android/java/src/org/chromium/chromoting/Chromoting.java
index a14c20b94edcc7850dc5a2f0a9dcae5093bc151b..1d5f1c0c5e5aaf83e9e9aab71847db4d3cdbfc20 100644
--- a/remoting/android/java/src/org/chromium/chromoting/Chromoting.java
+++ b/remoting/android/java/src/org/chromium/chromoting/Chromoting.java
@@ -244,8 +244,7 @@ public class Chromoting extends AppCompatActivity implements ConnectionListener,
findViewById(R.id.host_setup_link_android).setOnClickListener(this);
mDrawerLayout = (DrawerLayout) findViewById(R.id.drawer_layout);
- mDrawerToggle = new ActionBarDrawerToggle(this, mDrawerLayout, toolbar,
- R.string.open_navigation_drawer, R.string.close_navigation_drawer) {
+ mDrawerToggle = new ActionBarDrawerToggle(this, mDrawerLayout, toolbar, 0, 0) {
@Override
public void onDrawerClosed(View drawerView) {
super.onDrawerClosed(drawerView);
@@ -287,6 +286,7 @@ public class Chromoting extends AppCompatActivity implements ConnectionListener,
DrawableCompat.setTint(menuIcon.mutate(),
ChromotingUtil.getColorAttribute(this, R.attr.colorControlNormal));
getSupportActionBar().setHomeAsUpIndicator(menuIcon);
+ getSupportActionBar().setHomeActionContentDescription(R.string.actionbar_menu);
mAccountSwitcher = AccountSwitcherFactory.getInstance().createAccountSwitcher(this, this);
mAccountSwitcher.setNavigation(NavigationMenuAdapter.createNavigationMenu(this));
« no previous file with comments | « no previous file | remoting/resources/remoting_strings.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698