Merge "Don\'t show new-window item in Downloads per Gabe." into nyc-dev am: fec0d188c1
am: 6fdaf2f2cf
* commit '6fdaf2f2cf0d060c7f99baa28ff0514c31faa84f':
Don't show new-window item in Downloads per Gabe.
Change-Id: If6dbf8d3d23f3e97fcf2db9ad7261c9217bfa631
diff --git a/src/com/android/mtp/ReceiverActivity.java b/src/com/android/mtp/ReceiverActivity.java
index 84745b2..366add0 100644
--- a/src/com/android/mtp/ReceiverActivity.java
+++ b/src/com/android/mtp/ReceiverActivity.java
@@ -49,6 +49,7 @@
final Intent intent = new Intent(DocumentsContract.ACTION_BROWSE);
intent.setData(uri);
intent.addCategory(Intent.CATEGORY_DEFAULT);
+ intent.putExtra(DocumentsContract.EXTRA_FANCY_FEATURES, true);
this.startActivity(intent);
} catch (IOException exception) {
Log.e(MtpDocumentsProvider.TAG, "Failed to open device", exception);