fix: 首次提交
This commit is contained in:
31
SettingsLib/HelpUtils/Android.bp
Normal file
31
SettingsLib/HelpUtils/Android.bp
Normal file
@@ -0,0 +1,31 @@
|
||||
package {
|
||||
// See: http://go/android-license-faq
|
||||
// A large-scale-change added 'default_applicable_licenses' to import
|
||||
// all of the 'license_kinds' from "frameworks_base_license"
|
||||
// to get the below license kinds:
|
||||
// SPDX-license-identifier-Apache-2.0
|
||||
default_applicable_licenses: ["frameworks_base_license"],
|
||||
}
|
||||
|
||||
android_library {
|
||||
name: "SettingsLibHelpUtils",
|
||||
use_resource_processor: true,
|
||||
defaults: [
|
||||
"SettingsLintDefaults",
|
||||
],
|
||||
|
||||
srcs: ["src/**/*.java"],
|
||||
resource_dirs: ["res"],
|
||||
|
||||
libs: [
|
||||
"androidx.annotation_annotation",
|
||||
],
|
||||
|
||||
sdk_version: "system_current",
|
||||
min_sdk_version: "21",
|
||||
apex_available: [
|
||||
"//apex_available:platform",
|
||||
"com.android.permission",
|
||||
"com.android.healthfitness",
|
||||
],
|
||||
}
|
||||
21
SettingsLib/HelpUtils/AndroidManifest.xml
Normal file
21
SettingsLib/HelpUtils/AndroidManifest.xml
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2018 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.android.settingslib.widget.help">
|
||||
|
||||
</manifest>
|
||||
39
SettingsLib/HelpUtils/build.gradle
Normal file
39
SettingsLib/HelpUtils/build.gradle
Normal file
@@ -0,0 +1,39 @@
|
||||
plugins {
|
||||
alias(libs.plugins.android.library)
|
||||
alias(libs.plugins.kotlin.android)
|
||||
}
|
||||
|
||||
android {
|
||||
namespace = "com.android.settingslib.widget.help"
|
||||
compileSdk 34
|
||||
defaultConfig {
|
||||
minSdk 31
|
||||
targetSdk 34
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
sourceSets {
|
||||
main {
|
||||
java.srcDirs = ['src']
|
||||
manifest.srcFile 'AndroidManifest.xml'
|
||||
res.srcDirs = ['res']
|
||||
}
|
||||
}
|
||||
lint {
|
||||
abortOnError false
|
||||
}
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_17
|
||||
targetCompatibility JavaVersion.VERSION_17
|
||||
}
|
||||
buildToolsVersion '34.0.0'
|
||||
|
||||
tasks.withType(JavaCompile) {
|
||||
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compileOnly files('../../libs/framework.jar')
|
||||
implementation libs.androidx.annotation.annotation
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
i/classes_global-synthetics
|
||||
@@ -0,0 +1 @@
|
||||
o/out
|
||||
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2018 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.android.settingslib.widget.help" >
|
||||
|
||||
<uses-sdk android:minSdkVersion="31" />
|
||||
|
||||
</manifest>
|
||||
@@ -0,0 +1,6 @@
|
||||
aarFormatVersion=1.0
|
||||
aarMetadataVersion=1.0
|
||||
minCompileSdk=1
|
||||
minCompileSdkExtension=0
|
||||
minAndroidGradlePluginVersion=1.0.0
|
||||
coreLibraryDesugaringEnabled=false
|
||||
@@ -0,0 +1,2 @@
|
||||
int drawable ic_help_actionbar 0x0
|
||||
int string help_feedback_label 0x0
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2017 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24.0"
|
||||
android:viewportHeight="24.0"
|
||||
android:autoMirrored="true"
|
||||
android:tint="?android:attr/colorControlNormal">
|
||||
<path
|
||||
android:fillColor="#FFFFFFFF"
|
||||
android:pathData="M11,18h2v-2h-2V18zM12,2C6.48,2 2,6.48 2,12s4.48,10 10,10s10,-4.48 10,-10S17.52,2 12,2zM12,20c-4.41,0 -8,-3.59 -8,-8s3.59,-8 8,-8s8,3.59 8,8S16.41,20 12,20zM12,6c-2.21,0 -4,1.79 -4,4h2c0,-1.1 0.9,-2 2,-2s2,0.9 2,2c0,2 -3,1.75 -3,5h2c0,-2.25 3,-2.5 3,-5C16,7.79 14.21,6 12,6z"/>
|
||||
</vector>
|
||||
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string msgid="7106780063063027882" name="help_feedback_label">"帮助和反馈"</string>
|
||||
</resources>
|
||||
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="help_feedback_label">Help & feedback</string>
|
||||
</resources>
|
||||
@@ -0,0 +1 @@
|
||||
i/
|
||||
@@ -0,0 +1 @@
|
||||
o/release
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
i/release_dex
|
||||
@@ -0,0 +1 @@
|
||||
i/
|
||||
@@ -0,0 +1 @@
|
||||
o/classes
|
||||
Binary file not shown.
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2018 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.android.settingslib.widget.help" >
|
||||
|
||||
<uses-sdk android:minSdkVersion="31" />
|
||||
|
||||
</manifest>
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"version": 3,
|
||||
"artifactType": {
|
||||
"type": "AAPT_FRIENDLY_MERGED_MANIFESTS",
|
||||
"kind": "Directory"
|
||||
},
|
||||
"applicationId": "com.android.settingslib.widget.help",
|
||||
"variantName": "release",
|
||||
"elements": [
|
||||
{
|
||||
"type": "SINGLE",
|
||||
"filters": [],
|
||||
"attributes": [],
|
||||
"outputFile": "AndroidManifest.xml"
|
||||
}
|
||||
],
|
||||
"elementType": "File"
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,6 @@
|
||||
aarFormatVersion=1.0
|
||||
aarMetadataVersion=1.0
|
||||
minCompileSdk=1
|
||||
minCompileSdkExtension=0
|
||||
minAndroidGradlePluginVersion=1.0.0
|
||||
coreLibraryDesugaringEnabled=false
|
||||
@@ -0,0 +1 @@
|
||||
{}
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,2 @@
|
||||
int drawable ic_help_actionbar 0x0
|
||||
int string help_feedback_label 0x0
|
||||
Binary file not shown.
@@ -0,0 +1,117 @@
|
||||
# This is a configuration file for ProGuard.
|
||||
# http://proguard.sourceforge.net/index.html#manual/usage.html
|
||||
#
|
||||
# Starting with version 2.2 of the Android plugin for Gradle, this file is distributed together with
|
||||
# the plugin and unpacked at build-time. The files in $ANDROID_HOME are no longer maintained and
|
||||
# will be ignored by new version of the Android plugin for Gradle.
|
||||
|
||||
# Optimizations: If you don't want to optimize, use the proguard-android.txt configuration file
|
||||
# instead of this one, which turns off the optimization flags.
|
||||
# Adding optimization introduces certain risks, since for example not all optimizations performed by
|
||||
# ProGuard works on all versions of Dalvik. The following flags turn off various optimizations
|
||||
# known to have issues, but the list may not be complete or up to date. (The "arithmetic"
|
||||
# optimization can be used if you are only targeting Android 2.0 or later.) Make sure you test
|
||||
# thoroughly if you go this route.
|
||||
-optimizations !code/simplification/arithmetic,!code/simplification/cast,!field/*,!class/merging/*
|
||||
-optimizationpasses 5
|
||||
-allowaccessmodification
|
||||
|
||||
-dontusemixedcaseclassnames
|
||||
-dontskipnonpubliclibraryclasses
|
||||
-verbose
|
||||
|
||||
# Preserve some attributes that may be required for reflection.
|
||||
-keepattributes AnnotationDefault,
|
||||
EnclosingMethod,
|
||||
InnerClasses,
|
||||
RuntimeVisibleAnnotations,
|
||||
RuntimeVisibleParameterAnnotations,
|
||||
RuntimeVisibleTypeAnnotations,
|
||||
Signature
|
||||
|
||||
-keep public class com.google.vending.licensing.ILicensingService
|
||||
-keep public class com.android.vending.licensing.ILicensingService
|
||||
-keep public class com.google.android.vending.licensing.ILicensingService
|
||||
-dontnote com.android.vending.licensing.ILicensingService
|
||||
-dontnote com.google.vending.licensing.ILicensingService
|
||||
-dontnote com.google.android.vending.licensing.ILicensingService
|
||||
|
||||
# For native methods, see http://proguard.sourceforge.net/manual/examples.html#native
|
||||
-keepclasseswithmembernames,includedescriptorclasses class * {
|
||||
native <methods>;
|
||||
}
|
||||
|
||||
# Keep setters in Views so that animations can still work.
|
||||
-keepclassmembers public class * extends android.view.View {
|
||||
void set*(***);
|
||||
*** get*();
|
||||
}
|
||||
|
||||
# We want to keep methods in Activity that could be used in the XML attribute onClick.
|
||||
-keepclassmembers class * extends android.app.Activity {
|
||||
public void *(android.view.View);
|
||||
}
|
||||
|
||||
# For enumeration classes, see http://proguard.sourceforge.net/manual/examples.html#enumerations
|
||||
-keepclassmembers enum * {
|
||||
public static **[] values();
|
||||
public static ** valueOf(java.lang.String);
|
||||
}
|
||||
|
||||
-keepclassmembers class * implements android.os.Parcelable {
|
||||
public static final ** CREATOR;
|
||||
}
|
||||
|
||||
# Preserve annotated Javascript interface methods.
|
||||
-keepclassmembers class * {
|
||||
@android.webkit.JavascriptInterface <methods>;
|
||||
}
|
||||
|
||||
# The support libraries contains references to newer platform versions.
|
||||
# Don't warn about those in case this app is linking against an older
|
||||
# platform version. We know about them, and they are safe.
|
||||
-dontnote android.support.**
|
||||
-dontnote androidx.**
|
||||
-dontwarn android.support.**
|
||||
-dontwarn androidx.**
|
||||
|
||||
# This class is deprecated, but remains for backward compatibility.
|
||||
-dontwarn android.util.FloatMath
|
||||
|
||||
# Understand the @Keep support annotation.
|
||||
-keep class android.support.annotation.Keep
|
||||
-keep class androidx.annotation.Keep
|
||||
|
||||
-keep @android.support.annotation.Keep class * {*;}
|
||||
-keep @androidx.annotation.Keep class * {*;}
|
||||
|
||||
-keepclasseswithmembers class * {
|
||||
@android.support.annotation.Keep <methods>;
|
||||
}
|
||||
|
||||
-keepclasseswithmembers class * {
|
||||
@androidx.annotation.Keep <methods>;
|
||||
}
|
||||
|
||||
-keepclasseswithmembers class * {
|
||||
@android.support.annotation.Keep <fields>;
|
||||
}
|
||||
|
||||
-keepclasseswithmembers class * {
|
||||
@androidx.annotation.Keep <fields>;
|
||||
}
|
||||
|
||||
-keepclasseswithmembers class * {
|
||||
@android.support.annotation.Keep <init>(...);
|
||||
}
|
||||
|
||||
-keepclasseswithmembers class * {
|
||||
@androidx.annotation.Keep <init>(...);
|
||||
}
|
||||
|
||||
# These classes are duplicated between android.jar and org.apache.http.legacy.jar.
|
||||
-dontnote org.apache.http.**
|
||||
-dontnote android.net.http.**
|
||||
|
||||
# These classes are duplicated between android.jar and core-lambda-stubs.jar.
|
||||
-dontnote java.lang.invoke.**
|
||||
@@ -0,0 +1,116 @@
|
||||
# This is a configuration file for ProGuard.
|
||||
# http://proguard.sourceforge.net/index.html#manual/usage.html
|
||||
#
|
||||
# Starting with version 2.2 of the Android plugin for Gradle, this file is distributed together with
|
||||
# the plugin and unpacked at build-time. The files in $ANDROID_HOME are no longer maintained and
|
||||
# will be ignored by new version of the Android plugin for Gradle.
|
||||
|
||||
# Optimization is turned off by default. Dex does not like code run
|
||||
# through the ProGuard optimize steps (and performs some
|
||||
# of these optimizations on its own).
|
||||
# Note that if you want to enable optimization, you cannot just
|
||||
# include optimization flags in your own project configuration file;
|
||||
# instead you will need to point to the
|
||||
# "proguard-android-optimize.txt" file instead of this one from your
|
||||
# project.properties file.
|
||||
-dontoptimize
|
||||
|
||||
-dontusemixedcaseclassnames
|
||||
-dontskipnonpubliclibraryclasses
|
||||
-verbose
|
||||
|
||||
# Preserve some attributes that may be required for reflection.
|
||||
-keepattributes AnnotationDefault,
|
||||
EnclosingMethod,
|
||||
InnerClasses,
|
||||
RuntimeVisibleAnnotations,
|
||||
RuntimeVisibleParameterAnnotations,
|
||||
RuntimeVisibleTypeAnnotations,
|
||||
Signature
|
||||
|
||||
-keep public class com.google.vending.licensing.ILicensingService
|
||||
-keep public class com.android.vending.licensing.ILicensingService
|
||||
-keep public class com.google.android.vending.licensing.ILicensingService
|
||||
-dontnote com.android.vending.licensing.ILicensingService
|
||||
-dontnote com.google.vending.licensing.ILicensingService
|
||||
-dontnote com.google.android.vending.licensing.ILicensingService
|
||||
|
||||
# For native methods, see http://proguard.sourceforge.net/manual/examples.html#native
|
||||
-keepclasseswithmembernames,includedescriptorclasses class * {
|
||||
native <methods>;
|
||||
}
|
||||
|
||||
# Keep setters in Views so that animations can still work.
|
||||
-keepclassmembers public class * extends android.view.View {
|
||||
void set*(***);
|
||||
*** get*();
|
||||
}
|
||||
|
||||
# We want to keep methods in Activity that could be used in the XML attribute onClick.
|
||||
-keepclassmembers class * extends android.app.Activity {
|
||||
public void *(android.view.View);
|
||||
}
|
||||
|
||||
# For enumeration classes, see http://proguard.sourceforge.net/manual/examples.html#enumerations
|
||||
-keepclassmembers enum * {
|
||||
public static **[] values();
|
||||
public static ** valueOf(java.lang.String);
|
||||
}
|
||||
|
||||
-keepclassmembers class * implements android.os.Parcelable {
|
||||
public static final ** CREATOR;
|
||||
}
|
||||
|
||||
# Preserve annotated Javascript interface methods.
|
||||
-keepclassmembers class * {
|
||||
@android.webkit.JavascriptInterface <methods>;
|
||||
}
|
||||
|
||||
# The support libraries contains references to newer platform versions.
|
||||
# Don't warn about those in case this app is linking against an older
|
||||
# platform version. We know about them, and they are safe.
|
||||
-dontnote android.support.**
|
||||
-dontnote androidx.**
|
||||
-dontwarn android.support.**
|
||||
-dontwarn androidx.**
|
||||
|
||||
# This class is deprecated, but remains for backward compatibility.
|
||||
-dontwarn android.util.FloatMath
|
||||
|
||||
# Understand the @Keep support annotation.
|
||||
-keep class android.support.annotation.Keep
|
||||
-keep class androidx.annotation.Keep
|
||||
|
||||
-keep @android.support.annotation.Keep class * {*;}
|
||||
-keep @androidx.annotation.Keep class * {*;}
|
||||
|
||||
-keepclasseswithmembers class * {
|
||||
@android.support.annotation.Keep <methods>;
|
||||
}
|
||||
|
||||
-keepclasseswithmembers class * {
|
||||
@androidx.annotation.Keep <methods>;
|
||||
}
|
||||
|
||||
-keepclasseswithmembers class * {
|
||||
@android.support.annotation.Keep <fields>;
|
||||
}
|
||||
|
||||
-keepclasseswithmembers class * {
|
||||
@androidx.annotation.Keep <fields>;
|
||||
}
|
||||
|
||||
-keepclasseswithmembers class * {
|
||||
@android.support.annotation.Keep <init>(...);
|
||||
}
|
||||
|
||||
-keepclasseswithmembers class * {
|
||||
@androidx.annotation.Keep <init>(...);
|
||||
}
|
||||
|
||||
# These classes are duplicated between android.jar and org.apache.http.legacy.jar.
|
||||
-dontnote org.apache.http.**
|
||||
-dontnote android.net.http.**
|
||||
|
||||
# These classes are duplicated between android.jar and core-lambda-stubs.jar.
|
||||
-dontnote java.lang.invoke.**
|
||||
@@ -0,0 +1,117 @@
|
||||
# This is a configuration file for ProGuard.
|
||||
# http://proguard.sourceforge.net/index.html#manual/usage.html
|
||||
#
|
||||
# Starting with version 2.2 of the Android plugin for Gradle, this file is distributed together with
|
||||
# the plugin and unpacked at build-time. The files in $ANDROID_HOME are no longer maintained and
|
||||
# will be ignored by new version of the Android plugin for Gradle.
|
||||
|
||||
# Optimizations can be turned on and off in the 'postProcessing' DSL block.
|
||||
# The configuration below is applied if optimizations are enabled.
|
||||
# Adding optimization introduces certain risks, since for example not all optimizations performed by
|
||||
# ProGuard works on all versions of Dalvik. The following flags turn off various optimizations
|
||||
# known to have issues, but the list may not be complete or up to date. (The "arithmetic"
|
||||
# optimization can be used if you are only targeting Android 2.0 or later.) Make sure you test
|
||||
# thoroughly if you go this route.
|
||||
-optimizations !code/simplification/arithmetic,!code/simplification/cast,!field/*,!class/merging/*
|
||||
-optimizationpasses 5
|
||||
-allowaccessmodification
|
||||
|
||||
-dontusemixedcaseclassnames
|
||||
-dontskipnonpubliclibraryclasses
|
||||
-verbose
|
||||
|
||||
# Preserve some attributes that may be required for reflection.
|
||||
-keepattributes AnnotationDefault,
|
||||
EnclosingMethod,
|
||||
InnerClasses,
|
||||
RuntimeVisibleAnnotations,
|
||||
RuntimeVisibleParameterAnnotations,
|
||||
RuntimeVisibleTypeAnnotations,
|
||||
Signature
|
||||
|
||||
-keep public class com.google.vending.licensing.ILicensingService
|
||||
-keep public class com.android.vending.licensing.ILicensingService
|
||||
-keep public class com.google.android.vending.licensing.ILicensingService
|
||||
-dontnote com.android.vending.licensing.ILicensingService
|
||||
-dontnote com.google.vending.licensing.ILicensingService
|
||||
-dontnote com.google.android.vending.licensing.ILicensingService
|
||||
|
||||
# For native methods, see http://proguard.sourceforge.net/manual/examples.html#native
|
||||
-keepclasseswithmembernames,includedescriptorclasses class * {
|
||||
native <methods>;
|
||||
}
|
||||
|
||||
# Keep setters in Views so that animations can still work.
|
||||
-keepclassmembers public class * extends android.view.View {
|
||||
void set*(***);
|
||||
*** get*();
|
||||
}
|
||||
|
||||
# We want to keep methods in Activity that could be used in the XML attribute onClick.
|
||||
-keepclassmembers class * extends android.app.Activity {
|
||||
public void *(android.view.View);
|
||||
}
|
||||
|
||||
# For enumeration classes, see http://proguard.sourceforge.net/manual/examples.html#enumerations
|
||||
-keepclassmembers enum * {
|
||||
public static **[] values();
|
||||
public static ** valueOf(java.lang.String);
|
||||
}
|
||||
|
||||
-keepclassmembers class * implements android.os.Parcelable {
|
||||
public static final ** CREATOR;
|
||||
}
|
||||
|
||||
# Preserve annotated Javascript interface methods.
|
||||
-keepclassmembers class * {
|
||||
@android.webkit.JavascriptInterface <methods>;
|
||||
}
|
||||
|
||||
# The support libraries contains references to newer platform versions.
|
||||
# Don't warn about those in case this app is linking against an older
|
||||
# platform version. We know about them, and they are safe.
|
||||
-dontnote android.support.**
|
||||
-dontnote androidx.**
|
||||
-dontwarn android.support.**
|
||||
-dontwarn androidx.**
|
||||
|
||||
# This class is deprecated, but remains for backward compatibility.
|
||||
-dontwarn android.util.FloatMath
|
||||
|
||||
# Understand the @Keep support annotation.
|
||||
-keep class android.support.annotation.Keep
|
||||
-keep class androidx.annotation.Keep
|
||||
|
||||
-keep @android.support.annotation.Keep class * {*;}
|
||||
-keep @androidx.annotation.Keep class * {*;}
|
||||
|
||||
-keepclasseswithmembers class * {
|
||||
@android.support.annotation.Keep <methods>;
|
||||
}
|
||||
|
||||
-keepclasseswithmembers class * {
|
||||
@androidx.annotation.Keep <methods>;
|
||||
}
|
||||
|
||||
-keepclasseswithmembers class * {
|
||||
@android.support.annotation.Keep <fields>;
|
||||
}
|
||||
|
||||
-keepclasseswithmembers class * {
|
||||
@androidx.annotation.Keep <fields>;
|
||||
}
|
||||
|
||||
-keepclasseswithmembers class * {
|
||||
@android.support.annotation.Keep <init>(...);
|
||||
}
|
||||
|
||||
-keepclasseswithmembers class * {
|
||||
@androidx.annotation.Keep <init>(...);
|
||||
}
|
||||
|
||||
# These classes are duplicated between android.jar and org.apache.http.legacy.jar.
|
||||
-dontnote org.apache.http.**
|
||||
-dontnote android.net.http.**
|
||||
|
||||
# These classes are duplicated between android.jar and core-lambda-stubs.jar.
|
||||
-dontnote java.lang.invoke.**
|
||||
Binary file not shown.
@@ -0,0 +1,18 @@
|
||||
<lint-module
|
||||
format="1"
|
||||
dir="E:\VolkSwagen\OpenSource-Settings\CariadSettings\SettingsLib\HelpUtils"
|
||||
name=":SettingsLib:HelpUtils"
|
||||
type="LIBRARY"
|
||||
maven="CariadSettings.SettingsLib:HelpUtils:"
|
||||
agpVersion="8.2.2"
|
||||
buildFolder="build"
|
||||
bootClassPath="E:\SDK\AndroidSDK\platforms\android-34\android.jar;E:\SDK\AndroidSDK\build-tools\34.0.0\core-lambda-stubs.jar"
|
||||
javaSourceLevel="17"
|
||||
compileTarget="android-34"
|
||||
neverShrinking="true">
|
||||
<lintOptions
|
||||
absolutePaths="true"
|
||||
checkReleaseBuilds="true"
|
||||
explainIssues="true"/>
|
||||
<variant name="release"/>
|
||||
</lint-module>
|
||||
@@ -0,0 +1,47 @@
|
||||
<dependencies>
|
||||
<compile
|
||||
roots="__local_aars__:E:\VolkSwagen\OpenSource-Settings\CariadSettings\libs\framework.jar:unspecified@jar,org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.0@jar,org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.9.0@jar,androidx.annotation:annotation-jvm:1.8.0-alpha01@jar,org.jetbrains.kotlin:kotlin-stdlib:1.9.0@jar,org.jetbrains.kotlin:kotlin-stdlib-common:1.9.0@jar,org.jetbrains:annotations:13.0@jar">
|
||||
<dependency
|
||||
name="__local_aars__:E:\VolkSwagen\OpenSource-Settings\CariadSettings\libs\framework.jar:unspecified@jar"
|
||||
simpleName="__local_aars__:E:\VolkSwagen\OpenSource-Settings\CariadSettings\libs\framework.jar"/>
|
||||
<dependency
|
||||
name="org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.0@jar"
|
||||
simpleName="org.jetbrains.kotlin:kotlin-stdlib-jdk8"/>
|
||||
<dependency
|
||||
name="org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.9.0@jar"
|
||||
simpleName="org.jetbrains.kotlin:kotlin-stdlib-jdk7"/>
|
||||
<dependency
|
||||
name="androidx.annotation:annotation-jvm:1.8.0-alpha01@jar"
|
||||
simpleName="androidx.annotation:annotation-jvm"/>
|
||||
<dependency
|
||||
name="org.jetbrains.kotlin:kotlin-stdlib:1.9.0@jar"
|
||||
simpleName="org.jetbrains.kotlin:kotlin-stdlib"/>
|
||||
<dependency
|
||||
name="org.jetbrains.kotlin:kotlin-stdlib-common:1.9.0@jar"
|
||||
simpleName="org.jetbrains.kotlin:kotlin-stdlib-common"/>
|
||||
<dependency
|
||||
name="org.jetbrains:annotations:13.0@jar"
|
||||
simpleName="org.jetbrains:annotations"/>
|
||||
</compile>
|
||||
<package
|
||||
roots="org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.0@jar,org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.9.0@jar,androidx.annotation:annotation-jvm:1.8.0-alpha01@jar,org.jetbrains.kotlin:kotlin-stdlib:1.9.0@jar,org.jetbrains.kotlin:kotlin-stdlib-common:1.9.0@jar,org.jetbrains:annotations:13.0@jar">
|
||||
<dependency
|
||||
name="org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.0@jar"
|
||||
simpleName="org.jetbrains.kotlin:kotlin-stdlib-jdk8"/>
|
||||
<dependency
|
||||
name="org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.9.0@jar"
|
||||
simpleName="org.jetbrains.kotlin:kotlin-stdlib-jdk7"/>
|
||||
<dependency
|
||||
name="androidx.annotation:annotation-jvm:1.8.0-alpha01@jar"
|
||||
simpleName="androidx.annotation:annotation-jvm"/>
|
||||
<dependency
|
||||
name="org.jetbrains.kotlin:kotlin-stdlib:1.9.0@jar"
|
||||
simpleName="org.jetbrains.kotlin:kotlin-stdlib"/>
|
||||
<dependency
|
||||
name="org.jetbrains.kotlin:kotlin-stdlib-common:1.9.0@jar"
|
||||
simpleName="org.jetbrains.kotlin:kotlin-stdlib-common"/>
|
||||
<dependency
|
||||
name="org.jetbrains:annotations:13.0@jar"
|
||||
simpleName="org.jetbrains:annotations"/>
|
||||
</package>
|
||||
</dependencies>
|
||||
@@ -0,0 +1,31 @@
|
||||
<libraries>
|
||||
<library
|
||||
name="__local_aars__:E:\VolkSwagen\OpenSource-Settings\CariadSettings\libs\framework.jar:unspecified@jar"
|
||||
jars="E:\VolkSwagen\OpenSource-Settings\CariadSettings\libs\framework.jar"
|
||||
resolved="__local_aars__:E:\VolkSwagen\OpenSource-Settings\CariadSettings\libs\framework.jar:unspecified"
|
||||
provided="true"/>
|
||||
<library
|
||||
name="org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.0@jar"
|
||||
jars="C:\Users\xiaoy\.gradle\caches\modules-2\files-2.1\org.jetbrains.kotlin\kotlin-stdlib-jdk8\1.9.0\e000bd084353d84c9e888f6fb341dc1f5b79d948\kotlin-stdlib-jdk8-1.9.0.jar"
|
||||
resolved="org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.0"/>
|
||||
<library
|
||||
name="org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.9.0@jar"
|
||||
jars="C:\Users\xiaoy\.gradle\caches\modules-2\files-2.1\org.jetbrains.kotlin\kotlin-stdlib-jdk7\1.9.0\f320478990d05e0cfaadd74f9619fd6027adbf37\kotlin-stdlib-jdk7-1.9.0.jar"
|
||||
resolved="org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.9.0"/>
|
||||
<library
|
||||
name="androidx.annotation:annotation-jvm:1.8.0-alpha01@jar"
|
||||
jars="C:\Users\xiaoy\.gradle\caches\modules-2\files-2.1\androidx.annotation\annotation-jvm\1.8.0-alpha01\b8a16fe526014b7941c1debaccaf9c5153692dbb\annotation-jvm-1.8.0-alpha01.jar"
|
||||
resolved="androidx.annotation:annotation-jvm:1.8.0-alpha01"/>
|
||||
<library
|
||||
name="org.jetbrains.kotlin:kotlin-stdlib:1.9.0@jar"
|
||||
jars="C:\Users\xiaoy\.gradle\caches\modules-2\files-2.1\org.jetbrains.kotlin\kotlin-stdlib\1.9.0\8ee15ef0c67dc83d874f412d84378d7f0eb50b63\kotlin-stdlib-1.9.0.jar"
|
||||
resolved="org.jetbrains.kotlin:kotlin-stdlib:1.9.0"/>
|
||||
<library
|
||||
name="org.jetbrains.kotlin:kotlin-stdlib-common:1.9.0@jar"
|
||||
jars="C:\Users\xiaoy\.gradle\caches\modules-2\files-2.1\org.jetbrains.kotlin\kotlin-stdlib-common\1.9.0\cd65c21cfd1eec4d44ef09f9f52b6d9f8a720636\kotlin-stdlib-common-1.9.0.jar"
|
||||
resolved="org.jetbrains.kotlin:kotlin-stdlib-common:1.9.0"/>
|
||||
<library
|
||||
name="org.jetbrains:annotations:13.0@jar"
|
||||
jars="C:\Users\xiaoy\.gradle\caches\modules-2\files-2.1\org.jetbrains\annotations\13.0\919f0dfe192fb4e063e7dacadee7f8bb9a2672a9\annotations-13.0.jar"
|
||||
resolved="org.jetbrains:annotations:13.0"/>
|
||||
</libraries>
|
||||
@@ -0,0 +1,31 @@
|
||||
<variant
|
||||
name="release"
|
||||
package="com.android.settingslib.widget.help"
|
||||
minSdkVersion="31"
|
||||
targetSdkVersion="34"
|
||||
mergedManifest="build\intermediates\merged_manifest\release\AndroidManifest.xml"
|
||||
proguardFiles="build\intermediates\default_proguard_files\global\proguard-android.txt-8.2.2"
|
||||
partialResultsDir="build\intermediates\lint_vital_partial_results\release\out"
|
||||
desugaredMethodsFiles="C:\Users\xiaoy\.gradle\caches\transforms-3\927528a13bef0f2a04be433f28c99185\transformed\D8BackportedDesugaredMethods.txt">
|
||||
<buildFeatures
|
||||
namespacing="REQUIRED"/>
|
||||
<sourceProviders>
|
||||
<sourceProvider
|
||||
manifests="AndroidManifest.xml"
|
||||
javaDirectories="src;src\release\java;src\main\kotlin;src\release\kotlin"
|
||||
resDirectories="res;src\release\res"
|
||||
assetsDirectories="src\main\assets;src\release\assets"/>
|
||||
</sourceProviders>
|
||||
<testSourceProviders>
|
||||
</testSourceProviders>
|
||||
<testFixturesSourceProviders>
|
||||
</testFixturesSourceProviders>
|
||||
<artifact
|
||||
classOutputs="build\intermediates\javac\release\classes;build\tmp\kotlin-classes\release;build\intermediates\compile_r_class_jar\release\R.jar"
|
||||
type="MAIN"
|
||||
applicationId="com.android.settingslib.widget.help"
|
||||
generatedSourceFolders="build\generated\ap_generated_sources\release\out"
|
||||
generatedResourceFolders="build\generated\res\resValues\release"
|
||||
desugaredMethodsFiles="C:\Users\xiaoy\.gradle\caches\transforms-3\927528a13bef0f2a04be433f28c99185\transformed\D8BackportedDesugaredMethods.txt">
|
||||
</artifact>
|
||||
</variant>
|
||||
@@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="E:\VolkSwagen\OpenSource-Settings\CariadSettings\SettingsLib\HelpUtils\src\main\jniLibs"/></dataSet><dataSet config="release" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="E:\VolkSwagen\OpenSource-Settings\CariadSettings\SettingsLib\HelpUtils\src\release\jniLibs"/></dataSet></merger>
|
||||
@@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="E:\VolkSwagen\OpenSource-Settings\CariadSettings\SettingsLib\HelpUtils\src\main\shaders"/></dataSet><dataSet config="release" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="E:\VolkSwagen\OpenSource-Settings\CariadSettings\SettingsLib\HelpUtils\src\release\shaders"/></dataSet></merger>
|
||||
@@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="E:\VolkSwagen\OpenSource-Settings\CariadSettings\SettingsLib\HelpUtils\src\main\assets"/></dataSet><dataSet config="release" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="E:\VolkSwagen\OpenSource-Settings\CariadSettings\SettingsLib\HelpUtils\src\release\assets"/></dataSet><dataSet config="generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="E:\VolkSwagen\OpenSource-Settings\CariadSettings\SettingsLib\HelpUtils\build\intermediates\shader_assets\release\out"/></dataSet></merger>
|
||||
Binary file not shown.
@@ -0,0 +1,2 @@
|
||||
#Mon Dec 09 11:01:40 HKT 2024
|
||||
com.android.settingslib.widget.help.HelpUtils-HelpUtils-5\:/drawable/ic_help_actionbar.xml=E\:\\VolkSwagen\\OpenSource-Settings\\CariadSettings\\SettingsLib\\HelpUtils\\build\\intermediates\\packaged_res\\release\\drawable\\ic_help_actionbar.xml
|
||||
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string msgid="7106780063063027882" name="help_feedback_label">"帮助和反馈"</string>
|
||||
</resources>
|
||||
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="help_feedback_label">Help & feedback</string>
|
||||
</resources>
|
||||
@@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<merger version="3"><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="main$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="E:\VolkSwagen\OpenSource-Settings\CariadSettings\SettingsLib\HelpUtils\res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="main" generated-set="main$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="E:\VolkSwagen\OpenSource-Settings\CariadSettings\SettingsLib\HelpUtils\res"><file name="ic_help_actionbar" path="E:\VolkSwagen\OpenSource-Settings\CariadSettings\SettingsLib\HelpUtils\res\drawable\ic_help_actionbar.xml" qualifiers="" type="drawable"/><file path="E:\VolkSwagen\OpenSource-Settings\CariadSettings\SettingsLib\HelpUtils\res\values\strings.xml" qualifiers=""><string name="help_feedback_label">Help & feedback</string></file><file path="E:\VolkSwagen\OpenSource-Settings\CariadSettings\SettingsLib\HelpUtils\res\values-zh-rCN\strings.xml" qualifiers="zh-rCN"><string msgid="7106780063063027882" name="help_feedback_label">"帮助和反馈"</string></file></source></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="release$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="E:\VolkSwagen\OpenSource-Settings\CariadSettings\SettingsLib\HelpUtils\src\release\res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="release" generated-set="release$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="E:\VolkSwagen\OpenSource-Settings\CariadSettings\SettingsLib\HelpUtils\src\release\res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="generated$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="E:\VolkSwagen\OpenSource-Settings\CariadSettings\SettingsLib\HelpUtils\build\generated\res\resValues\release"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="generated" generated-set="generated$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="E:\VolkSwagen\OpenSource-Settings\CariadSettings\SettingsLib\HelpUtils\build\generated\res\resValues\release"/></dataSet><mergedItems/></merger>
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
Cache for Android Lint31.2.2
|
||||
@@ -0,0 +1,18 @@
|
||||
<lint-module
|
||||
format="1"
|
||||
dir="E:\VolkSwagen\OpenSource-Settings\CariadSettings\SettingsLib\HelpUtils"
|
||||
name=":SettingsLib:HelpUtils"
|
||||
type="LIBRARY"
|
||||
maven="CariadSettings.SettingsLib:HelpUtils:"
|
||||
agpVersion="8.2.2"
|
||||
buildFolder="build"
|
||||
bootClassPath="E:\SDK\AndroidSDK\platforms\android-34\android.jar;E:\SDK\AndroidSDK\build-tools\34.0.0\core-lambda-stubs.jar"
|
||||
javaSourceLevel="17"
|
||||
compileTarget="android-34"
|
||||
neverShrinking="true">
|
||||
<lintOptions
|
||||
absolutePaths="true"
|
||||
checkReleaseBuilds="true"
|
||||
explainIssues="true"/>
|
||||
<variant name="release"/>
|
||||
</lint-module>
|
||||
@@ -0,0 +1,47 @@
|
||||
<dependencies>
|
||||
<compile
|
||||
roots="__local_aars__:E:\VolkSwagen\OpenSource-Settings\CariadSettings\libs\framework.jar:unspecified@jar,org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.0@jar,org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.9.0@jar,androidx.annotation:annotation-jvm:1.8.0-alpha01@jar,org.jetbrains.kotlin:kotlin-stdlib:1.9.0@jar,org.jetbrains.kotlin:kotlin-stdlib-common:1.9.0@jar,org.jetbrains:annotations:13.0@jar">
|
||||
<dependency
|
||||
name="__local_aars__:E:\VolkSwagen\OpenSource-Settings\CariadSettings\libs\framework.jar:unspecified@jar"
|
||||
simpleName="__local_aars__:E:\VolkSwagen\OpenSource-Settings\CariadSettings\libs\framework.jar"/>
|
||||
<dependency
|
||||
name="org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.0@jar"
|
||||
simpleName="org.jetbrains.kotlin:kotlin-stdlib-jdk8"/>
|
||||
<dependency
|
||||
name="org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.9.0@jar"
|
||||
simpleName="org.jetbrains.kotlin:kotlin-stdlib-jdk7"/>
|
||||
<dependency
|
||||
name="androidx.annotation:annotation-jvm:1.8.0-alpha01@jar"
|
||||
simpleName="androidx.annotation:annotation-jvm"/>
|
||||
<dependency
|
||||
name="org.jetbrains.kotlin:kotlin-stdlib:1.9.0@jar"
|
||||
simpleName="org.jetbrains.kotlin:kotlin-stdlib"/>
|
||||
<dependency
|
||||
name="org.jetbrains.kotlin:kotlin-stdlib-common:1.9.0@jar"
|
||||
simpleName="org.jetbrains.kotlin:kotlin-stdlib-common"/>
|
||||
<dependency
|
||||
name="org.jetbrains:annotations:13.0@jar"
|
||||
simpleName="org.jetbrains:annotations"/>
|
||||
</compile>
|
||||
<package
|
||||
roots="org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.0@jar,org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.9.0@jar,androidx.annotation:annotation-jvm:1.8.0-alpha01@jar,org.jetbrains.kotlin:kotlin-stdlib:1.9.0@jar,org.jetbrains.kotlin:kotlin-stdlib-common:1.9.0@jar,org.jetbrains:annotations:13.0@jar">
|
||||
<dependency
|
||||
name="org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.0@jar"
|
||||
simpleName="org.jetbrains.kotlin:kotlin-stdlib-jdk8"/>
|
||||
<dependency
|
||||
name="org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.9.0@jar"
|
||||
simpleName="org.jetbrains.kotlin:kotlin-stdlib-jdk7"/>
|
||||
<dependency
|
||||
name="androidx.annotation:annotation-jvm:1.8.0-alpha01@jar"
|
||||
simpleName="androidx.annotation:annotation-jvm"/>
|
||||
<dependency
|
||||
name="org.jetbrains.kotlin:kotlin-stdlib:1.9.0@jar"
|
||||
simpleName="org.jetbrains.kotlin:kotlin-stdlib"/>
|
||||
<dependency
|
||||
name="org.jetbrains.kotlin:kotlin-stdlib-common:1.9.0@jar"
|
||||
simpleName="org.jetbrains.kotlin:kotlin-stdlib-common"/>
|
||||
<dependency
|
||||
name="org.jetbrains:annotations:13.0@jar"
|
||||
simpleName="org.jetbrains:annotations"/>
|
||||
</package>
|
||||
</dependencies>
|
||||
@@ -0,0 +1,31 @@
|
||||
<libraries>
|
||||
<library
|
||||
name="__local_aars__:E:\VolkSwagen\OpenSource-Settings\CariadSettings\libs\framework.jar:unspecified@jar"
|
||||
jars="E:\VolkSwagen\OpenSource-Settings\CariadSettings\libs\framework.jar"
|
||||
resolved="__local_aars__:E:\VolkSwagen\OpenSource-Settings\CariadSettings\libs\framework.jar:unspecified"
|
||||
provided="true"/>
|
||||
<library
|
||||
name="org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.0@jar"
|
||||
jars="C:\Users\xiaoy\.gradle\caches\modules-2\files-2.1\org.jetbrains.kotlin\kotlin-stdlib-jdk8\1.9.0\e000bd084353d84c9e888f6fb341dc1f5b79d948\kotlin-stdlib-jdk8-1.9.0.jar"
|
||||
resolved="org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.0"/>
|
||||
<library
|
||||
name="org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.9.0@jar"
|
||||
jars="C:\Users\xiaoy\.gradle\caches\modules-2\files-2.1\org.jetbrains.kotlin\kotlin-stdlib-jdk7\1.9.0\f320478990d05e0cfaadd74f9619fd6027adbf37\kotlin-stdlib-jdk7-1.9.0.jar"
|
||||
resolved="org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.9.0"/>
|
||||
<library
|
||||
name="androidx.annotation:annotation-jvm:1.8.0-alpha01@jar"
|
||||
jars="C:\Users\xiaoy\.gradle\caches\modules-2\files-2.1\androidx.annotation\annotation-jvm\1.8.0-alpha01\b8a16fe526014b7941c1debaccaf9c5153692dbb\annotation-jvm-1.8.0-alpha01.jar"
|
||||
resolved="androidx.annotation:annotation-jvm:1.8.0-alpha01"/>
|
||||
<library
|
||||
name="org.jetbrains.kotlin:kotlin-stdlib:1.9.0@jar"
|
||||
jars="C:\Users\xiaoy\.gradle\caches\modules-2\files-2.1\org.jetbrains.kotlin\kotlin-stdlib\1.9.0\8ee15ef0c67dc83d874f412d84378d7f0eb50b63\kotlin-stdlib-1.9.0.jar"
|
||||
resolved="org.jetbrains.kotlin:kotlin-stdlib:1.9.0"/>
|
||||
<library
|
||||
name="org.jetbrains.kotlin:kotlin-stdlib-common:1.9.0@jar"
|
||||
jars="C:\Users\xiaoy\.gradle\caches\modules-2\files-2.1\org.jetbrains.kotlin\kotlin-stdlib-common\1.9.0\cd65c21cfd1eec4d44ef09f9f52b6d9f8a720636\kotlin-stdlib-common-1.9.0.jar"
|
||||
resolved="org.jetbrains.kotlin:kotlin-stdlib-common:1.9.0"/>
|
||||
<library
|
||||
name="org.jetbrains:annotations:13.0@jar"
|
||||
jars="C:\Users\xiaoy\.gradle\caches\modules-2\files-2.1\org.jetbrains\annotations\13.0\919f0dfe192fb4e063e7dacadee7f8bb9a2672a9\annotations-13.0.jar"
|
||||
resolved="org.jetbrains:annotations:13.0"/>
|
||||
</libraries>
|
||||
@@ -0,0 +1,50 @@
|
||||
<dependencies>
|
||||
<compile
|
||||
roots=":@@:SettingsLib:HelpUtils::release,org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.0@jar,org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.9.0@jar,androidx.annotation:annotation-jvm:1.8.0-alpha01@jar,org.jetbrains.kotlin:kotlin-stdlib:1.9.0@jar,org.jetbrains.kotlin:kotlin-stdlib-common:1.9.0@jar,org.jetbrains:annotations:13.0@jar">
|
||||
<dependency
|
||||
name=":@@:SettingsLib:HelpUtils::release"
|
||||
simpleName="CariadSettings.SettingsLib:HelpUtils"/>
|
||||
<dependency
|
||||
name="org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.0@jar"
|
||||
simpleName="org.jetbrains.kotlin:kotlin-stdlib-jdk8"/>
|
||||
<dependency
|
||||
name="org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.9.0@jar"
|
||||
simpleName="org.jetbrains.kotlin:kotlin-stdlib-jdk7"/>
|
||||
<dependency
|
||||
name="androidx.annotation:annotation-jvm:1.8.0-alpha01@jar"
|
||||
simpleName="androidx.annotation:annotation-jvm"/>
|
||||
<dependency
|
||||
name="org.jetbrains.kotlin:kotlin-stdlib:1.9.0@jar"
|
||||
simpleName="org.jetbrains.kotlin:kotlin-stdlib"/>
|
||||
<dependency
|
||||
name="org.jetbrains.kotlin:kotlin-stdlib-common:1.9.0@jar"
|
||||
simpleName="org.jetbrains.kotlin:kotlin-stdlib-common"/>
|
||||
<dependency
|
||||
name="org.jetbrains:annotations:13.0@jar"
|
||||
simpleName="org.jetbrains:annotations"/>
|
||||
</compile>
|
||||
<package
|
||||
roots=":@@:SettingsLib:HelpUtils::release,org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.0@jar,org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.9.0@jar,androidx.annotation:annotation-jvm:1.8.0-alpha01@jar,org.jetbrains.kotlin:kotlin-stdlib:1.9.0@jar,org.jetbrains.kotlin:kotlin-stdlib-common:1.9.0@jar,org.jetbrains:annotations:13.0@jar">
|
||||
<dependency
|
||||
name=":@@:SettingsLib:HelpUtils::release"
|
||||
simpleName="CariadSettings.SettingsLib:HelpUtils"/>
|
||||
<dependency
|
||||
name="org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.0@jar"
|
||||
simpleName="org.jetbrains.kotlin:kotlin-stdlib-jdk8"/>
|
||||
<dependency
|
||||
name="org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.9.0@jar"
|
||||
simpleName="org.jetbrains.kotlin:kotlin-stdlib-jdk7"/>
|
||||
<dependency
|
||||
name="androidx.annotation:annotation-jvm:1.8.0-alpha01@jar"
|
||||
simpleName="androidx.annotation:annotation-jvm"/>
|
||||
<dependency
|
||||
name="org.jetbrains.kotlin:kotlin-stdlib:1.9.0@jar"
|
||||
simpleName="org.jetbrains.kotlin:kotlin-stdlib"/>
|
||||
<dependency
|
||||
name="org.jetbrains.kotlin:kotlin-stdlib-common:1.9.0@jar"
|
||||
simpleName="org.jetbrains.kotlin:kotlin-stdlib-common"/>
|
||||
<dependency
|
||||
name="org.jetbrains:annotations:13.0@jar"
|
||||
simpleName="org.jetbrains:annotations"/>
|
||||
</package>
|
||||
</dependencies>
|
||||
@@ -0,0 +1,39 @@
|
||||
<libraries>
|
||||
<library
|
||||
name="org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.0@jar"
|
||||
jars="C:\Users\xiaoy\.gradle\caches\modules-2\files-2.1\org.jetbrains.kotlin\kotlin-stdlib-jdk8\1.9.0\e000bd084353d84c9e888f6fb341dc1f5b79d948\kotlin-stdlib-jdk8-1.9.0.jar"
|
||||
resolved="org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.0"/>
|
||||
<library
|
||||
name="org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.9.0@jar"
|
||||
jars="C:\Users\xiaoy\.gradle\caches\modules-2\files-2.1\org.jetbrains.kotlin\kotlin-stdlib-jdk7\1.9.0\f320478990d05e0cfaadd74f9619fd6027adbf37\kotlin-stdlib-jdk7-1.9.0.jar"
|
||||
resolved="org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.9.0"/>
|
||||
<library
|
||||
name="androidx.annotation:annotation-jvm:1.8.0-alpha01@jar"
|
||||
jars="C:\Users\xiaoy\.gradle\caches\modules-2\files-2.1\androidx.annotation\annotation-jvm\1.8.0-alpha01\b8a16fe526014b7941c1debaccaf9c5153692dbb\annotation-jvm-1.8.0-alpha01.jar"
|
||||
resolved="androidx.annotation:annotation-jvm:1.8.0-alpha01"/>
|
||||
<library
|
||||
name="org.jetbrains.kotlin:kotlin-stdlib:1.9.0@jar"
|
||||
jars="C:\Users\xiaoy\.gradle\caches\modules-2\files-2.1\org.jetbrains.kotlin\kotlin-stdlib\1.9.0\8ee15ef0c67dc83d874f412d84378d7f0eb50b63\kotlin-stdlib-1.9.0.jar"
|
||||
resolved="org.jetbrains.kotlin:kotlin-stdlib:1.9.0"/>
|
||||
<library
|
||||
name="org.jetbrains.kotlin:kotlin-stdlib-common:1.9.0@jar"
|
||||
jars="C:\Users\xiaoy\.gradle\caches\modules-2\files-2.1\org.jetbrains.kotlin\kotlin-stdlib-common\1.9.0\cd65c21cfd1eec4d44ef09f9f52b6d9f8a720636\kotlin-stdlib-common-1.9.0.jar"
|
||||
resolved="org.jetbrains.kotlin:kotlin-stdlib-common:1.9.0"/>
|
||||
<library
|
||||
name="org.jetbrains:annotations:13.0@jar"
|
||||
jars="C:\Users\xiaoy\.gradle\caches\modules-2\files-2.1\org.jetbrains\annotations\13.0\919f0dfe192fb4e063e7dacadee7f8bb9a2672a9\annotations-13.0.jar"
|
||||
resolved="org.jetbrains:annotations:13.0"/>
|
||||
<library
|
||||
name=":@@:SettingsLib:HelpUtils::release"
|
||||
jars="E:\VolkSwagen\OpenSource-Settings\CariadSettings\SettingsLib\HelpUtils\build\.transforms\925ff2389b64c73d06d162f5ef7b7512\transformed\out\jars\classes.jar;E:\VolkSwagen\OpenSource-Settings\CariadSettings\SettingsLib\HelpUtils\build\.transforms\925ff2389b64c73d06d162f5ef7b7512\transformed\out\jars\libs\R.jar"
|
||||
resolved="CariadSettings.SettingsLib:HelpUtils:unspecified"
|
||||
folder="E:\VolkSwagen\OpenSource-Settings\CariadSettings\SettingsLib\HelpUtils\build\.transforms\925ff2389b64c73d06d162f5ef7b7512\transformed\out"
|
||||
manifest="AndroidManifest.xml"
|
||||
resFolder="res"
|
||||
assetsFolder="assets"
|
||||
lintJar="lint.jar"
|
||||
publicResources="public.txt"
|
||||
symbolFile="R.txt"
|
||||
externalAnnotations="annotations.zip"
|
||||
proguardRules="proguard.txt"/>
|
||||
</libraries>
|
||||
@@ -0,0 +1,38 @@
|
||||
<variant
|
||||
name="release"
|
||||
package="com.android.settingslib.widget.help"
|
||||
minSdkVersion="31"
|
||||
targetSdkVersion="34"
|
||||
mergedManifest="build\intermediates\merged_manifest\release\AndroidManifest.xml"
|
||||
manifestMergeReport="build\outputs\logs\manifest-merger-release-report.txt"
|
||||
proguardFiles="build\intermediates\default_proguard_files\global\proguard-android.txt-8.2.2"
|
||||
partialResultsDir="build\intermediates\lint_partial_results\release\out">
|
||||
<buildFeatures
|
||||
namespacing="REQUIRED"/>
|
||||
<sourceProviders>
|
||||
<sourceProvider
|
||||
manifests="AndroidManifest.xml"
|
||||
javaDirectories="src;src\release\java;src\main\kotlin;src\release\kotlin"
|
||||
resDirectories="res;src\release\res"
|
||||
assetsDirectories="src\main\assets;src\release\assets"/>
|
||||
</sourceProviders>
|
||||
<testSourceProviders>
|
||||
<sourceProvider
|
||||
manifests="src\test\AndroidManifest.xml"
|
||||
javaDirectories="src\test\java;src\testRelease\java;src\test\kotlin;src\testRelease\kotlin"
|
||||
assetsDirectories="src\test\assets;src\testRelease\assets"
|
||||
unitTest="true"/>
|
||||
</testSourceProviders>
|
||||
<testFixturesSourceProviders>
|
||||
</testFixturesSourceProviders>
|
||||
<artifact
|
||||
classOutputs="build\intermediates\javac\release\classes;build\tmp\kotlin-classes\release;build\intermediates\compile_r_class_jar\release\R.jar"
|
||||
type="MAIN"
|
||||
applicationId="com.android.settingslib.widget.help"
|
||||
generatedSourceFolders="build\generated\ap_generated_sources\release\out"
|
||||
generatedResourceFolders="build\generated\res\resValues\release"
|
||||
desugaredMethodsFiles="C:\Users\xiaoy\.gradle\caches\transforms-3\927528a13bef0f2a04be433f28c99185\transformed\D8BackportedDesugaredMethods.txt">
|
||||
</artifact>
|
||||
<testArtifact>
|
||||
</testArtifact>
|
||||
</variant>
|
||||
@@ -0,0 +1,2 @@
|
||||
mavenArtifactId=HelpUtils
|
||||
mavenGroupId=CariadSettings.SettingsLib
|
||||
@@ -0,0 +1,18 @@
|
||||
<lint-module
|
||||
format="1"
|
||||
dir="E:\VolkSwagen\OpenSource-Settings\CariadSettings\SettingsLib\HelpUtils"
|
||||
name=":SettingsLib:HelpUtils"
|
||||
type="LIBRARY"
|
||||
maven="CariadSettings.SettingsLib:HelpUtils:"
|
||||
agpVersion="8.2.2"
|
||||
buildFolder="build"
|
||||
bootClassPath="E:\SDK\AndroidSDK\platforms\android-34\android.jar;E:\SDK\AndroidSDK\build-tools\34.0.0\core-lambda-stubs.jar"
|
||||
javaSourceLevel="17"
|
||||
compileTarget="android-34"
|
||||
neverShrinking="true">
|
||||
<lintOptions
|
||||
absolutePaths="true"
|
||||
checkReleaseBuilds="true"
|
||||
explainIssues="true"/>
|
||||
<variant name="release"/>
|
||||
</lint-module>
|
||||
@@ -0,0 +1,47 @@
|
||||
<dependencies>
|
||||
<compile
|
||||
roots="__local_aars__:E:\VolkSwagen\OpenSource-Settings\CariadSettings\libs\framework.jar:unspecified@jar,org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.0@jar,org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.9.0@jar,androidx.annotation:annotation-jvm:1.8.0-alpha01@jar,org.jetbrains.kotlin:kotlin-stdlib:1.9.0@jar,org.jetbrains.kotlin:kotlin-stdlib-common:1.9.0@jar,org.jetbrains:annotations:13.0@jar">
|
||||
<dependency
|
||||
name="__local_aars__:E:\VolkSwagen\OpenSource-Settings\CariadSettings\libs\framework.jar:unspecified@jar"
|
||||
simpleName="__local_aars__:E:\VolkSwagen\OpenSource-Settings\CariadSettings\libs\framework.jar"/>
|
||||
<dependency
|
||||
name="org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.0@jar"
|
||||
simpleName="org.jetbrains.kotlin:kotlin-stdlib-jdk8"/>
|
||||
<dependency
|
||||
name="org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.9.0@jar"
|
||||
simpleName="org.jetbrains.kotlin:kotlin-stdlib-jdk7"/>
|
||||
<dependency
|
||||
name="androidx.annotation:annotation-jvm:1.8.0-alpha01@jar"
|
||||
simpleName="androidx.annotation:annotation-jvm"/>
|
||||
<dependency
|
||||
name="org.jetbrains.kotlin:kotlin-stdlib:1.9.0@jar"
|
||||
simpleName="org.jetbrains.kotlin:kotlin-stdlib"/>
|
||||
<dependency
|
||||
name="org.jetbrains.kotlin:kotlin-stdlib-common:1.9.0@jar"
|
||||
simpleName="org.jetbrains.kotlin:kotlin-stdlib-common"/>
|
||||
<dependency
|
||||
name="org.jetbrains:annotations:13.0@jar"
|
||||
simpleName="org.jetbrains:annotations"/>
|
||||
</compile>
|
||||
<package
|
||||
roots="org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.0@jar,org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.9.0@jar,androidx.annotation:annotation-jvm:1.8.0-alpha01@jar,org.jetbrains.kotlin:kotlin-stdlib:1.9.0@jar,org.jetbrains.kotlin:kotlin-stdlib-common:1.9.0@jar,org.jetbrains:annotations:13.0@jar">
|
||||
<dependency
|
||||
name="org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.0@jar"
|
||||
simpleName="org.jetbrains.kotlin:kotlin-stdlib-jdk8"/>
|
||||
<dependency
|
||||
name="org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.9.0@jar"
|
||||
simpleName="org.jetbrains.kotlin:kotlin-stdlib-jdk7"/>
|
||||
<dependency
|
||||
name="androidx.annotation:annotation-jvm:1.8.0-alpha01@jar"
|
||||
simpleName="androidx.annotation:annotation-jvm"/>
|
||||
<dependency
|
||||
name="org.jetbrains.kotlin:kotlin-stdlib:1.9.0@jar"
|
||||
simpleName="org.jetbrains.kotlin:kotlin-stdlib"/>
|
||||
<dependency
|
||||
name="org.jetbrains.kotlin:kotlin-stdlib-common:1.9.0@jar"
|
||||
simpleName="org.jetbrains.kotlin:kotlin-stdlib-common"/>
|
||||
<dependency
|
||||
name="org.jetbrains:annotations:13.0@jar"
|
||||
simpleName="org.jetbrains:annotations"/>
|
||||
</package>
|
||||
</dependencies>
|
||||
@@ -0,0 +1,31 @@
|
||||
<libraries>
|
||||
<library
|
||||
name="__local_aars__:E:\VolkSwagen\OpenSource-Settings\CariadSettings\libs\framework.jar:unspecified@jar"
|
||||
jars="E:\VolkSwagen\OpenSource-Settings\CariadSettings\libs\framework.jar"
|
||||
resolved="__local_aars__:E:\VolkSwagen\OpenSource-Settings\CariadSettings\libs\framework.jar:unspecified"
|
||||
provided="true"/>
|
||||
<library
|
||||
name="org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.0@jar"
|
||||
jars="C:\Users\xiaoy\.gradle\caches\modules-2\files-2.1\org.jetbrains.kotlin\kotlin-stdlib-jdk8\1.9.0\e000bd084353d84c9e888f6fb341dc1f5b79d948\kotlin-stdlib-jdk8-1.9.0.jar"
|
||||
resolved="org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.0"/>
|
||||
<library
|
||||
name="org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.9.0@jar"
|
||||
jars="C:\Users\xiaoy\.gradle\caches\modules-2\files-2.1\org.jetbrains.kotlin\kotlin-stdlib-jdk7\1.9.0\f320478990d05e0cfaadd74f9619fd6027adbf37\kotlin-stdlib-jdk7-1.9.0.jar"
|
||||
resolved="org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.9.0"/>
|
||||
<library
|
||||
name="androidx.annotation:annotation-jvm:1.8.0-alpha01@jar"
|
||||
jars="C:\Users\xiaoy\.gradle\caches\modules-2\files-2.1\androidx.annotation\annotation-jvm\1.8.0-alpha01\b8a16fe526014b7941c1debaccaf9c5153692dbb\annotation-jvm-1.8.0-alpha01.jar"
|
||||
resolved="androidx.annotation:annotation-jvm:1.8.0-alpha01"/>
|
||||
<library
|
||||
name="org.jetbrains.kotlin:kotlin-stdlib:1.9.0@jar"
|
||||
jars="C:\Users\xiaoy\.gradle\caches\modules-2\files-2.1\org.jetbrains.kotlin\kotlin-stdlib\1.9.0\8ee15ef0c67dc83d874f412d84378d7f0eb50b63\kotlin-stdlib-1.9.0.jar"
|
||||
resolved="org.jetbrains.kotlin:kotlin-stdlib:1.9.0"/>
|
||||
<library
|
||||
name="org.jetbrains.kotlin:kotlin-stdlib-common:1.9.0@jar"
|
||||
jars="C:\Users\xiaoy\.gradle\caches\modules-2\files-2.1\org.jetbrains.kotlin\kotlin-stdlib-common\1.9.0\cd65c21cfd1eec4d44ef09f9f52b6d9f8a720636\kotlin-stdlib-common-1.9.0.jar"
|
||||
resolved="org.jetbrains.kotlin:kotlin-stdlib-common:1.9.0"/>
|
||||
<library
|
||||
name="org.jetbrains:annotations:13.0@jar"
|
||||
jars="C:\Users\xiaoy\.gradle\caches\modules-2\files-2.1\org.jetbrains\annotations\13.0\919f0dfe192fb4e063e7dacadee7f8bb9a2672a9\annotations-13.0.jar"
|
||||
resolved="org.jetbrains:annotations:13.0"/>
|
||||
</libraries>
|
||||
@@ -0,0 +1,31 @@
|
||||
<variant
|
||||
name="release"
|
||||
package="com.android.settingslib.widget.help"
|
||||
minSdkVersion="31"
|
||||
targetSdkVersion="34"
|
||||
mergedManifest="build\intermediates\merged_manifest\release\AndroidManifest.xml"
|
||||
manifestMergeReport="build\outputs\logs\manifest-merger-release-report.txt"
|
||||
proguardFiles="build\intermediates\default_proguard_files\global\proguard-android.txt-8.2.2"
|
||||
partialResultsDir="build\intermediates\lint_vital_partial_results\release\out">
|
||||
<buildFeatures
|
||||
namespacing="REQUIRED"/>
|
||||
<sourceProviders>
|
||||
<sourceProvider
|
||||
manifests="AndroidManifest.xml"
|
||||
javaDirectories="src;src\release\java;src\main\kotlin;src\release\kotlin"
|
||||
resDirectories="res;src\release\res"
|
||||
assetsDirectories="src\main\assets;src\release\assets"/>
|
||||
</sourceProviders>
|
||||
<testSourceProviders>
|
||||
</testSourceProviders>
|
||||
<testFixturesSourceProviders>
|
||||
</testFixturesSourceProviders>
|
||||
<artifact
|
||||
classOutputs="build\intermediates\javac\release\classes;build\tmp\kotlin-classes\release;build\intermediates\compile_r_class_jar\release\R.jar"
|
||||
type="MAIN"
|
||||
applicationId="com.android.settingslib.widget.help"
|
||||
generatedSourceFolders="build\generated\ap_generated_sources\release\out"
|
||||
generatedResourceFolders="build\generated\res\resValues\release"
|
||||
desugaredMethodsFiles="C:\Users\xiaoy\.gradle\caches\transforms-3\927528a13bef0f2a04be433f28c99185\transformed\D8BackportedDesugaredMethods.txt">
|
||||
</artifact>
|
||||
</variant>
|
||||
Binary file not shown.
@@ -0,0 +1,4 @@
|
||||
R_DEF: Internal format may change without notice
|
||||
local
|
||||
drawable ic_help_actionbar
|
||||
string help_feedback_label
|
||||
@@ -0,0 +1,22 @@
|
||||
1<?xml version="1.0" encoding="utf-8"?>
|
||||
2<!--
|
||||
3 Copyright (C) 2018 The Android Open Source Project
|
||||
4
|
||||
5 Licensed under the Apache License, Version 2.0 (the "License");
|
||||
6 you may not use this file except in compliance with the License.
|
||||
7 You may obtain a copy of the License at
|
||||
8
|
||||
9 http://www.apache.org/licenses/LICENSE-2.0
|
||||
10
|
||||
11 Unless required by applicable law or agreed to in writing, software
|
||||
12 distributed under the License is distributed on an "AS IS" BASIS,
|
||||
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
14 See the License for the specific language governing permissions and
|
||||
15 limitations under the License.
|
||||
16-->
|
||||
17<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
18 package="com.android.settingslib.widget.help" >
|
||||
19
|
||||
20 <uses-sdk android:minSdkVersion="31" />
|
||||
21
|
||||
22</manifest>
|
||||
Binary file not shown.
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2018 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.android.settingslib.widget.help" >
|
||||
|
||||
<uses-sdk android:minSdkVersion="31" />
|
||||
|
||||
</manifest>
|
||||
@@ -0,0 +1 @@
|
||||
[]
|
||||
@@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2017 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24.0"
|
||||
android:viewportHeight="24.0"
|
||||
android:autoMirrored="true"
|
||||
android:tint="?android:attr/colorControlNormal">
|
||||
<path
|
||||
android:fillColor="#FFFFFFFF"
|
||||
android:pathData="M11,18h2v-2h-2V18zM12,2C6.48,2 2,6.48 2,12s4.48,10 10,10s10,-4.48 10,-10S17.52,2 12,2zM12,20c-4.41,0 -8,-3.59 -8,-8s3.59,-8 8,-8s8,3.59 8,8S16.41,20 12,20zM12,6c-2.21,0 -4,1.79 -4,4h2c0,-1.1 0.9,-2 2,-2s2,0.9 2,2c0,2 -3,1.75 -3,5h2c0,-2.25 3,-2.5 3,-5C16,7.79 14.21,6 12,6z"/>
|
||||
</vector>
|
||||
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string msgid="7106780063063027882" name="help_feedback_label">"帮助和反馈"</string>
|
||||
</resources>
|
||||
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="help_feedback_label">Help & feedback</string>
|
||||
</resources>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,3 @@
|
||||
com.android.settingslib.widget.help
|
||||
drawable ic_help_actionbar
|
||||
string help_feedback_label
|
||||
@@ -0,0 +1,17 @@
|
||||
-- Merging decision tree log ---
|
||||
manifest
|
||||
ADDED from E:\VolkSwagen\OpenSource-Settings\CariadSettings\SettingsLib\HelpUtils\AndroidManifest.xml:18:1-21:12
|
||||
INJECTED from E:\VolkSwagen\OpenSource-Settings\CariadSettings\SettingsLib\HelpUtils\AndroidManifest.xml:18:1-21:12
|
||||
package
|
||||
ADDED from E:\VolkSwagen\OpenSource-Settings\CariadSettings\SettingsLib\HelpUtils\AndroidManifest.xml:19:5-50
|
||||
INJECTED from E:\VolkSwagen\OpenSource-Settings\CariadSettings\SettingsLib\HelpUtils\AndroidManifest.xml
|
||||
xmlns:android
|
||||
ADDED from E:\VolkSwagen\OpenSource-Settings\CariadSettings\SettingsLib\HelpUtils\AndroidManifest.xml:18:11-69
|
||||
uses-sdk
|
||||
INJECTED from E:\VolkSwagen\OpenSource-Settings\CariadSettings\SettingsLib\HelpUtils\AndroidManifest.xml reason: use-sdk injection requested
|
||||
INJECTED from E:\VolkSwagen\OpenSource-Settings\CariadSettings\SettingsLib\HelpUtils\AndroidManifest.xml
|
||||
INJECTED from E:\VolkSwagen\OpenSource-Settings\CariadSettings\SettingsLib\HelpUtils\AndroidManifest.xml
|
||||
android:targetSdkVersion
|
||||
INJECTED from E:\VolkSwagen\OpenSource-Settings\CariadSettings\SettingsLib\HelpUtils\AndroidManifest.xml
|
||||
android:minSdkVersion
|
||||
INJECTED from E:\VolkSwagen\OpenSource-Settings\CariadSettings\SettingsLib\HelpUtils\AndroidManifest.xml
|
||||
Binary file not shown.
28
SettingsLib/HelpUtils/res/drawable/ic_help_actionbar.xml
Normal file
28
SettingsLib/HelpUtils/res/drawable/ic_help_actionbar.xml
Normal file
@@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2017 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24.0"
|
||||
android:viewportHeight="24.0"
|
||||
android:autoMirrored="true"
|
||||
android:tint="?android:attr/colorControlNormal">
|
||||
<path
|
||||
android:fillColor="#FFFFFFFF"
|
||||
android:pathData="M11,18h2v-2h-2V18zM12,2C6.48,2 2,6.48 2,12s4.48,10 10,10s10,-4.48 10,-10S17.52,2 12,2zM12,20c-4.41,0 -8,-3.59 -8,-8s3.59,-8 8,-8s8,3.59 8,8S16.41,20 12,20zM12,6c-2.21,0 -4,1.79 -4,4h2c0,-1.1 0.9,-2 2,-2s2,0.9 2,2c0,2 -3,1.75 -3,5h2c0,-2.25 3,-2.5 3,-5C16,7.79 14.21,6 12,6z"/>
|
||||
</vector>
|
||||
21
SettingsLib/HelpUtils/res/values-zh-rCN/strings.xml
Normal file
21
SettingsLib/HelpUtils/res/values-zh-rCN/strings.xml
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Copyright (C) 2018 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<resources xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<string name="help_feedback_label" msgid="7106780063063027882">"帮助和反馈"</string>
|
||||
</resources>
|
||||
23
SettingsLib/HelpUtils/res/values/strings.xml
Normal file
23
SettingsLib/HelpUtils/res/values/strings.xml
Normal file
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2018 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
|
||||
<!-- Label for Help and feedback menu item [CHAR LIMIT=45]-->
|
||||
<string name="help_feedback_label">Help & feedback</string>
|
||||
|
||||
</resources>
|
||||
281
SettingsLib/HelpUtils/src/com/android/settingslib/HelpUtils.java
Normal file
281
SettingsLib/HelpUtils/src/com/android/settingslib/HelpUtils.java
Normal file
@@ -0,0 +1,281 @@
|
||||
/*
|
||||
* Copyright (C) 2012 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.settingslib;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.content.ActivityNotFoundException;
|
||||
import android.content.ComponentName;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.content.pm.PackageInfo;
|
||||
import android.content.pm.PackageManager.NameNotFoundException;
|
||||
import android.content.res.Resources;
|
||||
import android.net.Uri;
|
||||
import android.os.Build;
|
||||
import android.provider.Settings.Global;
|
||||
import android.text.TextUtils;
|
||||
import android.util.Log;
|
||||
import android.view.Menu;
|
||||
import android.view.MenuItem;
|
||||
import android.view.MenuItem.OnMenuItemClickListener;
|
||||
|
||||
import androidx.annotation.RequiresApi;
|
||||
import androidx.annotation.VisibleForTesting;
|
||||
|
||||
import com.android.settingslib.widget.help.R;
|
||||
|
||||
import java.net.URISyntaxException;
|
||||
import java.util.Locale;
|
||||
|
||||
/**
|
||||
* Functions to easily prepare contextual help menu option items with an intent that opens up the
|
||||
* browser to a particular URL, while taking into account the preferred language and app version.
|
||||
*/
|
||||
public class HelpUtils {
|
||||
private final static String TAG = HelpUtils.class.getSimpleName();
|
||||
|
||||
@VisibleForTesting
|
||||
static final int MENU_HELP = Menu.FIRST + 100;
|
||||
|
||||
/**
|
||||
* Help URL query parameter key for the preferred language.
|
||||
*/
|
||||
private final static String PARAM_LANGUAGE_CODE = "hl";
|
||||
|
||||
/**
|
||||
* Help URL query parameter key for the app version.
|
||||
*/
|
||||
private final static String PARAM_VERSION = "version";
|
||||
|
||||
// Constants for help intents.
|
||||
private static final String EXTRA_CONTEXT = "EXTRA_CONTEXT";
|
||||
private static final String EXTRA_THEME = "EXTRA_THEME";
|
||||
private static final String EXTRA_BACKUP_URI = "EXTRA_BACKUP_URI";
|
||||
|
||||
/**
|
||||
* Cached version code to prevent repeated calls to the package manager.
|
||||
*/
|
||||
private static String sCachedVersionCode = null;
|
||||
|
||||
/** Static helper that is not instantiable */
|
||||
private HelpUtils() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Prepares the help menu item by doing the following.
|
||||
* - If the helpUrlString is empty or null, the help menu item is made invisible.
|
||||
* - Otherwise, this makes the help menu item visible and sets the intent for the help menu
|
||||
* item to view the URL.
|
||||
*
|
||||
* @return returns whether the help menu item has been made visible.
|
||||
*/
|
||||
@RequiresApi(Build.VERSION_CODES.P)
|
||||
public static boolean prepareHelpMenuItem(Activity activity, Menu menu, String helpUri,
|
||||
String backupContext) {
|
||||
// menu contains help item, skip it
|
||||
if (menu.findItem(MENU_HELP) != null) {
|
||||
return false;
|
||||
}
|
||||
MenuItem helpItem = menu.add(0, MENU_HELP, 0, R.string.help_feedback_label);
|
||||
helpItem.setIcon(R.drawable.ic_help_actionbar);
|
||||
return prepareHelpMenuItem(activity, helpItem, helpUri, backupContext);
|
||||
}
|
||||
|
||||
/**
|
||||
* Prepares the help menu item by doing the following.
|
||||
* - If the helpUrlString is empty or null, the help menu item is made invisible.
|
||||
* - Otherwise, this makes the help menu item visible and sets the intent for the help menu
|
||||
* item to view the URL.
|
||||
*
|
||||
* @return returns whether the help menu item has been made visible.
|
||||
*/
|
||||
@RequiresApi(Build.VERSION_CODES.P)
|
||||
public static boolean prepareHelpMenuItem(Activity activity, Menu menu, int helpUriResource,
|
||||
String backupContext) {
|
||||
// menu contains help item, skip it
|
||||
if (menu.findItem(MENU_HELP) != null) {
|
||||
return false;
|
||||
}
|
||||
MenuItem helpItem = menu.add(0, MENU_HELP, 0, R.string.help_feedback_label);
|
||||
helpItem.setIcon(R.drawable.ic_help_actionbar);
|
||||
return prepareHelpMenuItem(activity, helpItem, activity.getString(helpUriResource),
|
||||
backupContext);
|
||||
}
|
||||
|
||||
/**
|
||||
* Prepares the help menu item by doing the following.
|
||||
* - If the helpUrlString is empty or null, the help menu item is made invisible.
|
||||
* - Otherwise, this makes the help menu item visible and sets the intent for the help menu
|
||||
* item to view the URL.
|
||||
*
|
||||
* @return returns whether the help menu item has been made visible.
|
||||
*/
|
||||
@VisibleForTesting
|
||||
@RequiresApi(Build.VERSION_CODES.P)
|
||||
static boolean prepareHelpMenuItem(final Activity activity, MenuItem helpMenuItem,
|
||||
String helpUriString, String backupContext) {
|
||||
if (Global.getInt(activity.getContentResolver(), Global.DEVICE_PROVISIONED, 0) == 0) {
|
||||
return false;
|
||||
}
|
||||
if (TextUtils.isEmpty(helpUriString)) {
|
||||
// The help url string is empty or null, so set the help menu item to be invisible.
|
||||
helpMenuItem.setVisible(false);
|
||||
|
||||
// return that the help menu item is not visible (i.e. false)
|
||||
return false;
|
||||
} else {
|
||||
final Intent intent = getHelpIntent(activity, helpUriString, backupContext);
|
||||
|
||||
// Set the intent to the help menu item, show the help menu item in the overflow
|
||||
// menu, and make it visible.
|
||||
if (intent != null) {
|
||||
helpMenuItem.setOnMenuItemClickListener(new OnMenuItemClickListener() {
|
||||
@Override
|
||||
public boolean onMenuItemClick(MenuItem item) {
|
||||
/**
|
||||
* TODO: Enable metrics logger for @SystemApi (b/111552654)
|
||||
*
|
||||
MetricsLogger.action(activity,
|
||||
MetricsEvent.ACTION_SETTING_HELP_AND_FEEDBACK,
|
||||
intent.getStringExtra(EXTRA_CONTEXT));
|
||||
*/
|
||||
try {
|
||||
activity.startActivityForResult(intent, 0);
|
||||
} catch (ActivityNotFoundException exc) {
|
||||
Log.e(TAG, "No activity found for intent: " + intent);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
});
|
||||
helpMenuItem.setShowAsAction(MenuItem.SHOW_AS_ACTION_ALWAYS);
|
||||
helpMenuItem.setVisible(true);
|
||||
} else {
|
||||
helpMenuItem.setVisible(false);
|
||||
return false;
|
||||
}
|
||||
|
||||
// return that the help menu item is visible (i.e., true)
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the help intent from helpUriString.
|
||||
*/
|
||||
@RequiresApi(Build.VERSION_CODES.P)
|
||||
public static Intent getHelpIntent(Context context, String helpUriString,
|
||||
String backupContext) {
|
||||
if (Global.getInt(context.getContentResolver(), Global.DEVICE_PROVISIONED, 0) == 0) {
|
||||
return null;
|
||||
}
|
||||
// Try to handle as Intent Uri, otherwise just treat as Uri.
|
||||
try {
|
||||
Intent intent = Intent.parseUri(helpUriString,
|
||||
Intent.URI_ANDROID_APP_SCHEME | Intent.URI_INTENT_SCHEME);
|
||||
addIntentParameters(context, intent, backupContext, true /* sendPackageName */);
|
||||
ComponentName component = intent.resolveActivity(context.getPackageManager());
|
||||
if (component != null) {
|
||||
return intent;
|
||||
} else if (intent.hasExtra(EXTRA_BACKUP_URI)) {
|
||||
// This extra contains a backup URI for when the intent isn't available.
|
||||
return getHelpIntent(context, intent.getStringExtra(EXTRA_BACKUP_URI),
|
||||
backupContext);
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
} catch (URISyntaxException e) {
|
||||
}
|
||||
// The help url string exists, so first add in some extra query parameters.
|
||||
final Uri fullUri = uriWithAddedParameters(context, Uri.parse(helpUriString));
|
||||
|
||||
// Then, create an intent that will be fired when the user
|
||||
// selects this help menu item.
|
||||
Intent intent = new Intent(Intent.ACTION_VIEW, fullUri);
|
||||
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK
|
||||
| Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS);
|
||||
return intent;
|
||||
}
|
||||
|
||||
public static void addIntentParameters(Context context, Intent intent, String backupContext,
|
||||
boolean sendPackageName) {
|
||||
if (!intent.hasExtra(EXTRA_CONTEXT)) {
|
||||
// Insert some context if none exists.
|
||||
intent.putExtra(EXTRA_CONTEXT, backupContext);
|
||||
}
|
||||
|
||||
Resources resources = context.getResources();
|
||||
boolean includePackageName =
|
||||
resources.getBoolean(android.R.bool.config_sendPackageName);
|
||||
|
||||
if (sendPackageName && includePackageName) {
|
||||
String[] packageNameKey =
|
||||
{resources.getString(android.R.string.config_helpPackageNameKey)};
|
||||
String[] packageNameValue =
|
||||
{resources.getString(android.R.string.config_helpPackageNameValue)};
|
||||
String helpIntentExtraKey =
|
||||
resources.getString(android.R.string.config_helpIntentExtraKey);
|
||||
String helpIntentNameKey =
|
||||
resources.getString(android.R.string.config_helpIntentNameKey);
|
||||
String feedbackIntentExtraKey =
|
||||
resources.getString(android.R.string.config_feedbackIntentExtraKey);
|
||||
String feedbackIntentNameKey =
|
||||
resources.getString(android.R.string.config_feedbackIntentNameKey);
|
||||
intent.putExtra(helpIntentExtraKey, packageNameKey);
|
||||
intent.putExtra(helpIntentNameKey, packageNameValue);
|
||||
intent.putExtra(feedbackIntentExtraKey, packageNameKey);
|
||||
intent.putExtra(feedbackIntentNameKey, packageNameValue);
|
||||
}
|
||||
intent.putExtra(EXTRA_THEME, 3 /* System Default theme */);
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds two query parameters into the Uri, namely the language code and the version code
|
||||
* of the app's package as gotten via the context.
|
||||
*
|
||||
* @return the uri with added query parameters
|
||||
*/
|
||||
@RequiresApi(Build.VERSION_CODES.P)
|
||||
public static Uri uriWithAddedParameters(Context context, Uri baseUri) {
|
||||
Uri.Builder builder = baseUri.buildUpon();
|
||||
|
||||
// Add in the preferred language
|
||||
builder.appendQueryParameter(PARAM_LANGUAGE_CODE, Locale.getDefault().toString());
|
||||
|
||||
// Add in the package version code
|
||||
if (sCachedVersionCode == null) {
|
||||
// There is no cached version code, so try to get it from the package manager.
|
||||
try {
|
||||
// cache the version code
|
||||
PackageInfo info = context.getPackageManager().getPackageInfo(
|
||||
context.getPackageName(), 0);
|
||||
sCachedVersionCode = Long.toString(info.getLongVersionCode());
|
||||
|
||||
// append the version code to the uri
|
||||
builder.appendQueryParameter(PARAM_VERSION, sCachedVersionCode);
|
||||
} catch (NameNotFoundException e) {
|
||||
// Cannot find the package name, so don't add in the version parameter
|
||||
// This shouldn't happen.
|
||||
Log.wtf(TAG, "Invalid package name for context", e);
|
||||
}
|
||||
} else {
|
||||
builder.appendQueryParameter(PARAM_VERSION, sCachedVersionCode);
|
||||
}
|
||||
|
||||
// Build the full uri and return it
|
||||
return builder.build();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user