Skip to content
Commit 111ad957 authored by zhangjiaqing's avatar zhangjiaqing
Browse files

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
parent e2f4f71c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment