diff options
| author | 2023-02-21 17:39:59 +0800 | |
|---|---|---|
| committer | 2023-02-21 17:54:57 +0800 | |
| commit | 111ad9578841c63fe9328c8017886d3ca8441b4b (patch) | |
| tree | 4889c741cb45ec28ec9d1512d64411c2e4c7e3a2 /libs/androidfw/PathUtils.cpp | |
| 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
Diffstat (limited to 'libs/androidfw/PathUtils.cpp')
0 files changed, 0 insertions, 0 deletions