.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 public constructor ()V .locals 0 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method .method public static getProtection(Landroid/content/pm/PermissionInfo;)I .locals 2 .param p0 # Landroid/content/pm/PermissionInfo; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroid/annotation/SuppressLint; value = { "WrongConstant" } .end annotation sget v0, Landroid/os/Build$VERSION;->SDK_INT:I const/16 v1, 0x1c if-lt v0, v1, :cond_0 invoke-virtual {p0}, Landroid/content/pm/PermissionInfo;->getProtection()I move-result p0 return p0 :cond_0 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 .locals 2 .param p0 # Landroid/content/pm/PermissionInfo; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroid/annotation/SuppressLint; value = { "WrongConstant" } .end annotation sget v0, Landroid/os/Build$VERSION;->SDK_INT:I const/16 v1, 0x1c if-lt v0, v1, :cond_0 invoke-virtual {p0}, Landroid/content/pm/PermissionInfo;->getProtectionFlags()I move-result p0 return p0 :cond_0 iget p0, p0, Landroid/content/pm/PermissionInfo;->protectionLevel:I and-int/lit8 p0, p0, -0x10 return p0 .end method