Commit Graph
8 Commits
Author SHA1 Message Date
Alex C a96db76e69 [Android] Fixes unresponsive close button from Site Settings options 2021-03-26 18:16:22 -04:00
samartnik 298513a978 [Android] TileView moved to components/browser_ui/widget
Chromium change:
https://chromium.googlesource.com/chromium/src.git/+/d089c588065dd2f12fe17d9d10b4e1fbbb1c5e20

Move TileView to components/browser_ui/widget

Moving TileView related class to components/browser_ui/widget, and all
related resources files
to make it available for using in launchpad module.

Bug: 1178919
2021-03-23 14:55:34 -04:00
samartnik 6f946d1bae [Android] Fixes for java warnings
This commit fixes these java warnings: CollectionUndefinedEquality, NoSynchronizedMethodCheck, NoRedundantFieldInit, RedundantOverride
2021-02-04 23:52:33 -05:00
Pranjal Jumde 128307eb8d Fix #12492: Disable idle detection API 2020-11-05 11:42:25 -08:00
samartnik ac97288cbf [Android] Changed preference class for site settings
Chromium change:

https://chromium.googlesource.com/chromium/src/+/7b378cb12e97bb1b2f2692891e7b461590d94949

Use Material default preference layout

Replace custom preference layout with material default. This correctly
aligns icons under the action bar back arrow without the additional
logic and fixed paddings previously used.

This results in small UI shifts on settings screens with icons. See
https://crbug.com/1095981 for screenshots and UX approval.

Bug: 971791, 1095981
2020-09-11 14:45:30 -04:00
samartnik fa10c9fdfe [Android] SiteSettingsPreference was removed
Chromium change:

https://chromium.googlesource.com/chromium/src/+/05dcc07471452433bf096370cf58e74374c34997

Safety check on Android: implemented initial UI

Screenshots:
Light mode: https://screenshot.googleplex.com/c5hr9M0ypqp.png
Dark mode: https://screenshot.googleplex.com/iv2wB2Dih0s.png

Bug: 1070620
2020-08-06 17:32:05 -04:00
samartnik d261faaa4c [Android] Fix for crashes on settings
Crashes happened due to renaming
2020-07-01 18:12:04 -04:00
samartnik 384baead91 [Android] site_settings moved to components
Chromium change:

https://chromium.googlesource.com/chromium/src/+/e012e41e7a0648468a018f54f963f34efb0eaf9c

This CL moves the majority of //chrome/browser/site_settings to
//components/browser_ui/site_settings, leaving only Chrome-specific
classes behind. This is part of an effort to componentize site_settings
so it can be reused by WebLayer.

This CL leaves most of the tests in //chrome because they rely on the
SettingsActivity and specific chrome implementation of the site
settings clients. I felt that componentizing these tests would result
in removing enough of the chrome based scaffolding around the UI that
it would reduce the effectiveness of the tests.

Bug: 1058595
2020-07-01 18:12:03 -04:00