summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Aga Wronska <agawronska@google.com> 2016-03-25 18:21:49 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2016-03-25 18:21:50 +0000
commitabd321a8c939ed83f682152b3a2e316889683132 (patch)
tree5ab07d548e910290f1fa7e2131f25270a93a00dd
parent1cffbdaff216aa99b1b5c771076a7983948a3b7f (diff)
parent96e30eba1eaed0e35d6b8cfcd504aed5475556d8 (diff)
Merge "Make pressing 'Back' button open the drawer when in Recents root" into nyc-dev
-rw-r--r--packages/DocumentsUI/src/com/android/documentsui/FilesActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/DocumentsUI/src/com/android/documentsui/FilesActivity.java b/packages/DocumentsUI/src/com/android/documentsui/FilesActivity.java
index 2af6c461f2f6..bed8b298dee3 100644
--- a/packages/DocumentsUI/src/com/android/documentsui/FilesActivity.java
+++ b/packages/DocumentsUI/src/com/android/documentsui/FilesActivity.java
@@ -381,7 +381,7 @@ public class FilesActivity extends BaseActivity {
}
// Open the Close drawer if it is closed and we're at the top of a root.
- if (size == 1) {
+ if (size <= 1) {
mDrawer.setOpen(true);
// Remember so we don't just close it again if back is pressed again.
mDrawerLastFiddled = System.currentTimeMillis();