am 6bfa17e1: am 753e0f10: ActionBarDrawerToggle behavior tweak
* commit '6bfa17e180599f4ad3fb26306af534b998d8ec46':
ActionBarDrawerToggle behavior tweak
diff --git a/v4/java/android/support/v4/app/ActionBarDrawerToggle.java b/v4/java/android/support/v4/app/ActionBarDrawerToggle.java
index ea2e795..fa58e21 100644
--- a/v4/java/android/support/v4/app/ActionBarDrawerToggle.java
+++ b/v4/java/android/support/v4/app/ActionBarDrawerToggle.java
@@ -241,7 +241,7 @@
* @return true if the event was handled and further processing should not occur
*/
public boolean onOptionsItemSelected(MenuItem item) {
- if (item != null && item.getItemId() == ID_HOME) {
+ if (item != null && item.getItemId() == ID_HOME && mDrawerIndicatorEnabled) {
if (mDrawerLayout.isDrawerVisible(GravityCompat.START)) {
mDrawerLayout.closeDrawer(GravityCompat.START);
} else {