Commit Graph
23 Commits
Author SHA1 Message Date
Simone Arpe 471bc97c26 Keep HideBottomViewOnScrollBehavior (#19764)
Keep `HideBottomViewOnScrollBehavior` class that was removed by Proguard optimizations. 
This class is referenced in an XML layout under the attribute `app:layout_behavior`, in particular in the main Brave Wallet layout (`activity_brave_wallet.xml`). 
Proguard is not able to determine whether this class is used and was removing it in release builds only.
2023-08-18 15:41:34 +02:00
Artem Samoilenko 8dacb326c8 [Android] Removed excessive proguard rule
Otherwise there is an error:
Warning in ../../brave/android/java/proguard.flags at line 46, column 1:

Proguard configuration rule does not match anything: `-keep,allowrepackaging,allowobfuscation,allowshrinking class * extends com.google.gson.reflect.TypeToken {

  <init>();

}`
2023-07-26 16:50:25 -04:00
wchen342 46c8d55ad7 [Android] remove redundant BraveTemplateUrlServiceFactory and relative codes
Chromium changes:
chromium/chromium@f40ea91

Remove hardcoded profile from android TemplateUrlServiceFactory.
Migrates the easier (e.g. already had an Profile reference) usages
to the new method that takes a Profile.

Adds a PRESUBMIT to try and prevent additional getLastUsedRegularProfile()
calls.

BUG=1410601

Change-Id: I65a63d02eacb3459367ad3e6cf056d346aac8044

chromium/chromium@05f85c3

Pass an explicit Profile reference to TemplateUrlServiceFactory
from SearchEngine settings.

BUG=1410601

Change-Id: Id6dbf39632d028838acefb529e029eb0d447cda5
2023-04-20 23:56:04 -04:00
deeppandya 51062bf1c8 Add strings from kotlin module
Add patch for suppresing string warnings

Update default playlist code

Intial work for light mode UI
2023-03-26 15:24:35 +05:30
AlexeyBarabash f6a266f250 Revert "Reland Disable ChromePreferenceKeyChecker to avoid crashes on Nightly"
This reverts commit de51521bf4.
2023-03-08 08:43:17 +02:00
wchen342 bea06accca Merge pull request #17383 from brave/android_speedreader_panel
[Android] Add message UI for speedreader
2023-03-07 11:48:07 +00:00
wchen342 04ab04e829 Add prompt for speedreader 2023-03-07 13:04:22 +02:00
AlexeyBarabash de51521bf4 Reland Disable ChromePreferenceKeyChecker to avoid crashes on Nightly
Fixes brave/brave-browser#28890
2023-03-04 00:06:05 +02:00
wchen342 212ac0cd18 Add separate JNI getter for OTR profile based TemplateUrlService 2022-11-08 06:07:25 +02:00
AlexeyBarabash 89303faf6d Revert "Merge pull request #14402 from brave/sync_dse_android"
This reverts commit 826c6f8b0d, reversing
changes made to 68ea3e2e85.
2022-09-06 20:02:33 +03:00
tapanmodh 48776e9daf fix crash omnibox search banner android 2022-08-30 15:53:06 +05:30
AlexeyBarabash ceff26d476 Override SearchEngineAdapter.didSearchEnginesChange
This allows to refresh DSE chenged by sync in browser settings UI on Android

Bytecode asm test for SearchEngineAdapter.didSearchEnginesChange override
2022-08-12 15:35:32 +03:00
tapanmodh 54c44d2352 Address PR Comments 2022-08-04 13:34:05 +05:30
wchen342 d21977e52d patch and bytecode test fixes 2021-09-27 21:40:21 +03:00
wchen342 4117806719 Add bytecode tests 2021-09-27 21:39:42 +03:00
samartnik 54ad1c0db1 [Android] Simplified object casting for bytecode 2021-04-12 18:15:55 -04:00
samartnik 91fd473075 [Android] Added exceptions to proguard for methods for invocation 2021-02-17 10:33:38 -05:00
AlexeyBarabash 190c647d00 Fix to make build of Android apk with enable_brave_sync=false 2020-07-28 17:23:15 +03:00
AlexeyBarabash 12a8db2ef6 Remove obsolete proguard rules used for sync v1 js stuff 2020-07-28 17:20:13 +03:00
samartnik 1c594d8e6e [Android] Reverted proguard rule for BottomSheetBehavior 2020-05-26 10:02:29 -04:00
samartnik c782e5da7a [Android] Removed obsolete proguard rule 2020-05-26 10:02:28 -04:00
Deep 78b9732cf3 Add background images code for NTP
Add resources for ntp

Add QA pref for NTP

Add string resources

Update patches
2020-03-09 16:19:36 -04:00
SergeyZhukovsky 83f900ecee adds proguard file for Android sync 2020-01-08 12:08:45 -05:00