commit | de0d9e38080ce5f9ea8637da66b22e0d4fe62d16 | [log] [tgz] |
---|---|---|
author | wumin3 <wumin3@xiaomi.com> | Tue Jun 28 19:46:16 2022 +0800 |
committer | wumin3 <wumin3@xiaomi.com> | Tue Jun 28 19:46:16 2022 +0800 |
tree | 3716c2c7822dd3caf2210d0e0833392d29107b88 | |
parent | edc13cc24107a63e0307d03ed0662c3454e5b0a2 [diff] |
NotificationPlayer: use AUDIOFOCUS_GAIN_TRANSIENT instead of AUDIOFOCUS_GAIN in looping mode A voip app will usually use notification with FLAG_INSISTENT when a new voip call comes, if the duration hint was AUDIOFOCUS_GAIN the music app will not continue after the voip call end. Signed-off-by: wumin3 <wumin3@xiaomi.com> Change-Id: I6270bb08181b8fb94c84ec0f69bd226f3a7d0f01