commit | 111ad9578841c63fe9328c8017886d3ca8441b4b | [log] [tgz] |
---|---|---|
author | zhangjiaqing <zhangjiaqing@xiaomi.corp-partner.google.com> | Tue Feb 21 17:39:59 2023 +0800 |
committer | zhangjiaqing <zhangjiaqing@xiaomi.corp-partner.google.com> | Tue Feb 21 17:54:57 2023 +0800 |
tree | 4889c741cb45ec28ec9d1512d64411c2e4c7e3a2 | |
parent | e2f4f71ca221c1b062399b0725981e9289d8639e [diff] |
RingtoneManager#setActualDefaultRingtone() open OutputStream of cacheUri with "wt" mode the default mode is "w",if the cache file is not deleted successfully before openOutputStream and the size of new ringtone is smaller than old rongtone,the cache file will be a mixture of old and new ringtone. Bug: 263074833 Change-Id: Ib7a0bf5e2a9f695aa4701c91c0b79c6bce2d76f1