Reduce logging of flattened Preferences

Bug: 11901390

Change-Id: I9f2e27e769fd745be01bb2c12a7f07b45aa0b905
add changes by billchen1977
Merge commit '2a27f965a41e08af3c613ca575f470b4d6e58135' into slimkat