mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-12-27 05:11:30 +00:00
Fixed lint warnings.
This commit is contained in:
parent
e49affe844
commit
bb17c53d4c
2 changed files with 5 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
package="com.nutomic.syncthingandroid">
|
||||
|
||||
<uses-feature android:name="android.software.leanback" android:required="false" />
|
||||
|
@ -91,7 +92,8 @@
|
|||
<action android:name="android.intent.action.BOOT_COMPLETED" />
|
||||
</intent-filter>
|
||||
</receiver>
|
||||
<receiver android:name=".syncthing.AppConfigReceiver">
|
||||
<receiver android:name=".syncthing.AppConfigReceiver"
|
||||
tools:ignore="ExportedReceiver">
|
||||
<intent-filter>
|
||||
<action android:name="com.nutomic.syncthingandroid.action.START" />
|
||||
<action android:name="com.nutomic.syncthingandroid.action.STOP" />
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package com.nutomic.syncthingandroid.syncthing;
|
||||
|
||||
import android.annotation.TargetApi;
|
||||
import android.app.Notification;
|
||||
import android.app.NotificationManager;
|
||||
import android.app.PendingIntent;
|
||||
|
@ -33,6 +34,7 @@ public class AppConfigReceiver extends BroadcastReceiver {
|
|||
public static final String ACTION_STOP = "com.nutomic.syncthingandroid.action.STOP";
|
||||
|
||||
@Override
|
||||
@TargetApi(21)
|
||||
public void onReceive(Context context, Intent intent) {
|
||||
switch (intent.getAction()) {
|
||||
case ACTION_START:
|
||||
|
|
Loading…
Reference in a new issue