Rabbit-R1/switch port/java/sources/androidx/appcompat/app/AppLocalesMetadataHolderService.java
2024-05-21 17:08:36 -04:00

31 lines
1,008 B
Java

package androidx.appcompat.app;
import android.app.Service;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.content.pm.ServiceInfo;
import android.os.IBinder;
/* loaded from: classes.dex */
public final class AppLocalesMetadataHolderService extends Service {
@Override // android.app.Service
public IBinder onBind(Intent intent) {
throw new UnsupportedOperationException();
}
public static ServiceInfo getServiceInfo(Context context) throws PackageManager.NameNotFoundException {
return context.getPackageManager().getServiceInfo(new ComponentName(context, (Class<?>) AppLocalesMetadataHolderService.class), Api24Impl.getDisabledComponentFlag() | 128);
}
/* loaded from: classes.dex */
private static class Api24Impl {
static int getDisabledComponentFlag() {
return 512;
}
private Api24Impl() {
}
}
}