Skip to content

Commit

Permalink
Fix lint errors/warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
SyncedSynapse committed Dec 25, 2017
1 parent 3077653 commit d0fb6f2
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -614,6 +616,7 @@ public void playerOnPropertyChanged(org.xbmc.kore.jsonrpc.notification.Player.No

}

@TargetApi(Build.VERSION_CODES.O)
public void playerOnPlay(PlayerType.GetActivePlayersReturnType getActivePlayerResult,
PlayerType.PropertyValue getPropertiesResult,
ListType.ItemsAll getItemResult) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -121,6 +123,7 @@ public void onPause() {
.unregisterOnSharedPreferenceChangeListener(this);
}

@TargetApi(Build.VERSION_CODES.O)
@Override
public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) {
// Update summaries
Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/layout/grid_item_file.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit d0fb6f2

Please sign in to comment.