Skip to content

Commit

Permalink
Merge pull request #1 from CheckYourScreen/aosp-7.1.2
Browse files Browse the repository at this point in the history
Moar Optz
  • Loading branch information
CheckYourScreen authored May 23, 2017
2 parents 6666709 + 0e2c1e6 commit 4ed1423
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 1 deletion.
6 changes: 5 additions & 1 deletion liblog/logprint.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,11 @@ LIBLOG_ABI_PUBLIC int android_log_shouldPrintLine (
const char *tag,
android_LogPriority pri)
{
return pri >= filterPriForTag(p_format, tag);
if (!strncmp(tag, "AEC_PORT", 8) || !strncmp(tag, "mm-camera", 9)
|| !strncmp(tag, "GalleryDatab", 12))
return 0;
else
return pri >= filterPriForTag(p_format, tag);
}

LIBLOG_ABI_PUBLIC AndroidLogFormat *android_log_format_new()
Expand Down
1 change: 1 addition & 0 deletions rootdir/init.zygote32.rc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
service zygote /system/bin/app_process -Xzygote /system/bin --zygote --start-system-server
class main
priority -20
socket zygote stream 660 root system
onrestart write /sys/android_power/request_state wake
onrestart write /sys/power/state on
Expand Down
2 changes: 2 additions & 0 deletions rootdir/init.zygote32_64.rc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
service zygote /system/bin/app_process32 -Xzygote /system/bin --zygote --start-system-server --socket-name=zygote
class main
priority -20
socket zygote stream 660 root system
onrestart write /sys/android_power/request_state wake
onrestart write /sys/power/state on
Expand All @@ -11,6 +12,7 @@ service zygote /system/bin/app_process32 -Xzygote /system/bin --zygote --start-s

service zygote_secondary /system/bin/app_process64 -Xzygote /system/bin --zygote --socket-name=zygote_secondary
class main
priority -20
socket zygote_secondary stream 660 root system
onrestart restart zygote
writepid /dev/cpuset/foreground/tasks
1 change: 1 addition & 0 deletions rootdir/init.zygote64.rc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
service zygote /system/bin/app_process64 -Xzygote /system/bin --zygote --start-system-server
class main
priority -20
socket zygote stream 660 root system
onrestart write /sys/android_power/request_state wake
onrestart write /sys/power/state on
Expand Down
2 changes: 2 additions & 0 deletions rootdir/init.zygote64_32.rc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
service zygote /system/bin/app_process64 -Xzygote /system/bin --zygote --start-system-server --socket-name=zygote
class main
priority -20
socket zygote stream 660 root system
onrestart write /sys/android_power/request_state wake
onrestart write /sys/power/state on
Expand All @@ -11,6 +12,7 @@ service zygote /system/bin/app_process64 -Xzygote /system/bin --zygote --start-s

service zygote_secondary /system/bin/app_process32 -Xzygote /system/bin --zygote --socket-name=zygote_secondary
class main
priority -20
socket zygote_secondary stream 660 root system
onrestart restart zygote
writepid /dev/cpuset/foreground/tasks

0 comments on commit 4ed1423

Please sign in to comment.