diff --git a/liblog/logprint.c b/liblog/logprint.c index c8457f4bfa33..3c54a32b51a2 100644 --- a/liblog/logprint.c +++ b/liblog/logprint.c @@ -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() diff --git a/rootdir/init.zygote32.rc b/rootdir/init.zygote32.rc index b41af92c29e3..2d7d5c2f83f0 100644 --- a/rootdir/init.zygote32.rc +++ b/rootdir/init.zygote32.rc @@ -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 diff --git a/rootdir/init.zygote32_64.rc b/rootdir/init.zygote32_64.rc index 2914f07ef0f9..a5e32c2ac78d 100644 --- a/rootdir/init.zygote32_64.rc +++ b/rootdir/init.zygote32_64.rc @@ -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 @@ -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 diff --git a/rootdir/init.zygote64.rc b/rootdir/init.zygote64.rc index 2cc0966a313a..8584cbb68ae9 100644 --- a/rootdir/init.zygote64.rc +++ b/rootdir/init.zygote64.rc @@ -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 diff --git a/rootdir/init.zygote64_32.rc b/rootdir/init.zygote64_32.rc index a422fcc9e4bd..4a32097282fd 100644 --- a/rootdir/init.zygote64_32.rc +++ b/rootdir/init.zygote64_32.rc @@ -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 @@ -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