-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Update UI for unsupported Android OS and make Jelly Bean unsu…
…pported." This reverts commit 601b3e3. Reason for revert: Breaks Chrome Custom Tabs. Original change's description: > Update UI for unsupported Android OS and make Jelly Bean unsupported. > > This CL updates the UI to show a badge icon in the app menu icon > whenever the user is running Chrome on a currently unsupported Android > version. This badge in the app menu is only displayed once, until the > user taps the app menu icon. If the user does in fact get a new version, > the badge state is reset, and will be shown again. The current behavior > for out of date users stays the same as before (once per cold start). > > In addition, a new menu item is displayed at the top of the menu that > explains that Chrome is unable to update. Nothing happens when you tap > the menu item in the case of an unsupported OS version. > > The new menu item and the new warning message in About Chrome will > always be displayed when the user is in this state, regardless of > whether the app menu has already been tapped (which removes the badge). > > This CL also updates the UI in Settings - About Chrome to show a new > message and a warning icon when the user is running Chrome on an > unsupported version of the Android OS. > > By default, Jelly Bean is considered unsupported after this CL, but this > can be overridden from the variations framework. > > It is possible to use command line flags or chrome://flags for > testing the different states, though that does not impact the > About Chrome screen. > > Binary-Size: This CL adds new assets and the minimal code required. > Bug: 847940 > Change-Id: If128e1692b66c5804928183718000aaf1e2ffaa6 > Reviewed-on: https://chromium-review.googlesource.com/c/1243167 > Commit-Queue: Tommy Nyquist <nyquist@chromium.org> > Reviewed-by: Theresa <twellington@chromium.org> > Cr-Original-Commit-Position: refs/heads/master@{#599369}(cherry picked from commit 5423fd8) > Reviewed-on: https://chromium-review.googlesource.com/c/1279959 > Reviewed-by: Tommy Nyquist <nyquist@chromium.org> > Cr-Commit-Position: refs/branch-heads/3578@{#15} > Cr-Branched-From: 4226ddf-refs/heads/master@{#599034} TBR=nyquist@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: 847940 Change-Id: Iec0d8b4c07f123597f4883d1be3f14c3207e7c05 Reviewed-on: https://chromium-review.googlesource.com/c/1286281 Reviewed-by: Tommy Nyquist <nyquist@chromium.org> Cr-Commit-Position: refs/branch-heads/3578@{#92} Cr-Branched-From: 4226ddf-refs/heads/master@{#599034}
- Loading branch information
1 parent
1edc83a
commit 7f0a8e3
Showing
41 changed files
with
180 additions
and
612 deletions.
There are no files selected for viewing
Binary file removed
BIN
-325 Bytes
chrome/android/java/res/drawable-hdpi/ic_error_grey800_24dp_filled.png
Binary file not shown.
Binary file removed
BIN
-302 Bytes
chrome/android/java/res/drawable-hdpi/ic_error_white_24dp_filled.png
Binary file not shown.
Binary file removed
BIN
-227 Bytes
chrome/android/java/res/drawable-mdpi/ic_error_grey800_24dp_filled.png
Binary file not shown.
Binary file removed
BIN
-204 Bytes
chrome/android/java/res/drawable-mdpi/ic_error_white_24dp_filled.png
Binary file not shown.
Binary file removed
BIN
-371 Bytes
chrome/android/java/res/drawable-xhdpi/ic_error_grey800_24dp_filled.png
Binary file not shown.
Binary file removed
BIN
-353 Bytes
chrome/android/java/res/drawable-xhdpi/ic_error_white_24dp_filled.png
Binary file not shown.
Binary file removed
BIN
-543 Bytes
chrome/android/java/res/drawable-xxhdpi/ic_error_grey800_24dp_filled.png
Binary file not shown.
Binary file removed
BIN
-512 Bytes
chrome/android/java/res/drawable-xxhdpi/ic_error_white_24dp_filled.png
Binary file not shown.
Binary file removed
BIN
-707 Bytes
chrome/android/java/res/drawable-xxxhdpi/ic_error_grey800_24dp_filled.png
Binary file not shown.
Binary file removed
BIN
-707 Bytes
chrome/android/java/res/drawable-xxxhdpi/ic_error_white_24dp_filled.png
Binary file not shown.
39 changes: 0 additions & 39 deletions
39
chrome/android/java/res/layout/os_version_unsupported_preference.xml
This file was deleted.
Oops, something went wrong.
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
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.