mirror of
https://github.com/nextcloud/android.git
synced 2024-11-22 13:15:35 +03:00
Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
parent
a8d96d0319
commit
d1d8c58c76
3 changed files with 6 additions and 7 deletions
|
@ -81,7 +81,7 @@ public class FileDetailSharingFragment extends Fragment implements ShareeListAda
|
|||
DisplayUtils.AvatarGenerationListener,
|
||||
Injectable, FileDetailsSharingMenuBottomSheetActions, QuickSharingPermissionsBottomSheetDialog.QuickPermissionSharingBottomSheetActions {
|
||||
|
||||
private final String tag = "FileDetailSharingFragment";
|
||||
private static final String TAG = "FileDetailSharingFragment";
|
||||
private static final String ARG_FILE = "FILE";
|
||||
private static final String ARG_USER = "USER";
|
||||
|
||||
|
@ -543,7 +543,7 @@ public class FileDetailSharingFragment extends Fragment implements ShareeListAda
|
|||
@Override
|
||||
public void onSaveInstanceState(@NonNull Bundle outState) {
|
||||
super.onSaveInstanceState(outState);
|
||||
FileExtensionsKt.logFileSize(file, tag);
|
||||
FileExtensionsKt.logFileSize(file, TAG);
|
||||
outState.putParcelable(ARG_FILE, file);
|
||||
outState.putParcelable(ARG_USER, user);
|
||||
}
|
||||
|
|
|
@ -67,8 +67,8 @@ public class GalleryFragment extends OCFileListFragment implements GalleryFragme
|
|||
private GalleryFragmentBottomSheetDialog galleryFragmentBottomSheetDialog;
|
||||
|
||||
@Inject FileDataStorageManager fileDataStorageManager;
|
||||
private final int maxColumnSizeLandscape = 5;
|
||||
private final int maxColumnSizePortrait = 2;
|
||||
private final static int maxColumnSizeLandscape = 5;
|
||||
private final static int maxColumnSizePortrait = 2;
|
||||
private int columnSize;
|
||||
|
||||
protected void setPhotoSearchQueryRunning(boolean value) {
|
||||
|
|
|
@ -22,7 +22,6 @@ import com.nextcloud.client.account.UserAccountManager;
|
|||
import com.nextcloud.utils.extensions.FileExtensionsKt;
|
||||
import com.owncloud.android.R;
|
||||
import com.owncloud.android.lib.common.operations.RemoteOperationResult;
|
||||
import com.owncloud.android.lib.common.utils.Log_OC;
|
||||
import com.owncloud.android.ui.activity.FileDisplayActivity;
|
||||
import com.owncloud.android.utils.DisplayUtils;
|
||||
import com.owncloud.android.utils.theme.ViewThemeUtils;
|
||||
|
@ -39,7 +38,7 @@ public class PreviewTextStringFragment extends PreviewTextFragment {
|
|||
@Inject UserAccountManager accountManager;
|
||||
@Inject ViewThemeUtils viewThemeUtils;
|
||||
|
||||
private final String tag = "PreviewTextStringFragment";
|
||||
private final static String TAG = "PreviewTextStringFragment";
|
||||
private boolean isEditorWebviewLaunched = false;
|
||||
|
||||
/**
|
||||
|
@ -73,7 +72,7 @@ public class PreviewTextStringFragment extends PreviewTextFragment {
|
|||
*/
|
||||
@Override
|
||||
public void onSaveInstanceState(@NonNull Bundle outState) {
|
||||
FileExtensionsKt.logFileSize(getFile(), tag);
|
||||
FileExtensionsKt.logFileSize(getFile(), TAG);
|
||||
outState.putParcelable(PreviewTextStringFragment.EXTRA_FILE, getFile());
|
||||
|
||||
super.onSaveInstanceState(outState);
|
||||
|
|
Loading…
Reference in a new issue