.class public final Landroidx/core/content/pm/PermissionInfoCompat; .super Ljava/lang/Object; .source "PermissionInfoCompat.java" # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Landroidx/core/content/pm/PermissionInfoCompat$ProtectionFlags;, Landroidx/core/content/pm/PermissionInfoCompat$Protection; } .end annotation # direct methods .method private constructor ()V .registers 1 .line 34 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method .method public static getProtection(Landroid/content/pm/PermissionInfo;)I .registers 3 .line 73 sget v0, Landroid/os/Build$VERSION;->SDK_INT:I const/16 v1, 0x1c if-lt v0, v1, :cond_b .line 74 invoke-virtual {p0}, Landroid/content/pm/PermissionInfo;->getProtection()I move-result p0 return p0 .line 77 :cond_b iget p0, p0, Landroid/content/pm/PermissionInfo;->protectionLevel:I and-int/lit8 p0, p0, 0xf return p0 .end method .method public static getProtectionFlags(Landroid/content/pm/PermissionInfo;)I .registers 3 .line 87 sget v0, Landroid/os/Build$VERSION;->SDK_INT:I const/16 v1, 0x1c if-lt v0, v1, :cond_b .line 88 invoke-virtual {p0}, Landroid/content/pm/PermissionInfo;->getProtectionFlags()I move-result p0 return p0 .line 91 :cond_b iget p0, p0, Landroid/content/pm/PermissionInfo;->protectionLevel:I and-int/lit8 p0, p0, -0x10 return p0 .end method