From 0c9d490f1700d55d050a916361131bd1623764a4 Mon Sep 17 00:00:00 2001 From: davigonz Date: Fri, 1 Feb 2019 11:04:38 +0100 Subject: [PATCH] Allow touches within listfragment in UploadFilesActivity --- .../com/owncloud/android/ui/activity/UploadFilesActivity.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/owncloudApp/src/main/java/com/owncloud/android/ui/activity/UploadFilesActivity.java b/owncloudApp/src/main/java/com/owncloud/android/ui/activity/UploadFilesActivity.java index c5f5640356f..79000ebd40d 100644 --- a/owncloudApp/src/main/java/com/owncloud/android/ui/activity/UploadFilesActivity.java +++ b/owncloudApp/src/main/java/com/owncloud/android/ui/activity/UploadFilesActivity.java @@ -138,6 +138,10 @@ public void onCreate(Bundle savedInstanceState) { mFileListFragment = (LocalFileListFragment) getSupportFragmentManager().findFragmentById(R.id.local_files_list); + mFileListFragment.getView().setFilterTouchesWhenObscured( + PreferenceUtils.shouldAllowTouchesWithOtherVisibleWindows(this) + ); + // Set input controllers mCancelBtn = findViewById(R.id.upload_files_btn_cancel); mCancelBtn.setOnClickListener(this);