88 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
			
		
		
	
	
			88 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
| .class public Landroidx/car/app/CarAppMetadataHolderService;
 | |
| .super Landroid/app/Service;
 | |
| .source "CarAppMetadataHolderService.java"
 | |
| 
 | |
| 
 | |
| # annotations
 | |
| .annotation build Landroidx/annotation/RestrictTo;
 | |
|     value = {
 | |
|         .enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP:Landroidx/annotation/RestrictTo$Scope;
 | |
|     }
 | |
| .end annotation
 | |
| 
 | |
| .annotation system Ldalvik/annotation/MemberClasses;
 | |
|     value = {
 | |
|         Landroidx/car/app/CarAppMetadataHolderService$a;
 | |
|     }
 | |
| .end annotation
 | |
| 
 | |
| 
 | |
| # direct methods
 | |
| .method private constructor <init>()V
 | |
|     .locals 0
 | |
| 
 | |
|     .line 1
 | |
|     invoke-direct {p0}, Landroid/app/Service;-><init>()V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public static a(Landroid/content/Context;)Landroid/content/pm/ServiceInfo;
 | |
|     .locals 4
 | |
|     .param p0    # Landroid/content/Context;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .annotation build Landroidx/annotation/NonNull;
 | |
|     .end annotation
 | |
| 
 | |
|     .annotation system Ldalvik/annotation/Throws;
 | |
|         value = {
 | |
|             Landroid/content/pm/PackageManager$NameNotFoundException;
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     invoke-static {}, Landroidx/car/app/CarAppMetadataHolderService$a;->a()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     or-int/lit16 v0, v0, 0x80
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {p0}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     new-instance v2, Landroid/content/ComponentName;
 | |
| 
 | |
|     const-class v3, Landroidx/car/app/CarAppMetadataHolderService;
 | |
| 
 | |
|     invoke-direct {v2, p0, v3}, Landroid/content/ComponentName;-><init>(Landroid/content/Context;Ljava/lang/Class;)V
 | |
| 
 | |
|     invoke-virtual {v1, v2, v0}, Landroid/content/pm/PackageManager;->getServiceInfo(Landroid/content/ComponentName;I)Landroid/content/pm/ServiceInfo;
 | |
| 
 | |
|     move-result-object p0
 | |
| 
 | |
|     return-object p0
 | |
| .end method
 | |
| 
 | |
| 
 | |
| # virtual methods
 | |
| .method public onBind(Landroid/content/Intent;)Landroid/os/IBinder;
 | |
|     .locals 0
 | |
|     .param p1    # Landroid/content/Intent;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .annotation build Landroidx/annotation/Nullable;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     new-instance p1, Ljava/lang/UnsupportedOperationException;
 | |
| 
 | |
|     invoke-direct {p1}, Ljava/lang/UnsupportedOperationException;-><init>()V
 | |
| 
 | |
|     throw p1
 | |
| .end method
 |