Skip to content

Commit 385b3c4

Browse files
authored
Enhance ApplicationPackageManager with new field and constructor
Added a private field and constructor method to ApplicationPackageManager.
1 parent 1dbfd00 commit 385b3c4

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

Toolbox-docs/Guide.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,22 @@ ro.control_privapp_permissions=
4040
```
4141
ApplicationPackageManager
4242
```
43+
> add filed:
44+
```
45+
.field private final mContext:Landroid/content/Context;
46+
```
47+
> add method:
48+
```
49+
.method public constructor <init>(Landroid/content/Context;)V
50+
.registers 2
51+
52+
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
53+
54+
iput-object p1, p0, Landroid/app/ApplicationPackageManager;->mContext:Landroid/content/Context;
55+
56+
return-void
57+
.end method
58+
```
4359

4460
> ### Method:
4561
```

0 commit comments

Comments
 (0)