Skip to content

Commit

Permalink
fixup! Use UsbMonitorService in foreground to wait for USB root, for …
Browse files Browse the repository at this point in the history
…Android 14

* Fixes:
  `e: file:///home/runner/work/seedvault/seedvault/app/src/main/java/com/stevesoltys/seedvault/UsbMonitorService.kt:61:5 'onTimeout' overrides nothing`
* This method was only added in 15, per
  https://developer.android.com/reference/android/app/Service#onTimeout(int,%20int)

Change-Id: I4cbd2d06372f24ab8d86a29dec23b28dd2fb5ed8
  • Loading branch information
chirayudesai committed Feb 25, 2025
1 parent 1ed5652 commit 9e2d349
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,6 @@ class UsbMonitorService : Service() {
Log.i(TAG, "onTimeout($startId)")
}

override fun onTimeout(startId: Int, fgsType: Int) {
Log.i(TAG, "onTimeout($startId, $fgsType)")
}

override fun onBind(intent: Intent?): IBinder? {
return null
}
Expand Down

0 comments on commit 9e2d349

Please sign in to comment.