This repository has been archived by the owner on Jan 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libra: Set initial value for persist properties
The following 3 persist properties should have a default value "false" after a factory reset or ROM update. - persist.sys.cpu_overclock - persist.sys.root_access - persist.vendor.edge_touch_mode Otherwise, some unexpectd behavior may happen because init cannot handle the property tigger with an empty value. For example, if "persist.sys.cpu_overclock" has no default value (NULL or ""), overclock will be enabled by default and cause random reboot on some devices. Also added dalvik heap properties to build.prop with the default values for 3GB devices, in order to avoid unnecessary property_find operation. Devices with 2GB memory will still use libinit_libra to set dalvik heap parameters.
- Loading branch information
Showing
3 changed files
with
41 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters