mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 06:43:32 +00:00
Bug 1786164 - Update gradle and plugin to the latest versions. r=geckoview-reviewers,jonalmeida
Differential Revision: https://phabricator.services.mozilla.com/D155151
This commit is contained in:
parent
3d5d730c15
commit
893cf3efd4
@ -114,7 +114,7 @@ buildscript {
|
||||
|
||||
dependencies {
|
||||
classpath 'org.mozilla.apilint:apilint:0.5.2'
|
||||
classpath 'com.android.tools.build:gradle:7.0.3'
|
||||
classpath 'com.android.tools.build:gradle:7.2.2'
|
||||
classpath 'org.apache.commons:commons-exec:1.3'
|
||||
classpath 'com.diffplug.spotless:spotless-plugin-gradle:6.10.0'
|
||||
classpath 'org.tomlj:tomlj:1.0.0'
|
||||
|
3
gradle/wrapper/gradle-wrapper.properties
vendored
3
gradle/wrapper/gradle-wrapper.properties
vendored
@ -1,8 +1,7 @@
|
||||
#Fri Sep 16 15:41:50 PDT 2016
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-all.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
|
||||
# Bug 1596208, Android Studio has a bug that prevents us from using this
|
||||
# distributionSha256Sum=53b71812f18cdb2777e9f1b2a0f2038683907c90bdc406bc64d8b400e1fb2c3b
|
||||
|
@ -1049,9 +1049,10 @@ public class GeckoAppShell {
|
||||
return lp.getDomains();
|
||||
}
|
||||
|
||||
@SuppressLint("ResourceType")
|
||||
@WrapForJNI(calledFrom = "gecko")
|
||||
private static int[] getSystemColors() {
|
||||
// attrsAppearance[] must correspond to AndroidSystemColors structure in android/AndroidBridge.h
|
||||
// attrsAppearance[] must correspond to AndroidSystemColors structure in android/nsLookAndFeel.h
|
||||
final int[] attrsAppearance = {
|
||||
android.R.attr.textColorPrimary,
|
||||
android.R.attr.textColorPrimaryInverse,
|
||||
@ -1072,8 +1073,7 @@ public class GeckoAppShell {
|
||||
final ContextThemeWrapper contextThemeWrapper =
|
||||
new ContextThemeWrapper(getApplicationContext(), android.R.style.TextAppearance);
|
||||
|
||||
final TypedArray appearance =
|
||||
contextThemeWrapper.getTheme().obtainStyledAttributes(attrsAppearance);
|
||||
final TypedArray appearance = contextThemeWrapper.obtainStyledAttributes(attrsAppearance);
|
||||
|
||||
if (appearance != null) {
|
||||
for (int i = 0; i < appearance.getIndexCount(); i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user