Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
udenr committed Jan 14, 2025
1 parent 12a4232 commit 6959738
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,8 @@
android:name=".QuickTileService"
android:exported="true"
android:icon="@drawable/ic_tile"
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE">
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE"
tools:targetApi="n">

<intent-filter>
<action android:name="android.service.quicksettings.action.QS_TILE" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.secuso.privacyfriendlycodescanner.qrscanner

import android.annotation.SuppressLint
import android.app.PendingIntent
import android.content.Intent
import android.os.Build
Expand All @@ -9,6 +10,7 @@ import com.secuso.privacyfriendlycodescanner.qrscanner.ui.activities.ScannerActi

@RequiresApi(Build.VERSION_CODES.N)
class QuickTileService : TileService() {
@SuppressLint("StartActivityAndCollapseDeprecated")
override fun onClick() {
super.onClick()

Expand Down

0 comments on commit 6959738

Please sign in to comment.