summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author zhangjiaqing <zhangjiaqing@xiaomi.corp-partner.google.com> 2023-02-21 17:39:59 +0800
committer zhangjiaqing <zhangjiaqing@xiaomi.corp-partner.google.com> 2023-02-21 17:54:57 +0800
commit111ad9578841c63fe9328c8017886d3ca8441b4b (patch)
tree4889c741cb45ec28ec9d1512d64411c2e4c7e3a2 /api/api.go
parente2f4f71ca221c1b062399b0725981e9289d8639e (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
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions