-
Notifications
You must be signed in to change notification settings - Fork 879
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate brave-core changes from Android Ads
Fixes brave/brave-browser#5160 * Added id to NotificationInfo data structure * Refactored debug logging * Refactored TabUpdated/TabClosed * Refactored unseen ads to available ads and decoupled frequency capping * Refactored background helper and fixed linter errors * Implemented background helper for Android * Refactored locale helper * Implemented locale helper for Android * Implemented notification helper * Refactored OnMediaPlaying/OnMediaStopped * Only show ad notifications on mobile if the app is in the foreground * Bumped Challenge Bypass Ristretto dependencies * Refactored GenerateGUID to use base::GenerateGUID * Enabled Brave ads for Android * Allow reinitialization of the bundle state database if the file was removed from storage * Refactored check for network connection * Implemented ChangeLocale * Stop collecting activity, delivering notifications and sustaining ad interaction when destroying AdsImpl * Refactored Client to use callbacks * Implemented notifications state * Refactored Initialize and RemoveAllHistory to use callbacks * Implemented close notification * Implemented My First Ad * Refactored notifications * Updated README.md * General refactoring
- Loading branch information
Showing
83 changed files
with
2,241 additions
and
790 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.