Commit Graph
4 Commits
Author SHA1 Message Date
Aleksey Seren 2856190af4 Fix Brave Ads notification for Android 2023-07-04 13:43:22 -05:00
Artem Samoilenko 2eda18a537 [Android] Reverted resources required for ads notifications
Chromium change:

chromium/chromium@d8e8408

[Fixit] Remove CustomNotificationBuilder

CustomNotificationBuilder is only used for Android M-. With Chrome's minSdkVersion=24, we can remove this class (and related resources).

With this change, StandardNotificationBuilder will be the only class
extending NotificationBuilderBase; merging it with the base class is not
scoped in this CL.

This CL also removed several other  @RequireApi annotation for N.

Bug: 1385893
2023-02-22 06:30:34 -05:00
Terry Mancey 8c8ee1c443 Fix Brave Ads presubmit warnings 2023-01-03 16:05:29 -05:00
samartnik de9109b7f6 [Android] Most of //chrome/browser/notifications were modularized
Chromium change:
https://chromium.googlesource.com/chromium/src/+/8276a73257bad0497689dfb1edeb735be2b5c26b

Modularize most of //chrome/browser/notifications

Move the framework components of //chrome/browser/notifications out to a
module.  This leaves behind web platform notification information and
notification scheduler files.

Presubmit is flagging in moved files (haven't changed lines), so skipping presubmit for this CL.

NOPRESUBMIT=true

Bug: 1174713
2021-06-29 16:35:33 -04:00