mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Update moe equivalence
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=187165173
This commit is contained in:
parent
aa57062199
commit
322e15f63b
1 changed files with 0 additions and 1 deletions
|
|
@ -289,7 +289,6 @@ public abstract class DownloadService extends Service implements DownloadManager
|
||||||
@Override
|
@Override
|
||||||
public void onIdle(DownloadManager downloadManager) {
|
public void onIdle(DownloadManager downloadManager) {
|
||||||
// Make sure startForeground is called before stopping.
|
// Make sure startForeground is called before stopping.
|
||||||
// Workaround for https://buganizer.corp.google.com/issues/69424260
|
|
||||||
if (Util.SDK_INT >= 26) {
|
if (Util.SDK_INT >= 26) {
|
||||||
Builder notificationBuilder = new Builder(this, getNotificationChannelId());
|
Builder notificationBuilder = new Builder(this, getNotificationChannelId());
|
||||||
Notification foregroundNotification = notificationBuilder.build();
|
Notification foregroundNotification = notificationBuilder.build();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue