new webview
parent
25d8813dfa
commit
4d6bfd1001
|
@ -1,32 +0,0 @@
|
||||||
//
|
|
||||||
// Copyright (C) 2014 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.
|
|
||||||
//
|
|
||||||
|
|
||||||
// Install the prebuilt webview apk.
|
|
||||||
package {
|
|
||||||
default_applicable_licenses: ["external_chromium-webview_license"],
|
|
||||||
}
|
|
||||||
|
|
||||||
// Added automatically by a large-scale-change
|
|
||||||
// See: http://go/android-license-faq
|
|
||||||
license {
|
|
||||||
name: "external_chromium-webview_license",
|
|
||||||
visibility: [":__subpackages__"],
|
|
||||||
license_kinds: [
|
|
||||||
"SPDX-license-identifier-Unicode-DFS",
|
|
||||||
],
|
|
||||||
// large-scale-change unable to identify any license_text files
|
|
||||||
}
|
|
||||||
|
|
|
@ -0,0 +1,23 @@
|
||||||
|
LOCAL_PATH := $(my-dir)
|
||||||
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
|
LOCAL_MODULE := webview
|
||||||
|
LOCAL_MODULE_CLASS := APPS
|
||||||
|
LOCAL_PRODUCT_MODULE := true
|
||||||
|
LOCAL_MULTILIB := both
|
||||||
|
LOCAL_CERTIFICATE := PRESIGNED
|
||||||
|
|
||||||
|
LOCAL_REQUIRED_MODULES := \
|
||||||
|
libwebviewchromium_loader \
|
||||||
|
libwebviewchromium_plat_support
|
||||||
|
|
||||||
|
LOCAL_MODULE_TARGET_ARCH := arm arm64 x86 x86_64
|
||||||
|
my_src_arch := $(call get-prebuilt-src-arch,$(LOCAL_MODULE_TARGET_ARCH))
|
||||||
|
LOCAL_SRC_FILES := prebuilt/$(my_src_arch)/webview.apk
|
||||||
|
|
||||||
|
LOCAL_PREBUILT_JNI_LIBS_arm := @lib/armeabi-v7a/libwebviewchromium.so
|
||||||
|
LOCAL_PREBUILT_JNI_LIBS_arm64 := @lib/arm64-v8a/libwebviewchromium.so
|
||||||
|
LOCAL_PREBUILT_JNI_LIBS_x86 := @lib/x86/libwebviewchromium.so
|
||||||
|
LOCAL_PREBUILT_JNI_LIBS_x86_64 := @lib/x86_64/libwebviewchromium.so
|
||||||
|
|
||||||
|
include $(BUILD_PREBUILT)
|
|
@ -0,0 +1,56 @@
|
||||||
|
# Copyright (C) 2014 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.
|
||||||
|
#
|
||||||
|
|
||||||
|
# If you don't need to do a full clean build but would like to touch
|
||||||
|
# a file or delete some intermediate files, add a clean step to the end
|
||||||
|
# of the list. These steps will only be run once, if they haven't been
|
||||||
|
# run before.
|
||||||
|
#
|
||||||
|
# E.g.:
|
||||||
|
# $(call add-clean-step, touch -c external/sqlite/sqlite3.h)
|
||||||
|
# $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/STATIC_LIBRARIES/libz_intermediates)
|
||||||
|
#
|
||||||
|
# Always use "touch -c" and "rm -f" or "rm -rf" to gracefully deal with
|
||||||
|
# files that are missing or have been moved.
|
||||||
|
#
|
||||||
|
# Use $(PRODUCT_OUT) to get to the "out/target/product/blah/" directory.
|
||||||
|
# Use $(OUT_DIR) to refer to the "out" directory.
|
||||||
|
#
|
||||||
|
# If you need to re-do something that's already mentioned, just copy
|
||||||
|
# the command and add it to the bottom of the list. E.g., if a change
|
||||||
|
# that you made last week required touching a file and a change you
|
||||||
|
# made today requires touching the same file, just copy the old
|
||||||
|
# touch step and add it to the end of the list.
|
||||||
|
#
|
||||||
|
# *****************************************************************
|
||||||
|
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST ABOVE THE BANNER
|
||||||
|
# *****************************************************************
|
||||||
|
|
||||||
|
# For example:
|
||||||
|
#$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/AndroidTests_intermediates)
|
||||||
|
#$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/core_intermediates)
|
||||||
|
#$(call add-clean-step, find $(OUT_DIR) -type f -name "IGTalkSession*" -print0 | xargs -0 rm -f)
|
||||||
|
#$(call add-clean-step, rm -rf $(PRODUCT_OUT)/data/*)
|
||||||
|
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib/libwebviewchromium.so)
|
||||||
|
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib64/libwebviewchromium.so)
|
||||||
|
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/app/webview)
|
||||||
|
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/app/webview)
|
||||||
|
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/product/app/webview)
|
||||||
|
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/product/app/webview)
|
||||||
|
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/app/webview)
|
||||||
|
|
||||||
|
# ******************************************************************
|
||||||
|
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST ABOVE THIS BANNER
|
||||||
|
# ******************************************************************
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -83,79 +83,8 @@ diff --git a/res/drawable/accessibility_magnification_mode_window.xml b/res/draw
|
||||||
similarity index 100%
|
similarity index 100%
|
||||||
rename from res/drawable/accessibility_magnification_mode_window.xml
|
rename from res/drawable/accessibility_magnification_mode_window.xml
|
||||||
rename to res/drawable/ic_illustration_window.xml
|
rename to res/drawable/ic_illustration_window.xml
|
||||||
diff --git a/res/drawable/ic_launcher_background.xml b/res/drawable/ic_launcher_background.xml
|
|
||||||
index 8c651550f9..b91ae32786 100644
|
|
||||||
--- a/res/drawable/ic_launcher_background.xml
|
|
||||||
+++ b/res/drawable/ic_launcher_background.xml
|
|
||||||
@@ -1,18 +1,37 @@
|
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
- SPDX-FileCopyrightText: 2022 The LineageOS Project
|
|
||||||
- SPDX-License-Identifier: Apache-2.0
|
|
||||||
--->
|
|
||||||
+ ~ Copyright ECORP SAS 2022
|
|
||||||
+ ~ This program is free software: you can redistribute it and/or modify
|
|
||||||
+ ~ it under the terms of the GNU General Public License as published by
|
|
||||||
+ ~ the Free Software Foundation, either version 3 of the License, or
|
|
||||||
+ ~ (at your option) any later version.
|
|
||||||
+ ~
|
|
||||||
+ ~ This program is distributed in the hope that it will be useful,
|
|
||||||
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
+ ~ GNU General Public License for more details.
|
|
||||||
+ ~
|
|
||||||
+ ~ You should have received a copy of the GNU General Public License
|
|
||||||
+ ~ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
||||||
+ -->
|
|
||||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
+ xmlns:aapt="http://schemas.android.com/aapt"
|
|
||||||
android:width="108dp"
|
|
||||||
android:height="108dp"
|
|
||||||
android:viewportWidth="108"
|
|
||||||
android:viewportHeight="108">
|
|
||||||
<path
|
|
||||||
- android:pathData="M0,0h108v108h-108z"
|
|
||||||
- android:fillColor="#ffffff"/>
|
|
||||||
- <path
|
|
||||||
- android:pathData="M58.148,28C59.193,28 60.062,28.805 60.142,29.847L60.254,31.303C60.431,33.606 62.018,35.527 64.017,36.685C66.016,37.844 68.441,38.236 70.525,37.237L71.846,36.604C72.789,36.153 73.92,36.503 74.443,37.408L78.59,44.592C79.113,45.497 78.851,46.652 77.988,47.243L76.782,48.068C74.876,49.374 74,51.689 74,54C74,56.311 74.876,58.626 76.782,59.932L77.988,60.757C78.851,61.348 79.113,62.503 78.59,63.408L74.443,70.592C73.92,71.497 72.789,71.847 71.846,71.396L70.525,70.763C68.441,69.764 66.016,70.156 64.017,71.315C62.018,72.473 60.431,74.394 60.254,76.697L60.142,78.153C60.062,79.195 59.193,80 58.148,80H49.852C48.807,80 47.938,79.195 47.858,78.153L47.746,76.697C47.569,74.394 45.981,72.473 43.983,71.315C41.984,70.156 39.558,69.764 37.475,70.763L36.153,71.396C35.211,71.847 34.08,71.497 33.557,70.592L29.409,63.408C28.887,62.503 29.149,61.348 30.011,60.757L31.218,59.931C33.124,58.626 34,56.311 34,54C34,51.689 33.124,49.374 31.218,48.068L30.011,47.242C29.149,46.652 28.887,45.497 29.409,44.592L33.557,37.408C34.08,36.503 35.211,36.153 36.153,36.604L37.475,37.237C39.558,38.236 41.984,37.844 43.983,36.685C45.982,35.527 47.569,33.606 47.746,31.303L47.858,29.847C47.938,28.805 48.807,28 49.852,28H58.148ZM54,66C60.627,66 66,60.627 66,54C66,47.373 60.627,42 54,42C47.373,42 42,47.373 42,54C42,60.627 47.373,66 54,66Z"
|
|
||||||
- android:fillColor="#167C80"
|
|
||||||
- android:fillType="evenOdd"/>
|
|
||||||
+ android:pathData="M0,0h108v108h-108z">
|
|
||||||
+ <aapt:attr name="android:fillColor">
|
|
||||||
+ <gradient
|
|
||||||
+ android:startX="54"
|
|
||||||
+ android:startY="7.15"
|
|
||||||
+ android:endX="54"
|
|
||||||
+ android:endY="208.35"
|
|
||||||
+ android:type="linear">
|
|
||||||
+ <item android:offset="0" android:color="#FFD8DDDF"/>
|
|
||||||
+ <item android:offset="1" android:color="#FF949DA1"/>
|
|
||||||
+ </gradient>
|
|
||||||
+ </aapt:attr>
|
|
||||||
+ </path>
|
|
||||||
</vector>
|
|
||||||
diff --git a/res/values/cm_strings.xml b/res/values/cm_strings.xml
|
|
||||||
index 9cda169ed0..4da3fdca8c 100644
|
|
||||||
--- a/res/values/cm_strings.xml
|
|
||||||
+++ b/res/values/cm_strings.xml
|
|
||||||
@@ -18,7 +18,7 @@
|
|
||||||
<!-- Private DNS -->
|
|
||||||
<string name="private_dns_mode_cloudflare" translatable="false">Cloudflare DNS</string>
|
|
||||||
<!-- Alternative: 1dot1dot1dot1.cloudflare-dns.com -->
|
|
||||||
- <string name="private_dns_hostname_cloudflare" translatable="false">one.one.one.one</string>
|
|
||||||
+ <string name="private_dns_hostname_cloudflare" translatable="false">9.9.9.9</string>
|
|
||||||
|
|
||||||
<!-- Advanced keyboard settings -->
|
|
||||||
<string name="keyboard_extras_title">Extras</string>
|
|
||||||
@@ -189,4 +189,8 @@
|
|
||||||
|
|
||||||
<!-- Location settings screen, setting summary for Assisted GPS switch -->
|
|
||||||
<string name="assisted_gps_summary">Download satellite assistance data from the internet which can greatly improve the GPS startup performance. For emergency calls, assisted GPS is always allowed.</string>
|
|
||||||
+
|
|
||||||
+ <!-- LeOS Advanced Privacy -->
|
|
||||||
+ <string name="advanced_privacy_dashboard_title" translatable="false">Advanced Privacy</string>
|
|
||||||
+ <string name="advanced_privacy_dashboard_summary">Manage trackers, fake location, hide IP address</string>
|
|
||||||
</resources>
|
|
||||||
diff --git a/res/values/strings.xml b/res/values/strings.xml
|
diff --git a/res/values/strings.xml b/res/values/strings.xml
|
||||||
index 1951c0a06b..92c7766f9e 100644
|
index 1951c0a06b..92c7766f9e 100644
|
||||||
--- a/res/values/strings.xml
|
--- a/res/values/strings.xml
|
||||||
|
|
Loading…
Reference in New Issue