浏览代码

fix lint warnings

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
tobiasKaminsky 3 年之前
父节点
当前提交
61b85ed52f

+ 2 - 0
app/src/main/java/com/owncloud/android/ui/fragment/GalleryFragment.java

@@ -23,6 +23,7 @@
 
 package com.owncloud.android.ui.fragment;
 
+import android.annotation.SuppressLint;
 import android.content.Intent;
 import android.os.AsyncTask;
 import android.os.Bundle;
@@ -207,6 +208,7 @@ public class GalleryFragment extends OCFileListFragment implements GalleryFragme
         }
     }
 
+    @SuppressLint("NotifyDataSetChanged")
     public void searchCompleted(boolean emptySearch, long lastTimeStamp) {
         photoSearchQueryRunning = false;
         mAdapter.notifyDataSetChanged();

+ 1 - 2
app/src/main/res/layout/fragment_gallery_bottom_sheet.xml

@@ -25,7 +25,6 @@
     android:layout_width="match_parent"
     android:layout_height="match_parent"
     android:orientation="vertical"
-    android:background="@color/bg_default"
     android:paddingBottom="@dimen/standard_half_padding">
 
     <RelativeLayout
@@ -144,4 +143,4 @@
             android:textSize="@dimen/bottom_sheet_text_size" />
     </LinearLayout>
 
-</LinearLayout>
+</LinearLayout>