Merge pull request #14421 from Simonx22/android/convert-usbpermservice-to-kotlin

Android: Convert USBPermService to Kotlin
This commit is contained in:
JMC47 2026-03-12 15:24:24 -04:00 committed by GitHub
commit c5c1204eda
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 15 additions and 21 deletions

View File

@ -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)
{
}
}

View File

@ -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?) {
}
}