mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-03-18 19:32:41 +00:00
Merge pull request #14421 from Simonx22/android/convert-usbpermservice-to-kotlin
Android: Convert USBPermService to Kotlin
This commit is contained in:
commit
c5c1204eda
@ -1,21 +0,0 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
package org.dolphinemu.dolphinemu.services;
|
||||
|
||||
import android.app.IntentService;
|
||||
import android.content.Intent;
|
||||
|
||||
public final class USBPermService extends IntentService
|
||||
{
|
||||
public USBPermService()
|
||||
{
|
||||
super("USBPermService");
|
||||
}
|
||||
|
||||
// Needed when extending IntentService.
|
||||
// We don't care about the results of the intent handler for this.
|
||||
@Override
|
||||
protected void onHandleIntent(Intent intent)
|
||||
{
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,15 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
@file:Suppress("DEPRECATION", "OVERRIDE_DEPRECATION")
|
||||
|
||||
package org.dolphinemu.dolphinemu.services
|
||||
|
||||
import android.app.IntentService
|
||||
import android.content.Intent
|
||||
|
||||
class USBPermService : IntentService("USBPermService") {
|
||||
// Needed when extending IntentService.
|
||||
// We don't care about the results of the intent handler for this.
|
||||
override fun onHandleIntent(intent: Intent?) {
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user