Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Commit

Permalink
don't wait 10s in restart
Browse files Browse the repository at this point in the history
  • Loading branch information
RikkaW committed Feb 18, 2019
1 parent 1f82789 commit 06d92f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion riru-core/jni/main/version.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#define VERSION 13
#define VERSION 14

extern "C" {
__attribute__((visibility("default"))) int riru_get_version(void) {
Expand Down
4 changes: 2 additions & 2 deletions riru-core/jni/zygote_restart/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ int main(int argc, char **argv) {
if (fork() != 0)
return 1;

LOGV("sleep 10s");
sleep(10);
LOGV("sleep 2s");
sleep(2);

pid_t pid;
while ((pid = get_pid_by_name_and_uid(ZYGOTE_NAME, 0)) == -1) {
Expand Down

0 comments on commit 06d92f8

Please sign in to comment.