Fix lint errors/warnings
This commit is contained in:
parent
3077653dd9
commit
d0fb6f28b7
|
@ -15,9 +15,11 @@
|
|||
*/
|
||||
package org.xbmc.kore.ui.sections.remote;
|
||||
|
||||
import android.annotation.TargetApi;
|
||||
import android.content.Intent;
|
||||
import android.graphics.Point;
|
||||
import android.net.Uri;
|
||||
import android.os.Build;
|
||||
import android.os.Bundle;
|
||||
import android.os.Handler;
|
||||
import android.support.v4.text.TextDirectionHeuristicsCompat;
|
||||
|
@ -614,6 +616,7 @@ public class RemoteActivity extends BaseActivity
|
|||
|
||||
}
|
||||
|
||||
@TargetApi(Build.VERSION_CODES.O)
|
||||
public void playerOnPlay(PlayerType.GetActivePlayersReturnType getActivePlayerResult,
|
||||
PlayerType.PropertyValue getPropertiesResult,
|
||||
ListType.ItemsAll getItemResult) {
|
||||
|
|
|
@ -15,12 +15,14 @@
|
|||
*/
|
||||
package org.xbmc.kore.ui.sections.settings;
|
||||
|
||||
import android.annotation.TargetApi;
|
||||
import android.Manifest;
|
||||
import android.app.NotificationManager;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.content.SharedPreferences;
|
||||
import android.content.pm.PackageManager;
|
||||
import android.os.Build;
|
||||
import android.os.Bundle;
|
||||
import android.support.annotation.NonNull;
|
||||
import android.support.v4.app.TaskStackBuilder;
|
||||
|
@ -121,6 +123,7 @@ public class SettingsFragment extends PreferenceFragmentCompat
|
|||
.unregisterOnSharedPreferenceChangeListener(this);
|
||||
}
|
||||
|
||||
@TargetApi(Build.VERSION_CODES.O)
|
||||
@Override
|
||||
public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) {
|
||||
// Update summaries
|
||||
|
|
|
@ -69,7 +69,6 @@
|
|||
style="@style/TextAppearance.Medialist.Title"
|
||||
android:paddingRight="@dimen/small_padding"
|
||||
android:paddingEnd="@dimen/small_padding"
|
||||
android:singleLine="false"
|
||||
android:ellipsize="middle"/>
|
||||
<TextView
|
||||
android:id="@+id/details"
|
||||
|
|
Loading…
Reference in New Issue