Fixed a property naming mismatch.

Device configuration properties in ZygoteConfig.java used old names for
certain values.  These name strings have been updated to the correct
values and additional logging has been added to help catch future
issues.

Test: m
Test: boot and check log for USAP messages
Change-Id: I2fb92afe7edd9b1254dd3be659ec5063aa0b8e16
This commit is contained in:
Chris Wailes
2019-03-22 17:45:28 -07:00
parent c90040e0b3
commit da5b64e7f2
3 changed files with 10 additions and 6 deletions

View File

@@ -671,11 +671,13 @@ public class ZygoteProcess {
Boolean.parseBoolean(USAP_POOL_ENABLED_DEFAULT));
}
if (origVal != mUsapPoolEnabled) {
boolean valueChanged = origVal != mUsapPoolEnabled;
if (valueChanged) {
Log.i(LOG_TAG, "usapPoolEnabled = " + mUsapPoolEnabled);
}
return origVal != mUsapPoolEnabled;
return valueChanged;
}
private boolean mIsFirstPropCheck = true;