Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
Magisk
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Magisk
Commits
449c7fda
Commit
449c7fda
authored
May 26, 2019
by
topjohnwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable proc_monitor test in debug mode only
parent
8b7b05da
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
magiskhide.cpp
native/jni/magiskhide/magiskhide.cpp
+4
-0
No files found.
native/jni/magiskhide/magiskhide.cpp
View file @
449c7fda
...
...
@@ -28,7 +28,9 @@ bool hide_enabled = false;
" --add PKG [PROC] Add a new target to the hide list
\n
"
" --rm PKG [PROC] Remove from the hide list
\n
"
" --ls List the current hide list
\n
"
#ifdef MAGISK_DEBUG
" --test Run process monitor test
\n
"
#endif
,
arg0
);
exit
(
1
);
}
...
...
@@ -92,8 +94,10 @@ int magiskhide_main(int argc, char *argv[]) {
req
=
LS_HIDELIST
;
else
if
(
argv
[
1
]
==
"--status"
sv
)
req
=
HIDE_STATUS
;
#ifdef MAGISK_DEBUG
else
if
(
argv
[
1
]
==
"--test"
sv
)
test_proc_monitor
();
#endif
else
usage
(
argv
[
0
]);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment