Update moe equivalence
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=187165173
This commit is contained in:
parent
aa57062199
commit
322e15f63b
@ -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…
x
Reference in New Issue
Block a user