Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9e3ea240 authored by Troy Wang's avatar Troy Wang
Browse files

Set sysprop to enable logcat file pruning based on release flag

BUG: 409646559
BUG: 395932564
Test: m dist
Test: "get_build_var PRODUCT_PRODUCT_PROPERTIES"
Change-Id: I33efb9273aa996fe98fa3711cc1a6fbcee41fcd1
parent d8887da8
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -570,6 +570,11 @@ ifeq ($(PRODUCT_ENABLE_LOGCAT_PERSISTENCE),true)
        logpersist.start
endif

ifeq ($(RELEASE_LOGCAT_ENABLE_PRUNE_ON_START),true)
    # The property determines whether logcat file pruning is performed at system boot.
    PRODUCT_PRODUCT_PROPERTIES += ro.logcat.prune_old_log_files_on_start=true
endif

# The set of packages whose code can be loaded by the system server.
PRODUCT_SYSTEM_SERVER_APPS += \
    SettingsProvider \