Brian Johnson
17818b8b33
Merge branch 'master' into migrate_NTP_SI_2
2020-03-16 20:23:40 -07:00
bridiver
52d321d219
minimize patches
2020-03-16 20:14:38 -07:00
bridiver
033c049955
expose ntp services through jni
2020-03-10 17:48:13 -07:00
Jocelyn Liu
1f2bc27294
git cl format
2020-03-10 10:20:31 -07:00
Jocelyn Liu
074a562d7b
Misc fix for asm
2020-03-10 10:20:31 -07:00
bridiver
0580578298
remove unused import
2020-03-02 17:48:29 -07:00
bridiver
d8c451a9fa
use asm for java patching
2020-03-02 17:48:29 -07:00
mkarolin
1bda6c083d
[Android] android_chrome_strings.grd has moved.
...
chrome/android/java/strings -> chrome/browser/ui/android/strings
Moved android_brave_strings.grd to the same location.
Moved XTBs as well.
Chromium change:
https://chromium.googlesource.com/chromium/src/+/c5ff0bef24795c5e26308674f015ea75cc17225f
commit c5ff0bef24795c5e26308674f015ea75cc17225f
Author: Theresa Wellington <twellington@chromium.org >
Date: Thu Nov 7 02:08:21 2019 +0000
[Android] Create shared strings module
Move android_chrome_strings.grd to its own separate build target
and merge ui widget strings back into android_chrome_strings.grd.
BUG=1002534
2020-01-29 07:42:49 -05:00
Emerick Rogul
44e38a33cd
Add support for QA code
2020-01-24 15:25:10 -05:00
bridiver
0e89cd5755
don't run desktop create_dist_zips on android
2020-01-21 11:02:29 -07:00
bridiver
84303c9c92
just use tar czf so we don't have a dependency on 7zip
2020-01-21 10:24:25 -07:00
bridiver
5aeed16c65
create symbol archive as part of create_dist
2020-01-21 10:13:29 -07:00
SergeyZhukovsky
0e47de8490
collects Android object files
2020-01-20 13:53:57 -05:00
samartnik
402a12b37e
Support for Brave referrer (android)
2020-01-09 14:29:48 -05:00
SergeyZhukovsky
30111ecbcc
old sync Android integration
2020-01-06 09:53:42 -05:00
samartnik
c6e4feca60
Python code clean up. Renamed variables.
2019-12-17 07:19:25 -05:00
samartnik
dcff743fa1
Sign apk for Android release builds
2019-12-17 06:33:16 -05:00
Jocelyn Liu
a296ddacd9
Move ads java files and its jni into ads component
2019-11-07 20:36:56 -08:00
Jocelyn Liu
c90828d63f
Add BraveNotificationPlatformBridge.create to avoid patching NotificationPlatformBridge.create
2019-11-07 19:26:25 -08:00
Jocelyn Liu
082f643d65
Create brave_java_cpp_enum_filter to remove chromium's java enum definitions in one place
2019-11-07 19:26:25 -08:00
Jocelyn Liu
a61d0b8fb4
Replace chromium's NotificationType enum in java with our overrided enum
2019-11-07 19:26:25 -08:00
Jocelyn Liu
e3903a89d3
Fix IsBraveAdsNotificationChannelEnabled().
...
In browser-android-tabs, we were adding a new method GetChannelStatus directly
in chromium's NotificationChannelsProviderAndroid class. To avoid patching,
this commit add BraveNotificationSettingsBridge for our native code to get
Ads channel status without patching chromium.
2019-11-07 19:26:25 -08:00
Jocelyn Liu
e21fdb5e03
Uncomment import ads codes and fix build.
2019-11-07 19:26:25 -08:00
Brian Johnson
b1bbdfbb46
Merge pull request #3790 from brave/android_enable_rewards_bj
...
organize safetynet cpp and java sources
2019-11-07 20:18:56 -07:00
Emerick Rogul
4aa03339bb
Add support for sync UI on Android
2019-10-29 09:58:11 -04:00
bridiver
ac38900a26
organize safetynet cpp and java sources
...
fix https://github.com/brave/brave-browser/issues/6599
2019-10-24 09:40:45 -07:00
SergeyZhukovsky
ef4b6f9f00
corrects resources usage
2019-10-22 12:15:01 -04:00
SergeyZhukovsky
9844a96605
SafetyNet integration
2019-10-22 09:48:58 -04:00
SergeyZhukovsky
0009fe5dae
Android Rewards panel UI
2019-10-22 09:47:15 -04:00
Jocelyn Liu
151bbd4635
include brave's AndroidManifest.xml to be extensible
2019-10-17 16:10:35 -07:00
Simon Hong
fd418da227
Add background video playback
2019-10-07 18:15:31 +09:00
Simon Hong
a2bdc77b6c
Unify JNI interface for getting/setting native prefs
...
Use BravePrefServiceBridget.java for it.
2019-10-03 06:33:46 +09:00
Simon Hong
e05eb96de2
Add Video playback in brave option into Media preferences
...
When this option is on,
ChromeInterceptNavigationDelegate::ShouldIgnoreNavigation() will return
false if url is youtube.
2019-10-03 06:33:46 +09:00
Simon Hong
0ee81e2180
Add TabHepler in c++ instead of java world
...
Global desktop mode setting is applied to webcontents only when tab
is created. We can know this by whether checking last committed
entry is null or not.
With this, we don't need to modify Tab.java.
2019-10-03 06:33:46 +09:00
Simon Hong
43bf6e62b3
Avoid SigninManager.java patch file
...
by overriding Java_SigninManager_create.
2019-09-26 14:38:23 +09:00
Simon Hong
1a8bfb9ec3
Show real brave stats on brave NTP
2019-09-18 11:57:45 +09:00
Jocelyn Liu
566ba648e5
Add httpse, adblock, and fingerprinting protection switches into Android's privacy page.
2019-09-13 01:23:53 -07:00
Max Karolinskiy
772c7fe0a9
Removed unused var declaration in Android build.
...
It was causing an error:
ERROR at //brave/build/android/BUILD.gn:99:17: Assignment had no effect.
jni_package = "brave"
^------
You set the variable "jni_package" here and it was unused before it went
out of scope.
See //brave/build/android/BUILD.gn:93:1: whence it was called.
generate_jni("jni_headers") {
^----------------------------
See //brave/BUILD.gn:55:11: which caused the file to be included.
deps = ["build/$target_os:brave"]
^-----------------------
2019-09-05 21:22:29 -04:00
Emerick Rogul
518004ce44
Send stats update ping on resume on Android
2019-08-15 19:14:24 -04:00
Serg
8dce98a0e1
Android Brave shields UI ( #2998 )
...
* brave shields UI init
* adds lions head on toolbar
* Brave Shields UI
* brave shields switches functionality
* Auto-refresh page on shields switches triggers, catch onLoad and etc events
* shields counters
* Correct Android BUILD.gn patch
* Enable components updater on Android
* Updates URL after page load finished
* make it compilable
* load websites when adblock lin is not ready yet
* lint fixes
* lint errors fix
* corrects patches, lint errors
* use common approach for content settings shields
* correct profile usage
* corrects a profile usage for incognito mode
* changes Top shields and HTTPSE shield functions calls
* Adds a comment
* Removes redundant switch
2019-08-01 17:49:24 -04:00
Serg
d8b6a3121c
Android deep rebranding new ( #2604 )
...
* Disable first time run dialog
* Remove Google's logo
2019-06-06 15:07:56 -04:00
SergeyZhukovsky
39e81a67e4
x64 instead of x86_64, assert on modern for x64 builds
2019-06-03 16:32:16 -04:00
Brian Johnson
da9b432fb7
remove unnecessary assignment ( #2573 )
...
fix https://github.com/brave/brave-browser/issues/4684
2019-06-03 09:11:11 +01:00
SergeyZhukovsky
64ef8942e7
fixes after code review
2019-05-24 12:29:36 -04:00
SergeyZhukovsky
a2fe2073e9
Support of mono and modern apks and brand resources
2019-05-24 12:09:26 -04:00
bridiver
e3917f6315
add support for building android-apk
...
required for https://github.com/brave/brave-browser/issues/2117
2019-05-08 12:35:11 -07:00