- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
38 lines
1.2 KiB
Java
38 lines
1.2 KiB
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;
|
|
import androidx.annotation.DoNotInline;
|
|
import androidx.annotation.NonNull;
|
|
import androidx.annotation.RequiresApi;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class AppLocalesMetadataHolderService extends Service {
|
|
@Override // android.app.Service
|
|
@NonNull
|
|
public IBinder onBind(@NonNull Intent intent) {
|
|
throw new UnsupportedOperationException();
|
|
}
|
|
|
|
@NonNull
|
|
public static ServiceInfo getServiceInfo(@NonNull Context context) throws PackageManager.NameNotFoundException {
|
|
return context.getPackageManager().getServiceInfo(new ComponentName(context, (Class<?>) AppLocalesMetadataHolderService.class), Api24Impl.getDisabledComponentFlag() | 128);
|
|
}
|
|
|
|
@RequiresApi(24)
|
|
public static class Api24Impl {
|
|
@DoNotInline
|
|
public static int getDisabledComponentFlag() {
|
|
return 512;
|
|
}
|
|
|
|
private Api24Impl() {
|
|
}
|
|
}
|
|
}
|