commit | 139c2488d10da0b47cde3e6ffe881b110132fc83 | [log] [tgz] |
---|---|---|
author | Hui Yu <huiyu@google.com> | Fri Aug 10 15:37:51 2018 -0700 |
committer | Hui Yu <huiyu@google.com> | Mon Sep 10 17:28:04 2018 -0700 |
tree | d064a838830440cfadf51adc41bd530674c88c6d | |
parent | 77e36b7ba7db7e96ef27e8d35f729382327ba699 [diff] |
Obfuscate account name in account manager logs and dumpsys. The account name could be PII or email address that should not be printed in android logs or dumpsys. In account manager output, call Account.toSafeString() to replace letters/digits in account name with character 'x'. Change-Id: Ic1abd1ecda99a309e8973f13bd3650286bbd59e6 Fix: 111937873 Test: atest AccountTest.java