mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-12-23 11:21:29 +00:00
Fix lint warnings
This commit is contained in:
parent
5d5cf0b903
commit
b32ac0b13e
2 changed files with 3 additions and 2 deletions
|
@ -3,6 +3,7 @@ package com.nutomic.syncthingandroid.activities;
|
|||
import android.content.Intent;
|
||||
import android.os.AsyncTask;
|
||||
import android.os.Bundle;
|
||||
import android.support.v4.app.ActivityCompat;
|
||||
import android.support.v7.widget.ShareActionProvider;
|
||||
import android.util.Log;
|
||||
import android.view.Menu;
|
||||
|
@ -46,7 +47,7 @@ public class LogActivity extends SyncthingActivity {
|
|||
|
||||
if (savedInstanceState != null) {
|
||||
mSyncthingLog = savedInstanceState.getBoolean("syncthingLog");
|
||||
invalidateOptionsMenu();
|
||||
ActivityCompat.invalidateOptionsMenu(this);
|
||||
}
|
||||
|
||||
mLog = (TextView) findViewById(R.id.log);
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
android:textSize="10sp"
|
||||
android:textIsSelectable="true"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent" />
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
</ScrollView>
|
||||
|
||||
|
|
Loading…
Reference in a new issue