lineage-sdk: rebrand step 2: update file contents
Change-Id: I9881acc57cdc0aeea2b296aac12a8af932d30aea
This commit is contained in:
217
Android.mk
217
Android.mk
@@ -1,4 +1,5 @@
|
||||
# Copyright (C) 2015 The CyanogenMod Project
|
||||
# Copyright (C) 2017 The LineageOS Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
@@ -21,35 +22,35 @@ LOCAL_PATH := $(call my-dir)
|
||||
# did, the PRIVATE_* vars for R.java wouldn't be guaranteed to be correct.
|
||||
# Instead, it depends on the R.stamp file, which lists the corresponding
|
||||
# R.java file as a prerequisite.
|
||||
cm_platform_res := APPS/org.cyanogenmod.platform-res_intermediates/src
|
||||
lineage_platform_res := APPS/org.lineageos.platform-res_intermediates/src
|
||||
|
||||
# List of packages used in cm-api-stubs
|
||||
cm_stub_packages := cyanogenmod.alarmclock:cyanogenmod.app:cyanogenmod.content:cyanogenmod.externalviews:cyanogenmod.hardware:cyanogenmod.media:cyanogenmod.os:cyanogenmod.preference:cyanogenmod.profiles:cyanogenmod.providers:cyanogenmod.platform:cyanogenmod.power:cyanogenmod.themes:cyanogenmod.util:cyanogenmod.weather:cyanogenmod.weatherservice
|
||||
# List of packages used in lineage-api-stubs
|
||||
lineage_stub_packages := lineageos.alarmclock:lineageos.app:lineageos.content:lineageos.externalviews:lineageos.hardware:lineageos.media:lineageos.os:lineageos.preference:lineageos.profiles:lineageos.providers:lineageos.platform:lineageos.power:lineageos.themes:lineageos.util:lineageos.weather:lineageos.weatherservice
|
||||
|
||||
# The CyanogenMod Platform Framework Library
|
||||
# The LineageOS Platform Framework Library
|
||||
# ============================================================
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
cyanogenmod_sdk_src := sdk/src/java/cyanogenmod
|
||||
cyanogenmod_sdk_internal_src := sdk/src/java/org/cyanogenmod/internal
|
||||
library_src := cm/lib/main/java
|
||||
lineage_sdk_src := sdk/src/java/lineageos
|
||||
lineage_sdk_internal_src := sdk/src/java/org/lineageos/internal
|
||||
library_src := lineage/lib/main/java
|
||||
|
||||
LOCAL_MODULE := org.cyanogenmod.platform
|
||||
LOCAL_MODULE := org.lineageos.platform
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
|
||||
cmsdk_LOCAL_JAVA_LIBRARIES := \
|
||||
lineage_sdk_LOCAL_JAVA_LIBRARIES := \
|
||||
android-support-v7-preference \
|
||||
android-support-v7-recyclerview \
|
||||
android-support-v14-preference
|
||||
|
||||
LOCAL_JAVA_LIBRARIES := \
|
||||
services \
|
||||
org.cyanogenmod.hardware \
|
||||
$(cmsdk_LOCAL_JAVA_LIBRARIES)
|
||||
org.lineageos.hardware \
|
||||
$(lineage_sdk_LOCAL_JAVA_LIBRARIES)
|
||||
|
||||
LOCAL_SRC_FILES := \
|
||||
$(call all-java-files-under, $(cyanogenmod_sdk_src)) \
|
||||
$(call all-java-files-under, $(cyanogenmod_sdk_internal_src)) \
|
||||
$(call all-java-files-under, $(lineage_sdk_src)) \
|
||||
$(call all-java-files-under, $(lineage_sdk_internal_src)) \
|
||||
$(call all-java-files-under, $(library_src))
|
||||
|
||||
## READ ME: ########################################################
|
||||
@@ -63,39 +64,39 @@ LOCAL_SRC_FILES := \
|
||||
##
|
||||
## READ ME: ########################################################
|
||||
LOCAL_SRC_FILES += \
|
||||
$(call all-Iaidl-files-under, $(cyanogenmod_sdk_src)) \
|
||||
$(call all-Iaidl-files-under, $(cyanogenmod_sdk_internal_src))
|
||||
$(call all-Iaidl-files-under, $(lineage_sdk_src)) \
|
||||
$(call all-Iaidl-files-under, $(lineage_sdk_internal_src))
|
||||
|
||||
cmplat_LOCAL_INTERMEDIATE_SOURCES := \
|
||||
$(cm_platform_res)/cyanogenmod/platform/R.java \
|
||||
$(cm_platform_res)/cyanogenmod/platform/Manifest.java \
|
||||
$(cm_platform_res)/org/cyanogenmod/platform/internal/R.java
|
||||
lineage_platform_LOCAL_INTERMEDIATE_SOURCES := \
|
||||
$(lineage_platform_res)/lineageos/platform/R.java \
|
||||
$(lineage_platform_res)/lineageos/platform/Manifest.java \
|
||||
$(lineage_platform_res)/org/lineageos/platform/internal/R.java
|
||||
|
||||
LOCAL_INTERMEDIATE_SOURCES := \
|
||||
$(cmplat_LOCAL_INTERMEDIATE_SOURCES)
|
||||
$(lineage_platform_LOCAL_INTERMEDIATE_SOURCES)
|
||||
|
||||
# Include aidl files from cyanogenmod.app namespace as well as internal src aidl files
|
||||
# Include aidl files from lineageos.app namespace as well as internal src aidl files
|
||||
LOCAL_AIDL_INCLUDES := $(LOCAL_PATH)/sdk/src/java
|
||||
LOCAL_AIDL_FLAGS := -n
|
||||
|
||||
include $(BUILD_JAVA_LIBRARY)
|
||||
cm_framework_module := $(LOCAL_INSTALLED_MODULE)
|
||||
lineage_framework_module := $(LOCAL_INSTALLED_MODULE)
|
||||
|
||||
# Make sure that R.java and Manifest.java are built before we build
|
||||
# the source for this library.
|
||||
cm_framework_res_R_stamp := \
|
||||
$(call intermediates-dir-for,APPS,org.cyanogenmod.platform-res,,COMMON)/src/R.stamp
|
||||
$(full_classes_compiled_jar): $(cm_framework_res_R_stamp)
|
||||
$(built_dex_intermediate): $(cm_framework_res_R_stamp)
|
||||
lineage_framework_res_R_stamp := \
|
||||
$(call intermediates-dir-for,APPS,org.lineageos.platform-res,,COMMON)/src/R.stamp
|
||||
$(full_classes_compiled_jar): $(lineage_framework_res_R_stamp)
|
||||
$(built_dex_intermediate): $(lineage_framework_res_R_stamp)
|
||||
|
||||
$(cm_framework_module): | $(dir $(cm_framework_module))org.cyanogenmod.platform-res.apk
|
||||
$(lineage_framework_module): | $(dir $(lineage_framework_module))org.lineageos.platform-res.apk
|
||||
|
||||
cm_framework_built := $(call java-lib-deps, org.cyanogenmod.platform)
|
||||
lineage_framework_built := $(call java-lib-deps, org.lineageos.platform)
|
||||
|
||||
# ==== org.cyanogenmod.platform.xml lib def ========================
|
||||
# ==== org.lineageos.platform.xml lib def ========================
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE := org.cyanogenmod.platform.xml
|
||||
LOCAL_MODULE := org.lineageos.platform.xml
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
|
||||
LOCAL_MODULE_CLASS := ETC
|
||||
@@ -111,34 +112,34 @@ include $(BUILD_PREBUILT)
|
||||
# ============================================================
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE:= org.cyanogenmod.platform.sdk
|
||||
LOCAL_MODULE:= org.lineageos.platform.sdk
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_REQUIRED_MODULES := services
|
||||
|
||||
LOCAL_SRC_FILES := \
|
||||
$(call all-java-files-under, $(cyanogenmod_sdk_src)) \
|
||||
$(call all-Iaidl-files-under, $(cyanogenmod_sdk_src))
|
||||
$(call all-java-files-under, $(lineage_sdk_src)) \
|
||||
$(call all-Iaidl-files-under, $(lineage_sdk_src))
|
||||
|
||||
# Included aidl files from cyanogenmod.app namespace
|
||||
# Included aidl files from lineageos.app namespace
|
||||
LOCAL_AIDL_INCLUDES := $(LOCAL_PATH)/sdk/src/java
|
||||
|
||||
cmsdk_LOCAL_INTERMEDIATE_SOURCES := \
|
||||
$(cm_platform_res)/cyanogenmod/platform/R.java \
|
||||
$(cm_platform_res)/cyanogenmod/platform/Manifest.java
|
||||
lineage_sdk_LOCAL_INTERMEDIATE_SOURCES := \
|
||||
$(lineage_platform_res)/lineageos/platform/R.java \
|
||||
$(lineage_platform_res)/lineageos/platform/Manifest.java
|
||||
|
||||
LOCAL_INTERMEDIATE_SOURCES := \
|
||||
$(cmsdk_LOCAL_INTERMEDIATE_SOURCES)
|
||||
$(lineage_sdk_LOCAL_INTERMEDIATE_SOURCES)
|
||||
|
||||
LOCAL_JAVA_LIBRARIES := \
|
||||
$(cmsdk_LOCAL_JAVA_LIBRARIES)
|
||||
$(lineage_sdk_LOCAL_JAVA_LIBRARIES)
|
||||
|
||||
# Make sure that R.java and Manifest.java are built before we build
|
||||
# the source for this library.
|
||||
cm_framework_res_R_stamp := \
|
||||
$(call intermediates-dir-for,APPS,org.cyanogenmod.platform-res,,COMMON)/src/R.stamp
|
||||
$(full_classes_compiled_jar): $(cm_framework_res_R_stamp)
|
||||
$(built_dex_intermediate): $(cm_framework_res_R_stamp)
|
||||
$(full_target): $(cm_framework_built) $(gen)
|
||||
lineage_framework_res_R_stamp := \
|
||||
$(call intermediates-dir-for,APPS,org.lineageos.platform-res,,COMMON)/src/R.stamp
|
||||
$(full_classes_compiled_jar): $(lineage_framework_res_R_stamp)
|
||||
$(built_dex_intermediate): $(lineage_framework_res_R_stamp)
|
||||
$(full_target): $(lineage_framework_built) $(gen)
|
||||
include $(BUILD_STATIC_JAVA_LIBRARY)
|
||||
|
||||
# the sdk as an aar for publish, not built as part of full target
|
||||
@@ -146,7 +147,7 @@ include $(BUILD_STATIC_JAVA_LIBRARY)
|
||||
# ============================================================
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE := org.cyanogenmod.platform.sdk.aar
|
||||
LOCAL_MODULE := org.lineageos.platform.sdk.aar
|
||||
|
||||
LOCAL_JACK_ENABLED := disabled
|
||||
|
||||
@@ -157,11 +158,11 @@ LOCAL_CONSUMER_PROGUARD_FILE := $(LOCAL_PATH)/sdk/proguard.txt
|
||||
LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, sdk/res/res)
|
||||
LOCAL_MANIFEST_FILE := sdk/AndroidManifest.xml
|
||||
|
||||
cmsdk_exclude_files := 'cyanogenmod/library'
|
||||
LOCAL_JAR_EXCLUDE_PACKAGES := $(cmsdk_exclude_files)
|
||||
lineage_sdk_exclude_files := 'lineageos/library'
|
||||
LOCAL_JAR_EXCLUDE_PACKAGES := $(lineage_sdk_exclude_files)
|
||||
LOCAL_JAR_EXCLUDE_FILES := none
|
||||
|
||||
LOCAL_STATIC_JAVA_LIBRARIES := org.cyanogenmod.platform.sdk
|
||||
LOCAL_STATIC_JAVA_LIBRARIES := org.lineageos.platform.sdk
|
||||
|
||||
include $(BUILD_STATIC_JAVA_LIBRARY)
|
||||
$(LOCAL_MODULE) : $(built_aar)
|
||||
@@ -170,80 +171,80 @@ $(LOCAL_MODULE) : $(built_aar)
|
||||
#
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE:= org.cyanogenmod.platform.internal
|
||||
LOCAL_MODULE:= org.lineageos.platform.internal
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_REQUIRED_MODULES := services
|
||||
|
||||
LOCAL_SRC_FILES := \
|
||||
$(call all-java-files-under, $(cyanogenmod_sdk_src)) \
|
||||
$(call all-java-files-under, $(cyanogenmod_sdk_internal_src)) \
|
||||
$(call all-Iaidl-files-under, $(cyanogenmod_sdk_src)) \
|
||||
$(call all-Iaidl-files-under, $(cyanogenmod_sdk_internal_src))
|
||||
$(call all-java-files-under, $(lineage_sdk_src)) \
|
||||
$(call all-java-files-under, $(lineage_sdk_internal_src)) \
|
||||
$(call all-Iaidl-files-under, $(lineage_sdk_src)) \
|
||||
$(call all-Iaidl-files-under, $(lineage_sdk_internal_src))
|
||||
|
||||
# Included aidl files from cyanogenmod.app namespace
|
||||
# Included aidl files from lineageos.app namespace
|
||||
LOCAL_AIDL_INCLUDES := $(LOCAL_PATH)/sdk/src/java
|
||||
LOCAL_AIDL_FLAGS := -n
|
||||
|
||||
cmsdk_LOCAL_INTERMEDIATE_SOURCES := \
|
||||
$(cm_platform_res)/cyanogenmod/platform/R.java \
|
||||
$(cm_platform_res)/cyanogenmod/platform/Manifest.java \
|
||||
$(cm_platform_res)/org/cyanogenmod/platform/internal/R.java \
|
||||
$(cm_platform_res)/org/cyanogenmod/platform/internal/Manifest.java
|
||||
lineage_sdk_LOCAL_INTERMEDIATE_SOURCES := \
|
||||
$(lineage_platform_res)/lineageos/platform/R.java \
|
||||
$(lineage_platform_res)/lineageos/platform/Manifest.java \
|
||||
$(lineage_platform_res)/org/lineageos/platform/internal/R.java \
|
||||
$(lineage_platform_res)/org/lineageos/platform/internal/Manifest.java
|
||||
|
||||
LOCAL_INTERMEDIATE_SOURCES := \
|
||||
$(cmsdk_LOCAL_INTERMEDIATE_SOURCES)
|
||||
$(lineage_sdk_LOCAL_INTERMEDIATE_SOURCES)
|
||||
|
||||
LOCAL_JAVA_LIBRARIES := \
|
||||
$(cmsdk_LOCAL_JAVA_LIBRARIES)
|
||||
$(lineage_sdk_LOCAL_JAVA_LIBRARIES)
|
||||
|
||||
$(full_target): $(cm_framework_built) $(gen)
|
||||
$(full_target): $(lineage_framework_built) $(gen)
|
||||
include $(BUILD_STATIC_JAVA_LIBRARY)
|
||||
|
||||
|
||||
# ===========================================================
|
||||
# Common Droiddoc vars
|
||||
cmplat_docs_src_files := \
|
||||
$(call all-java-files-under, $(cyanogenmod_sdk_src)) \
|
||||
$(call all-html-files-under, $(cyanogenmod_sdk_src))
|
||||
lineage_platform_docs_src_files := \
|
||||
$(call all-java-files-under, $(lineage_sdk_src)) \
|
||||
$(call all-html-files-under, $(lineage_sdk_src))
|
||||
|
||||
cmplat_docs_java_libraries := \
|
||||
org.cyanogenmod.platform.sdk
|
||||
lineage_platform_docs_java_libraries := \
|
||||
org.lineageos.platform.sdk
|
||||
|
||||
# SDK version as defined
|
||||
cmplat_docs_SDK_VERSION := 14.0
|
||||
lineage_platform_docs_SDK_VERSION := 14.0
|
||||
|
||||
# release version
|
||||
cmplat_docs_SDK_REL_ID := 7
|
||||
lineage_platform_docs_SDK_REL_ID := 7
|
||||
|
||||
cmplat_docs_LOCAL_MODULE_CLASS := JAVA_LIBRARIES
|
||||
lineage_platform_docs_LOCAL_MODULE_CLASS := JAVA_LIBRARIES
|
||||
|
||||
cmplat_docs_LOCAL_DROIDDOC_SOURCE_PATH := \
|
||||
$(cmplat_docs_src_files)
|
||||
lineage_platform_docs_LOCAL_DROIDDOC_SOURCE_PATH := \
|
||||
$(lineage_platform_docs_src_files)
|
||||
|
||||
intermediates.COMMON := $(call intermediates-dir-for,$(LOCAL_MODULE_CLASS),org.cyanogenmod.platform.sdk,,COMMON)
|
||||
intermediates.COMMON := $(call intermediates-dir-for,$(LOCAL_MODULE_CLASS),org.lineageos.platform.sdk,,COMMON)
|
||||
|
||||
# ==== the api stubs and current.xml ===========================
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_SRC_FILES:= \
|
||||
$(cmplat_docs_src_files)
|
||||
LOCAL_INTERMEDIATE_SOURCES:= $(cmplat_LOCAL_INTERMEDIATE_SOURCES)
|
||||
LOCAL_JAVA_LIBRARIES:= $(cmplat_docs_java_libraries)
|
||||
LOCAL_MODULE_CLASS:= $(cmplat_docs_LOCAL_MODULE_CLASS)
|
||||
LOCAL_DROIDDOC_SOURCE_PATH:= $(cmplat_docs_LOCAL_DROIDDOC_SOURCE_PATH)
|
||||
$(lineage_platform_docs_src_files)
|
||||
LOCAL_INTERMEDIATE_SOURCES:= $(lineage_platform_LOCAL_INTERMEDIATE_SOURCES)
|
||||
LOCAL_JAVA_LIBRARIES:= $(lineage_platform_docs_java_libraries)
|
||||
LOCAL_MODULE_CLASS:= $(lineage_platform_docs_LOCAL_MODULE_CLASS)
|
||||
LOCAL_DROIDDOC_SOURCE_PATH:= $(lineage_platform_docs_LOCAL_DROIDDOC_SOURCE_PATH)
|
||||
LOCAL_ADDITIONAL_JAVA_DIR:= $(intermediates.COMMON)/src
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES:= $(cmplat_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES:= $(lineage_platform_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
|
||||
|
||||
LOCAL_MODULE := cm-api-stubs
|
||||
LOCAL_MODULE := lineage-api-stubs
|
||||
|
||||
LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:= build/tools/droiddoc/templates-sdk
|
||||
|
||||
LOCAL_DROIDDOC_OPTIONS:= \
|
||||
-stubs $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/cmsdk_stubs_current_intermediates/src \
|
||||
-stubpackages $(cm_stub_packages) \
|
||||
-exclude org.cyanogenmod.platform.internal \
|
||||
-api $(INTERNAL_CM_PLATFORM_API_FILE) \
|
||||
-removedApi $(INTERNAL_CM_PLATFORM_REMOVED_API_FILE) \
|
||||
-stubs $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/lineage-sdk_stubs_current_intermediates/src \
|
||||
-stubpackages $(lineage_stub_packages) \
|
||||
-exclude org.lineageos.platform.internal \
|
||||
-api $(INTERNAL_LINEAGE_PLATFORM_API_FILE) \
|
||||
-removedApi $(INTERNAL_LINEAGE_PLATFORM_REMOVED_API_FILE) \
|
||||
-nodocs
|
||||
|
||||
LOCAL_UNINSTALLABLE_MODULE := true
|
||||
@@ -251,54 +252,54 @@ LOCAL_UNINSTALLABLE_MODULE := true
|
||||
include $(BUILD_DROIDDOC)
|
||||
|
||||
# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
|
||||
$(full_target): $(cm_framework_built) $(gen)
|
||||
$(INTERNAL_CM_PLATFORM_API_FILE): $(full_target)
|
||||
$(call dist-for-goals,sdk,$(INTERNAL_CM_PLATFORM_API_FILE))
|
||||
$(full_target): $(lineage_framework_built) $(gen)
|
||||
$(INTERNAL_LINEAGE_PLATFORM_API_FILE): $(full_target)
|
||||
$(call dist-for-goals,sdk,$(INTERNAL_LINEAGE_PLATFORM_API_FILE))
|
||||
|
||||
|
||||
# Documentation
|
||||
# ===========================================================
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE := org.cyanogenmod.platform.sdk
|
||||
LOCAL_INTERMEDIATE_SOURCES:= $(cmplat_LOCAL_INTERMEDIATE_SOURCES)
|
||||
LOCAL_MODULE := org.lineageos.platform.sdk
|
||||
LOCAL_INTERMEDIATE_SOURCES:= $(lineage_platform_LOCAL_INTERMEDIATE_SOURCES)
|
||||
LOCAL_MODULE_CLASS := JAVA_LIBRARIES
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
|
||||
LOCAL_SRC_FILES := $(cmplat_docs_src_files)
|
||||
LOCAL_SRC_FILES := $(lineage_platform_docs_src_files)
|
||||
LOCAL_ADDITONAL_JAVA_DIR := $(intermediates.COMMON)/src
|
||||
|
||||
LOCAL_IS_HOST_MODULE := false
|
||||
LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR := vendor/cm/build/tools/droiddoc/templates-cmsdk
|
||||
LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR := vendor/lineage/build/tools/droiddoc/templates-lineage-sdk
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES := \
|
||||
services \
|
||||
org.cyanogenmod.hardware
|
||||
org.lineageos.hardware
|
||||
|
||||
LOCAL_JAVA_LIBRARIES := $(cmplat_docs_java_libraries)
|
||||
LOCAL_JAVA_LIBRARIES := $(lineage_platform_docs_java_libraries)
|
||||
|
||||
LOCAL_DROIDDOC_OPTIONS := \
|
||||
-offlinemode \
|
||||
-exclude org.cyanogenmod.platform.internal \
|
||||
-hidePackage org.cyanogenmod.platform.internal \
|
||||
-exclude org.lineageos.platform.internal \
|
||||
-hidePackage org.lineageos.platform.internal \
|
||||
-hdf android.whichdoc offline \
|
||||
-hdf sdk.version $(cmplat_docs_docs_SDK_VERSION) \
|
||||
-hdf sdk.rel.id $(cmplat_docs_docs_SDK_REL_ID) \
|
||||
-hdf sdk.version $(lineage_platform_docs_docs_SDK_VERSION) \
|
||||
-hdf sdk.rel.id $(lineage_platform_docs_docs_SDK_REL_ID) \
|
||||
-hdf sdk.preview 0 \
|
||||
-since $(CM_SRC_API_DIR)/1.txt 1 \
|
||||
-since $(CM_SRC_API_DIR)/2.txt 2 \
|
||||
-since $(CM_SRC_API_DIR)/3.txt 3 \
|
||||
-since $(CM_SRC_API_DIR)/4.txt 4 \
|
||||
-since $(CM_SRC_API_DIR)/5.txt 5 \
|
||||
-since $(CM_SRC_API_DIR)/6.txt 6 \
|
||||
-since $(CM_SRC_API_DIR)/7.txt 7
|
||||
-since $(LINEAGE_SRC_API_DIR)/1.txt 1 \
|
||||
-since $(LINEAGE_SRC_API_DIR)/2.txt 2 \
|
||||
-since $(LINEAGE_SRC_API_DIR)/3.txt 3 \
|
||||
-since $(LINEAGE_SRC_API_DIR)/4.txt 4 \
|
||||
-since $(LINEAGE_SRC_API_DIR)/5.txt 5 \
|
||||
-since $(LINEAGE_SRC_API_DIR)/6.txt 6 \
|
||||
-since $(LINEAGE_SRC_API_DIR)/7.txt 7
|
||||
|
||||
$(full_target): $(cm_framework_built) $(gen)
|
||||
$(full_target): $(lineage_framework_built) $(gen)
|
||||
include $(BUILD_DROIDDOC)
|
||||
|
||||
include $(call first-makefiles-under,$(LOCAL_PATH))
|
||||
|
||||
# Cleanup temp vars
|
||||
# ===========================================================
|
||||
cmplat.docs.src_files :=
|
||||
cmplat.docs.java_libraries :=
|
||||
lineage_platform_docs_src_files :=
|
||||
lineage_platform_docs_java_libraries :=
|
||||
intermediates.COMMON :=
|
||||
|
||||
20
CleanSpec.mk
20
CleanSpec.mk
@@ -37,14 +37,14 @@
|
||||
# *****************************************************************
|
||||
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST ABOVE THE BANNER
|
||||
# *****************************************************************
|
||||
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/org.cyanogenmod.platform-res_intermediates)
|
||||
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/org.cyanogenmod.platform_intermediates)
|
||||
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/org.cyanogenmod.platform.sdk_intermediates)
|
||||
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/org.cyanogenmod.platform.internal_intermediates)
|
||||
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/cmsdk_stubs_current_intermediates)
|
||||
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/org.lineageos.platform-res_intermediates)
|
||||
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/org.lineageos.platform_intermediates)
|
||||
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/org.lineageos.platform.sdk_intermediates)
|
||||
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/org.lineageos.platform.internal_intermediates)
|
||||
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/lineage-sdk_stubs_current_intermediates)
|
||||
# KeyguardExternalView uses a new interface which requires cleaning to avoid a runtime exception
|
||||
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/org.cyanogenmod.platform_intermediates)
|
||||
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/org.cyanogenmod.platform.sdk_intermediates)
|
||||
# Purge out the api stubs timestamp files (they're used as a dependency for checkapi-cm)
|
||||
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/docs/cm-api-stubs*)
|
||||
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/docs/cm-system-api-stubs*)
|
||||
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/org.lineageos.platform_intermediates)
|
||||
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/org.lineageos.platform.sdk_intermediates)
|
||||
# Purge out the api stubs timestamp files (they're used as a dependency for checkapi-lineage)
|
||||
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/docs/lineage-api-stubs*)
|
||||
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/docs/lineage-system-api-stubs*)
|
||||
|
||||
10
README.md
10
README.md
@@ -1,10 +1,10 @@
|
||||
# CyanogenMod Platform SDK
|
||||
# LineageOS Platform SDK
|
||||
|
||||
The Platform SDK provides a set of APIs that give you easy access to a variety of different features within LineageOS. The SDK exposes APIs and system level framework access in the Android framework that aren't available in any other distribution.
|
||||
|
||||
## Setup
|
||||
|
||||
You can either [download](https://github.com/LineageOS/android_prebuilts_cmsdk/tree/master/current) from prebuilts hosted on github or pull directly via Gradle.
|
||||
You can either [download](https://github.com/LineageOS/android_prebuilts_lineage-sdk/tree/master/current) from prebuilts hosted on github or pull directly via Gradle.
|
||||
|
||||
|
||||
### Building against release artifacts
|
||||
@@ -13,7 +13,7 @@ Our stable releases are mirrored in [Maven Central](http://search.maven.org/#sea
|
||||
|
||||
```gradle
|
||||
dependencies {
|
||||
compile 'org.cyanogenmod:platform.sdk:5.+'
|
||||
compile 'org.lineageos:platform.sdk:5.+'
|
||||
}
|
||||
```
|
||||
|
||||
@@ -33,10 +33,10 @@ You can target the `future` or `development` branch by setting your `dependencie
|
||||
|
||||
```gradle
|
||||
dependencies {
|
||||
compile 'org.cyanogenmod:platform.sdk:6.0-SNAPSHOT'
|
||||
compile 'org.lineageos:platform.sdk:6.0-SNAPSHOT'
|
||||
}
|
||||
```
|
||||
|
||||
### WIKI
|
||||
|
||||
For further inquiries regarding this project, please reference the [wiki](https://github.com/LineageOS/cm_platform_sdk/wiki).
|
||||
For further inquiries regarding this project, please reference the [wiki](https://github.com/LineageOS/android_lineage-sdk/wiki).
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,4 +1,4 @@
|
||||
## CMSettings Migration Test
|
||||
## LineageSettings Migration Test
|
||||
The tests host library contains a simple interface which calls down to a client interface on the device
|
||||
to take a snapshot of the current settings, forces an update with the current build defined in params,
|
||||
then verifies the settings post migration.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Settings which are to be moved to CMSettings
|
||||
# Automatically generated by vendor/cmsdk/host/migration/src/GenerateExampleSettingsGenerateExampleSettings.java.
|
||||
# Settings which are to be moved to LineageSettings
|
||||
# Automatically generated by lineage-sdk/host/migration/src/GenerateExampleSettingsGenerateExampleSettings.java.
|
||||
Row: 0 name=status_bar_battery_style, type=s, value=2, type=s
|
||||
Row: 1 name=enable_forward_lookup, type=s, value=1, type=s
|
||||
Row: 2 name=enable_people_lookup, type=s, value=1, type=s
|
||||
|
||||
@@ -49,7 +49,7 @@ public class Command implements Runnable {
|
||||
protected static boolean filter(String uri, Setting setting) {
|
||||
switch (uri) {
|
||||
case SettingsConstants.SYSTEM:
|
||||
if (!CMSettings.System.isLegacySetting(setting.getKey())) {
|
||||
if (!LineageSettings.System.isLegacySetting(setting.getKey())) {
|
||||
return true;
|
||||
}
|
||||
break;
|
||||
@@ -57,12 +57,12 @@ public class Command implements Runnable {
|
||||
if (SettingsConstants.Ignorables.SECURE_SETTINGS.contains(setting.getKey())) {
|
||||
return true;
|
||||
}
|
||||
if (!CMSettings.Secure.isLegacySetting(setting.getKey())) {
|
||||
if (!LineageSettings.Secure.isLegacySetting(setting.getKey())) {
|
||||
return true;
|
||||
}
|
||||
break;
|
||||
case SettingsConstants.GLOBAL:
|
||||
if (!CMSettings.Global.isLegacySetting(setting.getKey())) {
|
||||
if (!LineageSettings.Global.isLegacySetting(setting.getKey())) {
|
||||
return true;
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -25,7 +25,7 @@ import java.nio.charset.Charset;
|
||||
import java.util.ArrayList;
|
||||
|
||||
/**
|
||||
* This is to be run on a live CM 12.1 device.
|
||||
* This is to be run on a live Lineage 12.1 device.
|
||||
*/
|
||||
public class GenerateExampleSettings {
|
||||
|
||||
@@ -49,19 +49,19 @@ public class GenerateExampleSettings {
|
||||
androidSettingImage.execute();
|
||||
|
||||
for (Setting system : androidSystemSettingList) {
|
||||
if (CMSettings.System.isLegacySetting(system.getKey())) {
|
||||
if (LineageSettings.System.isLegacySetting(system.getKey())) {
|
||||
defaultSettings.add(system);
|
||||
}
|
||||
}
|
||||
|
||||
for (Setting secure : androidSecureSettingList) {
|
||||
if (CMSettings.Secure.isLegacySetting(secure.getKey())) {
|
||||
if (LineageSettings.Secure.isLegacySetting(secure.getKey())) {
|
||||
defaultSettings.add(secure);
|
||||
}
|
||||
}
|
||||
|
||||
for (Setting global : androidGlobalSettingList) {
|
||||
if (CMSettings.Global.isLegacySetting(global.getKey())) {
|
||||
if (LineageSettings.Global.isLegacySetting(global.getKey())) {
|
||||
defaultSettings.add(global);
|
||||
}
|
||||
}
|
||||
@@ -70,9 +70,9 @@ public class GenerateExampleSettings {
|
||||
new FileOutputStream(rootFile),
|
||||
Charset.forName("US-ASCII")));
|
||||
|
||||
out.write("# Settings which are to be moved to CMSettings\n");
|
||||
out.write("# Settings which are to be moved to LineageSettings\n");
|
||||
out.write("# Automatically generated by " +
|
||||
"vendor/cmsdk/host/migration/src/GenerateExampleSettings"
|
||||
"lineage-sdk/host/migration/src/GenerateExampleSettings"
|
||||
+ GenerateExampleSettings.class.getSimpleName() + ".java.\n");
|
||||
// Write settings to file for output.
|
||||
for (int i = 0; i < defaultSettings.size(); i++) {
|
||||
|
||||
@@ -17,13 +17,13 @@
|
||||
import java.util.Arrays;
|
||||
|
||||
/**
|
||||
* CMSettings contains CM specific preferences in System, Secure, and Global.
|
||||
* LineageSettings contains Lineage specific preferences in System, Secure, and Global.
|
||||
*/
|
||||
public final class CMSettings {
|
||||
public static final String AUTHORITY = "cmsettings";
|
||||
public final class LineageSettings {
|
||||
public static final String AUTHORITY = "lineagesettings";
|
||||
|
||||
/**
|
||||
* System settings, containing miscellaneous CM system preferences. This table holds simple
|
||||
* System settings, containing miscellaneous Lineage system preferences. This table holds simple
|
||||
* name/value pairs. There are convenience functions for accessing individual settings entries.
|
||||
*/
|
||||
public static final class System {
|
||||
@@ -646,93 +646,93 @@ public final class CMSettings {
|
||||
* @hide
|
||||
*/
|
||||
public static final String[] LEGACY_SYSTEM_SETTINGS = new String[]{
|
||||
CMSettings.System.QS_QUICK_PULLDOWN,
|
||||
CMSettings.System.NAV_BUTTONS,
|
||||
CMSettings.System.KEY_HOME_LONG_PRESS_ACTION,
|
||||
CMSettings.System.KEY_HOME_DOUBLE_TAP_ACTION,
|
||||
CMSettings.System.BACK_WAKE_SCREEN,
|
||||
CMSettings.System.MENU_WAKE_SCREEN,
|
||||
CMSettings.System.VOLUME_WAKE_SCREEN,
|
||||
CMSettings.System.KEY_MENU_ACTION,
|
||||
CMSettings.System.KEY_MENU_LONG_PRESS_ACTION,
|
||||
CMSettings.System.KEY_ASSIST_ACTION,
|
||||
CMSettings.System.KEY_ASSIST_LONG_PRESS_ACTION,
|
||||
CMSettings.System.KEY_APP_SWITCH_ACTION,
|
||||
CMSettings.System.KEY_APP_SWITCH_LONG_PRESS_ACTION,
|
||||
CMSettings.System.HOME_WAKE_SCREEN,
|
||||
CMSettings.System.ASSIST_WAKE_SCREEN,
|
||||
CMSettings.System.APP_SWITCH_WAKE_SCREEN,
|
||||
CMSettings.System.CAMERA_WAKE_SCREEN,
|
||||
CMSettings.System.CAMERA_SLEEP_ON_RELEASE,
|
||||
CMSettings.System.CAMERA_LAUNCH,
|
||||
CMSettings.System.STYLUS_ICON_ENABLED,
|
||||
CMSettings.System.SWAP_VOLUME_KEYS_ON_ROTATION,
|
||||
CMSettings.System.BATTERY_LIGHT_ENABLED,
|
||||
CMSettings.System.BATTERY_LIGHT_PULSE,
|
||||
CMSettings.System.BATTERY_LIGHT_LOW_COLOR,
|
||||
CMSettings.System.BATTERY_LIGHT_MEDIUM_COLOR,
|
||||
CMSettings.System.BATTERY_LIGHT_FULL_COLOR,
|
||||
CMSettings.System.ENABLE_MWI_NOTIFICATION,
|
||||
CMSettings.System.PROXIMITY_ON_WAKE,
|
||||
CMSettings.System.ENABLE_FORWARD_LOOKUP,
|
||||
CMSettings.System.ENABLE_PEOPLE_LOOKUP,
|
||||
CMSettings.System.ENABLE_REVERSE_LOOKUP,
|
||||
CMSettings.System.FORWARD_LOOKUP_PROVIDER,
|
||||
CMSettings.System.PEOPLE_LOOKUP_PROVIDER,
|
||||
CMSettings.System.REVERSE_LOOKUP_PROVIDER,
|
||||
CMSettings.System.DIALER_OPENCNAM_ACCOUNT_SID,
|
||||
CMSettings.System.DIALER_OPENCNAM_AUTH_TOKEN,
|
||||
CMSettings.System.DISPLAY_TEMPERATURE_DAY,
|
||||
CMSettings.System.DISPLAY_TEMPERATURE_NIGHT,
|
||||
CMSettings.System.DISPLAY_TEMPERATURE_MODE,
|
||||
CMSettings.System.DISPLAY_AUTO_OUTDOOR_MODE,
|
||||
CMSettings.System.DISPLAY_LOW_POWER,
|
||||
CMSettings.System.DISPLAY_COLOR_ENHANCE,
|
||||
CMSettings.System.DISPLAY_COLOR_ADJUSTMENT,
|
||||
CMSettings.System.LIVE_DISPLAY_HINTED,
|
||||
CMSettings.System.DOUBLE_TAP_SLEEP_GESTURE,
|
||||
CMSettings.System.STATUS_BAR_SHOW_WEATHER,
|
||||
CMSettings.System.RECENTS_SHOW_SEARCH_BAR,
|
||||
CMSettings.System.NAVBAR_LEFT_IN_LANDSCAPE,
|
||||
CMSettings.System.T9_SEARCH_INPUT_LOCALE,
|
||||
CMSettings.System.BLUETOOTH_ACCEPT_ALL_FILES,
|
||||
CMSettings.System.LOCKSCREEN_PIN_SCRAMBLE_LAYOUT,
|
||||
CMSettings.System.LOCKSCREEN_ROTATION,
|
||||
CMSettings.System.SHOW_ALARM_ICON,
|
||||
CMSettings.System.STATUS_BAR_IME_SWITCHER,
|
||||
CMSettings.System.QS_SHOW_BRIGHTNESS_SLIDER,
|
||||
CMSettings.System.STATUS_BAR_BRIGHTNESS_CONTROL,
|
||||
CMSettings.System.VOLBTN_MUSIC_CONTROLS,
|
||||
CMSettings.System.SWAP_VOLUME_KEYS_ON_ROTATION,
|
||||
CMSettings.System.USE_EDGE_SERVICE_FOR_GESTURES,
|
||||
CMSettings.System.STATUS_BAR_NOTIF_COUNT,
|
||||
CMSettings.System.CALL_RECORDING_FORMAT,
|
||||
CMSettings.System.NOTIFICATION_LIGHT_BRIGHTNESS_LEVEL,
|
||||
CMSettings.System.NOTIFICATION_LIGHT_MULTIPLE_LEDS_ENABLE,
|
||||
CMSettings.System.NOTIFICATION_LIGHT_SCREEN_ON,
|
||||
CMSettings.System.NOTIFICATION_LIGHT_PULSE_DEFAULT_COLOR,
|
||||
CMSettings.System.NOTIFICATION_LIGHT_PULSE_DEFAULT_LED_ON,
|
||||
CMSettings.System.NOTIFICATION_LIGHT_PULSE_DEFAULT_LED_OFF,
|
||||
CMSettings.System.NOTIFICATION_LIGHT_PULSE_CALL_COLOR,
|
||||
CMSettings.System.NOTIFICATION_LIGHT_PULSE_CALL_LED_ON,
|
||||
CMSettings.System.NOTIFICATION_LIGHT_PULSE_CALL_LED_OFF,
|
||||
CMSettings.System.NOTIFICATION_LIGHT_PULSE_VMAIL_COLOR,
|
||||
CMSettings.System.NOTIFICATION_LIGHT_PULSE_VMAIL_LED_ON,
|
||||
CMSettings.System.NOTIFICATION_LIGHT_PULSE_VMAIL_LED_OFF,
|
||||
CMSettings.System.NOTIFICATION_LIGHT_PULSE_CUSTOM_ENABLE,
|
||||
CMSettings.System.NOTIFICATION_LIGHT_PULSE_CUSTOM_VALUES,
|
||||
CMSettings.System.STATUS_BAR_QUICK_QS_PULLDOWN,
|
||||
CMSettings.System.VOLUME_ADJUST_SOUNDS_ENABLED,
|
||||
CMSettings.System.SYSTEM_PROFILES_ENABLED,
|
||||
CMSettings.System.INCREASING_RING,
|
||||
CMSettings.System.INCREASING_RING_START_VOLUME,
|
||||
CMSettings.System.INCREASING_RING_RAMP_UP_TIME,
|
||||
CMSettings.System.STATUS_BAR_CLOCK,
|
||||
CMSettings.System.STATUS_BAR_AM_PM,
|
||||
CMSettings.System.STATUS_BAR_BATTERY_STYLE,
|
||||
CMSettings.System.STATUS_BAR_SHOW_BATTERY_PERCENT,
|
||||
CMSettings.System.VOLUME_KEYS_CONTROL_RING_STREAM,
|
||||
CMSettings.System.NAVIGATION_BAR_MENU_ARROW_KEYS,
|
||||
LineageSettings.System.QS_QUICK_PULLDOWN,
|
||||
LineageSettings.System.NAV_BUTTONS,
|
||||
LineageSettings.System.KEY_HOME_LONG_PRESS_ACTION,
|
||||
LineageSettings.System.KEY_HOME_DOUBLE_TAP_ACTION,
|
||||
LineageSettings.System.BACK_WAKE_SCREEN,
|
||||
LineageSettings.System.MENU_WAKE_SCREEN,
|
||||
LineageSettings.System.VOLUME_WAKE_SCREEN,
|
||||
LineageSettings.System.KEY_MENU_ACTION,
|
||||
LineageSettings.System.KEY_MENU_LONG_PRESS_ACTION,
|
||||
LineageSettings.System.KEY_ASSIST_ACTION,
|
||||
LineageSettings.System.KEY_ASSIST_LONG_PRESS_ACTION,
|
||||
LineageSettings.System.KEY_APP_SWITCH_ACTION,
|
||||
LineageSettings.System.KEY_APP_SWITCH_LONG_PRESS_ACTION,
|
||||
LineageSettings.System.HOME_WAKE_SCREEN,
|
||||
LineageSettings.System.ASSIST_WAKE_SCREEN,
|
||||
LineageSettings.System.APP_SWITCH_WAKE_SCREEN,
|
||||
LineageSettings.System.CAMERA_WAKE_SCREEN,
|
||||
LineageSettings.System.CAMERA_SLEEP_ON_RELEASE,
|
||||
LineageSettings.System.CAMERA_LAUNCH,
|
||||
LineageSettings.System.STYLUS_ICON_ENABLED,
|
||||
LineageSettings.System.SWAP_VOLUME_KEYS_ON_ROTATION,
|
||||
LineageSettings.System.BATTERY_LIGHT_ENABLED,
|
||||
LineageSettings.System.BATTERY_LIGHT_PULSE,
|
||||
LineageSettings.System.BATTERY_LIGHT_LOW_COLOR,
|
||||
LineageSettings.System.BATTERY_LIGHT_MEDIUM_COLOR,
|
||||
LineageSettings.System.BATTERY_LIGHT_FULL_COLOR,
|
||||
LineageSettings.System.ENABLE_MWI_NOTIFICATION,
|
||||
LineageSettings.System.PROXIMITY_ON_WAKE,
|
||||
LineageSettings.System.ENABLE_FORWARD_LOOKUP,
|
||||
LineageSettings.System.ENABLE_PEOPLE_LOOKUP,
|
||||
LineageSettings.System.ENABLE_REVERSE_LOOKUP,
|
||||
LineageSettings.System.FORWARD_LOOKUP_PROVIDER,
|
||||
LineageSettings.System.PEOPLE_LOOKUP_PROVIDER,
|
||||
LineageSettings.System.REVERSE_LOOKUP_PROVIDER,
|
||||
LineageSettings.System.DIALER_OPENCNAM_ACCOUNT_SID,
|
||||
LineageSettings.System.DIALER_OPENCNAM_AUTH_TOKEN,
|
||||
LineageSettings.System.DISPLAY_TEMPERATURE_DAY,
|
||||
LineageSettings.System.DISPLAY_TEMPERATURE_NIGHT,
|
||||
LineageSettings.System.DISPLAY_TEMPERATURE_MODE,
|
||||
LineageSettings.System.DISPLAY_AUTO_OUTDOOR_MODE,
|
||||
LineageSettings.System.DISPLAY_LOW_POWER,
|
||||
LineageSettings.System.DISPLAY_COLOR_ENHANCE,
|
||||
LineageSettings.System.DISPLAY_COLOR_ADJUSTMENT,
|
||||
LineageSettings.System.LIVE_DISPLAY_HINTED,
|
||||
LineageSettings.System.DOUBLE_TAP_SLEEP_GESTURE,
|
||||
LineageSettings.System.STATUS_BAR_SHOW_WEATHER,
|
||||
LineageSettings.System.RECENTS_SHOW_SEARCH_BAR,
|
||||
LineageSettings.System.NAVBAR_LEFT_IN_LANDSCAPE,
|
||||
LineageSettings.System.T9_SEARCH_INPUT_LOCALE,
|
||||
LineageSettings.System.BLUETOOTH_ACCEPT_ALL_FILES,
|
||||
LineageSettings.System.LOCKSCREEN_PIN_SCRAMBLE_LAYOUT,
|
||||
LineageSettings.System.LOCKSCREEN_ROTATION,
|
||||
LineageSettings.System.SHOW_ALARM_ICON,
|
||||
LineageSettings.System.STATUS_BAR_IME_SWITCHER,
|
||||
LineageSettings.System.QS_SHOW_BRIGHTNESS_SLIDER,
|
||||
LineageSettings.System.STATUS_BAR_BRIGHTNESS_CONTROL,
|
||||
LineageSettings.System.VOLBTN_MUSIC_CONTROLS,
|
||||
LineageSettings.System.SWAP_VOLUME_KEYS_ON_ROTATION,
|
||||
LineageSettings.System.USE_EDGE_SERVICE_FOR_GESTURES,
|
||||
LineageSettings.System.STATUS_BAR_NOTIF_COUNT,
|
||||
LineageSettings.System.CALL_RECORDING_FORMAT,
|
||||
LineageSettings.System.NOTIFICATION_LIGHT_BRIGHTNESS_LEVEL,
|
||||
LineageSettings.System.NOTIFICATION_LIGHT_MULTIPLE_LEDS_ENABLE,
|
||||
LineageSettings.System.NOTIFICATION_LIGHT_SCREEN_ON,
|
||||
LineageSettings.System.NOTIFICATION_LIGHT_PULSE_DEFAULT_COLOR,
|
||||
LineageSettings.System.NOTIFICATION_LIGHT_PULSE_DEFAULT_LED_ON,
|
||||
LineageSettings.System.NOTIFICATION_LIGHT_PULSE_DEFAULT_LED_OFF,
|
||||
LineageSettings.System.NOTIFICATION_LIGHT_PULSE_CALL_COLOR,
|
||||
LineageSettings.System.NOTIFICATION_LIGHT_PULSE_CALL_LED_ON,
|
||||
LineageSettings.System.NOTIFICATION_LIGHT_PULSE_CALL_LED_OFF,
|
||||
LineageSettings.System.NOTIFICATION_LIGHT_PULSE_VMAIL_COLOR,
|
||||
LineageSettings.System.NOTIFICATION_LIGHT_PULSE_VMAIL_LED_ON,
|
||||
LineageSettings.System.NOTIFICATION_LIGHT_PULSE_VMAIL_LED_OFF,
|
||||
LineageSettings.System.NOTIFICATION_LIGHT_PULSE_CUSTOM_ENABLE,
|
||||
LineageSettings.System.NOTIFICATION_LIGHT_PULSE_CUSTOM_VALUES,
|
||||
LineageSettings.System.STATUS_BAR_QUICK_QS_PULLDOWN,
|
||||
LineageSettings.System.VOLUME_ADJUST_SOUNDS_ENABLED,
|
||||
LineageSettings.System.SYSTEM_PROFILES_ENABLED,
|
||||
LineageSettings.System.INCREASING_RING,
|
||||
LineageSettings.System.INCREASING_RING_START_VOLUME,
|
||||
LineageSettings.System.INCREASING_RING_RAMP_UP_TIME,
|
||||
LineageSettings.System.STATUS_BAR_CLOCK,
|
||||
LineageSettings.System.STATUS_BAR_AM_PM,
|
||||
LineageSettings.System.STATUS_BAR_BATTERY_STYLE,
|
||||
LineageSettings.System.STATUS_BAR_SHOW_BATTERY_PERCENT,
|
||||
LineageSettings.System.VOLUME_KEYS_CONTROL_RING_STREAM,
|
||||
LineageSettings.System.NAVIGATION_BAR_MENU_ARROW_KEYS,
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -744,7 +744,7 @@ public final class CMSettings {
|
||||
}
|
||||
|
||||
/**
|
||||
* Secure settings, containing miscellaneous CM secure preferences. This
|
||||
* Secure settings, containing miscellaneous Lineage secure preferences. This
|
||||
* table holds simple name/value pairs. There are convenience
|
||||
* functions for accessing individual settings entries.
|
||||
*/
|
||||
@@ -1012,7 +1012,7 @@ public final class CMSettings {
|
||||
|
||||
/**
|
||||
* This will be set to the system's current theme API version when ThemeService starts.
|
||||
* It is useful for when an upgrade from one version of CM to another occurs.
|
||||
* It is useful for when an upgrade from one version of Lineage to another occurs.
|
||||
* For example, after a user upgrades from CM11 to CM12, the value of this field
|
||||
* might be 19. ThemeService would then change the value to 21. This is useful
|
||||
* when an API change breaks a theme. Themeservice can identify old themes and
|
||||
@@ -1026,37 +1026,37 @@ public final class CMSettings {
|
||||
* @hide
|
||||
*/
|
||||
public static final String[] LEGACY_SECURE_SETTINGS = new String[]{
|
||||
CMSettings.Secure.ADVANCED_MODE,
|
||||
CMSettings.Secure.BUTTON_BACKLIGHT_TIMEOUT,
|
||||
CMSettings.Secure.BUTTON_BRIGHTNESS,
|
||||
CMSettings.Secure.DEFAULT_THEME_COMPONENTS,
|
||||
CMSettings.Secure.DEFAULT_THEME_PACKAGE,
|
||||
CMSettings.Secure.DEV_FORCE_SHOW_NAVBAR,
|
||||
CMSettings.Secure.KEYBOARD_BRIGHTNESS,
|
||||
CMSettings.Secure.POWER_MENU_ACTIONS,
|
||||
CMSettings.Secure.STATS_COLLECTION,
|
||||
CMSettings.Secure.QS_SHOW_BRIGHTNESS_SLIDER,
|
||||
CMSettings.Secure.QS_TILES,
|
||||
CMSettings.Secure.QS_USE_MAIN_TILES,
|
||||
CMSettings.Secure.VOLUME_LINK_NOTIFICATION,
|
||||
CMSettings.Secure.NAVIGATION_RING_TARGETS[0],
|
||||
CMSettings.Secure.NAVIGATION_RING_TARGETS[1],
|
||||
CMSettings.Secure.NAVIGATION_RING_TARGETS[2],
|
||||
CMSettings.Secure.RECENTS_LONG_PRESS_ACTIVITY,
|
||||
CMSettings.Secure.ADB_NOTIFY,
|
||||
CMSettings.Secure.ADB_PORT,
|
||||
CMSettings.Secure.DEVICE_HOSTNAME,
|
||||
CMSettings.Secure.KILL_APP_LONGPRESS_BACK,
|
||||
CMSettings.Secure.PROTECTED_COMPONENTS,
|
||||
CMSettings.Secure.LIVE_DISPLAY_COLOR_MATRIX,
|
||||
CMSettings.Secure.ADVANCED_REBOOT,
|
||||
CMSettings.Secure.THEME_PREV_BOOT_API_LEVEL,
|
||||
CMSettings.Secure.LOCKSCREEN_TARGETS,
|
||||
CMSettings.Secure.RING_HOME_BUTTON_BEHAVIOR,
|
||||
CMSettings.Secure.PRIVACY_GUARD_DEFAULT,
|
||||
CMSettings.Secure.DEVELOPMENT_SHORTCUT,
|
||||
CMSettings.Secure.PERFORMANCE_PROFILE,
|
||||
CMSettings.Secure.APP_PERFORMANCE_PROFILES_ENABLED};
|
||||
LineageSettings.Secure.ADVANCED_MODE,
|
||||
LineageSettings.Secure.BUTTON_BACKLIGHT_TIMEOUT,
|
||||
LineageSettings.Secure.BUTTON_BRIGHTNESS,
|
||||
LineageSettings.Secure.DEFAULT_THEME_COMPONENTS,
|
||||
LineageSettings.Secure.DEFAULT_THEME_PACKAGE,
|
||||
LineageSettings.Secure.DEV_FORCE_SHOW_NAVBAR,
|
||||
LineageSettings.Secure.KEYBOARD_BRIGHTNESS,
|
||||
LineageSettings.Secure.POWER_MENU_ACTIONS,
|
||||
LineageSettings.Secure.STATS_COLLECTION,
|
||||
LineageSettings.Secure.QS_SHOW_BRIGHTNESS_SLIDER,
|
||||
LineageSettings.Secure.QS_TILES,
|
||||
LineageSettings.Secure.QS_USE_MAIN_TILES,
|
||||
LineageSettings.Secure.VOLUME_LINK_NOTIFICATION,
|
||||
LineageSettings.Secure.NAVIGATION_RING_TARGETS[0],
|
||||
LineageSettings.Secure.NAVIGATION_RING_TARGETS[1],
|
||||
LineageSettings.Secure.NAVIGATION_RING_TARGETS[2],
|
||||
LineageSettings.Secure.RECENTS_LONG_PRESS_ACTIVITY,
|
||||
LineageSettings.Secure.ADB_NOTIFY,
|
||||
LineageSettings.Secure.ADB_PORT,
|
||||
LineageSettings.Secure.DEVICE_HOSTNAME,
|
||||
LineageSettings.Secure.KILL_APP_LONGPRESS_BACK,
|
||||
LineageSettings.Secure.PROTECTED_COMPONENTS,
|
||||
LineageSettings.Secure.LIVE_DISPLAY_COLOR_MATRIX,
|
||||
LineageSettings.Secure.ADVANCED_REBOOT,
|
||||
LineageSettings.Secure.THEME_PREV_BOOT_API_LEVEL,
|
||||
LineageSettings.Secure.LOCKSCREEN_TARGETS,
|
||||
LineageSettings.Secure.RING_HOME_BUTTON_BEHAVIOR,
|
||||
LineageSettings.Secure.PRIVACY_GUARD_DEFAULT,
|
||||
LineageSettings.Secure.DEVELOPMENT_SHORTCUT,
|
||||
LineageSettings.Secure.PERFORMANCE_PROFILE,
|
||||
LineageSettings.Secure.APP_PERFORMANCE_PROFILES_ENABLED};
|
||||
|
||||
/**
|
||||
* @hide
|
||||
@@ -1067,7 +1067,7 @@ public final class CMSettings {
|
||||
}
|
||||
|
||||
/**
|
||||
* Global settings, containing miscellaneous CM global preferences. This
|
||||
* Global settings, containing miscellaneous Lineage global preferences. This
|
||||
* table holds simple name/value pairs. There are convenience
|
||||
* functions for accessing individual settings entries.
|
||||
*/
|
||||
@@ -1122,12 +1122,12 @@ public final class CMSettings {
|
||||
* @hide
|
||||
*/
|
||||
public static final String[] LEGACY_GLOBAL_SETTINGS = new String[]{
|
||||
CMSettings.Global.WAKE_WHEN_PLUGGED_OR_UNPLUGGED,
|
||||
CMSettings.Global.POWER_NOTIFICATIONS_ENABLED,
|
||||
CMSettings.Global.POWER_NOTIFICATIONS_VIBRATE,
|
||||
CMSettings.Global.POWER_NOTIFICATIONS_RINGTONE,
|
||||
CMSettings.Global.ZEN_DISABLE_DUCKING_DURING_MEDIA_PLAYBACK,
|
||||
CMSettings.Global.WIFI_AUTO_PRIORITIES_CONFIGURATION};
|
||||
LineageSettings.Global.WAKE_WHEN_PLUGGED_OR_UNPLUGGED,
|
||||
LineageSettings.Global.POWER_NOTIFICATIONS_ENABLED,
|
||||
LineageSettings.Global.POWER_NOTIFICATIONS_VIBRATE,
|
||||
LineageSettings.Global.POWER_NOTIFICATIONS_RINGTONE,
|
||||
LineageSettings.Global.ZEN_DISABLE_DUCKING_DURING_MEDIA_PLAYBACK,
|
||||
LineageSettings.Global.WIFI_AUTO_PRIORITIES_CONFIGURATION};
|
||||
|
||||
/**
|
||||
* @hide
|
||||
|
||||
@@ -30,9 +30,9 @@ class MigrationTest {
|
||||
|
||||
public static final boolean DEBUG = true;
|
||||
|
||||
private static ArrayList<Setting> cmSystemSettingList = new ArrayList<Setting>();
|
||||
private static ArrayList<Setting> cmSecureSettingList = new ArrayList<Setting>();
|
||||
private static ArrayList<Setting> cmGlobalSettingList = new ArrayList<Setting>();
|
||||
private static ArrayList<Setting> lineageSystemSettingList = new ArrayList<Setting>();
|
||||
private static ArrayList<Setting> lineageSecureSettingList = new ArrayList<Setting>();
|
||||
private static ArrayList<Setting> lineageGlobalSettingList = new ArrayList<Setting>();
|
||||
|
||||
private static ArrayList<Setting> legacySystemSettings = new ArrayList<Setting>();
|
||||
private static ArrayList<Setting> legacySecureSettings = new ArrayList<Setting>();
|
||||
@@ -74,20 +74,20 @@ class MigrationTest {
|
||||
//Read settings
|
||||
legacySettings.execute();
|
||||
|
||||
SettingImageCommands legacyToCMSettings =
|
||||
SettingImageCommands legacyToLineageSettings =
|
||||
new SettingImageCommands(SettingsConstants.SETTINGS_AUTHORITY);
|
||||
//For each example setting in the table, add inserts
|
||||
for (Setting setting : legacySystemSettings) {
|
||||
legacyToCMSettings.addInsert(SettingsConstants.SYSTEM, setting);
|
||||
legacyToLineageSettings.addInsert(SettingsConstants.SYSTEM, setting);
|
||||
}
|
||||
for (Setting setting : legacySecureSettings) {
|
||||
legacyToCMSettings.addInsert(SettingsConstants.SECURE, setting);
|
||||
legacyToLineageSettings.addInsert(SettingsConstants.SECURE, setting);
|
||||
}
|
||||
for (Setting setting : legacyGlobalSettings) {
|
||||
legacyToCMSettings.addInsert(SettingsConstants.GLOBAL, setting);
|
||||
legacyToLineageSettings.addInsert(SettingsConstants.GLOBAL, setting);
|
||||
}
|
||||
//Write them to the database for verification later
|
||||
legacyToCMSettings.execute();
|
||||
legacyToLineageSettings.execute();
|
||||
|
||||
//Force update
|
||||
DebuggingCommands updateRom = new DebuggingCommands();
|
||||
@@ -102,20 +102,20 @@ class MigrationTest {
|
||||
updateRom.execute();
|
||||
|
||||
//Requery
|
||||
SettingImageCommands cmSettingImage =
|
||||
new SettingImageCommands(SettingsConstants.CMSETTINGS_AUTHORITY);
|
||||
cmSettingImage.addQuery(SettingsConstants.SYSTEM, cmSystemSettingList);
|
||||
cmSettingImage.addQuery(SettingsConstants.SECURE, cmSecureSettingList);
|
||||
cmSettingImage.addQuery(SettingsConstants.GLOBAL, cmGlobalSettingList);
|
||||
cmSettingImage.execute();
|
||||
SettingImageCommands lineageSettingImage =
|
||||
new SettingImageCommands(SettingsConstants.LINEAGESETTINGS_AUTHORITY);
|
||||
lineageSettingImage.addQuery(SettingsConstants.SYSTEM, lineageSystemSettingList);
|
||||
lineageSettingImage.addQuery(SettingsConstants.SECURE, lineageSecureSettingList);
|
||||
lineageSettingImage.addQuery(SettingsConstants.GLOBAL, lineageGlobalSettingList);
|
||||
lineageSettingImage.execute();
|
||||
|
||||
//Validate
|
||||
System.out.println("\n\nValidating " + SettingsConstants.SYSTEM + "...");
|
||||
validate(legacySystemSettings, cmSystemSettingList);
|
||||
validate(legacySystemSettings, lineageSystemSettingList);
|
||||
System.out.println("\n\nValidating " + SettingsConstants.SECURE + "...");
|
||||
validate(legacySecureSettings, cmSecureSettingList);
|
||||
validate(legacySecureSettings, lineageSecureSettingList);
|
||||
System.out.println("\n\nValidating " + SettingsConstants.GLOBAL + "...");
|
||||
validate(legacyGlobalSettings, cmGlobalSettingList);
|
||||
validate(legacyGlobalSettings, lineageGlobalSettingList);
|
||||
System.exit(0);
|
||||
}
|
||||
|
||||
@@ -150,43 +150,43 @@ class MigrationTest {
|
||||
return value;
|
||||
}
|
||||
|
||||
private static void validate(ArrayList<Setting> legacySettings, ArrayList<Setting> cmSettings) {
|
||||
private static void validate(ArrayList<Setting> legacySettings, ArrayList<Setting> lineageSettings) {
|
||||
Collections.sort(legacySettings);
|
||||
Collections.sort(cmSettings);
|
||||
Collections.sort(lineageSettings);
|
||||
|
||||
if (legacySettings.size() != cmSettings.size()) {
|
||||
if (legacySettings.size() != lineageSettings.size()) {
|
||||
System.err.println("Warning: Size mismatch: " + " legacy "
|
||||
+ legacySettings.size() + " cm " + cmSettings.size());
|
||||
+ legacySettings.size() + " lineage " + lineageSettings.size());
|
||||
}
|
||||
|
||||
for (int i = 0; i < legacySettings.size(); i++) {
|
||||
Setting legacySetting = legacySettings.get(i);
|
||||
Setting cmSetting = cmSettings.get(i);
|
||||
Setting lineageSetting = lineageSettings.get(i);
|
||||
int error = 0;
|
||||
|
||||
System.out.println("Comparing: legacy " + legacySetting.getKey() + " and cmsetting "
|
||||
+ cmSetting.getKey());
|
||||
System.out.println("Comparing: legacy " + legacySetting.getKey() + " and lineagesetting "
|
||||
+ lineageSetting.getKey());
|
||||
|
||||
if (!legacySetting.getKey().equals(cmSetting.getKey())) {
|
||||
if (!legacySetting.getKey().equals(lineageSetting.getKey())) {
|
||||
System.err.println(" Key mismatch: " + legacySetting.getKey() + " and "
|
||||
+ cmSetting.getKey());
|
||||
+ lineageSetting.getKey());
|
||||
error = 1;
|
||||
}
|
||||
if (!legacySetting.getKeyType().equals(cmSetting.getKeyType())) {
|
||||
if (!legacySetting.getKeyType().equals(lineageSetting.getKeyType())) {
|
||||
System.err.println(" Key type mismatch: " + legacySetting.getKeyType() + " and "
|
||||
+ cmSetting.getKeyType());
|
||||
+ lineageSetting.getKeyType());
|
||||
error = 1;
|
||||
}
|
||||
if (legacySetting.getValue().length() > 0) {
|
||||
if (!legacySetting.getValue().equals(cmSetting.getValue())) {
|
||||
if (!legacySetting.getValue().equals(lineageSetting.getValue())) {
|
||||
System.err.println(" Value mismatch: " + legacySetting.getValue() + " and "
|
||||
+ cmSetting.getValue());
|
||||
+ lineageSetting.getValue());
|
||||
error = 1;
|
||||
}
|
||||
}
|
||||
if (!legacySetting.getValueType().equals(cmSetting.getValueType())) {
|
||||
if (!legacySetting.getValueType().equals(lineageSetting.getValueType())) {
|
||||
System.err.println(" Value type mismatch: " + legacySetting.getValueType()
|
||||
+ " and " + cmSetting.getValueType());
|
||||
+ " and " + lineageSetting.getValueType());
|
||||
error = 1;
|
||||
}
|
||||
|
||||
|
||||
@@ -61,7 +61,7 @@ public class QueryCommand extends Command {
|
||||
commandList.add(SettingsConstants.CONTENT_URI + getAuthority() + uri);
|
||||
commandList.add("--projection");
|
||||
commandList.add(PROJECTION);
|
||||
commandList.add("--show-type"); //this is totally awesomely cm specific
|
||||
commandList.add("--show-type"); //this is totally awesomely lineage specific
|
||||
commandList.add("true");
|
||||
commands = commandList.toArray(new String[commandList.size()]);
|
||||
if (MigrationTest.DEBUG) {
|
||||
|
||||
@@ -20,7 +20,7 @@ import java.util.ArrayList;
|
||||
* Created by adnan on 11/16/15.
|
||||
*/
|
||||
public class SettingsConstants {
|
||||
public static final String CMSETTINGS_AUTHORITY = "cmsettings";
|
||||
public static final String LINEAGESETTINGS_AUTHORITY = "lineagesettings";
|
||||
public static final String SETTINGS_AUTHORITY = "settings";
|
||||
public static final String CONTENT_URI = "content://";
|
||||
public static final String SYSTEM = "/system";
|
||||
@@ -31,7 +31,7 @@ public class SettingsConstants {
|
||||
public static ArrayList<String> SECURE_SETTINGS = new ArrayList<String>();
|
||||
|
||||
static {
|
||||
SECURE_SETTINGS.add(CMSettings.Secure.ADB_PORT);
|
||||
SECURE_SETTINGS.add(LineageSettings.Secure.ADB_PORT);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.cyanogenmod.platform.internal;
|
||||
package org.lineageos.platform.internal;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
@@ -23,21 +23,21 @@ import android.util.Log;
|
||||
import android.util.Slog;
|
||||
import com.android.server.SystemService;
|
||||
|
||||
import cyanogenmod.app.CMContextConstants;
|
||||
import cyanogenmod.app.suggest.ApplicationSuggestion;
|
||||
import cyanogenmod.app.suggest.IAppSuggestManager;
|
||||
import lineageos.app.LineageContextConstants;
|
||||
import lineageos.app.suggest.ApplicationSuggestion;
|
||||
import lineageos.app.suggest.IAppSuggestManager;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/** @hide */
|
||||
public class AppSuggestManagerService extends CMSystemService {
|
||||
public class AppSuggestManagerService extends LineageSystemService {
|
||||
private static final String TAG = "AppSgstMgrService";
|
||||
public static final boolean DEBUG = Log.isLoggable(TAG, Log.DEBUG);
|
||||
|
||||
public static final String NAME = "appsuggest";
|
||||
|
||||
public static final String ACTION = "org.cyanogenmod.app.suggest";
|
||||
public static final String ACTION = "org.lineageos.app.suggest";
|
||||
|
||||
private AppSuggestProviderInterface mImpl;
|
||||
private Context mContext;
|
||||
@@ -63,7 +63,7 @@ public class AppSuggestManagerService extends CMSystemService {
|
||||
|
||||
@Override
|
||||
public String getFeatureDeclaration() {
|
||||
return CMContextConstants.Features.APP_SUGGEST;
|
||||
return LineageContextConstants.Features.APP_SUGGEST;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -77,6 +77,6 @@ public class AppSuggestManagerService extends CMSystemService {
|
||||
} else {
|
||||
Slog.i(TAG, "Bound to to suggest provider");
|
||||
}
|
||||
publishBinderService(CMContextConstants.CM_APP_SUGGEST_SERVICE, mService);
|
||||
publishBinderService(LineageContextConstants.LINEAGE_APP_SUGGEST_SERVICE, mService);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.cyanogenmod.platform.internal;
|
||||
package org.lineageos.platform.internal;
|
||||
|
||||
import android.content.Intent;
|
||||
import cyanogenmod.app.suggest.ApplicationSuggestion;
|
||||
import lineageos.app.suggest.ApplicationSuggestion;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.cyanogenmod.platform.internal;
|
||||
package org.lineageos.platform.internal;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
@@ -23,8 +23,8 @@ import android.os.RemoteException;
|
||||
import android.util.Log;
|
||||
import com.android.server.ServiceWatcher;
|
||||
|
||||
import cyanogenmod.app.suggest.ApplicationSuggestion;
|
||||
import cyanogenmod.app.suggest.IAppSuggestProvider;
|
||||
import lineageos.app.suggest.ApplicationSuggestion;
|
||||
import lineageos.app.suggest.IAppSuggestProvider;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.cyanogenmod.platform.internal;
|
||||
package org.lineageos.platform.internal;
|
||||
|
||||
import android.app.Notification;
|
||||
import android.app.NotificationManager;
|
||||
@@ -26,14 +26,14 @@ import android.os.RemoteException;
|
||||
import android.os.ServiceManager;
|
||||
import android.os.SystemClock;
|
||||
|
||||
import org.cyanogenmod.internal.util.ThemeUtils;
|
||||
import org.lineageos.internal.util.ThemeUtils;
|
||||
|
||||
import cyanogenmod.app.CMContextConstants;
|
||||
import cyanogenmod.themes.IThemeService;
|
||||
import cyanogenmod.themes.ThemeChangeRequest;
|
||||
import cyanogenmod.themes.ThemeChangeRequest.RequestType;
|
||||
import lineageos.app.LineageContextConstants;
|
||||
import lineageos.themes.IThemeService;
|
||||
import lineageos.themes.ThemeChangeRequest;
|
||||
import lineageos.themes.ThemeChangeRequest.RequestType;
|
||||
|
||||
import static cyanogenmod.content.Intent.ACTION_APP_FAILURE;
|
||||
import static lineageos.content.Intent.ACTION_APP_FAILURE;
|
||||
|
||||
public class AppsFailureReceiver extends BroadcastReceiver {
|
||||
|
||||
@@ -63,7 +63,7 @@ public class AppsFailureReceiver extends BroadcastReceiver {
|
||||
if (mFailuresCount == FAILURES_THRESHOLD) {
|
||||
// let the theme manager take care of getting us back on the default theme
|
||||
IThemeService tm = IThemeService.Stub.asInterface(ServiceManager
|
||||
.getService(CMContextConstants.CM_THEME_SERVICE));
|
||||
.getService(LineageContextConstants.LINEAGE_THEME_SERVICE));
|
||||
final String themePkgName = ThemeConfig.SYSTEM_DEFAULT;
|
||||
ThemeChangeRequest.Builder builder = new ThemeChangeRequest.Builder();
|
||||
builder.setOverlay(themePkgName)
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.cyanogenmod.platform.internal;
|
||||
package org.lineageos.platform.internal;
|
||||
|
||||
import android.annotation.NonNull;
|
||||
import android.annotation.Nullable;
|
||||
@@ -30,14 +30,14 @@ import android.os.Message;
|
||||
import android.os.SystemClock;
|
||||
import android.util.Slog;
|
||||
|
||||
import cyanogenmod.platform.Manifest;
|
||||
import lineageos.platform.Manifest;
|
||||
|
||||
import com.android.internal.util.Preconditions;
|
||||
|
||||
import org.cyanogenmod.platform.internal.common.BrokeredServiceConnection;
|
||||
import org.lineageos.platform.internal.common.BrokeredServiceConnection;
|
||||
|
||||
public abstract class BrokerableCMSystemService<T extends IInterface> extends CMSystemService {
|
||||
private static final String TAG = BrokerableCMSystemService.class.getSimpleName();
|
||||
public abstract class BrokerableLineageSystemService<T extends IInterface> extends LineageSystemService {
|
||||
private static final String TAG = BrokerableLineageSystemService.class.getSimpleName();
|
||||
|
||||
private static final int MSG_TRY_CONNECTING = 1;
|
||||
private static final long SERVICE_CONNECTION_WAIT_TIME_MS = 4 * 1000L; // 4 seconds
|
||||
@@ -46,7 +46,7 @@ public abstract class BrokerableCMSystemService<T extends IInterface> extends CM
|
||||
private BrokeredServiceConnection mBrokeredServiceConnection;
|
||||
private T mImplementingBinderInterface;
|
||||
|
||||
public BrokerableCMSystemService(Context context) {
|
||||
public BrokerableLineageSystemService(Context context) {
|
||||
super(context);
|
||||
mContext = context;
|
||||
}
|
||||
@@ -209,9 +209,9 @@ public abstract class BrokerableCMSystemService<T extends IInterface> extends CM
|
||||
@Override
|
||||
public void onServiceConnected(ComponentName name, IBinder service) {
|
||||
Slog.i(TAG, "Implementation service connected");
|
||||
synchronized (BrokerableCMSystemService.this) {
|
||||
synchronized (BrokerableLineageSystemService.this) {
|
||||
mImplementingBinderInterface = getIBinderAsIInterface(service);
|
||||
BrokerableCMSystemService.this.notifyAll();
|
||||
BrokerableLineageSystemService.this.notifyAll();
|
||||
if (mBrokeredServiceConnection != null) {
|
||||
Slog.i(TAG, "Notifying service connected");
|
||||
mBrokeredServiceConnection.onBrokeredServiceConnected();
|
||||
@@ -222,9 +222,9 @@ public abstract class BrokerableCMSystemService<T extends IInterface> extends CM
|
||||
@Override
|
||||
public void onServiceDisconnected(ComponentName name) {
|
||||
Slog.i(TAG, "Implementation service unexpectedly disconnected");
|
||||
synchronized (BrokerableCMSystemService.this) {
|
||||
synchronized (BrokerableLineageSystemService.this) {
|
||||
mImplementingBinderInterface = null;
|
||||
BrokerableCMSystemService.this.notifyAll();
|
||||
BrokerableLineageSystemService.this.notifyAll();
|
||||
if (mBrokeredServiceConnection != null) {
|
||||
mBrokeredServiceConnection.onBrokeredServiceDisconnected();
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.cyanogenmod.platform.internal;
|
||||
package org.lineageos.platform.internal;
|
||||
|
||||
import android.annotation.NonNull;
|
||||
import android.content.ComponentName;
|
||||
@@ -23,21 +23,21 @@ import android.graphics.Bitmap;
|
||||
import android.os.IBinder;
|
||||
import android.os.RemoteException;
|
||||
|
||||
import cyanogenmod.app.CMContextConstants;
|
||||
import lineageos.app.LineageContextConstants;
|
||||
|
||||
import org.cyanogenmod.internal.themes.IIconCacheManager;
|
||||
import org.cyanogenmod.platform.internal.common.BrokeredServiceConnection;
|
||||
import org.lineageos.internal.themes.IIconCacheManager;
|
||||
import org.lineageos.platform.internal.common.BrokeredServiceConnection;
|
||||
|
||||
/**
|
||||
* Icon cache service broker for connecting clients to a backing icon cache manager service.
|
||||
*
|
||||
* @hide
|
||||
*/
|
||||
public class IconCacheManagerServiceBroker extends BrokerableCMSystemService<IIconCacheManager> {
|
||||
public class IconCacheManagerServiceBroker extends BrokerableLineageSystemService<IIconCacheManager> {
|
||||
|
||||
private static final ComponentName SERVICE_COMPONENT =
|
||||
new ComponentName("org.cyanogenmod.themeservice",
|
||||
"org.cyanogenmod.themeservice.IconCacheManagerService");
|
||||
new ComponentName("org.lineageos.themeservice",
|
||||
"org.lineageos.themeservice.IconCacheManagerService");
|
||||
|
||||
private final IIconCacheManager mServiceStubForFailure = new IIconCacheManager.Stub() {
|
||||
@Override
|
||||
@@ -70,7 +70,7 @@ public class IconCacheManagerServiceBroker extends BrokerableCMSystemService<IIc
|
||||
|
||||
@Override
|
||||
public String getFeatureDeclaration() {
|
||||
return CMContextConstants.Features.THEMES;
|
||||
return LineageContextConstants.Features.THEMES;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -90,11 +90,11 @@ public class IconCacheManagerServiceBroker extends BrokerableCMSystemService<IIc
|
||||
|
||||
@Override
|
||||
public void onStart() {
|
||||
publishBinderService(CMContextConstants.CM_ICON_CACHE_SERVICE, new BinderService());
|
||||
publishBinderService(LineageContextConstants.LINEAGE_ICON_CACHE_SERVICE, new BinderService());
|
||||
}
|
||||
|
||||
@Override
|
||||
protected String getComponentFilteringPermission() {
|
||||
return cyanogenmod.platform.Manifest.permission.ACCESS_THEME_MANAGER;
|
||||
return lineageos.platform.Manifest.permission.ACCESS_THEME_MANAGER;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,9 +13,9 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.cyanogenmod.platform.internal;
|
||||
package org.lineageos.platform.internal;
|
||||
|
||||
import org.cyanogenmod.platform.internal.common.BrokeredServiceConnection;
|
||||
import org.lineageos.platform.internal.common.BrokeredServiceConnection;
|
||||
|
||||
import android.annotation.NonNull;
|
||||
import android.annotation.SdkConstant;
|
||||
@@ -33,22 +33,22 @@ import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
import cyanogenmod.app.CMContextConstants;
|
||||
import cyanogenmod.media.AudioSessionInfo;
|
||||
import cyanogenmod.media.ICMAudioService;
|
||||
import lineageos.app.LineageContextConstants;
|
||||
import lineageos.media.AudioSessionInfo;
|
||||
import lineageos.media.ILineageAudioService;
|
||||
|
||||
public class CMAudioServiceBroker extends BrokerableCMSystemService<ICMAudioService> {
|
||||
public class LineageAudioServiceBroker extends BrokerableLineageSystemService<ILineageAudioService> {
|
||||
|
||||
private static final String TAG = "CMAudioServiceBroker";
|
||||
private static final String TAG = "LineageAudioServiceBroker";
|
||||
private static final boolean DEBUG = Log.isLoggable(TAG, Log.DEBUG);
|
||||
|
||||
private final Context mContext;
|
||||
|
||||
private static final ComponentName TARGET_IMPLEMENTATION_COMPONENT =
|
||||
new ComponentName("org.cyanogenmod.cmaudio.service",
|
||||
"org.cyanogenmod.cmaudio.service.CMAudioService");
|
||||
new ComponentName("org.lineageos.lineageaudio.service",
|
||||
"org.lineageos.lineageaudio.service.LineageAudioService");
|
||||
|
||||
public CMAudioServiceBroker(Context context) {
|
||||
public LineageAudioServiceBroker(Context context) {
|
||||
super(context);
|
||||
mContext = context;
|
||||
}
|
||||
@@ -57,7 +57,7 @@ public class CMAudioServiceBroker extends BrokerableCMSystemService<ICMAudioServ
|
||||
public void onBootPhase(int phase) {
|
||||
super.onBootPhase(phase);
|
||||
if (phase == PHASE_THIRD_PARTY_APPS_CAN_START) {
|
||||
publishBinderService(CMContextConstants.CM_AUDIO_SERVICE, new BinderService());
|
||||
publishBinderService(LineageContextConstants.LINEAGE_AUDIO_SERVICE, new BinderService());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -67,12 +67,12 @@ public class CMAudioServiceBroker extends BrokerableCMSystemService<ICMAudioServ
|
||||
}
|
||||
|
||||
@Override
|
||||
protected ICMAudioService getIBinderAsIInterface(@NonNull IBinder service) {
|
||||
return ICMAudioService.Stub.asInterface(service);
|
||||
protected ILineageAudioService getIBinderAsIInterface(@NonNull IBinder service) {
|
||||
return ILineageAudioService.Stub.asInterface(service);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected ICMAudioService getDefaultImplementation() {
|
||||
protected ILineageAudioService getDefaultImplementation() {
|
||||
return mServiceStubForFailure;
|
||||
}
|
||||
|
||||
@@ -83,15 +83,15 @@ public class CMAudioServiceBroker extends BrokerableCMSystemService<ICMAudioServ
|
||||
|
||||
private void checkPermission() {
|
||||
mContext.enforceCallingOrSelfPermission(
|
||||
cyanogenmod.platform.Manifest.permission.OBSERVE_AUDIO_SESSIONS, null);
|
||||
lineageos.platform.Manifest.permission.OBSERVE_AUDIO_SESSIONS, null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getFeatureDeclaration() {
|
||||
return CMContextConstants.Features.AUDIO;
|
||||
return LineageContextConstants.Features.AUDIO;
|
||||
}
|
||||
|
||||
private final ICMAudioService mServiceStubForFailure = new ICMAudioService.Stub() {
|
||||
private final ILineageAudioService mServiceStubForFailure = new ILineageAudioService.Stub() {
|
||||
@Override
|
||||
public List<AudioSessionInfo> listAudioSessions(int streamType) throws RemoteException {
|
||||
checkPermission();
|
||||
@@ -99,7 +99,7 @@ public class CMAudioServiceBroker extends BrokerableCMSystemService<ICMAudioServ
|
||||
}
|
||||
};
|
||||
|
||||
private final class BinderService extends ICMAudioService.Stub {
|
||||
private final class BinderService extends ILineageAudioService.Stub {
|
||||
@Override
|
||||
public List<AudioSessionInfo> listAudioSessions(int streamType) throws RemoteException {
|
||||
checkPermission();
|
||||
@@ -111,7 +111,7 @@ public class CMAudioServiceBroker extends BrokerableCMSystemService<ICMAudioServ
|
||||
mContext.enforceCallingOrSelfPermission(android.Manifest.permission.DUMP, TAG);
|
||||
|
||||
pw.println();
|
||||
pw.println("CMAudio Service State:");
|
||||
pw.println("LineageAudio Service State:");
|
||||
try {
|
||||
List<AudioSessionInfo> sessions = listAudioSessions(-1);
|
||||
if (sessions.size() > 0) {
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.cyanogenmod.platform.internal;
|
||||
package org.lineageos.platform.internal;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
@@ -28,49 +28,49 @@ import android.util.Range;
|
||||
|
||||
import com.android.server.SystemService;
|
||||
|
||||
import cyanogenmod.app.CMContextConstants;
|
||||
import cyanogenmod.hardware.ICMHardwareService;
|
||||
import cyanogenmod.hardware.CMHardwareManager;
|
||||
import cyanogenmod.hardware.DisplayMode;
|
||||
import cyanogenmod.hardware.IThermalListenerCallback;
|
||||
import cyanogenmod.hardware.ThermalListenerCallback;
|
||||
import cyanogenmod.hardware.HSIC;
|
||||
import cyanogenmod.hardware.TouchscreenGesture;
|
||||
import lineageos.app.LineageContextConstants;
|
||||
import lineageos.hardware.ILineageHardwareService;
|
||||
import lineageos.hardware.LineageHardwareManager;
|
||||
import lineageos.hardware.DisplayMode;
|
||||
import lineageos.hardware.IThermalListenerCallback;
|
||||
import lineageos.hardware.ThermalListenerCallback;
|
||||
import lineageos.hardware.HSIC;
|
||||
import lineageos.hardware.TouchscreenGesture;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
import org.cyanogenmod.hardware.AdaptiveBacklight;
|
||||
import org.cyanogenmod.hardware.AutoContrast;
|
||||
import org.cyanogenmod.hardware.ColorBalance;
|
||||
import org.cyanogenmod.hardware.ColorEnhancement;
|
||||
import org.cyanogenmod.hardware.DisplayColorCalibration;
|
||||
import org.cyanogenmod.hardware.DisplayGammaCalibration;
|
||||
import org.cyanogenmod.hardware.DisplayModeControl;
|
||||
import org.cyanogenmod.hardware.HighTouchSensitivity;
|
||||
import org.cyanogenmod.hardware.KeyDisabler;
|
||||
import org.cyanogenmod.hardware.LongTermOrbits;
|
||||
import org.cyanogenmod.hardware.PersistentStorage;
|
||||
import org.cyanogenmod.hardware.PictureAdjustment;
|
||||
import org.cyanogenmod.hardware.SerialNumber;
|
||||
import org.cyanogenmod.hardware.SunlightEnhancement;
|
||||
import org.cyanogenmod.hardware.ThermalMonitor;
|
||||
import org.cyanogenmod.hardware.ThermalUpdateCallback;
|
||||
import org.cyanogenmod.hardware.TouchscreenGestures;
|
||||
import org.cyanogenmod.hardware.TouchscreenHovering;
|
||||
import org.cyanogenmod.hardware.UniqueDeviceId;
|
||||
import org.cyanogenmod.hardware.VibratorHW;
|
||||
import org.lineageos.hardware.AdaptiveBacklight;
|
||||
import org.lineageos.hardware.AutoContrast;
|
||||
import org.lineageos.hardware.ColorBalance;
|
||||
import org.lineageos.hardware.ColorEnhancement;
|
||||
import org.lineageos.hardware.DisplayColorCalibration;
|
||||
import org.lineageos.hardware.DisplayGammaCalibration;
|
||||
import org.lineageos.hardware.DisplayModeControl;
|
||||
import org.lineageos.hardware.HighTouchSensitivity;
|
||||
import org.lineageos.hardware.KeyDisabler;
|
||||
import org.lineageos.hardware.LongTermOrbits;
|
||||
import org.lineageos.hardware.PersistentStorage;
|
||||
import org.lineageos.hardware.PictureAdjustment;
|
||||
import org.lineageos.hardware.SerialNumber;
|
||||
import org.lineageos.hardware.SunlightEnhancement;
|
||||
import org.lineageos.hardware.ThermalMonitor;
|
||||
import org.lineageos.hardware.ThermalUpdateCallback;
|
||||
import org.lineageos.hardware.TouchscreenGestures;
|
||||
import org.lineageos.hardware.TouchscreenHovering;
|
||||
import org.lineageos.hardware.UniqueDeviceId;
|
||||
import org.lineageos.hardware.VibratorHW;
|
||||
|
||||
/** @hide */
|
||||
public class CMHardwareService extends CMSystemService implements ThermalUpdateCallback {
|
||||
public class LineageHardwareService extends LineageSystemService implements ThermalUpdateCallback {
|
||||
|
||||
private static final boolean DEBUG = true;
|
||||
private static final String TAG = CMHardwareService.class.getSimpleName();
|
||||
private static final String TAG = LineageHardwareService.class.getSimpleName();
|
||||
|
||||
private final Context mContext;
|
||||
private final CMHardwareInterface mCmHwImpl;
|
||||
private final LineageHardwareInterface mLineageHwImpl;
|
||||
private int mCurrentThermalState = ThermalListenerCallback.State.STATE_UNKNOWN;
|
||||
private RemoteCallbackList<IThermalListenerCallback> mRemoteCallbackList;
|
||||
|
||||
@@ -78,7 +78,7 @@ public class CMHardwareService extends CMSystemService implements ThermalUpdateC
|
||||
new ArrayMap<String, String>();
|
||||
private final boolean mFilterDisplayModes;
|
||||
|
||||
private interface CMHardwareInterface {
|
||||
private interface LineageHardwareInterface {
|
||||
public int getSupportedFeatures();
|
||||
public boolean get(int feature);
|
||||
public boolean set(int feature, boolean enable);
|
||||
@@ -125,49 +125,49 @@ public class CMHardwareService extends CMSystemService implements ThermalUpdateC
|
||||
public boolean setTouchscreenGestureEnabled(TouchscreenGesture gesture, boolean state);
|
||||
}
|
||||
|
||||
private class LegacyCMHardware implements CMHardwareInterface {
|
||||
private class LegacyLineageHardware implements LineageHardwareInterface {
|
||||
|
||||
private int mSupportedFeatures = 0;
|
||||
|
||||
public LegacyCMHardware() {
|
||||
public LegacyLineageHardware() {
|
||||
if (AdaptiveBacklight.isSupported())
|
||||
mSupportedFeatures |= CMHardwareManager.FEATURE_ADAPTIVE_BACKLIGHT;
|
||||
mSupportedFeatures |= LineageHardwareManager.FEATURE_ADAPTIVE_BACKLIGHT;
|
||||
if (ColorEnhancement.isSupported())
|
||||
mSupportedFeatures |= CMHardwareManager.FEATURE_COLOR_ENHANCEMENT;
|
||||
mSupportedFeatures |= LineageHardwareManager.FEATURE_COLOR_ENHANCEMENT;
|
||||
if (DisplayColorCalibration.isSupported())
|
||||
mSupportedFeatures |= CMHardwareManager.FEATURE_DISPLAY_COLOR_CALIBRATION;
|
||||
mSupportedFeatures |= LineageHardwareManager.FEATURE_DISPLAY_COLOR_CALIBRATION;
|
||||
if (DisplayGammaCalibration.isSupported())
|
||||
mSupportedFeatures |= CMHardwareManager.FEATURE_DISPLAY_GAMMA_CALIBRATION;
|
||||
mSupportedFeatures |= LineageHardwareManager.FEATURE_DISPLAY_GAMMA_CALIBRATION;
|
||||
if (HighTouchSensitivity.isSupported())
|
||||
mSupportedFeatures |= CMHardwareManager.FEATURE_HIGH_TOUCH_SENSITIVITY;
|
||||
mSupportedFeatures |= LineageHardwareManager.FEATURE_HIGH_TOUCH_SENSITIVITY;
|
||||
if (KeyDisabler.isSupported())
|
||||
mSupportedFeatures |= CMHardwareManager.FEATURE_KEY_DISABLE;
|
||||
mSupportedFeatures |= LineageHardwareManager.FEATURE_KEY_DISABLE;
|
||||
if (LongTermOrbits.isSupported())
|
||||
mSupportedFeatures |= CMHardwareManager.FEATURE_LONG_TERM_ORBITS;
|
||||
mSupportedFeatures |= LineageHardwareManager.FEATURE_LONG_TERM_ORBITS;
|
||||
if (SerialNumber.isSupported())
|
||||
mSupportedFeatures |= CMHardwareManager.FEATURE_SERIAL_NUMBER;
|
||||
mSupportedFeatures |= LineageHardwareManager.FEATURE_SERIAL_NUMBER;
|
||||
if (SunlightEnhancement.isSupported())
|
||||
mSupportedFeatures |= CMHardwareManager.FEATURE_SUNLIGHT_ENHANCEMENT;
|
||||
mSupportedFeatures |= LineageHardwareManager.FEATURE_SUNLIGHT_ENHANCEMENT;
|
||||
if (VibratorHW.isSupported())
|
||||
mSupportedFeatures |= CMHardwareManager.FEATURE_VIBRATOR;
|
||||
mSupportedFeatures |= LineageHardwareManager.FEATURE_VIBRATOR;
|
||||
if (TouchscreenHovering.isSupported())
|
||||
mSupportedFeatures |= CMHardwareManager.FEATURE_TOUCH_HOVERING;
|
||||
mSupportedFeatures |= LineageHardwareManager.FEATURE_TOUCH_HOVERING;
|
||||
if (AutoContrast.isSupported())
|
||||
mSupportedFeatures |= CMHardwareManager.FEATURE_AUTO_CONTRAST;
|
||||
mSupportedFeatures |= LineageHardwareManager.FEATURE_AUTO_CONTRAST;
|
||||
if (DisplayModeControl.isSupported())
|
||||
mSupportedFeatures |= CMHardwareManager.FEATURE_DISPLAY_MODES;
|
||||
mSupportedFeatures |= LineageHardwareManager.FEATURE_DISPLAY_MODES;
|
||||
if (PersistentStorage.isSupported())
|
||||
mSupportedFeatures |= CMHardwareManager.FEATURE_PERSISTENT_STORAGE;
|
||||
mSupportedFeatures |= LineageHardwareManager.FEATURE_PERSISTENT_STORAGE;
|
||||
if (ThermalMonitor.isSupported())
|
||||
mSupportedFeatures |= CMHardwareManager.FEATURE_THERMAL_MONITOR;
|
||||
mSupportedFeatures |= LineageHardwareManager.FEATURE_THERMAL_MONITOR;
|
||||
if (UniqueDeviceId.isSupported())
|
||||
mSupportedFeatures |= CMHardwareManager.FEATURE_UNIQUE_DEVICE_ID;
|
||||
mSupportedFeatures |= LineageHardwareManager.FEATURE_UNIQUE_DEVICE_ID;
|
||||
if (ColorBalance.isSupported())
|
||||
mSupportedFeatures |= CMHardwareManager.FEATURE_COLOR_BALANCE;
|
||||
mSupportedFeatures |= LineageHardwareManager.FEATURE_COLOR_BALANCE;
|
||||
if (PictureAdjustment.isSupported())
|
||||
mSupportedFeatures |= CMHardwareManager.FEATURE_PICTURE_ADJUSTMENT;
|
||||
mSupportedFeatures |= LineageHardwareManager.FEATURE_PICTURE_ADJUSTMENT;
|
||||
if (TouchscreenGestures.isSupported())
|
||||
mSupportedFeatures |= CMHardwareManager.FEATURE_TOUCHSCREEN_GESTURES;
|
||||
mSupportedFeatures |= LineageHardwareManager.FEATURE_TOUCHSCREEN_GESTURES;
|
||||
}
|
||||
|
||||
public int getSupportedFeatures() {
|
||||
@@ -176,21 +176,21 @@ public class CMHardwareService extends CMSystemService implements ThermalUpdateC
|
||||
|
||||
public boolean get(int feature) {
|
||||
switch(feature) {
|
||||
case CMHardwareManager.FEATURE_ADAPTIVE_BACKLIGHT:
|
||||
case LineageHardwareManager.FEATURE_ADAPTIVE_BACKLIGHT:
|
||||
return AdaptiveBacklight.isEnabled();
|
||||
case CMHardwareManager.FEATURE_COLOR_ENHANCEMENT:
|
||||
case LineageHardwareManager.FEATURE_COLOR_ENHANCEMENT:
|
||||
return ColorEnhancement.isEnabled();
|
||||
case CMHardwareManager.FEATURE_HIGH_TOUCH_SENSITIVITY:
|
||||
case LineageHardwareManager.FEATURE_HIGH_TOUCH_SENSITIVITY:
|
||||
return HighTouchSensitivity.isEnabled();
|
||||
case CMHardwareManager.FEATURE_KEY_DISABLE:
|
||||
case LineageHardwareManager.FEATURE_KEY_DISABLE:
|
||||
return KeyDisabler.isActive();
|
||||
case CMHardwareManager.FEATURE_SUNLIGHT_ENHANCEMENT:
|
||||
case LineageHardwareManager.FEATURE_SUNLIGHT_ENHANCEMENT:
|
||||
return SunlightEnhancement.isEnabled();
|
||||
case CMHardwareManager.FEATURE_TOUCH_HOVERING:
|
||||
case LineageHardwareManager.FEATURE_TOUCH_HOVERING:
|
||||
return TouchscreenHovering.isEnabled();
|
||||
case CMHardwareManager.FEATURE_AUTO_CONTRAST:
|
||||
case LineageHardwareManager.FEATURE_AUTO_CONTRAST:
|
||||
return AutoContrast.isEnabled();
|
||||
case CMHardwareManager.FEATURE_THERMAL_MONITOR:
|
||||
case LineageHardwareManager.FEATURE_THERMAL_MONITOR:
|
||||
return ThermalMonitor.isEnabled();
|
||||
default:
|
||||
Log.e(TAG, "feature " + feature + " is not a boolean feature");
|
||||
@@ -200,19 +200,19 @@ public class CMHardwareService extends CMSystemService implements ThermalUpdateC
|
||||
|
||||
public boolean set(int feature, boolean enable) {
|
||||
switch(feature) {
|
||||
case CMHardwareManager.FEATURE_ADAPTIVE_BACKLIGHT:
|
||||
case LineageHardwareManager.FEATURE_ADAPTIVE_BACKLIGHT:
|
||||
return AdaptiveBacklight.setEnabled(enable);
|
||||
case CMHardwareManager.FEATURE_COLOR_ENHANCEMENT:
|
||||
case LineageHardwareManager.FEATURE_COLOR_ENHANCEMENT:
|
||||
return ColorEnhancement.setEnabled(enable);
|
||||
case CMHardwareManager.FEATURE_HIGH_TOUCH_SENSITIVITY:
|
||||
case LineageHardwareManager.FEATURE_HIGH_TOUCH_SENSITIVITY:
|
||||
return HighTouchSensitivity.setEnabled(enable);
|
||||
case CMHardwareManager.FEATURE_KEY_DISABLE:
|
||||
case LineageHardwareManager.FEATURE_KEY_DISABLE:
|
||||
return KeyDisabler.setActive(enable);
|
||||
case CMHardwareManager.FEATURE_SUNLIGHT_ENHANCEMENT:
|
||||
case LineageHardwareManager.FEATURE_SUNLIGHT_ENHANCEMENT:
|
||||
return SunlightEnhancement.setEnabled(enable);
|
||||
case CMHardwareManager.FEATURE_TOUCH_HOVERING:
|
||||
case LineageHardwareManager.FEATURE_TOUCH_HOVERING:
|
||||
return TouchscreenHovering.setEnabled(enable);
|
||||
case CMHardwareManager.FEATURE_AUTO_CONTRAST:
|
||||
case LineageHardwareManager.FEATURE_AUTO_CONTRAST:
|
||||
return AutoContrast.setEnabled(enable);
|
||||
default:
|
||||
Log.e(TAG, "feature " + feature + " is not a boolean feature");
|
||||
@@ -239,11 +239,11 @@ public class CMHardwareService extends CMSystemService implements ThermalUpdateC
|
||||
|
||||
private String rgbToString(int[] rgb) {
|
||||
StringBuilder builder = new StringBuilder();
|
||||
builder.append(rgb[CMHardwareManager.COLOR_CALIBRATION_RED_INDEX]);
|
||||
builder.append(rgb[LineageHardwareManager.COLOR_CALIBRATION_RED_INDEX]);
|
||||
builder.append(" ");
|
||||
builder.append(rgb[CMHardwareManager.COLOR_CALIBRATION_GREEN_INDEX]);
|
||||
builder.append(rgb[LineageHardwareManager.COLOR_CALIBRATION_GREEN_INDEX]);
|
||||
builder.append(" ");
|
||||
builder.append(rgb[CMHardwareManager.COLOR_CALIBRATION_BLUE_INDEX]);
|
||||
builder.append(rgb[LineageHardwareManager.COLOR_CALIBRATION_BLUE_INDEX]);
|
||||
return builder.toString();
|
||||
}
|
||||
|
||||
@@ -254,14 +254,14 @@ public class CMHardwareService extends CMSystemService implements ThermalUpdateC
|
||||
return null;
|
||||
}
|
||||
int[] currentCalibration = new int[6];
|
||||
currentCalibration[CMHardwareManager.COLOR_CALIBRATION_RED_INDEX] = rgb[0];
|
||||
currentCalibration[CMHardwareManager.COLOR_CALIBRATION_GREEN_INDEX] = rgb[1];
|
||||
currentCalibration[CMHardwareManager.COLOR_CALIBRATION_BLUE_INDEX] = rgb[2];
|
||||
currentCalibration[CMHardwareManager.COLOR_CALIBRATION_DEFAULT_INDEX] =
|
||||
currentCalibration[LineageHardwareManager.COLOR_CALIBRATION_RED_INDEX] = rgb[0];
|
||||
currentCalibration[LineageHardwareManager.COLOR_CALIBRATION_GREEN_INDEX] = rgb[1];
|
||||
currentCalibration[LineageHardwareManager.COLOR_CALIBRATION_BLUE_INDEX] = rgb[2];
|
||||
currentCalibration[LineageHardwareManager.COLOR_CALIBRATION_DEFAULT_INDEX] =
|
||||
DisplayColorCalibration.getDefValue();
|
||||
currentCalibration[CMHardwareManager.COLOR_CALIBRATION_MIN_INDEX] =
|
||||
currentCalibration[LineageHardwareManager.COLOR_CALIBRATION_MIN_INDEX] =
|
||||
DisplayColorCalibration.getMinValue();
|
||||
currentCalibration[CMHardwareManager.COLOR_CALIBRATION_MAX_INDEX] =
|
||||
currentCalibration[LineageHardwareManager.COLOR_CALIBRATION_MAX_INDEX] =
|
||||
DisplayColorCalibration.getMaxValue();
|
||||
return currentCalibration;
|
||||
}
|
||||
@@ -281,12 +281,12 @@ public class CMHardwareService extends CMSystemService implements ThermalUpdateC
|
||||
return null;
|
||||
}
|
||||
int[] currentCalibration = new int[5];
|
||||
currentCalibration[CMHardwareManager.GAMMA_CALIBRATION_RED_INDEX] = rgb[0];
|
||||
currentCalibration[CMHardwareManager.GAMMA_CALIBRATION_GREEN_INDEX] = rgb[1];
|
||||
currentCalibration[CMHardwareManager.GAMMA_CALIBRATION_BLUE_INDEX] = rgb[2];
|
||||
currentCalibration[CMHardwareManager.GAMMA_CALIBRATION_MIN_INDEX] =
|
||||
currentCalibration[LineageHardwareManager.GAMMA_CALIBRATION_RED_INDEX] = rgb[0];
|
||||
currentCalibration[LineageHardwareManager.GAMMA_CALIBRATION_GREEN_INDEX] = rgb[1];
|
||||
currentCalibration[LineageHardwareManager.GAMMA_CALIBRATION_BLUE_INDEX] = rgb[2];
|
||||
currentCalibration[LineageHardwareManager.GAMMA_CALIBRATION_MIN_INDEX] =
|
||||
DisplayGammaCalibration.getMinValue(idx);
|
||||
currentCalibration[CMHardwareManager.GAMMA_CALIBRATION_MAX_INDEX] =
|
||||
currentCalibration[LineageHardwareManager.GAMMA_CALIBRATION_MAX_INDEX] =
|
||||
DisplayGammaCalibration.getMaxValue(idx);
|
||||
return currentCalibration;
|
||||
}
|
||||
@@ -297,11 +297,11 @@ public class CMHardwareService extends CMSystemService implements ThermalUpdateC
|
||||
|
||||
public int[] getVibratorIntensity() {
|
||||
int[] vibrator = new int[5];
|
||||
vibrator[CMHardwareManager.VIBRATOR_INTENSITY_INDEX] = VibratorHW.getCurIntensity();
|
||||
vibrator[CMHardwareManager.VIBRATOR_DEFAULT_INDEX] = VibratorHW.getDefaultIntensity();
|
||||
vibrator[CMHardwareManager.VIBRATOR_MIN_INDEX] = VibratorHW.getMinIntensity();
|
||||
vibrator[CMHardwareManager.VIBRATOR_MAX_INDEX] = VibratorHW.getMaxIntensity();
|
||||
vibrator[CMHardwareManager.VIBRATOR_WARNING_INDEX] = VibratorHW.getWarningThreshold();
|
||||
vibrator[LineageHardwareManager.VIBRATOR_INTENSITY_INDEX] = VibratorHW.getCurIntensity();
|
||||
vibrator[LineageHardwareManager.VIBRATOR_DEFAULT_INDEX] = VibratorHW.getDefaultIntensity();
|
||||
vibrator[LineageHardwareManager.VIBRATOR_MIN_INDEX] = VibratorHW.getMinIntensity();
|
||||
vibrator[LineageHardwareManager.VIBRATOR_MAX_INDEX] = VibratorHW.getMaxIntensity();
|
||||
vibrator[LineageHardwareManager.VIBRATOR_WARNING_INDEX] = VibratorHW.getWarningThreshold();
|
||||
return vibrator;
|
||||
}
|
||||
|
||||
@@ -402,18 +402,18 @@ public class CMHardwareService extends CMSystemService implements ThermalUpdateC
|
||||
}
|
||||
}
|
||||
|
||||
private CMHardwareInterface getImpl(Context context) {
|
||||
return new LegacyCMHardware();
|
||||
private LineageHardwareInterface getImpl(Context context) {
|
||||
return new LegacyLineageHardware();
|
||||
}
|
||||
|
||||
public CMHardwareService(Context context) {
|
||||
public LineageHardwareService(Context context) {
|
||||
super(context);
|
||||
mContext = context;
|
||||
mCmHwImpl = getImpl(context);
|
||||
publishBinderService(CMContextConstants.CM_HARDWARE_SERVICE, mService);
|
||||
mLineageHwImpl = getImpl(context);
|
||||
publishBinderService(LineageContextConstants.LINEAGE_HARDWARE_SERVICE, mService);
|
||||
|
||||
final String[] mappings = mContext.getResources().getStringArray(
|
||||
org.cyanogenmod.platform.internal.R.array.config_displayModeMappings);
|
||||
org.lineageos.platform.internal.R.array.config_displayModeMappings);
|
||||
if (mappings != null && mappings.length > 0) {
|
||||
for (String mapping : mappings) {
|
||||
String[] split = mapping.split(":");
|
||||
@@ -423,21 +423,21 @@ public class CMHardwareService extends CMSystemService implements ThermalUpdateC
|
||||
}
|
||||
}
|
||||
mFilterDisplayModes = mContext.getResources().getBoolean(
|
||||
org.cyanogenmod.platform.internal.R.bool.config_filterDisplayModes);
|
||||
org.lineageos.platform.internal.R.bool.config_filterDisplayModes);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getFeatureDeclaration() {
|
||||
return CMContextConstants.Features.HARDWARE_ABSTRACTION;
|
||||
return LineageContextConstants.Features.HARDWARE_ABSTRACTION;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onBootPhase(int phase) {
|
||||
if (phase == PHASE_BOOT_COMPLETED) {
|
||||
Intent intent = new Intent(cyanogenmod.content.Intent.ACTION_INITIALIZE_CM_HARDWARE);
|
||||
Intent intent = new Intent(lineageos.content.Intent.ACTION_INITIALIZE_LINEAGE_HARDWARE);
|
||||
intent.addFlags(Intent.FLAG_RECEIVER_FOREGROUND);
|
||||
mContext.sendBroadcastAsUser(intent, UserHandle.ALL,
|
||||
cyanogenmod.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS);
|
||||
lineageos.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -478,7 +478,7 @@ public class CMHardwareService extends CMSystemService implements ThermalUpdateC
|
||||
return null;
|
||||
}
|
||||
|
||||
private final IBinder mService = new ICMHardwareService.Stub() {
|
||||
private final IBinder mService = new ILineageHardwareService.Stub() {
|
||||
|
||||
private boolean isSupported(int feature) {
|
||||
return (getSupportedFeatures() & feature) == feature;
|
||||
@@ -487,48 +487,48 @@ public class CMHardwareService extends CMSystemService implements ThermalUpdateC
|
||||
@Override
|
||||
public int getSupportedFeatures() {
|
||||
mContext.enforceCallingOrSelfPermission(
|
||||
cyanogenmod.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
return mCmHwImpl.getSupportedFeatures();
|
||||
lineageos.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
return mLineageHwImpl.getSupportedFeatures();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean get(int feature) {
|
||||
mContext.enforceCallingOrSelfPermission(
|
||||
cyanogenmod.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
lineageos.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (!isSupported(feature)) {
|
||||
Log.e(TAG, "feature " + feature + " is not supported");
|
||||
return false;
|
||||
}
|
||||
return mCmHwImpl.get(feature);
|
||||
return mLineageHwImpl.get(feature);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean set(int feature, boolean enable) {
|
||||
mContext.enforceCallingOrSelfPermission(
|
||||
cyanogenmod.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
lineageos.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (!isSupported(feature)) {
|
||||
Log.e(TAG, "feature " + feature + " is not supported");
|
||||
return false;
|
||||
}
|
||||
return mCmHwImpl.set(feature, enable);
|
||||
return mLineageHwImpl.set(feature, enable);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int[] getDisplayColorCalibration() {
|
||||
mContext.enforceCallingOrSelfPermission(
|
||||
cyanogenmod.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (!isSupported(CMHardwareManager.FEATURE_DISPLAY_COLOR_CALIBRATION)) {
|
||||
lineageos.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (!isSupported(LineageHardwareManager.FEATURE_DISPLAY_COLOR_CALIBRATION)) {
|
||||
Log.e(TAG, "Display color calibration is not supported");
|
||||
return null;
|
||||
}
|
||||
return mCmHwImpl.getDisplayColorCalibration();
|
||||
return mLineageHwImpl.getDisplayColorCalibration();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean setDisplayColorCalibration(int[] rgb) {
|
||||
mContext.enforceCallingOrSelfPermission(
|
||||
cyanogenmod.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (!isSupported(CMHardwareManager.FEATURE_DISPLAY_COLOR_CALIBRATION)) {
|
||||
lineageos.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (!isSupported(LineageHardwareManager.FEATURE_DISPLAY_COLOR_CALIBRATION)) {
|
||||
Log.e(TAG, "Display color calibration is not supported");
|
||||
return false;
|
||||
}
|
||||
@@ -536,150 +536,150 @@ public class CMHardwareService extends CMSystemService implements ThermalUpdateC
|
||||
Log.e(TAG, "Invalid color calibration");
|
||||
return false;
|
||||
}
|
||||
return mCmHwImpl.setDisplayColorCalibration(rgb);
|
||||
return mLineageHwImpl.setDisplayColorCalibration(rgb);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getNumGammaControls() {
|
||||
mContext.enforceCallingOrSelfPermission(
|
||||
cyanogenmod.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (!isSupported(CMHardwareManager.FEATURE_DISPLAY_GAMMA_CALIBRATION)) {
|
||||
lineageos.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (!isSupported(LineageHardwareManager.FEATURE_DISPLAY_GAMMA_CALIBRATION)) {
|
||||
Log.e(TAG, "Display gamma calibration is not supported");
|
||||
return 0;
|
||||
}
|
||||
return mCmHwImpl.getNumGammaControls();
|
||||
return mLineageHwImpl.getNumGammaControls();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int[] getDisplayGammaCalibration(int idx) {
|
||||
mContext.enforceCallingOrSelfPermission(
|
||||
cyanogenmod.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (!isSupported(CMHardwareManager.FEATURE_DISPLAY_GAMMA_CALIBRATION)) {
|
||||
lineageos.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (!isSupported(LineageHardwareManager.FEATURE_DISPLAY_GAMMA_CALIBRATION)) {
|
||||
Log.e(TAG, "Display gamma calibration is not supported");
|
||||
return null;
|
||||
}
|
||||
return mCmHwImpl.getDisplayGammaCalibration(idx);
|
||||
return mLineageHwImpl.getDisplayGammaCalibration(idx);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean setDisplayGammaCalibration(int idx, int[] rgb) {
|
||||
mContext.enforceCallingOrSelfPermission(
|
||||
cyanogenmod.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (!isSupported(CMHardwareManager.FEATURE_DISPLAY_GAMMA_CALIBRATION)) {
|
||||
lineageos.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (!isSupported(LineageHardwareManager.FEATURE_DISPLAY_GAMMA_CALIBRATION)) {
|
||||
Log.e(TAG, "Display gamma calibration is not supported");
|
||||
return false;
|
||||
}
|
||||
return mCmHwImpl.setDisplayGammaCalibration(idx, rgb);
|
||||
return mLineageHwImpl.setDisplayGammaCalibration(idx, rgb);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int[] getVibratorIntensity() {
|
||||
mContext.enforceCallingOrSelfPermission(
|
||||
cyanogenmod.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (!isSupported(CMHardwareManager.FEATURE_VIBRATOR)) {
|
||||
lineageos.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (!isSupported(LineageHardwareManager.FEATURE_VIBRATOR)) {
|
||||
Log.e(TAG, "Vibrator is not supported");
|
||||
return null;
|
||||
}
|
||||
return mCmHwImpl.getVibratorIntensity();
|
||||
return mLineageHwImpl.getVibratorIntensity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean setVibratorIntensity(int intensity) {
|
||||
mContext.enforceCallingOrSelfPermission(
|
||||
cyanogenmod.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (!isSupported(CMHardwareManager.FEATURE_VIBRATOR)) {
|
||||
lineageos.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (!isSupported(LineageHardwareManager.FEATURE_VIBRATOR)) {
|
||||
Log.e(TAG, "Vibrator is not supported");
|
||||
return false;
|
||||
}
|
||||
return mCmHwImpl.setVibratorIntensity(intensity);
|
||||
return mLineageHwImpl.setVibratorIntensity(intensity);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getLtoSource() {
|
||||
mContext.enforceCallingOrSelfPermission(
|
||||
cyanogenmod.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (!isSupported(CMHardwareManager.FEATURE_LONG_TERM_ORBITS)) {
|
||||
lineageos.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (!isSupported(LineageHardwareManager.FEATURE_LONG_TERM_ORBITS)) {
|
||||
Log.e(TAG, "Long term orbits is not supported");
|
||||
return null;
|
||||
}
|
||||
return mCmHwImpl.getLtoSource();
|
||||
return mLineageHwImpl.getLtoSource();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getLtoDestination() {
|
||||
mContext.enforceCallingOrSelfPermission(
|
||||
cyanogenmod.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (!isSupported(CMHardwareManager.FEATURE_LONG_TERM_ORBITS)) {
|
||||
lineageos.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (!isSupported(LineageHardwareManager.FEATURE_LONG_TERM_ORBITS)) {
|
||||
Log.e(TAG, "Long term orbits is not supported");
|
||||
return null;
|
||||
}
|
||||
return mCmHwImpl.getLtoDestination();
|
||||
return mLineageHwImpl.getLtoDestination();
|
||||
}
|
||||
|
||||
@Override
|
||||
public long getLtoDownloadInterval() {
|
||||
mContext.enforceCallingOrSelfPermission(
|
||||
cyanogenmod.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (!isSupported(CMHardwareManager.FEATURE_LONG_TERM_ORBITS)) {
|
||||
lineageos.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (!isSupported(LineageHardwareManager.FEATURE_LONG_TERM_ORBITS)) {
|
||||
Log.e(TAG, "Long term orbits is not supported");
|
||||
return 0;
|
||||
}
|
||||
return mCmHwImpl.getLtoDownloadInterval();
|
||||
return mLineageHwImpl.getLtoDownloadInterval();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getSerialNumber() {
|
||||
mContext.enforceCallingOrSelfPermission(
|
||||
cyanogenmod.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (!isSupported(CMHardwareManager.FEATURE_SERIAL_NUMBER)) {
|
||||
lineageos.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (!isSupported(LineageHardwareManager.FEATURE_SERIAL_NUMBER)) {
|
||||
Log.e(TAG, "Serial number is not supported");
|
||||
return null;
|
||||
}
|
||||
return mCmHwImpl.getSerialNumber();
|
||||
return mLineageHwImpl.getSerialNumber();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getUniqueDeviceId() {
|
||||
mContext.enforceCallingOrSelfPermission(
|
||||
cyanogenmod.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (!isSupported(CMHardwareManager.FEATURE_UNIQUE_DEVICE_ID)) {
|
||||
lineageos.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (!isSupported(LineageHardwareManager.FEATURE_UNIQUE_DEVICE_ID)) {
|
||||
Log.e(TAG, "Unique device ID is not supported");
|
||||
return null;
|
||||
}
|
||||
return mCmHwImpl.getUniqueDeviceId();
|
||||
return mLineageHwImpl.getUniqueDeviceId();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean requireAdaptiveBacklightForSunlightEnhancement() {
|
||||
mContext.enforceCallingOrSelfPermission(
|
||||
cyanogenmod.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (!isSupported(CMHardwareManager.FEATURE_SUNLIGHT_ENHANCEMENT)) {
|
||||
lineageos.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (!isSupported(LineageHardwareManager.FEATURE_SUNLIGHT_ENHANCEMENT)) {
|
||||
Log.e(TAG, "Sunlight enhancement is not supported");
|
||||
return false;
|
||||
}
|
||||
return mCmHwImpl.requireAdaptiveBacklightForSunlightEnhancement();
|
||||
return mLineageHwImpl.requireAdaptiveBacklightForSunlightEnhancement();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isSunlightEnhancementSelfManaged() {
|
||||
mContext.enforceCallingOrSelfPermission(
|
||||
cyanogenmod.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (!isSupported(CMHardwareManager.FEATURE_SUNLIGHT_ENHANCEMENT)) {
|
||||
lineageos.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (!isSupported(LineageHardwareManager.FEATURE_SUNLIGHT_ENHANCEMENT)) {
|
||||
Log.e(TAG, "Sunlight enhancement is not supported");
|
||||
return false;
|
||||
}
|
||||
return mCmHwImpl.isSunlightEnhancementSelfManaged();
|
||||
return mLineageHwImpl.isSunlightEnhancementSelfManaged();
|
||||
}
|
||||
|
||||
@Override
|
||||
public DisplayMode[] getDisplayModes() {
|
||||
mContext.enforceCallingOrSelfPermission(
|
||||
cyanogenmod.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (!isSupported(CMHardwareManager.FEATURE_DISPLAY_MODES)) {
|
||||
lineageos.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (!isSupported(LineageHardwareManager.FEATURE_DISPLAY_MODES)) {
|
||||
Log.e(TAG, "Display modes are not supported");
|
||||
return null;
|
||||
}
|
||||
final DisplayMode[] modes = mCmHwImpl.getDisplayModes();
|
||||
final DisplayMode[] modes = mLineageHwImpl.getDisplayModes();
|
||||
if (modes == null) {
|
||||
return null;
|
||||
}
|
||||
@@ -696,40 +696,40 @@ public class CMHardwareService extends CMSystemService implements ThermalUpdateC
|
||||
@Override
|
||||
public DisplayMode getCurrentDisplayMode() {
|
||||
mContext.enforceCallingOrSelfPermission(
|
||||
cyanogenmod.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (!isSupported(CMHardwareManager.FEATURE_DISPLAY_MODES)) {
|
||||
lineageos.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (!isSupported(LineageHardwareManager.FEATURE_DISPLAY_MODES)) {
|
||||
Log.e(TAG, "Display modes are not supported");
|
||||
return null;
|
||||
}
|
||||
return remapDisplayMode(mCmHwImpl.getCurrentDisplayMode());
|
||||
return remapDisplayMode(mLineageHwImpl.getCurrentDisplayMode());
|
||||
}
|
||||
|
||||
@Override
|
||||
public DisplayMode getDefaultDisplayMode() {
|
||||
mContext.enforceCallingOrSelfPermission(
|
||||
cyanogenmod.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (!isSupported(CMHardwareManager.FEATURE_DISPLAY_MODES)) {
|
||||
lineageos.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (!isSupported(LineageHardwareManager.FEATURE_DISPLAY_MODES)) {
|
||||
Log.e(TAG, "Display modes are not supported");
|
||||
return null;
|
||||
}
|
||||
return remapDisplayMode(mCmHwImpl.getDefaultDisplayMode());
|
||||
return remapDisplayMode(mLineageHwImpl.getDefaultDisplayMode());
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean setDisplayMode(DisplayMode mode, boolean makeDefault) {
|
||||
mContext.enforceCallingOrSelfPermission(
|
||||
cyanogenmod.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (!isSupported(CMHardwareManager.FEATURE_DISPLAY_MODES)) {
|
||||
lineageos.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (!isSupported(LineageHardwareManager.FEATURE_DISPLAY_MODES)) {
|
||||
Log.e(TAG, "Display modes are not supported");
|
||||
return false;
|
||||
}
|
||||
return mCmHwImpl.setDisplayMode(mode, makeDefault);
|
||||
return mLineageHwImpl.setDisplayMode(mode, makeDefault);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean writePersistentBytes(String key, byte[] value) {
|
||||
mContext.enforceCallingOrSelfPermission(
|
||||
cyanogenmod.platform.Manifest.permission.MANAGE_PERSISTENT_STORAGE, null);
|
||||
lineageos.platform.Manifest.permission.MANAGE_PERSISTENT_STORAGE, null);
|
||||
if (key == null || key.length() == 0 || key.length() > 64) {
|
||||
Log.e(TAG, "Invalid key: " + key);
|
||||
return false;
|
||||
@@ -739,33 +739,33 @@ public class CMHardwareService extends CMSystemService implements ThermalUpdateC
|
||||
Log.e(TAG, "Invalid value: " + (value != null ? Arrays.toString(value) : null));
|
||||
return false;
|
||||
}
|
||||
if (!isSupported(CMHardwareManager.FEATURE_PERSISTENT_STORAGE)) {
|
||||
if (!isSupported(LineageHardwareManager.FEATURE_PERSISTENT_STORAGE)) {
|
||||
Log.e(TAG, "Persistent storage is not supported");
|
||||
return false;
|
||||
}
|
||||
return mCmHwImpl.writePersistentBytes(key, value);
|
||||
return mLineageHwImpl.writePersistentBytes(key, value);
|
||||
}
|
||||
|
||||
@Override
|
||||
public byte[] readPersistentBytes(String key) {
|
||||
mContext.enforceCallingOrSelfPermission(
|
||||
cyanogenmod.platform.Manifest.permission.MANAGE_PERSISTENT_STORAGE, null);
|
||||
lineageos.platform.Manifest.permission.MANAGE_PERSISTENT_STORAGE, null);
|
||||
if (key == null || key.length() == 0 || key.length() > 64) {
|
||||
Log.e(TAG, "Invalid key: " + key);
|
||||
return null;
|
||||
}
|
||||
if (!isSupported(CMHardwareManager.FEATURE_PERSISTENT_STORAGE)) {
|
||||
if (!isSupported(LineageHardwareManager.FEATURE_PERSISTENT_STORAGE)) {
|
||||
Log.e(TAG, "Persistent storage is not supported");
|
||||
return null;
|
||||
}
|
||||
return mCmHwImpl.readPersistentBytes(key);
|
||||
return mLineageHwImpl.readPersistentBytes(key);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getThermalState() {
|
||||
mContext.enforceCallingOrSelfPermission(
|
||||
cyanogenmod.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (isSupported(CMHardwareManager.FEATURE_THERMAL_MONITOR)) {
|
||||
lineageos.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (isSupported(LineageHardwareManager.FEATURE_THERMAL_MONITOR)) {
|
||||
return mCurrentThermalState;
|
||||
}
|
||||
return ThermalListenerCallback.State.STATE_UNKNOWN;
|
||||
@@ -774,8 +774,8 @@ public class CMHardwareService extends CMSystemService implements ThermalUpdateC
|
||||
@Override
|
||||
public boolean registerThermalListener(IThermalListenerCallback callback) {
|
||||
mContext.enforceCallingOrSelfPermission(
|
||||
cyanogenmod.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (isSupported(CMHardwareManager.FEATURE_THERMAL_MONITOR)) {
|
||||
lineageos.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (isSupported(LineageHardwareManager.FEATURE_THERMAL_MONITOR)) {
|
||||
return mRemoteCallbackList.register(callback);
|
||||
}
|
||||
return false;
|
||||
@@ -784,8 +784,8 @@ public class CMHardwareService extends CMSystemService implements ThermalUpdateC
|
||||
@Override
|
||||
public boolean unRegisterThermalListener(IThermalListenerCallback callback) {
|
||||
mContext.enforceCallingOrSelfPermission(
|
||||
cyanogenmod.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (isSupported(CMHardwareManager.FEATURE_THERMAL_MONITOR)) {
|
||||
lineageos.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (isSupported(LineageHardwareManager.FEATURE_THERMAL_MONITOR)) {
|
||||
return mRemoteCallbackList.unregister(callback);
|
||||
}
|
||||
return false;
|
||||
@@ -794,9 +794,9 @@ public class CMHardwareService extends CMSystemService implements ThermalUpdateC
|
||||
@Override
|
||||
public int getColorBalanceMin() {
|
||||
mContext.enforceCallingOrSelfPermission(
|
||||
cyanogenmod.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (isSupported(CMHardwareManager.FEATURE_COLOR_BALANCE)) {
|
||||
return mCmHwImpl.getColorBalanceMin();
|
||||
lineageos.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (isSupported(LineageHardwareManager.FEATURE_COLOR_BALANCE)) {
|
||||
return mLineageHwImpl.getColorBalanceMin();
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
@@ -804,9 +804,9 @@ public class CMHardwareService extends CMSystemService implements ThermalUpdateC
|
||||
@Override
|
||||
public int getColorBalanceMax() {
|
||||
mContext.enforceCallingOrSelfPermission(
|
||||
cyanogenmod.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (isSupported(CMHardwareManager.FEATURE_COLOR_BALANCE)) {
|
||||
return mCmHwImpl.getColorBalanceMax();
|
||||
lineageos.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (isSupported(LineageHardwareManager.FEATURE_COLOR_BALANCE)) {
|
||||
return mLineageHwImpl.getColorBalanceMax();
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
@@ -814,9 +814,9 @@ public class CMHardwareService extends CMSystemService implements ThermalUpdateC
|
||||
@Override
|
||||
public int getColorBalance() {
|
||||
mContext.enforceCallingOrSelfPermission(
|
||||
cyanogenmod.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (isSupported(CMHardwareManager.FEATURE_COLOR_BALANCE)) {
|
||||
return mCmHwImpl.getColorBalance();
|
||||
lineageos.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (isSupported(LineageHardwareManager.FEATURE_COLOR_BALANCE)) {
|
||||
return mLineageHwImpl.getColorBalance();
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
@@ -824,9 +824,9 @@ public class CMHardwareService extends CMSystemService implements ThermalUpdateC
|
||||
@Override
|
||||
public boolean setColorBalance(int value) {
|
||||
mContext.enforceCallingOrSelfPermission(
|
||||
cyanogenmod.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (isSupported(CMHardwareManager.FEATURE_COLOR_BALANCE)) {
|
||||
return mCmHwImpl.setColorBalance(value);
|
||||
lineageos.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (isSupported(LineageHardwareManager.FEATURE_COLOR_BALANCE)) {
|
||||
return mLineageHwImpl.setColorBalance(value);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
@@ -834,9 +834,9 @@ public class CMHardwareService extends CMSystemService implements ThermalUpdateC
|
||||
@Override
|
||||
public HSIC getPictureAdjustment() {
|
||||
mContext.enforceCallingOrSelfPermission(
|
||||
cyanogenmod.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (isSupported(CMHardwareManager.FEATURE_PICTURE_ADJUSTMENT)) {
|
||||
return mCmHwImpl.getPictureAdjustment();
|
||||
lineageos.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (isSupported(LineageHardwareManager.FEATURE_PICTURE_ADJUSTMENT)) {
|
||||
return mLineageHwImpl.getPictureAdjustment();
|
||||
}
|
||||
return new HSIC(0.0f, 0.0f, 0.0f, 0.0f, 0.0f);
|
||||
}
|
||||
@@ -844,9 +844,9 @@ public class CMHardwareService extends CMSystemService implements ThermalUpdateC
|
||||
@Override
|
||||
public HSIC getDefaultPictureAdjustment() {
|
||||
mContext.enforceCallingOrSelfPermission(
|
||||
cyanogenmod.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (isSupported(CMHardwareManager.FEATURE_PICTURE_ADJUSTMENT)) {
|
||||
return mCmHwImpl.getDefaultPictureAdjustment();
|
||||
lineageos.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (isSupported(LineageHardwareManager.FEATURE_PICTURE_ADJUSTMENT)) {
|
||||
return mLineageHwImpl.getDefaultPictureAdjustment();
|
||||
}
|
||||
return new HSIC(0.0f, 0.0f, 0.0f, 0.0f, 0.0f);
|
||||
}
|
||||
@@ -854,9 +854,9 @@ public class CMHardwareService extends CMSystemService implements ThermalUpdateC
|
||||
@Override
|
||||
public boolean setPictureAdjustment(HSIC hsic) {
|
||||
mContext.enforceCallingOrSelfPermission(
|
||||
cyanogenmod.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (isSupported(CMHardwareManager.FEATURE_PICTURE_ADJUSTMENT) && hsic != null) {
|
||||
return mCmHwImpl.setPictureAdjustment(hsic);
|
||||
lineageos.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (isSupported(LineageHardwareManager.FEATURE_PICTURE_ADJUSTMENT) && hsic != null) {
|
||||
return mLineageHwImpl.setPictureAdjustment(hsic);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
@@ -864,9 +864,9 @@ public class CMHardwareService extends CMSystemService implements ThermalUpdateC
|
||||
@Override
|
||||
public float[] getPictureAdjustmentRanges() {
|
||||
mContext.enforceCallingOrSelfPermission(
|
||||
cyanogenmod.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (isSupported(CMHardwareManager.FEATURE_COLOR_BALANCE)) {
|
||||
final List<Range<Float>> r = mCmHwImpl.getPictureAdjustmentRanges();
|
||||
lineageos.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (isSupported(LineageHardwareManager.FEATURE_COLOR_BALANCE)) {
|
||||
final List<Range<Float>> r = mLineageHwImpl.getPictureAdjustmentRanges();
|
||||
return new float[] {
|
||||
r.get(0).getLower(), r.get(0).getUpper(),
|
||||
r.get(1).getLower(), r.get(1).getUpper(),
|
||||
@@ -880,23 +880,23 @@ public class CMHardwareService extends CMSystemService implements ThermalUpdateC
|
||||
@Override
|
||||
public TouchscreenGesture[] getTouchscreenGestures() {
|
||||
mContext.enforceCallingOrSelfPermission(
|
||||
cyanogenmod.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (!isSupported(CMHardwareManager.FEATURE_TOUCHSCREEN_GESTURES)) {
|
||||
lineageos.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (!isSupported(LineageHardwareManager.FEATURE_TOUCHSCREEN_GESTURES)) {
|
||||
Log.e(TAG, "Touchscreen gestures are not supported");
|
||||
return null;
|
||||
}
|
||||
return mCmHwImpl.getTouchscreenGestures();
|
||||
return mLineageHwImpl.getTouchscreenGestures();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean setTouchscreenGestureEnabled(TouchscreenGesture gesture, boolean state) {
|
||||
mContext.enforceCallingOrSelfPermission(
|
||||
cyanogenmod.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (!isSupported(CMHardwareManager.FEATURE_TOUCHSCREEN_GESTURES)) {
|
||||
lineageos.platform.Manifest.permission.HARDWARE_ABSTRACTION_ACCESS, null);
|
||||
if (!isSupported(LineageHardwareManager.FEATURE_TOUCHSCREEN_GESTURES)) {
|
||||
Log.e(TAG, "Touchscreen gestures are not supported");
|
||||
return false;
|
||||
}
|
||||
return mCmHwImpl.setTouchscreenGestureEnabled(gesture, state);
|
||||
return mLineageHwImpl.setTouchscreenGestureEnabled(gesture, state);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.cyanogenmod.platform.internal;
|
||||
package org.lineageos.platform.internal;
|
||||
|
||||
import android.app.ActivityManager;
|
||||
import android.app.AppGlobals;
|
||||
@@ -41,26 +41,26 @@ import android.util.Slog;
|
||||
|
||||
import com.android.server.SystemService;
|
||||
|
||||
import cyanogenmod.app.CMContextConstants;
|
||||
import cyanogenmod.app.CustomTile;
|
||||
import cyanogenmod.app.CustomTileListenerService;
|
||||
import cyanogenmod.app.StatusBarPanelCustomTile;
|
||||
import cyanogenmod.app.ICustomTileListener;
|
||||
import cyanogenmod.app.ICMStatusBarManager;
|
||||
import cyanogenmod.app.IStatusBarCustomTileHolder;
|
||||
import lineageos.app.LineageContextConstants;
|
||||
import lineageos.app.CustomTile;
|
||||
import lineageos.app.CustomTileListenerService;
|
||||
import lineageos.app.StatusBarPanelCustomTile;
|
||||
import lineageos.app.ICustomTileListener;
|
||||
import lineageos.app.ILineageStatusBarManager;
|
||||
import lineageos.app.IStatusBarCustomTileHolder;
|
||||
|
||||
import org.cyanogenmod.internal.statusbar.ExternalQuickSettingsRecord;
|
||||
import org.lineageos.internal.statusbar.ExternalQuickSettingsRecord;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
import org.cyanogenmod.platform.internal.R;
|
||||
import org.lineageos.platform.internal.R;
|
||||
|
||||
/**
|
||||
* Internal service which manages interactions with system ui elements
|
||||
* @hide
|
||||
*/
|
||||
public class CMStatusBarManagerService extends CMSystemService {
|
||||
private static final String TAG = "CMStatusBarManagerService";
|
||||
public class LineageStatusBarManagerService extends LineageSystemService {
|
||||
private static final String TAG = "LineageStatusBarManagerService";
|
||||
|
||||
private Context mContext;
|
||||
private Handler mHandler = new Handler();
|
||||
@@ -77,21 +77,21 @@ public class CMStatusBarManagerService extends CMSystemService {
|
||||
final ArrayMap<String, ExternalQuickSettingsRecord> mCustomTileByKey =
|
||||
new ArrayMap<String, ExternalQuickSettingsRecord>();
|
||||
|
||||
public CMStatusBarManagerService(Context context) {
|
||||
public LineageStatusBarManagerService(Context context) {
|
||||
super(context);
|
||||
mContext = context;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getFeatureDeclaration() {
|
||||
return CMContextConstants.Features.STATUSBAR;
|
||||
return LineageContextConstants.Features.STATUSBAR;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onStart() {
|
||||
Log.d(TAG, "registerCMStatusBar cmstatusbar: " + this);
|
||||
Log.d(TAG, "registerLineageStatusBar lineagestatusbar: " + this);
|
||||
mCustomTileListeners = new CustomTileListeners();
|
||||
publishBinderService(CMContextConstants.CM_STATUS_BAR_SERVICE, mService);
|
||||
publishBinderService(LineageContextConstants.LINEAGE_STATUS_BAR_SERVICE, mService);
|
||||
|
||||
IntentFilter pkgFilter = new IntentFilter();
|
||||
pkgFilter.addAction(Intent.ACTION_PACKAGE_ADDED);
|
||||
@@ -180,7 +180,7 @@ public class CMStatusBarManagerService extends CMSystemService {
|
||||
}
|
||||
};
|
||||
|
||||
private final IBinder mService = new ICMStatusBarManager.Stub() {
|
||||
private final IBinder mService = new ILineageStatusBarManager.Stub() {
|
||||
/**
|
||||
* @hide
|
||||
*/
|
||||
@@ -208,7 +208,7 @@ public class CMStatusBarManagerService extends CMSystemService {
|
||||
* Register a listener binder directly with the status bar manager.
|
||||
*
|
||||
* Only works with system callers. Apps should extend
|
||||
* {@link cyanogenmod.app.CustomTileListenerService}.
|
||||
* {@link lineageos.app.CustomTileListenerService}.
|
||||
* @hide
|
||||
*/
|
||||
@Override
|
||||
@@ -526,13 +526,13 @@ public class CMStatusBarManagerService extends CMSystemService {
|
||||
|
||||
private void enforceCustomTilePublish() {
|
||||
mContext.enforceCallingOrSelfPermission(
|
||||
cyanogenmod.platform.Manifest.permission.PUBLISH_CUSTOM_TILE,
|
||||
lineageos.platform.Manifest.permission.PUBLISH_CUSTOM_TILE,
|
||||
"StatusBarManagerService");
|
||||
}
|
||||
|
||||
private void enforceBindCustomTileListener() {
|
||||
mContext.enforceCallingOrSelfPermission(
|
||||
cyanogenmod.platform.Manifest.permission.BIND_CUSTOM_TILE_LISTENER_SERVICE,
|
||||
lineageos.platform.Manifest.permission.BIND_CUSTOM_TILE_LISTENER_SERVICE,
|
||||
"StatusBarManagerService");
|
||||
}
|
||||
|
||||
@@ -544,7 +544,7 @@ public class CMStatusBarManagerService extends CMSystemService {
|
||||
public class CustomTileListeners extends ManagedServices {
|
||||
|
||||
public CustomTileListeners() {
|
||||
super(CMStatusBarManagerService.this.mContext, mHandler, mQSTileList, mUserProfiles);
|
||||
super(LineageStatusBarManagerService.this.mContext, mHandler, mQSTileList, mUserProfiles);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -555,7 +555,7 @@ public class CMStatusBarManagerService extends CMSystemService {
|
||||
//TODO: Implement this in the future
|
||||
//c.secureSettingName = Settings.Secure.ENABLED_CUSTOM_TILE_LISTENERS;
|
||||
c.bindPermission =
|
||||
cyanogenmod.platform.Manifest.permission.BIND_CUSTOM_TILE_LISTENER_SERVICE;
|
||||
lineageos.platform.Manifest.permission.BIND_CUSTOM_TILE_LISTENER_SERVICE;
|
||||
//TODO: Implement this in the future
|
||||
//c.settingsAction = Settings.ACTION_CUSTOM_TILE_LISTENER_SETTINGS;
|
||||
c.clientLabel = R.string.custom_tile_listener_binding_label;
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.cyanogenmod.platform.internal;
|
||||
package org.lineageos.platform.internal;
|
||||
|
||||
import android.content.Context;
|
||||
import android.os.SystemProperties;
|
||||
@@ -22,24 +22,24 @@ import android.util.Slog;
|
||||
import com.android.server.LocalServices;
|
||||
import com.android.server.SystemServiceManager;
|
||||
|
||||
import org.cyanogenmod.platform.internal.common.CMSystemServiceHelper;
|
||||
import org.lineageos.platform.internal.common.LineageSystemServiceHelper;
|
||||
|
||||
/**
|
||||
* Base CM System Server which handles the starting and states of various CM
|
||||
* Base Lineage System Server which handles the starting and states of various Lineage
|
||||
* specific system services. Since its part of the main looper provided by the system
|
||||
* server, it will be available indefinitely (until all the things die).
|
||||
*/
|
||||
public class CMSystemServer {
|
||||
private static final String TAG = "CMSystemServer";
|
||||
public class LineageSystemServer {
|
||||
private static final String TAG = "LineageSystemServer";
|
||||
private Context mSystemContext;
|
||||
private CMSystemServiceHelper mSystemServiceHelper;
|
||||
private LineageSystemServiceHelper mSystemServiceHelper;
|
||||
|
||||
private static final String ENCRYPTING_STATE = "trigger_restart_min_framework";
|
||||
private static final String ENCRYPTED_STATE = "1";
|
||||
|
||||
public CMSystemServer(Context systemContext) {
|
||||
public LineageSystemServer(Context systemContext) {
|
||||
mSystemContext = systemContext;
|
||||
mSystemServiceHelper = new CMSystemServiceHelper(mSystemContext);
|
||||
mSystemServiceHelper = new LineageSystemServiceHelper(mSystemContext);
|
||||
}
|
||||
|
||||
public static boolean coreAppsOnly() {
|
||||
@@ -60,7 +60,7 @@ public class CMSystemServer {
|
||||
startServices();
|
||||
} catch (Throwable ex) {
|
||||
Slog.e("System", "******************************************");
|
||||
Slog.e("System", "************ Failure starting cm system services", ex);
|
||||
Slog.e("System", "************ Failure starting lineage system services", ex);
|
||||
throw ex;
|
||||
}
|
||||
}
|
||||
@@ -69,20 +69,20 @@ public class CMSystemServer {
|
||||
final Context context = mSystemContext;
|
||||
final SystemServiceManager ssm = LocalServices.getService(SystemServiceManager.class);
|
||||
String[] externalServices = context.getResources().getStringArray(
|
||||
org.cyanogenmod.platform.internal.R.array.config_externalCMServices);
|
||||
org.lineageos.platform.internal.R.array.config_externalLineageServices);
|
||||
|
||||
for (String service : externalServices) {
|
||||
try {
|
||||
Slog.i(TAG, "Attempting to start service " + service);
|
||||
CMSystemService cmSystemService = mSystemServiceHelper.getServiceFor(service);
|
||||
LineageSystemService lineageSystemService = mSystemServiceHelper.getServiceFor(service);
|
||||
if (context.getPackageManager().hasSystemFeature(
|
||||
cmSystemService.getFeatureDeclaration())) {
|
||||
if (coreAppsOnly() && !cmSystemService.isCoreService()) {
|
||||
lineageSystemService.getFeatureDeclaration())) {
|
||||
if (coreAppsOnly() && !lineageSystemService.isCoreService()) {
|
||||
Slog.d(TAG, "Not starting " + service +
|
||||
" - only parsing core apps");
|
||||
} else {
|
||||
Slog.i(TAG, "Starting service " + service);
|
||||
ssm.startService(cmSystemService.getClass());
|
||||
ssm.startService(lineageSystemService.getClass());
|
||||
}
|
||||
} else {
|
||||
Slog.i(TAG, "Not starting service " + service +
|
||||
|
||||
@@ -14,13 +14,13 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.cyanogenmod.platform.internal;
|
||||
package org.lineageos.platform.internal;
|
||||
|
||||
import android.content.Context;
|
||||
import com.android.server.SystemService;
|
||||
|
||||
public abstract class CMSystemService extends SystemService {
|
||||
public CMSystemService(Context context) {
|
||||
public abstract class LineageSystemService extends SystemService {
|
||||
public LineageSystemService(Context context) {
|
||||
super(context);
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.cyanogenmod.platform.internal;
|
||||
package org.lineageos.platform.internal;
|
||||
|
||||
import com.android.server.SystemService;
|
||||
|
||||
@@ -27,22 +27,22 @@ import android.util.Log;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import cyanogenmod.app.CMContextConstants;
|
||||
import cyanogenmod.app.CMTelephonyManager;
|
||||
import cyanogenmod.app.ICMTelephonyManager;
|
||||
import lineageos.app.LineageContextConstants;
|
||||
import lineageos.app.LineageTelephonyManager;
|
||||
import lineageos.app.ILineageTelephonyManager;
|
||||
|
||||
/**
|
||||
* Internal service which manages interactions with the phone and data connection
|
||||
*
|
||||
* @hide
|
||||
*/
|
||||
public class CMTelephonyManagerService extends CMSystemService {
|
||||
private static final String TAG = "CMTelephonyManagerSrv";
|
||||
public class LineageTelephonyManagerService extends LineageSystemService {
|
||||
private static final String TAG = "LineageTelephonyManagerSrv";
|
||||
private static boolean localLOGD = Log.isLoggable(TAG, Log.DEBUG);
|
||||
|
||||
private TelephonyManager mTelephonyManager;
|
||||
private Context mContext;
|
||||
private final IBinder mService = new ICMTelephonyManager.Stub() {
|
||||
private final IBinder mService = new ILineageTelephonyManager.Stub() {
|
||||
|
||||
/**
|
||||
* Returns the available SIM subscription information.
|
||||
@@ -69,7 +69,7 @@ public class CMTelephonyManagerService extends CMSystemService {
|
||||
@Override
|
||||
public boolean isSubActive(int subId) {
|
||||
enforceTelephonyReadPermission();
|
||||
return CMTelephonyManagerService.this.isSubActive(subId);
|
||||
return LineageTelephonyManagerService.this.isSubActive(subId);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -85,7 +85,7 @@ public class CMTelephonyManagerService extends CMSystemService {
|
||||
@Override
|
||||
public void setSubState(int subId, boolean state) {
|
||||
enforceTelephonyModifyPermission();
|
||||
CMTelephonyManagerService.this.setSubState(subId, state);
|
||||
LineageTelephonyManagerService.this.setSubState(subId, state);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -103,7 +103,7 @@ public class CMTelephonyManagerService extends CMSystemService {
|
||||
*/
|
||||
public boolean isDataConnectionSelectedOnSub(int subId) {
|
||||
enforceTelephonyReadPermission();
|
||||
return CMTelephonyManagerService.this.isDataConnectionSelectedOnSub(subId);
|
||||
return LineageTelephonyManagerService.this.isDataConnectionSelectedOnSub(subId);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -117,7 +117,7 @@ public class CMTelephonyManagerService extends CMSystemService {
|
||||
*/
|
||||
public boolean isDataConnectionEnabled() {
|
||||
enforceTelephonyReadPermission();
|
||||
return CMTelephonyManagerService.this.isDataConnectionEnabled();
|
||||
return LineageTelephonyManagerService.this.isDataConnectionEnabled();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -128,7 +128,7 @@ public class CMTelephonyManagerService extends CMSystemService {
|
||||
*/
|
||||
public void setDataConnectionState(boolean state) {
|
||||
enforceTelephonyModifyPermission();
|
||||
CMTelephonyManagerService.this.setDataConnectionState(state);
|
||||
LineageTelephonyManagerService.this.setDataConnectionState(state);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -142,7 +142,7 @@ public class CMTelephonyManagerService extends CMSystemService {
|
||||
*/
|
||||
public void setDataConnectionSelectedOnSub(int subId) {
|
||||
enforceTelephonyModifyPermission();
|
||||
CMTelephonyManagerService.this.setDataConnectionSelectedOnSub(subId);
|
||||
LineageTelephonyManagerService.this.setDataConnectionSelectedOnSub(subId);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -157,7 +157,7 @@ public class CMTelephonyManagerService extends CMSystemService {
|
||||
*/
|
||||
public void setDefaultPhoneSub(int subId) {
|
||||
enforceTelephonyModifyPermission();
|
||||
CMTelephonyManagerService.this.setDefaultPhoneSub(subId);
|
||||
LineageTelephonyManagerService.this.setDefaultPhoneSub(subId);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -172,26 +172,26 @@ public class CMTelephonyManagerService extends CMSystemService {
|
||||
*/
|
||||
public void setDefaultSmsSub(int subId) {
|
||||
enforceTelephonyModifyPermission();
|
||||
CMTelephonyManagerService.this.setDefaultSmsSub(subId);
|
||||
LineageTelephonyManagerService.this.setDefaultSmsSub(subId);
|
||||
}
|
||||
};
|
||||
|
||||
public CMTelephonyManagerService(Context context) {
|
||||
public LineageTelephonyManagerService(Context context) {
|
||||
super(context);
|
||||
mContext = context;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getFeatureDeclaration() {
|
||||
return CMContextConstants.Features.TELEPHONY;
|
||||
return LineageContextConstants.Features.TELEPHONY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onStart() {
|
||||
if (localLOGD) {
|
||||
Log.d(TAG, "CM telephony manager service start: " + this);
|
||||
Log.d(TAG, "Lineage telephony manager service start: " + this);
|
||||
}
|
||||
publishBinderService(CMContextConstants.CM_TELEPHONY_MANAGER_SERVICE, mService);
|
||||
publishBinderService(LineageContextConstants.LINEAGE_TELEPHONY_MANAGER_SERVICE, mService);
|
||||
mTelephonyManager = (TelephonyManager) mContext.getSystemService(Context.TELEPHONY_SERVICE);
|
||||
}
|
||||
|
||||
@@ -310,7 +310,7 @@ public class CMTelephonyManagerService extends CMSystemService {
|
||||
}
|
||||
|
||||
SubscriptionManager subscriptionManager = SubscriptionManager.from(mContext);
|
||||
/*if (subId == CMTelephonyManager.ASK_FOR_SUBSCRIPTION_ID) {
|
||||
/*if (subId == LineageTelephonyManager.ASK_FOR_SUBSCRIPTION_ID) {
|
||||
if (localLOGD) {
|
||||
Log.d(TAG, "Activates the prompt for phone calls");
|
||||
}
|
||||
@@ -328,7 +328,7 @@ public class CMTelephonyManagerService extends CMSystemService {
|
||||
}
|
||||
|
||||
SubscriptionManager subscriptionManager = SubscriptionManager.from(mContext);
|
||||
/*if (subId == CMTelephonyManager.ASK_FOR_SUBSCRIPTION_ID) {
|
||||
/*if (subId == LineageTelephonyManager.ASK_FOR_SUBSCRIPTION_ID) {
|
||||
if (localLOGD) {
|
||||
Log.d(TAG, "Activates the prompt for SMS");
|
||||
}
|
||||
@@ -342,13 +342,13 @@ public class CMTelephonyManagerService extends CMSystemService {
|
||||
|
||||
private void enforceTelephonyReadPermission() {
|
||||
mContext.enforceCallingOrSelfPermission(
|
||||
cyanogenmod.platform.Manifest.permission.READ_MSIM_PHONE_STATE,
|
||||
"CMTelephonyManagerService");
|
||||
lineageos.platform.Manifest.permission.READ_MSIM_PHONE_STATE,
|
||||
"LineageTelephonyManagerService");
|
||||
}
|
||||
|
||||
private void enforceTelephonyModifyPermission() {
|
||||
mContext.enforceCallingOrSelfPermission(
|
||||
cyanogenmod.platform.Manifest.permission.MODIFY_MSIM_PHONE_STATE,
|
||||
"CMTelephonyManagerService");
|
||||
lineageos.platform.Manifest.permission.MODIFY_MSIM_PHONE_STATE,
|
||||
"LineageTelephonyManagerService");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.cyanogenmod.platform.internal;
|
||||
package org.lineageos.platform.internal;
|
||||
|
||||
import android.annotation.Nullable;
|
||||
import android.content.ComponentName;
|
||||
@@ -36,16 +36,16 @@ import android.util.Slog;
|
||||
|
||||
import com.android.server.SystemService;
|
||||
|
||||
import cyanogenmod.app.CMContextConstants;
|
||||
import cyanogenmod.app.ILiveLockScreenChangeListener;
|
||||
import cyanogenmod.app.ILiveLockScreenManager;
|
||||
import cyanogenmod.app.ILiveLockScreenManagerProvider;
|
||||
import cyanogenmod.app.LiveLockScreenInfo;
|
||||
import cyanogenmod.app.LiveLockScreenManager;
|
||||
import cyanogenmod.platform.Manifest;
|
||||
import cyanogenmod.providers.CMSettings;
|
||||
import lineageos.app.LineageContextConstants;
|
||||
import lineageos.app.ILiveLockScreenChangeListener;
|
||||
import lineageos.app.ILiveLockScreenManager;
|
||||
import lineageos.app.ILiveLockScreenManagerProvider;
|
||||
import lineageos.app.LiveLockScreenInfo;
|
||||
import lineageos.app.LiveLockScreenManager;
|
||||
import lineageos.platform.Manifest;
|
||||
import lineageos.providers.LineageSettings;
|
||||
|
||||
import org.cyanogenmod.platform.internal.common.BrokeredServiceConnection;
|
||||
import org.lineageos.platform.internal.common.BrokeredServiceConnection;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@@ -56,7 +56,7 @@ import java.util.List;
|
||||
* @hide
|
||||
*/
|
||||
public class LiveLockScreenServiceBroker extends
|
||||
BrokerableCMSystemService<ILiveLockScreenManagerProvider> {
|
||||
BrokerableLineageSystemService<ILiveLockScreenManagerProvider> {
|
||||
private static final String TAG = LiveLockScreenServiceBroker.class.getSimpleName();
|
||||
private static final boolean DEBUG = false;
|
||||
|
||||
@@ -188,13 +188,13 @@ public class LiveLockScreenServiceBroker extends
|
||||
|
||||
@Override
|
||||
public String getFeatureDeclaration() {
|
||||
return CMContextConstants.Features.LIVE_LOCK_SCREEN;
|
||||
return LineageContextConstants.Features.LIVE_LOCK_SCREEN;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onStart() {
|
||||
if (DEBUG) Slog.d(TAG, "service started");
|
||||
publishBinderService(CMContextConstants.CM_LIVE_LOCK_SCREEN_SERVICE, new BinderService());
|
||||
publishBinderService(LineageContextConstants.LINEAGE_LIVE_LOCK_SCREEN_SERVICE, new BinderService());
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -262,8 +262,8 @@ public class LiveLockScreenServiceBroker extends
|
||||
if (DEBUG) Slog.d(TAG, "Third party apps ready");
|
||||
|
||||
// Initialize the default LLS component
|
||||
String defComponent = CMSettings.Secure.getString(mContext.getContentResolver(),
|
||||
CMSettings.Secure.DEFAULT_LIVE_LOCK_SCREEN_COMPONENT);
|
||||
String defComponent = LineageSettings.Secure.getString(mContext.getContentResolver(),
|
||||
LineageSettings.Secure.DEFAULT_LIVE_LOCK_SCREEN_COMPONENT);
|
||||
if (!TextUtils.isEmpty(defComponent)) {
|
||||
mDefaultLlsInfo = new LiveLockScreenInfo.Builder()
|
||||
.setComponent(ComponentName.unflattenFromString(defComponent))
|
||||
@@ -275,7 +275,7 @@ public class LiveLockScreenServiceBroker extends
|
||||
|
||||
/**
|
||||
* Enforces the
|
||||
* {@link cyanogenmod.platform.Manifest.permission#LIVE_LOCK_SCREEN_MANAGER_ACCESS_PRIVATE}
|
||||
* {@link lineageos.platform.Manifest.permission#LIVE_LOCK_SCREEN_MANAGER_ACCESS_PRIVATE}
|
||||
* permission.
|
||||
*/
|
||||
private void enforcePrivateAccessPermission() {
|
||||
@@ -305,8 +305,8 @@ public class LiveLockScreenServiceBroker extends
|
||||
|
||||
long token = Binder.clearCallingIdentity();
|
||||
try {
|
||||
CMSettings.Secure.putString(mContext.getContentResolver(),
|
||||
CMSettings.Secure.DEFAULT_LIVE_LOCK_SCREEN_COMPONENT,
|
||||
LineageSettings.Secure.putString(mContext.getContentResolver(),
|
||||
LineageSettings.Secure.DEFAULT_LIVE_LOCK_SCREEN_COMPONENT,
|
||||
(llsInfo != null && llsInfo.component != null)
|
||||
? llsInfo.component.flattenToString()
|
||||
: "");
|
||||
@@ -324,8 +324,8 @@ public class LiveLockScreenServiceBroker extends
|
||||
|
||||
private void setLiveLockScreenEnabledInternal(boolean enabled) {
|
||||
long token = Binder.clearCallingIdentity();
|
||||
CMSettings.Secure.putInt(mContext.getContentResolver(),
|
||||
CMSettings.Secure.LIVE_LOCK_SCREEN_ENABLED, enabled ? 1 : 0);
|
||||
LineageSettings.Secure.putInt(mContext.getContentResolver(),
|
||||
LineageSettings.Secure.LIVE_LOCK_SCREEN_ENABLED, enabled ? 1 : 0);
|
||||
Binder.restoreCallingIdentity(token);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.cyanogenmod.platform.internal;
|
||||
package org.lineageos.platform.internal;
|
||||
|
||||
import android.app.ActivityManager;
|
||||
import android.app.PendingIntent;
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.cyanogenmod.platform.internal;
|
||||
package org.lineageos.platform.internal;
|
||||
|
||||
import android.app.INotificationManager;
|
||||
import android.content.ContentResolver;
|
||||
@@ -34,10 +34,10 @@ import android.provider.Settings;
|
||||
import android.telephony.TelephonyManager;
|
||||
import android.util.Log;
|
||||
import com.android.server.SystemService;
|
||||
import cyanogenmod.app.CMContextConstants;
|
||||
import cyanogenmod.app.IPartnerInterface;
|
||||
import cyanogenmod.app.PartnerInterface;
|
||||
import cyanogenmod.media.MediaRecorder;
|
||||
import lineageos.app.LineageContextConstants;
|
||||
import lineageos.app.IPartnerInterface;
|
||||
import lineageos.app.PartnerInterface;
|
||||
import lineageos.media.MediaRecorder;
|
||||
|
||||
import java.io.ByteArrayInputStream;
|
||||
import java.security.PublicKey;
|
||||
@@ -48,9 +48,9 @@ import java.security.interfaces.RSAPublicKey;
|
||||
|
||||
/** @hide */
|
||||
|
||||
public class PartnerInterfaceService extends CMSystemService {
|
||||
public class PartnerInterfaceService extends LineageSystemService {
|
||||
|
||||
private static final String TAG = "CMSettingsService";
|
||||
private static final String TAG = "LineageSettingsService";
|
||||
|
||||
private Context mContext;
|
||||
private TelephonyManager mTelephonyManager;
|
||||
@@ -60,12 +60,12 @@ public class PartnerInterfaceService extends CMSystemService {
|
||||
public PartnerInterfaceService(Context context) {
|
||||
super(context);
|
||||
mContext = context;
|
||||
publishBinderService(CMContextConstants.CM_PARTNER_INTERFACE, mService);
|
||||
publishBinderService(LineageContextConstants.LINEAGE_PARTNER_INTERFACE, mService);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getFeatureDeclaration() {
|
||||
return CMContextConstants.Features.PARTNER;
|
||||
return LineageContextConstants.Features.PARTNER;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.cyanogenmod.platform.internal;
|
||||
package org.lineageos.platform.internal;
|
||||
|
||||
import android.content.BroadcastReceiver;
|
||||
import android.content.ComponentName;
|
||||
@@ -48,24 +48,24 @@ import java.util.Map;
|
||||
import java.util.Objects;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
import cyanogenmod.app.CMContextConstants;
|
||||
import cyanogenmod.power.IPerformanceManager;
|
||||
import cyanogenmod.power.PerformanceManagerInternal;
|
||||
import cyanogenmod.power.PerformanceProfile;
|
||||
import lineageos.app.LineageContextConstants;
|
||||
import lineageos.power.IPerformanceManager;
|
||||
import lineageos.power.PerformanceManagerInternal;
|
||||
import lineageos.power.PerformanceProfile;
|
||||
|
||||
import static cyanogenmod.power.PerformanceManager.PROFILE_BALANCED;
|
||||
import static cyanogenmod.power.PerformanceManager.PROFILE_HIGH_PERFORMANCE;
|
||||
import static cyanogenmod.power.PerformanceManager.PROFILE_POWER_SAVE;
|
||||
import static cyanogenmod.providers.CMSettings.Secure.APP_PERFORMANCE_PROFILES_ENABLED;
|
||||
import static cyanogenmod.providers.CMSettings.Secure.PERFORMANCE_PROFILE;
|
||||
import static cyanogenmod.providers.CMSettings.Secure.getInt;
|
||||
import static cyanogenmod.providers.CMSettings.Secure.getUriFor;
|
||||
import static cyanogenmod.providers.CMSettings.Secure.putInt;
|
||||
import static lineageos.power.PerformanceManager.PROFILE_BALANCED;
|
||||
import static lineageos.power.PerformanceManager.PROFILE_HIGH_PERFORMANCE;
|
||||
import static lineageos.power.PerformanceManager.PROFILE_POWER_SAVE;
|
||||
import static lineageos.providers.LineageSettings.Secure.APP_PERFORMANCE_PROFILES_ENABLED;
|
||||
import static lineageos.providers.LineageSettings.Secure.PERFORMANCE_PROFILE;
|
||||
import static lineageos.providers.LineageSettings.Secure.getInt;
|
||||
import static lineageos.providers.LineageSettings.Secure.getUriFor;
|
||||
import static lineageos.providers.LineageSettings.Secure.putInt;
|
||||
|
||||
/**
|
||||
* @hide
|
||||
*/
|
||||
public class PerformanceManagerService extends CMSystemService {
|
||||
public class PerformanceManagerService extends LineageSystemService {
|
||||
|
||||
private static final String TAG = "PerformanceManager";
|
||||
|
||||
@@ -194,12 +194,12 @@ public class PerformanceManagerService extends CMSystemService {
|
||||
|
||||
@Override
|
||||
public String getFeatureDeclaration() {
|
||||
return CMContextConstants.Features.PERFORMANCE;
|
||||
return LineageContextConstants.Features.PERFORMANCE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onStart() {
|
||||
publishBinderService(CMContextConstants.CM_PERFORMANCE_SERVICE, mBinder);
|
||||
publishBinderService(LineageContextConstants.LINEAGE_PERFORMANCE_SERVICE, mBinder);
|
||||
publishLocalService(PerformanceManagerInternal.class, new LocalService());
|
||||
}
|
||||
|
||||
@@ -303,9 +303,9 @@ public class PerformanceManagerService extends CMSystemService {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Enforce the performance access permission declared by cm's res package
|
||||
// Enforce the performance access permission declared by lineage's res package
|
||||
mContext.enforceCallingOrSelfPermission(
|
||||
cyanogenmod.platform.Manifest.permission.PERFORMANCE_ACCESS, null);
|
||||
lineageos.platform.Manifest.permission.PERFORMANCE_ACCESS, null);
|
||||
|
||||
long token = Binder.clearCallingIdentity();
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.cyanogenmod.platform.internal;
|
||||
package org.lineageos.platform.internal;
|
||||
|
||||
import android.bluetooth.BluetoothAdapter;
|
||||
import android.bluetooth.BluetoothDevice;
|
||||
@@ -28,7 +28,7 @@ import android.net.wifi.WifiSsid;
|
||||
import android.os.Message;
|
||||
import android.util.ArraySet;
|
||||
import com.android.internal.policy.IKeyguardService;
|
||||
import cyanogenmod.providers.CMSettings;
|
||||
import lineageos.providers.LineageSettings;
|
||||
import org.xmlpull.v1.XmlPullParser;
|
||||
import org.xmlpull.v1.XmlPullParserException;
|
||||
import org.xmlpull.v1.XmlPullParserFactory;
|
||||
@@ -51,11 +51,11 @@ import android.os.ParcelUuid;
|
||||
|
||||
import com.android.server.SystemService;
|
||||
|
||||
import cyanogenmod.app.CMContextConstants;
|
||||
import cyanogenmod.app.Profile;
|
||||
import cyanogenmod.app.ProfileGroup;
|
||||
import cyanogenmod.app.ProfileManager;
|
||||
import cyanogenmod.app.IProfileManager;
|
||||
import lineageos.app.LineageContextConstants;
|
||||
import lineageos.app.Profile;
|
||||
import lineageos.app.ProfileGroup;
|
||||
import lineageos.app.ProfileManager;
|
||||
import lineageos.app.IProfileManager;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.io.File;
|
||||
@@ -70,9 +70,9 @@ import java.util.Set;
|
||||
import java.util.UUID;
|
||||
|
||||
/** @hide */
|
||||
public class ProfileManagerService extends CMSystemService {
|
||||
public class ProfileManagerService extends LineageSystemService {
|
||||
|
||||
private static final String TAG = "CMProfileService";
|
||||
private static final String TAG = "LineageProfileService";
|
||||
// Enable the below for detailed logging of this class
|
||||
private static final boolean LOCAL_LOGV = false;
|
||||
|
||||
@@ -222,8 +222,8 @@ public class ProfileManagerService extends CMSystemService {
|
||||
|
||||
@Override
|
||||
public void onChange(boolean selfChange, Uri uri) {
|
||||
int state = CMSettings.System.getInt(mContext.getContentResolver(),
|
||||
CMSettings.System.SYSTEM_PROFILES_ENABLED,
|
||||
int state = LineageSettings.System.getInt(mContext.getContentResolver(),
|
||||
LineageSettings.System.SYSTEM_PROFILES_ENABLED,
|
||||
ProfileManager.PROFILES_STATE_ENABLED);
|
||||
mHandler.obtainMessage(MSG_SEND_PROFILE_STATE, state, 0 /* unused */).sendToTarget();
|
||||
}
|
||||
@@ -234,17 +234,17 @@ public class ProfileManagerService extends CMSystemService {
|
||||
mContext = context;
|
||||
mHandler = new Handler(mHandlerCallback);
|
||||
if (context.getPackageManager().hasSystemFeature(
|
||||
CMContextConstants.Features.PROFILES)) {
|
||||
publishBinderService(CMContextConstants.CM_PROFILE_SERVICE, mService);
|
||||
LineageContextConstants.Features.PROFILES)) {
|
||||
publishBinderService(LineageContextConstants.LINEAGE_PROFILE_SERVICE, mService);
|
||||
} else {
|
||||
Log.wtf(TAG, "CM profile service started by system server but feature xml not" +
|
||||
Log.wtf(TAG, "Lineage profile service started by system server but feature xml not" +
|
||||
" declared. Not publishing binder service!");
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getFeatureDeclaration() {
|
||||
return CMContextConstants.Features.PROFILES;
|
||||
return LineageContextConstants.Features.PROFILES;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -252,8 +252,8 @@ public class ProfileManagerService extends CMSystemService {
|
||||
mBackupManager = new BackupManager(mContext);
|
||||
|
||||
mWildcardGroup = new NotificationGroup(
|
||||
mContext.getString(org.cyanogenmod.platform.internal.R.string.wildcardProfile),
|
||||
org.cyanogenmod.platform.internal.R.string.wildcardProfile,
|
||||
mContext.getString(org.lineageos.platform.internal.R.string.wildcardProfile),
|
||||
org.lineageos.platform.internal.R.string.wildcardProfile,
|
||||
mWildcardUUID);
|
||||
|
||||
initialize();
|
||||
@@ -281,7 +281,7 @@ public class ProfileManagerService extends CMSystemService {
|
||||
bindKeyguard();
|
||||
} else if (phase == PHASE_BOOT_COMPLETED) {
|
||||
mContext.getContentResolver().registerContentObserver(
|
||||
CMSettings.System.getUriFor(CMSettings.System.SYSTEM_PROFILES_ENABLED),
|
||||
LineageSettings.System.getUriFor(LineageSettings.System.SYSTEM_PROFILES_ENABLED),
|
||||
false, new ProfilesObserver(mHandler), UserHandle.USER_ALL);
|
||||
}
|
||||
}
|
||||
@@ -551,8 +551,8 @@ public class ProfileManagerService extends CMSystemService {
|
||||
public boolean isEnabled() {
|
||||
long token = clearCallingIdentity();
|
||||
try {
|
||||
return CMSettings.System.getIntForUser(mContext.getContentResolver(),
|
||||
CMSettings.System.SYSTEM_PROFILES_ENABLED,
|
||||
return LineageSettings.System.getIntForUser(mContext.getContentResolver(),
|
||||
LineageSettings.System.SYSTEM_PROFILES_ENABLED,
|
||||
ProfileManager.PROFILES_STATE_ENABLED,
|
||||
UserHandle.USER_CURRENT) == ProfileManager.PROFILES_STATE_ENABLED;
|
||||
} finally {
|
||||
@@ -662,7 +662,7 @@ public class ProfileManagerService extends CMSystemService {
|
||||
|
||||
private void enforceChangePermissions() {
|
||||
mContext.enforceCallingOrSelfPermission(
|
||||
cyanogenmod.platform.Manifest.permission.MODIFY_PROFILES,
|
||||
lineageos.platform.Manifest.permission.MODIFY_PROFILES,
|
||||
"You do not have permissions to change the Profile Manager.");
|
||||
}
|
||||
|
||||
@@ -731,7 +731,7 @@ public class ProfileManagerService extends CMSystemService {
|
||||
|
||||
private void initialiseStructure() throws XmlPullParserException, IOException {
|
||||
XmlResourceParser xml = mContext.getResources().getXml(
|
||||
org.cyanogenmod.platform.internal.R.xml.profile_default);
|
||||
org.lineageos.platform.internal.R.xml.profile_default);
|
||||
try {
|
||||
loadXml(xml, mContext);
|
||||
mDirty = true;
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.cyanogenmod.platform.internal;
|
||||
package org.lineageos.platform.internal;
|
||||
|
||||
import android.bluetooth.BluetoothAdapter;
|
||||
import android.bluetooth.BluetoothDevice;
|
||||
@@ -33,10 +33,10 @@ import android.os.UserHandle;
|
||||
import android.text.TextUtils;
|
||||
import android.util.ArraySet;
|
||||
import android.util.Log;
|
||||
import cyanogenmod.app.Profile;
|
||||
import cyanogenmod.app.Profile.ProfileTrigger;
|
||||
import cyanogenmod.app.ProfileManager;
|
||||
import cyanogenmod.providers.CMSettings;
|
||||
import lineageos.app.Profile;
|
||||
import lineageos.app.Profile.ProfileTrigger;
|
||||
import lineageos.app.ProfileManager;
|
||||
import lineageos.providers.LineageSettings;
|
||||
|
||||
import java.util.Set;
|
||||
import java.util.UUID;
|
||||
@@ -85,13 +85,13 @@ public class ProfileTriggerHelper extends BroadcastReceiver {
|
||||
updateEnabled();
|
||||
|
||||
mContext.getContentResolver().registerContentObserver(
|
||||
CMSettings.System.getUriFor(CMSettings.System.SYSTEM_PROFILES_ENABLED), false,
|
||||
LineageSettings.System.getUriFor(LineageSettings.System.SYSTEM_PROFILES_ENABLED), false,
|
||||
mSettingsObserver);
|
||||
}
|
||||
|
||||
public void updateEnabled() {
|
||||
boolean enabled = CMSettings.System.getInt(mContext.getContentResolver(),
|
||||
CMSettings.System.SYSTEM_PROFILES_ENABLED, 1) == 1;
|
||||
boolean enabled = LineageSettings.System.getInt(mContext.getContentResolver(),
|
||||
LineageSettings.System.SYSTEM_PROFILES_ENABLED, 1) == 1;
|
||||
if (enabled && !mFilterRegistered) {
|
||||
Log.v(TAG, "Enabling");
|
||||
mContext.registerReceiver(this, mIntentFilter);
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.cyanogenmod.platform.internal;
|
||||
package org.lineageos.platform.internal;
|
||||
|
||||
import android.annotation.NonNull;
|
||||
import android.content.ComponentName;
|
||||
@@ -30,32 +30,32 @@ import android.system.StructStat;
|
||||
import android.util.Log;
|
||||
import android.util.Slog;
|
||||
|
||||
import cyanogenmod.app.CMContextConstants;
|
||||
import cyanogenmod.platform.Manifest;
|
||||
import cyanogenmod.themes.IThemeChangeListener;
|
||||
import cyanogenmod.themes.IThemeProcessingListener;
|
||||
import cyanogenmod.themes.IThemeService;
|
||||
import cyanogenmod.themes.ThemeChangeRequest;
|
||||
import lineageos.app.LineageContextConstants;
|
||||
import lineageos.platform.Manifest;
|
||||
import lineageos.themes.IThemeChangeListener;
|
||||
import lineageos.themes.IThemeProcessingListener;
|
||||
import lineageos.themes.IThemeService;
|
||||
import lineageos.themes.ThemeChangeRequest;
|
||||
|
||||
import org.cyanogenmod.internal.util.ThemeUtils;
|
||||
import org.cyanogenmod.platform.internal.common.BrokeredServiceConnection;
|
||||
import org.lineageos.internal.util.ThemeUtils;
|
||||
import org.lineageos.platform.internal.common.BrokeredServiceConnection;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
import static cyanogenmod.platform.Manifest.permission.ACCESS_THEME_MANAGER;
|
||||
import static lineageos.platform.Manifest.permission.ACCESS_THEME_MANAGER;
|
||||
|
||||
/**
|
||||
* Theme service broker for connecting clients to a backing theme manager service.
|
||||
*
|
||||
* @hide
|
||||
*/
|
||||
public class ThemeManagerServiceBroker extends BrokerableCMSystemService<IThemeService> {
|
||||
public class ThemeManagerServiceBroker extends BrokerableLineageSystemService<IThemeService> {
|
||||
private static final String TAG = ThemeManagerServiceBroker.class.getSimpleName();
|
||||
private static final boolean DEBUG = false;
|
||||
|
||||
private static final ComponentName SERVICE_COMPONENT =
|
||||
new ComponentName("org.cyanogenmod.themeservice",
|
||||
"org.cyanogenmod.themeservice.ThemeManagerService");
|
||||
new ComponentName("org.lineageos.themeservice",
|
||||
"org.lineageos.themeservice.ThemeManagerService");
|
||||
|
||||
// Cached change listeners
|
||||
private final RemoteCallbackList<IThemeChangeListener> mChangeListeners =
|
||||
@@ -240,13 +240,13 @@ public class ThemeManagerServiceBroker extends BrokerableCMSystemService<IThemeS
|
||||
|
||||
@Override
|
||||
public String getFeatureDeclaration() {
|
||||
return CMContextConstants.Features.THEMES;
|
||||
return LineageContextConstants.Features.THEMES;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onStart() {
|
||||
if (DEBUG) Slog.d(TAG, "service started");
|
||||
publishBinderService(CMContextConstants.CM_THEME_SERVICE, new BinderService());
|
||||
publishBinderService(LineageContextConstants.LINEAGE_THEME_SERVICE, new BinderService());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -14,33 +14,33 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.cyanogenmod.platform.internal;
|
||||
package org.lineageos.platform.internal;
|
||||
|
||||
import android.annotation.NonNull;
|
||||
import android.content.ComponentName;
|
||||
import android.content.Context;
|
||||
import android.os.IBinder;
|
||||
import android.os.RemoteException;
|
||||
import cyanogenmod.app.CMContextConstants;
|
||||
import cyanogenmod.platform.Manifest;
|
||||
import cyanogenmod.weather.ICMWeatherManager;
|
||||
import cyanogenmod.weather.IWeatherServiceProviderChangeListener;
|
||||
import cyanogenmod.weather.RequestInfo;
|
||||
import lineageos.app.LineageContextConstants;
|
||||
import lineageos.platform.Manifest;
|
||||
import lineageos.weather.ILineageWeatherManager;
|
||||
import lineageos.weather.IWeatherServiceProviderChangeListener;
|
||||
import lineageos.weather.RequestInfo;
|
||||
|
||||
public class WeatherManagerServiceBroker extends BrokerableCMSystemService<ICMWeatherManager> {
|
||||
public class WeatherManagerServiceBroker extends BrokerableLineageSystemService<ILineageWeatherManager> {
|
||||
|
||||
private Context mContext;
|
||||
|
||||
private static final ComponentName TARGET_IMPLEMENTATION_COMPONENT =
|
||||
new ComponentName("org.cyanogenmod.weatherservice",
|
||||
"org.cyanogenmod.weatherservice.WeatherManagerService");
|
||||
new ComponentName("org.lineageos.weatherservice",
|
||||
"org.lineageos.weatherservice.WeatherManagerService");
|
||||
|
||||
private void enforcePermission() {
|
||||
mContext.enforceCallingOrSelfPermission(
|
||||
Manifest.permission.ACCESS_WEATHER_MANAGER, null);
|
||||
}
|
||||
|
||||
private final IBinder mService = new ICMWeatherManager.Stub() {
|
||||
private final IBinder mService = new ILineageWeatherManager.Stub() {
|
||||
|
||||
@Override
|
||||
public void updateWeather(RequestInfo info) throws RemoteException {
|
||||
@@ -99,22 +99,22 @@ public class WeatherManagerServiceBroker extends BrokerableCMSystemService<ICMWe
|
||||
|
||||
@Override
|
||||
public String getFeatureDeclaration() {
|
||||
return CMContextConstants.Features.WEATHER_SERVICES;
|
||||
return LineageContextConstants.Features.WEATHER_SERVICES;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onStart() {
|
||||
publishBinderService(CMContextConstants.CM_WEATHER_SERVICE, mService);
|
||||
publishBinderService(LineageContextConstants.LINEAGE_WEATHER_SERVICE, mService);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected ICMWeatherManager getIBinderAsIInterface(@NonNull IBinder service) {
|
||||
return ICMWeatherManager.Stub.asInterface(service);
|
||||
protected ILineageWeatherManager getIBinderAsIInterface(@NonNull IBinder service) {
|
||||
return ILineageWeatherManager.Stub.asInterface(service);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected ICMWeatherManager getDefaultImplementation() {
|
||||
return new ICMWeatherManager.NoOp();
|
||||
protected ILineageWeatherManager getDefaultImplementation() {
|
||||
return new ILineageWeatherManager.NoOp();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -14,25 +14,25 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.cyanogenmod.platform.internal.common;
|
||||
package org.lineageos.platform.internal.common;
|
||||
|
||||
/**
|
||||
* The {@link BrokeredServiceConnection} provides callbacks for when a
|
||||
* {@link org.cyanogenmod.platform.internal.BrokerableCMSystemService} interface
|
||||
* {@link org.lineageos.platform.internal.BrokerableLineageSystemService} interface
|
||||
* contract is either fulfilled and connected to an implementation or disconnected.
|
||||
*/
|
||||
public interface BrokeredServiceConnection {
|
||||
|
||||
/**
|
||||
* Callback that signifies that the given interface contract passed into the
|
||||
* {@link org.cyanogenmod.platform.internal.BrokerableCMSystemService} is implemented
|
||||
* {@link org.lineageos.platform.internal.BrokerableLineageSystemService} is implemented
|
||||
* and connected.
|
||||
*/
|
||||
void onBrokeredServiceConnected();
|
||||
|
||||
/**
|
||||
* Callback that signifies that the given implementation for the interface contract passed
|
||||
* into the {@link org.cyanogenmod.platform.internal.BrokerableCMSystemService} is disconnected.
|
||||
* into the {@link org.lineageos.platform.internal.BrokerableLineageSystemService} is disconnected.
|
||||
*/
|
||||
void onBrokeredServiceDisconnected();
|
||||
}
|
||||
|
||||
@@ -14,28 +14,28 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.cyanogenmod.platform.internal.common;
|
||||
package org.lineageos.platform.internal.common;
|
||||
|
||||
import android.content.Context;
|
||||
import org.cyanogenmod.platform.internal.CMSystemService;
|
||||
import org.lineageos.platform.internal.LineageSystemService;
|
||||
|
||||
import java.lang.reflect.Constructor;
|
||||
import java.lang.reflect.InvocationTargetException;
|
||||
|
||||
/**
|
||||
* Helper methods for fetching a CMSystemService from a class declaration
|
||||
* Helper methods for fetching a LineageSystemService from a class declaration
|
||||
*/
|
||||
public class CMSystemServiceHelper {
|
||||
public class LineageSystemServiceHelper {
|
||||
private Context mContext;
|
||||
|
||||
public CMSystemServiceHelper(Context context) {
|
||||
public LineageSystemServiceHelper(Context context) {
|
||||
mContext = context;
|
||||
}
|
||||
|
||||
public CMSystemService getServiceFor(String className) {
|
||||
final Class<CMSystemService> serviceClass;
|
||||
public LineageSystemService getServiceFor(String className) {
|
||||
final Class<LineageSystemService> serviceClass;
|
||||
try {
|
||||
serviceClass = (Class<CMSystemService>)Class.forName(className);
|
||||
serviceClass = (Class<LineageSystemService>)Class.forName(className);
|
||||
} catch (ClassNotFoundException ex) {
|
||||
throw new RuntimeException("Failed to create service " + className
|
||||
+ ": service class not found", ex);
|
||||
@@ -44,7 +44,7 @@ public class CMSystemServiceHelper {
|
||||
return getServiceFromClass(serviceClass);
|
||||
}
|
||||
|
||||
public <T extends CMSystemService> T getServiceFromClass(Class<T> serviceClass) {
|
||||
public <T extends LineageSystemService> T getServiceFromClass(Class<T> serviceClass) {
|
||||
final T service;
|
||||
try {
|
||||
Constructor<T> constructor = serviceClass.getConstructor(Context.class);
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License
|
||||
*/
|
||||
package org.cyanogenmod.platform.internal.common;
|
||||
package org.lineageos.platform.internal.common;
|
||||
|
||||
import android.app.ActivityManagerNative;
|
||||
import android.app.IUserSwitchObserver;
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.cyanogenmod.platform.internal.display;
|
||||
package org.lineageos.platform.internal.display;
|
||||
|
||||
import android.content.Context;
|
||||
import android.hardware.Sensor;
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.cyanogenmod.platform.internal.display;
|
||||
package org.lineageos.platform.internal.display;
|
||||
|
||||
import android.animation.ValueAnimator;
|
||||
import android.animation.ValueAnimator.AnimatorUpdateListener;
|
||||
@@ -26,20 +26,20 @@ import android.util.Range;
|
||||
import android.util.Slog;
|
||||
import android.view.animation.LinearInterpolator;
|
||||
|
||||
import org.cyanogenmod.platform.internal.display.TwilightTracker.TwilightState;
|
||||
import org.lineageos.platform.internal.display.TwilightTracker.TwilightState;
|
||||
|
||||
import java.io.PrintWriter;
|
||||
import java.util.BitSet;
|
||||
|
||||
import cyanogenmod.hardware.CMHardwareManager;
|
||||
import cyanogenmod.hardware.LiveDisplayManager;
|
||||
import cyanogenmod.providers.CMSettings;
|
||||
import cyanogenmod.util.ColorUtils;
|
||||
import lineageos.hardware.LineageHardwareManager;
|
||||
import lineageos.hardware.LiveDisplayManager;
|
||||
import lineageos.providers.LineageSettings;
|
||||
import lineageos.util.ColorUtils;
|
||||
|
||||
import static cyanogenmod.hardware.LiveDisplayManager.MODE_AUTO;
|
||||
import static cyanogenmod.hardware.LiveDisplayManager.MODE_DAY;
|
||||
import static cyanogenmod.hardware.LiveDisplayManager.MODE_NIGHT;
|
||||
import static cyanogenmod.hardware.LiveDisplayManager.MODE_OFF;
|
||||
import static lineageos.hardware.LiveDisplayManager.MODE_AUTO;
|
||||
import static lineageos.hardware.LiveDisplayManager.MODE_DAY;
|
||||
import static lineageos.hardware.LiveDisplayManager.MODE_NIGHT;
|
||||
import static lineageos.hardware.LiveDisplayManager.MODE_OFF;
|
||||
|
||||
public class ColorTemperatureController extends LiveDisplayFeature {
|
||||
|
||||
@@ -60,40 +60,40 @@ public class ColorTemperatureController extends LiveDisplayFeature {
|
||||
|
||||
private ValueAnimator mAnimator;
|
||||
|
||||
private final CMHardwareManager mHardware;
|
||||
private final LineageHardwareManager mHardware;
|
||||
|
||||
private static final long TWILIGHT_ADJUSTMENT_TIME = DateUtils.HOUR_IN_MILLIS * 1;
|
||||
|
||||
private static final Uri DISPLAY_TEMPERATURE_DAY =
|
||||
CMSettings.System.getUriFor(CMSettings.System.DISPLAY_TEMPERATURE_DAY);
|
||||
LineageSettings.System.getUriFor(LineageSettings.System.DISPLAY_TEMPERATURE_DAY);
|
||||
private static final Uri DISPLAY_TEMPERATURE_NIGHT =
|
||||
CMSettings.System.getUriFor(CMSettings.System.DISPLAY_TEMPERATURE_NIGHT);
|
||||
LineageSettings.System.getUriFor(LineageSettings.System.DISPLAY_TEMPERATURE_NIGHT);
|
||||
|
||||
public ColorTemperatureController(Context context,
|
||||
Handler handler, DisplayHardwareController displayHardware) {
|
||||
super(context, handler);
|
||||
mDisplayHardware = displayHardware;
|
||||
mHardware = CMHardwareManager.getInstance(mContext);
|
||||
mHardware = LineageHardwareManager.getInstance(mContext);
|
||||
|
||||
mUseColorBalance = mHardware
|
||||
.isSupported(CMHardwareManager.FEATURE_COLOR_BALANCE);
|
||||
.isSupported(LineageHardwareManager.FEATURE_COLOR_BALANCE);
|
||||
mColorBalanceRange = mHardware.getColorBalanceRange();
|
||||
|
||||
mUseTemperatureAdjustment = mUseColorBalance ||
|
||||
mDisplayHardware.hasColorAdjustment();
|
||||
|
||||
mDefaultDayTemperature = mContext.getResources().getInteger(
|
||||
org.cyanogenmod.platform.internal.R.integer.config_dayColorTemperature);
|
||||
org.lineageos.platform.internal.R.integer.config_dayColorTemperature);
|
||||
mDefaultNightTemperature = mContext.getResources().getInteger(
|
||||
org.cyanogenmod.platform.internal.R.integer.config_nightColorTemperature);
|
||||
org.lineageos.platform.internal.R.integer.config_nightColorTemperature);
|
||||
|
||||
mColorTemperatureRange = Range.create(
|
||||
mContext.getResources().getInteger(
|
||||
org.cyanogenmod.platform.internal.R.integer.config_minColorTemperature),
|
||||
org.lineageos.platform.internal.R.integer.config_minColorTemperature),
|
||||
mContext.getResources().getInteger(
|
||||
org.cyanogenmod.platform.internal.R.integer.config_maxColorTemperature));
|
||||
org.lineageos.platform.internal.R.integer.config_maxColorTemperature));
|
||||
|
||||
mColorBalanceCurve = org.cyanogenmod.internal.util.MathUtils.powerCurve(
|
||||
mColorBalanceCurve = org.lineageos.internal.util.MathUtils.powerCurve(
|
||||
mColorTemperatureRange.getLower(),
|
||||
mDefaultDayTemperature,
|
||||
mColorTemperatureRange.getUpper());
|
||||
@@ -254,7 +254,7 @@ public class ColorTemperatureController extends LiveDisplayFeature {
|
||||
* correct configuration at the device level!
|
||||
*/
|
||||
private int mapColorTemperatureToBalance(int temperature) {
|
||||
double z = org.cyanogenmod.internal.util.MathUtils.powerCurveToLinear(mColorBalanceCurve, temperature);
|
||||
double z = org.lineageos.internal.util.MathUtils.powerCurveToLinear(mColorBalanceCurve, temperature);
|
||||
return Math.round(MathUtils.lerp((float)mColorBalanceRange.getLower(),
|
||||
(float)mColorBalanceRange.getUpper(), (float)z));
|
||||
}
|
||||
@@ -342,21 +342,21 @@ public class ColorTemperatureController extends LiveDisplayFeature {
|
||||
}
|
||||
|
||||
int getDayColorTemperature() {
|
||||
return getInt(CMSettings.System.DISPLAY_TEMPERATURE_DAY,
|
||||
return getInt(LineageSettings.System.DISPLAY_TEMPERATURE_DAY,
|
||||
mDefaultDayTemperature);
|
||||
}
|
||||
|
||||
void setDayColorTemperature(int temperature) {
|
||||
putInt(CMSettings.System.DISPLAY_TEMPERATURE_DAY, temperature);
|
||||
putInt(LineageSettings.System.DISPLAY_TEMPERATURE_DAY, temperature);
|
||||
}
|
||||
|
||||
int getNightColorTemperature() {
|
||||
return getInt(CMSettings.System.DISPLAY_TEMPERATURE_NIGHT,
|
||||
return getInt(LineageSettings.System.DISPLAY_TEMPERATURE_NIGHT,
|
||||
mDefaultNightTemperature);
|
||||
}
|
||||
|
||||
void setNightColorTemperature(int temperature) {
|
||||
putInt(CMSettings.System.DISPLAY_TEMPERATURE_NIGHT, temperature);
|
||||
putInt(LineageSettings.System.DISPLAY_TEMPERATURE_NIGHT, temperature);
|
||||
}
|
||||
|
||||
Range<Integer> getColorTemperatureRange() {
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.cyanogenmod.platform.internal.display;
|
||||
package org.lineageos.platform.internal.display;
|
||||
|
||||
import android.animation.FloatArrayEvaluator;
|
||||
import android.animation.ValueAnimator;
|
||||
@@ -34,13 +34,13 @@ import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.BitSet;
|
||||
|
||||
import cyanogenmod.hardware.CMHardwareManager;
|
||||
import cyanogenmod.hardware.LiveDisplayManager;
|
||||
import cyanogenmod.providers.CMSettings;
|
||||
import lineageos.hardware.LineageHardwareManager;
|
||||
import lineageos.hardware.LiveDisplayManager;
|
||||
import lineageos.providers.LineageSettings;
|
||||
|
||||
public class DisplayHardwareController extends LiveDisplayFeature {
|
||||
|
||||
private final CMHardwareManager mHardware;
|
||||
private final LineageHardwareManager mHardware;
|
||||
|
||||
// hardware capabilities
|
||||
private final boolean mUseAutoContrast;
|
||||
@@ -64,38 +64,38 @@ public class DisplayHardwareController extends LiveDisplayFeature {
|
||||
|
||||
// settings uris
|
||||
private static final Uri DISPLAY_AUTO_CONTRAST =
|
||||
CMSettings.System.getUriFor(CMSettings.System.DISPLAY_AUTO_CONTRAST);
|
||||
LineageSettings.System.getUriFor(LineageSettings.System.DISPLAY_AUTO_CONTRAST);
|
||||
private static final Uri DISPLAY_COLOR_ADJUSTMENT =
|
||||
CMSettings.System.getUriFor(CMSettings.System.DISPLAY_COLOR_ADJUSTMENT);
|
||||
LineageSettings.System.getUriFor(LineageSettings.System.DISPLAY_COLOR_ADJUSTMENT);
|
||||
private static final Uri DISPLAY_COLOR_ENHANCE =
|
||||
CMSettings.System.getUriFor(CMSettings.System.DISPLAY_COLOR_ENHANCE);
|
||||
LineageSettings.System.getUriFor(LineageSettings.System.DISPLAY_COLOR_ENHANCE);
|
||||
private static final Uri DISPLAY_CABC =
|
||||
CMSettings.System.getUriFor(CMSettings.System.DISPLAY_CABC);
|
||||
LineageSettings.System.getUriFor(LineageSettings.System.DISPLAY_CABC);
|
||||
|
||||
public DisplayHardwareController(Context context, Handler handler) {
|
||||
super(context, handler);
|
||||
|
||||
mHardware = CMHardwareManager.getInstance(mContext);
|
||||
mHardware = LineageHardwareManager.getInstance(mContext);
|
||||
mUseCABC = mHardware
|
||||
.isSupported(CMHardwareManager.FEATURE_ADAPTIVE_BACKLIGHT);
|
||||
.isSupported(LineageHardwareManager.FEATURE_ADAPTIVE_BACKLIGHT);
|
||||
mDefaultCABC = mContext.getResources().getBoolean(
|
||||
org.cyanogenmod.platform.internal.R.bool.config_defaultCABC);
|
||||
org.lineageos.platform.internal.R.bool.config_defaultCABC);
|
||||
|
||||
mUseColorEnhancement = mHardware
|
||||
.isSupported(CMHardwareManager.FEATURE_COLOR_ENHANCEMENT);
|
||||
.isSupported(LineageHardwareManager.FEATURE_COLOR_ENHANCEMENT);
|
||||
mDefaultColorEnhancement = mContext.getResources().getBoolean(
|
||||
org.cyanogenmod.platform.internal.R.bool.config_defaultColorEnhancement);
|
||||
org.lineageos.platform.internal.R.bool.config_defaultColorEnhancement);
|
||||
|
||||
mUseAutoContrast = mHardware
|
||||
.isSupported(CMHardwareManager.FEATURE_AUTO_CONTRAST);
|
||||
.isSupported(LineageHardwareManager.FEATURE_AUTO_CONTRAST);
|
||||
mDefaultAutoContrast = mContext.getResources().getBoolean(
|
||||
org.cyanogenmod.platform.internal.R.bool.config_defaultAutoContrast);
|
||||
org.lineageos.platform.internal.R.bool.config_defaultAutoContrast);
|
||||
|
||||
mUseColorAdjustment = mHardware
|
||||
.isSupported(CMHardwareManager.FEATURE_DISPLAY_COLOR_CALIBRATION);
|
||||
.isSupported(LineageHardwareManager.FEATURE_DISPLAY_COLOR_CALIBRATION);
|
||||
|
||||
mUseDisplayModes = mHardware
|
||||
.isSupported(CMHardwareManager.FEATURE_DISPLAY_MODES);
|
||||
.isSupported(LineageHardwareManager.FEATURE_DISPLAY_MODES);
|
||||
|
||||
if (mUseColorAdjustment) {
|
||||
mMaxColor = mHardware.getDisplayColorCalibrationMax();
|
||||
@@ -217,7 +217,7 @@ public class DisplayHardwareController extends LiveDisplayFeature {
|
||||
if (!mUseAutoContrast) {
|
||||
return;
|
||||
}
|
||||
mHardware.set(CMHardwareManager.FEATURE_AUTO_CONTRAST,
|
||||
mHardware.set(LineageHardwareManager.FEATURE_AUTO_CONTRAST,
|
||||
!isLowPowerMode() && isAutoContrastEnabled());
|
||||
}
|
||||
|
||||
@@ -228,7 +228,7 @@ public class DisplayHardwareController extends LiveDisplayFeature {
|
||||
if (!mUseColorEnhancement) {
|
||||
return;
|
||||
}
|
||||
mHardware.set(CMHardwareManager.FEATURE_COLOR_ENHANCEMENT,
|
||||
mHardware.set(LineageHardwareManager.FEATURE_COLOR_ENHANCEMENT,
|
||||
!isLowPowerMode() && isColorEnhancementEnabled());
|
||||
}
|
||||
|
||||
@@ -239,7 +239,7 @@ public class DisplayHardwareController extends LiveDisplayFeature {
|
||||
if (!mUseCABC) {
|
||||
return;
|
||||
}
|
||||
mHardware.set(CMHardwareManager.FEATURE_ADAPTIVE_BACKLIGHT,
|
||||
mHardware.set(LineageHardwareManager.FEATURE_ADAPTIVE_BACKLIGHT,
|
||||
!isLowPowerMode() && isCABCEnabled());
|
||||
}
|
||||
|
||||
@@ -418,33 +418,33 @@ public class DisplayHardwareController extends LiveDisplayFeature {
|
||||
|
||||
boolean isAutoContrastEnabled() {
|
||||
return mUseAutoContrast &&
|
||||
getBoolean(CMSettings.System.DISPLAY_AUTO_CONTRAST, mDefaultAutoContrast);
|
||||
getBoolean(LineageSettings.System.DISPLAY_AUTO_CONTRAST, mDefaultAutoContrast);
|
||||
}
|
||||
|
||||
boolean setAutoContrastEnabled(boolean enabled) {
|
||||
if (!mUseAutoContrast) {
|
||||
return false;
|
||||
}
|
||||
putBoolean(CMSettings.System.DISPLAY_AUTO_CONTRAST, enabled);
|
||||
putBoolean(LineageSettings.System.DISPLAY_AUTO_CONTRAST, enabled);
|
||||
return true;
|
||||
}
|
||||
|
||||
boolean isCABCEnabled() {
|
||||
return mUseCABC &&
|
||||
getBoolean(CMSettings.System.DISPLAY_CABC, mDefaultCABC);
|
||||
getBoolean(LineageSettings.System.DISPLAY_CABC, mDefaultCABC);
|
||||
}
|
||||
|
||||
boolean setCABCEnabled(boolean enabled) {
|
||||
if (!mUseCABC) {
|
||||
return false;
|
||||
}
|
||||
putBoolean(CMSettings.System.DISPLAY_CABC, enabled);
|
||||
putBoolean(LineageSettings.System.DISPLAY_CABC, enabled);
|
||||
return true;
|
||||
}
|
||||
|
||||
boolean isColorEnhancementEnabled() {
|
||||
return mUseColorEnhancement &&
|
||||
getBoolean(CMSettings.System.DISPLAY_COLOR_ENHANCE,
|
||||
getBoolean(LineageSettings.System.DISPLAY_COLOR_ENHANCE,
|
||||
mDefaultColorEnhancement);
|
||||
}
|
||||
|
||||
@@ -452,7 +452,7 @@ public class DisplayHardwareController extends LiveDisplayFeature {
|
||||
if (!mUseColorEnhancement) {
|
||||
return false;
|
||||
}
|
||||
putBoolean(CMSettings.System.DISPLAY_COLOR_ENHANCE, enabled);
|
||||
putBoolean(LineageSettings.System.DISPLAY_COLOR_ENHANCE, enabled);
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -461,7 +461,7 @@ public class DisplayHardwareController extends LiveDisplayFeature {
|
||||
return getDefaultAdjustment();
|
||||
}
|
||||
float[] cur = new float[3];
|
||||
if (!parseColorAdjustment(getString(CMSettings.System.DISPLAY_COLOR_ADJUSTMENT), cur)) {
|
||||
if (!parseColorAdjustment(getString(LineageSettings.System.DISPLAY_COLOR_ADJUSTMENT), cur)) {
|
||||
// clear it out if invalid
|
||||
cur = getDefaultAdjustment();
|
||||
saveColorAdjustmentString(cur);
|
||||
@@ -481,7 +481,7 @@ public class DisplayHardwareController extends LiveDisplayFeature {
|
||||
private void saveColorAdjustmentString(final float[] adj) {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(adj[0]).append(" ").append(adj[1]).append(" ").append(adj[2]);
|
||||
putString(CMSettings.System.DISPLAY_COLOR_ADJUSTMENT, sb.toString());
|
||||
putString(LineageSettings.System.DISPLAY_COLOR_ADJUSTMENT, sb.toString());
|
||||
}
|
||||
|
||||
boolean hasColorAdjustment() {
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.cyanogenmod.platform.internal.display;
|
||||
package org.lineageos.platform.internal.display;
|
||||
|
||||
import android.content.ContentResolver;
|
||||
import android.content.Context;
|
||||
@@ -22,19 +22,19 @@ import android.os.Handler;
|
||||
import android.os.UserHandle;
|
||||
import android.util.Log;
|
||||
|
||||
import org.cyanogenmod.platform.internal.common.UserContentObserver;
|
||||
import org.cyanogenmod.platform.internal.display.LiveDisplayService.State;
|
||||
import org.cyanogenmod.platform.internal.display.TwilightTracker.TwilightState;
|
||||
import org.lineageos.platform.internal.common.UserContentObserver;
|
||||
import org.lineageos.platform.internal.display.LiveDisplayService.State;
|
||||
import org.lineageos.platform.internal.display.TwilightTracker.TwilightState;
|
||||
|
||||
import java.io.PrintWriter;
|
||||
import java.util.BitSet;
|
||||
|
||||
import cyanogenmod.providers.CMSettings;
|
||||
import lineageos.providers.LineageSettings;
|
||||
|
||||
import static org.cyanogenmod.platform.internal.display.LiveDisplayService.ALL_CHANGED;
|
||||
import static org.cyanogenmod.platform.internal.display.LiveDisplayService.DISPLAY_CHANGED;
|
||||
import static org.cyanogenmod.platform.internal.display.LiveDisplayService.MODE_CHANGED;
|
||||
import static org.cyanogenmod.platform.internal.display.LiveDisplayService.TWILIGHT_CHANGED;
|
||||
import static org.lineageos.platform.internal.display.LiveDisplayService.ALL_CHANGED;
|
||||
import static org.lineageos.platform.internal.display.LiveDisplayService.DISPLAY_CHANGED;
|
||||
import static org.lineageos.platform.internal.display.LiveDisplayService.MODE_CHANGED;
|
||||
import static org.lineageos.platform.internal.display.LiveDisplayService.TWILIGHT_CHANGED;
|
||||
|
||||
public abstract class LiveDisplayFeature {
|
||||
|
||||
@@ -98,32 +98,32 @@ public abstract class LiveDisplayFeature {
|
||||
}
|
||||
|
||||
protected final boolean getBoolean(String setting, boolean defaultValue) {
|
||||
return CMSettings.System.getIntForUser(mContext.getContentResolver(),
|
||||
return LineageSettings.System.getIntForUser(mContext.getContentResolver(),
|
||||
setting, (defaultValue ? 1 : 0), UserHandle.USER_CURRENT) == 1;
|
||||
}
|
||||
|
||||
protected final void putBoolean(String setting, boolean value) {
|
||||
CMSettings.System.putIntForUser(mContext.getContentResolver(),
|
||||
LineageSettings.System.putIntForUser(mContext.getContentResolver(),
|
||||
setting, (value ? 1 : 0), UserHandle.USER_CURRENT);
|
||||
}
|
||||
|
||||
protected final int getInt(String setting, int defaultValue) {
|
||||
return CMSettings.System.getIntForUser(mContext.getContentResolver(),
|
||||
return LineageSettings.System.getIntForUser(mContext.getContentResolver(),
|
||||
setting, defaultValue, UserHandle.USER_CURRENT);
|
||||
}
|
||||
|
||||
protected final void putInt(String setting, int value) {
|
||||
CMSettings.System.putIntForUser(mContext.getContentResolver(),
|
||||
LineageSettings.System.putIntForUser(mContext.getContentResolver(),
|
||||
setting, value, UserHandle.USER_CURRENT);
|
||||
}
|
||||
|
||||
protected final String getString(String setting) {
|
||||
return CMSettings.System.getStringForUser(mContext.getContentResolver(),
|
||||
return LineageSettings.System.getStringForUser(mContext.getContentResolver(),
|
||||
setting, UserHandle.USER_CURRENT);
|
||||
}
|
||||
|
||||
protected final void putString(String setting, String value) {
|
||||
CMSettings.System.putStringForUser(mContext.getContentResolver(),
|
||||
LineageSettings.System.putStringForUser(mContext.getContentResolver(),
|
||||
setting, value, UserHandle.USER_CURRENT);
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.cyanogenmod.platform.internal.display;
|
||||
package org.lineageos.platform.internal.display;
|
||||
|
||||
import android.app.Notification;
|
||||
import android.app.NotificationManager;
|
||||
@@ -39,13 +39,13 @@ import com.android.internal.util.ArrayUtils;
|
||||
import com.android.server.LocalServices;
|
||||
import com.android.server.ServiceThread;
|
||||
|
||||
import org.cyanogenmod.internal.util.QSConstants;
|
||||
import org.cyanogenmod.internal.util.QSUtils;
|
||||
import org.cyanogenmod.platform.internal.CMSystemService;
|
||||
import org.cyanogenmod.platform.internal.R;
|
||||
import org.cyanogenmod.platform.internal.common.UserContentObserver;
|
||||
import org.cyanogenmod.platform.internal.display.TwilightTracker.TwilightListener;
|
||||
import org.cyanogenmod.platform.internal.display.TwilightTracker.TwilightState;
|
||||
import org.lineageos.internal.util.QSConstants;
|
||||
import org.lineageos.internal.util.QSUtils;
|
||||
import org.lineageos.platform.internal.LineageSystemService;
|
||||
import org.lineageos.platform.internal.R;
|
||||
import org.lineageos.platform.internal.common.UserContentObserver;
|
||||
import org.lineageos.platform.internal.display.TwilightTracker.TwilightListener;
|
||||
import org.lineageos.platform.internal.display.TwilightTracker.TwilightState;
|
||||
|
||||
import java.io.FileDescriptor;
|
||||
import java.io.PrintWriter;
|
||||
@@ -55,20 +55,20 @@ import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
|
||||
import cyanogenmod.app.CMContextConstants;
|
||||
import cyanogenmod.app.CMStatusBarManager;
|
||||
import cyanogenmod.app.CustomTile;
|
||||
import cyanogenmod.hardware.HSIC;
|
||||
import cyanogenmod.hardware.ILiveDisplayService;
|
||||
import cyanogenmod.hardware.LiveDisplayConfig;
|
||||
import cyanogenmod.providers.CMSettings;
|
||||
import lineageos.app.LineageContextConstants;
|
||||
import lineageos.app.LineageStatusBarManager;
|
||||
import lineageos.app.CustomTile;
|
||||
import lineageos.hardware.HSIC;
|
||||
import lineageos.hardware.ILiveDisplayService;
|
||||
import lineageos.hardware.LiveDisplayConfig;
|
||||
import lineageos.providers.LineageSettings;
|
||||
|
||||
import static cyanogenmod.hardware.LiveDisplayManager.FEATURE_MANAGED_OUTDOOR_MODE;
|
||||
import static cyanogenmod.hardware.LiveDisplayManager.MODE_DAY;
|
||||
import static cyanogenmod.hardware.LiveDisplayManager.MODE_FIRST;
|
||||
import static cyanogenmod.hardware.LiveDisplayManager.MODE_LAST;
|
||||
import static cyanogenmod.hardware.LiveDisplayManager.MODE_OFF;
|
||||
import static cyanogenmod.hardware.LiveDisplayManager.MODE_OUTDOOR;
|
||||
import static lineageos.hardware.LiveDisplayManager.FEATURE_MANAGED_OUTDOOR_MODE;
|
||||
import static lineageos.hardware.LiveDisplayManager.MODE_DAY;
|
||||
import static lineageos.hardware.LiveDisplayManager.MODE_FIRST;
|
||||
import static lineageos.hardware.LiveDisplayManager.MODE_LAST;
|
||||
import static lineageos.hardware.LiveDisplayManager.MODE_OFF;
|
||||
import static lineageos.hardware.LiveDisplayManager.MODE_OUTDOOR;
|
||||
|
||||
/**
|
||||
* LiveDisplay is an advanced set of features for improving
|
||||
@@ -76,10 +76,10 @@ import static cyanogenmod.hardware.LiveDisplayManager.MODE_OUTDOOR;
|
||||
*
|
||||
* The service is constructed with a set of LiveDisplayFeatures
|
||||
* which provide capabilities such as outdoor mode, night mode,
|
||||
* and calibration. It interacts with CMHardwareService to relay
|
||||
* and calibration. It interacts with LineageHardwareService to relay
|
||||
* changes down to the lower layers.
|
||||
*/
|
||||
public class LiveDisplayService extends CMSystemService {
|
||||
public class LiveDisplayService extends LineageSystemService {
|
||||
|
||||
private static final String TAG = "LiveDisplay";
|
||||
|
||||
@@ -110,7 +110,7 @@ public class LiveDisplayService extends CMSystemService {
|
||||
private String[] mTileValues;
|
||||
private int[] mTileEntryIconRes;
|
||||
|
||||
private static String ACTION_NEXT_MODE = "cyanogenmod.hardware.NEXT_LIVEDISPLAY_MODE";
|
||||
private static String ACTION_NEXT_MODE = "lineageos.hardware.NEXT_LIVEDISPLAY_MODE";
|
||||
|
||||
static int MODE_CHANGED = 1;
|
||||
static int DISPLAY_CHANGED = 2;
|
||||
@@ -151,7 +151,7 @@ public class LiveDisplayService extends CMSystemService {
|
||||
|
||||
@Override
|
||||
public String getFeatureDeclaration() {
|
||||
return CMContextConstants.Features.LIVEDISPLAY;
|
||||
return LineageContextConstants.Features.LIVEDISPLAY;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -161,7 +161,7 @@ public class LiveDisplayService extends CMSystemService {
|
||||
|
||||
@Override
|
||||
public void onStart() {
|
||||
publishBinderService(CMContextConstants.CM_LIVEDISPLAY_SERVICE, mBinder);
|
||||
publishBinderService(LineageContextConstants.LINEAGE_LIVEDISPLAY_SERVICE, mBinder);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -193,7 +193,7 @@ public class LiveDisplayService extends CMSystemService {
|
||||
|
||||
// static config
|
||||
int defaultMode = mContext.getResources().getInteger(
|
||||
org.cyanogenmod.platform.internal.R.integer.config_defaultLiveDisplayMode);
|
||||
org.lineageos.platform.internal.R.integer.config_defaultLiveDisplayMode);
|
||||
|
||||
mConfig = new LiveDisplayConfig(capabilities, defaultMode,
|
||||
mCTC.getDefaultDayTemperature(), mCTC.getDefaultNightTemperature(),
|
||||
@@ -310,7 +310,7 @@ public class LiveDisplayService extends CMSystemService {
|
||||
final UserHandle user = new UserHandle(userId);
|
||||
final Context resourceContext = QSUtils.getQSTileContext(mContext, userId);
|
||||
|
||||
CMStatusBarManager statusBarManager = CMStatusBarManager.getInstance(mContext);
|
||||
LineageStatusBarManager statusBarManager = LineageStatusBarManager.getInstance(mContext);
|
||||
CustomTile tile = new CustomTile.Builder(resourceContext)
|
||||
.setLabel(mTileEntries[idx])
|
||||
.setContentDescription(mTileDescriptionEntries[idx])
|
||||
@@ -331,7 +331,7 @@ public class LiveDisplayService extends CMSystemService {
|
||||
final int userId = UserHandle.myUserId();
|
||||
long token = Binder.clearCallingIdentity();
|
||||
try {
|
||||
CMStatusBarManager statusBarManager = CMStatusBarManager.getInstance(mContext);
|
||||
LineageStatusBarManager statusBarManager = LineageStatusBarManager.getInstance(mContext);
|
||||
statusBarManager.removeTileAsUser(QSConstants.DYNAMIC_TILE_LIVE_DISPLAY,
|
||||
LiveDisplayService.class.hashCode(), new UserHandle(userId));
|
||||
} finally {
|
||||
@@ -346,7 +346,7 @@ public class LiveDisplayService extends CMSystemService {
|
||||
}
|
||||
|
||||
private PendingIntent getCustomTileLongClickPendingIntent() {
|
||||
Intent i = new Intent(CMSettings.ACTION_LIVEDISPLAY_SETTINGS);
|
||||
Intent i = new Intent(LineageSettings.ACTION_LIVEDISPLAY_SETTINGS);
|
||||
i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
||||
return PendingIntent.getActivityAsUser(mContext, 0, i,
|
||||
PendingIntent.FLAG_UPDATE_CURRENT, null, UserHandle.CURRENT);
|
||||
@@ -379,7 +379,7 @@ public class LiveDisplayService extends CMSystemService {
|
||||
@Override
|
||||
public boolean setMode(int mode) {
|
||||
mContext.enforceCallingOrSelfPermission(
|
||||
cyanogenmod.platform.Manifest.permission.MANAGE_LIVEDISPLAY, null);
|
||||
lineageos.platform.Manifest.permission.MANAGE_LIVEDISPLAY, null);
|
||||
if (!mConfig.hasModeSupport()) {
|
||||
return false;
|
||||
}
|
||||
@@ -394,7 +394,7 @@ public class LiveDisplayService extends CMSystemService {
|
||||
@Override
|
||||
public boolean setColorAdjustment(float[] adj) {
|
||||
mContext.enforceCallingOrSelfPermission(
|
||||
cyanogenmod.platform.Manifest.permission.MANAGE_LIVEDISPLAY, null);
|
||||
lineageos.platform.Manifest.permission.MANAGE_LIVEDISPLAY, null);
|
||||
return mDHC.setColorAdjustment(adj);
|
||||
}
|
||||
|
||||
@@ -406,7 +406,7 @@ public class LiveDisplayService extends CMSystemService {
|
||||
@Override
|
||||
public boolean setAutoContrastEnabled(boolean enabled) {
|
||||
mContext.enforceCallingOrSelfPermission(
|
||||
cyanogenmod.platform.Manifest.permission.MANAGE_LIVEDISPLAY, null);
|
||||
lineageos.platform.Manifest.permission.MANAGE_LIVEDISPLAY, null);
|
||||
return mDHC.setAutoContrastEnabled(enabled);
|
||||
}
|
||||
|
||||
@@ -418,7 +418,7 @@ public class LiveDisplayService extends CMSystemService {
|
||||
@Override
|
||||
public boolean setCABCEnabled(boolean enabled) {
|
||||
mContext.enforceCallingOrSelfPermission(
|
||||
cyanogenmod.platform.Manifest.permission.MANAGE_LIVEDISPLAY, null);
|
||||
lineageos.platform.Manifest.permission.MANAGE_LIVEDISPLAY, null);
|
||||
return mDHC.setCABCEnabled(enabled);
|
||||
}
|
||||
|
||||
@@ -430,7 +430,7 @@ public class LiveDisplayService extends CMSystemService {
|
||||
@Override
|
||||
public boolean setColorEnhancementEnabled(boolean enabled) {
|
||||
mContext.enforceCallingOrSelfPermission(
|
||||
cyanogenmod.platform.Manifest.permission.MANAGE_LIVEDISPLAY, null);
|
||||
lineageos.platform.Manifest.permission.MANAGE_LIVEDISPLAY, null);
|
||||
return mDHC.setColorEnhancementEnabled(enabled);
|
||||
}
|
||||
|
||||
@@ -442,7 +442,7 @@ public class LiveDisplayService extends CMSystemService {
|
||||
@Override
|
||||
public boolean setAutomaticOutdoorModeEnabled(boolean enabled) {
|
||||
mContext.enforceCallingOrSelfPermission(
|
||||
cyanogenmod.platform.Manifest.permission.MANAGE_LIVEDISPLAY, null);
|
||||
lineageos.platform.Manifest.permission.MANAGE_LIVEDISPLAY, null);
|
||||
return mOMC.setAutomaticOutdoorModeEnabled(enabled);
|
||||
}
|
||||
|
||||
@@ -454,7 +454,7 @@ public class LiveDisplayService extends CMSystemService {
|
||||
@Override
|
||||
public boolean setDayColorTemperature(int temperature) {
|
||||
mContext.enforceCallingOrSelfPermission(
|
||||
cyanogenmod.platform.Manifest.permission.MANAGE_LIVEDISPLAY, null);
|
||||
lineageos.platform.Manifest.permission.MANAGE_LIVEDISPLAY, null);
|
||||
mCTC.setDayColorTemperature(temperature);
|
||||
return true;
|
||||
}
|
||||
@@ -467,7 +467,7 @@ public class LiveDisplayService extends CMSystemService {
|
||||
@Override
|
||||
public boolean setNightColorTemperature(int temperature) {
|
||||
mContext.enforceCallingOrSelfPermission(
|
||||
cyanogenmod.platform.Manifest.permission.MANAGE_LIVEDISPLAY, null);
|
||||
lineageos.platform.Manifest.permission.MANAGE_LIVEDISPLAY, null);
|
||||
mCTC.setNightColorTemperature(temperature);
|
||||
return true;
|
||||
}
|
||||
@@ -542,7 +542,7 @@ public class LiveDisplayService extends CMSystemService {
|
||||
private final class ModeObserver extends UserContentObserver {
|
||||
|
||||
private final Uri MODE_SETTING =
|
||||
CMSettings.System.getUriFor(CMSettings.System.DISPLAY_TEMPERATURE_MODE);
|
||||
LineageSettings.System.getUriFor(LineageSettings.System.DISPLAY_TEMPERATURE_MODE);
|
||||
|
||||
ModeObserver(Handler handler) {
|
||||
super(handler);
|
||||
@@ -565,13 +565,13 @@ public class LiveDisplayService extends CMSystemService {
|
||||
}
|
||||
|
||||
int getMode() {
|
||||
return getInt(CMSettings.System.DISPLAY_TEMPERATURE_MODE,
|
||||
return getInt(LineageSettings.System.DISPLAY_TEMPERATURE_MODE,
|
||||
mConfig.getDefaultMode());
|
||||
}
|
||||
|
||||
boolean setMode(int mode) {
|
||||
if (mConfig.hasFeature(mode) && mode >= MODE_FIRST && mode <= MODE_LAST) {
|
||||
putInt(CMSettings.System.DISPLAY_TEMPERATURE_MODE, mode);
|
||||
putInt(LineageSettings.System.DISPLAY_TEMPERATURE_MODE, mode);
|
||||
if (mode != mConfig.getDefaultMode()) {
|
||||
stopNudgingMe();
|
||||
}
|
||||
@@ -599,16 +599,16 @@ public class LiveDisplayService extends CMSystemService {
|
||||
private int getSunsetCounter() {
|
||||
// Counter used to determine when we should tell the user about this feature.
|
||||
// If it's not used after 3 sunsets, we'll show the hint once.
|
||||
return CMSettings.System.getIntForUser(mContext.getContentResolver(),
|
||||
CMSettings.System.LIVE_DISPLAY_HINTED,
|
||||
return LineageSettings.System.getIntForUser(mContext.getContentResolver(),
|
||||
LineageSettings.System.LIVE_DISPLAY_HINTED,
|
||||
-3,
|
||||
UserHandle.USER_CURRENT);
|
||||
}
|
||||
|
||||
|
||||
private void updateSunsetCounter(int count) {
|
||||
CMSettings.System.putIntForUser(mContext.getContentResolver(),
|
||||
CMSettings.System.LIVE_DISPLAY_HINTED,
|
||||
LineageSettings.System.putIntForUser(mContext.getContentResolver(),
|
||||
LineageSettings.System.LIVE_DISPLAY_HINTED,
|
||||
count,
|
||||
UserHandle.USER_CURRENT);
|
||||
mAwaitingNudge = count > 0;
|
||||
@@ -650,18 +650,18 @@ public class LiveDisplayService extends CMSystemService {
|
||||
}
|
||||
if (counter == 0) {
|
||||
//show the notification and don't come back here
|
||||
final Intent intent = new Intent(CMSettings.ACTION_LIVEDISPLAY_SETTINGS);
|
||||
final Intent intent = new Intent(LineageSettings.ACTION_LIVEDISPLAY_SETTINGS);
|
||||
PendingIntent result = PendingIntent.getActivity(
|
||||
mContext, 0, intent, PendingIntent.FLAG_UPDATE_CURRENT);
|
||||
Notification.Builder builder = new Notification.Builder(mContext)
|
||||
.setContentTitle(mContext.getResources().getString(
|
||||
org.cyanogenmod.platform.internal.R.string.live_display_title))
|
||||
org.lineageos.platform.internal.R.string.live_display_title))
|
||||
.setContentText(mContext.getResources().getString(
|
||||
org.cyanogenmod.platform.internal.R.string.live_display_hint))
|
||||
.setSmallIcon(org.cyanogenmod.platform.internal.R.drawable.ic_livedisplay_notif)
|
||||
org.lineageos.platform.internal.R.string.live_display_hint))
|
||||
.setSmallIcon(org.lineageos.platform.internal.R.drawable.ic_livedisplay_notif)
|
||||
.setStyle(new Notification.BigTextStyle().bigText(mContext.getResources()
|
||||
.getString(
|
||||
org.cyanogenmod.platform.internal.R.string.live_display_hint)))
|
||||
org.lineageos.platform.internal.R.string.live_display_hint)))
|
||||
.setContentIntent(result)
|
||||
.setAutoCancel(true);
|
||||
|
||||
@@ -674,12 +674,12 @@ public class LiveDisplayService extends CMSystemService {
|
||||
}
|
||||
|
||||
private int getInt(String setting, int defValue) {
|
||||
return CMSettings.System.getIntForUser(mContext.getContentResolver(),
|
||||
return LineageSettings.System.getIntForUser(mContext.getContentResolver(),
|
||||
setting, defValue, UserHandle.USER_CURRENT);
|
||||
}
|
||||
|
||||
private void putInt(String setting, int value) {
|
||||
CMSettings.System.putIntForUser(mContext.getContentResolver(),
|
||||
LineageSettings.System.putIntForUser(mContext.getContentResolver(),
|
||||
setting, value, UserHandle.USER_CURRENT);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,11 +13,11 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.cyanogenmod.platform.internal.display;
|
||||
package org.lineageos.platform.internal.display;
|
||||
|
||||
import static cyanogenmod.hardware.LiveDisplayManager.MODE_AUTO;
|
||||
import static cyanogenmod.hardware.LiveDisplayManager.MODE_DAY;
|
||||
import static cyanogenmod.hardware.LiveDisplayManager.MODE_OUTDOOR;
|
||||
import static lineageos.hardware.LiveDisplayManager.MODE_AUTO;
|
||||
import static lineageos.hardware.LiveDisplayManager.MODE_DAY;
|
||||
import static lineageos.hardware.LiveDisplayManager.MODE_OUTDOOR;
|
||||
|
||||
import android.content.Context;
|
||||
import android.net.Uri;
|
||||
@@ -26,13 +26,13 @@ import android.os.Handler;
|
||||
import java.io.PrintWriter;
|
||||
import java.util.BitSet;
|
||||
|
||||
import cyanogenmod.hardware.CMHardwareManager;
|
||||
import cyanogenmod.hardware.LiveDisplayManager;
|
||||
import cyanogenmod.providers.CMSettings;
|
||||
import lineageos.hardware.LineageHardwareManager;
|
||||
import lineageos.hardware.LiveDisplayManager;
|
||||
import lineageos.providers.LineageSettings;
|
||||
|
||||
public class OutdoorModeController extends LiveDisplayFeature {
|
||||
|
||||
private final CMHardwareManager mHardware;
|
||||
private final LineageHardwareManager mHardware;
|
||||
private AmbientLuxObserver mLuxObserver;
|
||||
|
||||
// hardware capabilities
|
||||
@@ -54,16 +54,16 @@ public class OutdoorModeController extends LiveDisplayFeature {
|
||||
public OutdoorModeController(Context context, Handler handler) {
|
||||
super(context, handler);
|
||||
|
||||
mHardware = CMHardwareManager.getInstance(mContext);
|
||||
mUseOutdoorMode = mHardware.isSupported(CMHardwareManager.FEATURE_SUNLIGHT_ENHANCEMENT);
|
||||
mHardware = LineageHardwareManager.getInstance(mContext);
|
||||
mUseOutdoorMode = mHardware.isSupported(LineageHardwareManager.FEATURE_SUNLIGHT_ENHANCEMENT);
|
||||
mSelfManaged = mUseOutdoorMode && mHardware.isSunlightEnhancementSelfManaged();
|
||||
|
||||
mDefaultOutdoorLux = mContext.getResources().getInteger(
|
||||
org.cyanogenmod.platform.internal.R.integer.config_outdoorAmbientLux);
|
||||
org.lineageos.platform.internal.R.integer.config_outdoorAmbientLux);
|
||||
mOutdoorLuxHysteresis = mContext.getResources().getInteger(
|
||||
org.cyanogenmod.platform.internal.R.integer.config_outdoorAmbientLuxHysteresis);
|
||||
org.lineageos.platform.internal.R.integer.config_outdoorAmbientLuxHysteresis);
|
||||
mDefaultAutoOutdoorMode = mContext.getResources().getBoolean(
|
||||
org.cyanogenmod.platform.internal.R.bool.config_defaultAutoOutdoorMode);
|
||||
org.lineageos.platform.internal.R.bool.config_defaultAutoOutdoorMode);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -78,7 +78,7 @@ public class OutdoorModeController extends LiveDisplayFeature {
|
||||
}
|
||||
|
||||
registerSettings(
|
||||
CMSettings.System.getUriFor(CMSettings.System.DISPLAY_AUTO_OUTDOOR_MODE));
|
||||
LineageSettings.System.getUriFor(LineageSettings.System.DISPLAY_AUTO_OUTDOOR_MODE));
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -115,7 +115,7 @@ public class OutdoorModeController extends LiveDisplayFeature {
|
||||
// face if they turn it back on in normal conditions
|
||||
if (!isScreenOn() && !mSelfManaged && getMode() != MODE_OUTDOOR) {
|
||||
mIsOutdoor = false;
|
||||
mHardware.set(CMHardwareManager.FEATURE_SUNLIGHT_ENHANCEMENT, false);
|
||||
mHardware.set(LineageHardwareManager.FEATURE_SUNLIGHT_ENHANCEMENT, false);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -138,7 +138,7 @@ public class OutdoorModeController extends LiveDisplayFeature {
|
||||
pw.println(" mIsOutdoor=" + mIsOutdoor);
|
||||
pw.println(" mIsNight=" + isNight());
|
||||
pw.println(" hardware state=" +
|
||||
mHardware.get(CMHardwareManager.FEATURE_SUNLIGHT_ENHANCEMENT));
|
||||
mHardware.get(LineageHardwareManager.FEATURE_SUNLIGHT_ENHANCEMENT));
|
||||
}
|
||||
mLuxObserver.dump(pw);
|
||||
}
|
||||
@@ -218,7 +218,7 @@ public class OutdoorModeController extends LiveDisplayFeature {
|
||||
}
|
||||
}
|
||||
}
|
||||
mHardware.set(CMHardwareManager.FEATURE_SUNLIGHT_ENHANCEMENT, enabled);
|
||||
mHardware.set(LineageHardwareManager.FEATURE_SUNLIGHT_ENHANCEMENT, enabled);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -242,13 +242,13 @@ public class OutdoorModeController extends LiveDisplayFeature {
|
||||
if (!mUseOutdoorMode) {
|
||||
return false;
|
||||
}
|
||||
putBoolean(CMSettings.System.DISPLAY_AUTO_OUTDOOR_MODE, enabled);
|
||||
putBoolean(LineageSettings.System.DISPLAY_AUTO_OUTDOOR_MODE, enabled);
|
||||
return true;
|
||||
}
|
||||
|
||||
boolean isAutomaticOutdoorModeEnabled() {
|
||||
return mUseOutdoorMode &&
|
||||
getBoolean(CMSettings.System.DISPLAY_AUTO_OUTDOOR_MODE,
|
||||
getBoolean(LineageSettings.System.DISPLAY_AUTO_OUTDOOR_MODE,
|
||||
getDefaultAutoOutdoorMode());
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.cyanogenmod.platform.internal.display;
|
||||
package org.lineageos.platform.internal.display;
|
||||
|
||||
import android.content.Context;
|
||||
import android.net.Uri;
|
||||
@@ -29,17 +29,17 @@ import java.util.ArrayList;
|
||||
import java.util.BitSet;
|
||||
import java.util.List;
|
||||
|
||||
import cyanogenmod.hardware.CMHardwareManager;
|
||||
import cyanogenmod.hardware.DisplayMode;
|
||||
import cyanogenmod.hardware.HSIC;
|
||||
import cyanogenmod.hardware.LiveDisplayManager;
|
||||
import cyanogenmod.providers.CMSettings;
|
||||
import lineageos.hardware.LineageHardwareManager;
|
||||
import lineageos.hardware.DisplayMode;
|
||||
import lineageos.hardware.HSIC;
|
||||
import lineageos.hardware.LiveDisplayManager;
|
||||
import lineageos.providers.LineageSettings;
|
||||
|
||||
public class PictureAdjustmentController extends LiveDisplayFeature {
|
||||
|
||||
private static final String TAG = "LiveDisplay-PAC";
|
||||
|
||||
private final CMHardwareManager mHardware;
|
||||
private final LineageHardwareManager mHardware;
|
||||
private final boolean mUsePictureAdjustment;
|
||||
private final boolean mHasDisplayModes;
|
||||
|
||||
@@ -47,10 +47,10 @@ public class PictureAdjustmentController extends LiveDisplayFeature {
|
||||
|
||||
public PictureAdjustmentController(Context context, Handler handler) {
|
||||
super(context, handler);
|
||||
mHardware = CMHardwareManager.getInstance(context);
|
||||
mHasDisplayModes = mHardware.isSupported(CMHardwareManager.FEATURE_DISPLAY_MODES);
|
||||
mHardware = LineageHardwareManager.getInstance(context);
|
||||
mHasDisplayModes = mHardware.isSupported(LineageHardwareManager.FEATURE_DISPLAY_MODES);
|
||||
|
||||
boolean usePA = mHardware.isSupported(CMHardwareManager.FEATURE_PICTURE_ADJUSTMENT);
|
||||
boolean usePA = mHardware.isSupported(LineageHardwareManager.FEATURE_PICTURE_ADJUSTMENT);
|
||||
if (usePA) {
|
||||
mRanges.addAll(mHardware.getPictureAdjustmentRanges());
|
||||
if (mRanges.size() < 4) {
|
||||
@@ -77,7 +77,7 @@ public class PictureAdjustmentController extends LiveDisplayFeature {
|
||||
}
|
||||
|
||||
registerSettings(
|
||||
CMSettings.System.getUriFor(CMSettings.System.DISPLAY_PICTURE_ADJUSTMENT));
|
||||
LineageSettings.System.getUriFor(LineageSettings.System.DISPLAY_PICTURE_ADJUSTMENT));
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -213,7 +213,7 @@ public class PictureAdjustmentController extends LiveDisplayFeature {
|
||||
private SparseArray<HSIC> unpackPreference() {
|
||||
final SparseArray<HSIC> ret = new SparseArray<HSIC>();
|
||||
|
||||
String pref = getString(CMSettings.System.DISPLAY_PICTURE_ADJUSTMENT);
|
||||
String pref = getString(LineageSettings.System.DISPLAY_PICTURE_ADJUSTMENT);
|
||||
if (pref != null) {
|
||||
String[] byMode = TextUtils.split(pref, ",");
|
||||
for (String mode : byMode) {
|
||||
@@ -236,7 +236,7 @@ public class PictureAdjustmentController extends LiveDisplayFeature {
|
||||
}
|
||||
sb.append(id).append(":").append(m.flatten());
|
||||
}
|
||||
putString(CMSettings.System.DISPLAY_PICTURE_ADJUSTMENT, sb.toString());
|
||||
putString(LineageSettings.System.DISPLAY_PICTURE_ADJUSTMENT, sb.toString());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.cyanogenmod.platform.internal.display;
|
||||
package org.lineageos.platform.internal.display;
|
||||
|
||||
import android.text.format.DateUtils;
|
||||
import android.util.FloatMath;
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.cyanogenmod.platform.internal.display;
|
||||
package org.lineageos.platform.internal.display;
|
||||
|
||||
import android.app.AlarmManager;
|
||||
import android.app.PendingIntent;
|
||||
@@ -51,7 +51,7 @@ public final class TwilightTracker {
|
||||
private static final String TAG = "TwilightTracker";
|
||||
private static final boolean DEBUG = false;
|
||||
private static final String ACTION_UPDATE_TWILIGHT_STATE =
|
||||
"cyanogenmod.platform.intent.action.UPDATE_TWILIGHT_STATE";
|
||||
"lineageos.platform.intent.action.UPDATE_TWILIGHT_STATE";
|
||||
|
||||
private final Object mLock = new Object();
|
||||
|
||||
|
||||
@@ -17,10 +17,10 @@ LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_PACKAGE_NAME := org.cyanogenmod.platform-res
|
||||
LOCAL_PACKAGE_NAME := org.lineageos.platform-res
|
||||
LOCAL_CERTIFICATE := platform
|
||||
LOCAL_AAPT_FLAGS := --auto-add-overlay
|
||||
LOCAL_AAPT_FLAGS += --private-symbols org.cyanogenmod.platform.internal
|
||||
LOCAL_AAPT_FLAGS += --private-symbols org.lineageos.platform.internal
|
||||
LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, res)
|
||||
LOCAL_RESOURCE_DIR += $(LOCAL_PATH)/../../sdk/res/res
|
||||
|
||||
|
||||
@@ -18,111 +18,111 @@
|
||||
-->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
|
||||
package="cyanogenmod.platform"
|
||||
package="lineageos.platform"
|
||||
coreApp="true" android:sharedUserId="android.uid.system"
|
||||
android:sharedUserLabel="@string/cyanogenmod_system_label">
|
||||
android:sharedUserLabel="@string/lineageos_system_label">
|
||||
|
||||
<protected-broadcast android:name="cyanogenmod.intent.action.SCREEN_CAMERA_GESTURE" />
|
||||
<protected-broadcast android:name="cyanogenmod.intent.action.INITIALIZE_CM_HARDWARE" />
|
||||
<protected-broadcast android:name="cyanogenmod.intent.action.ACTION_AUDIO_SESSIONS_CHANGED"
|
||||
android:permission="cyanogenmod.permission.MANAGE_AUDIO_SESSIONS" />
|
||||
<protected-broadcast android:name="cyanogenmod.platform.intent.action.PROFILE_SELECTED" />
|
||||
<protected-broadcast android:name="com.cyanogenmod.intent.action.HOTWORD_INPUT_CHANGED" />
|
||||
<protected-broadcast android:name="lineageos.intent.action.SCREEN_CAMERA_GESTURE" />
|
||||
<protected-broadcast android:name="lineageos.intent.action.INITIALIZE_LINEAGE_HARDWARE" />
|
||||
<protected-broadcast android:name="lineageos.intent.action.ACTION_AUDIO_SESSIONS_CHANGED"
|
||||
android:permission="lineageos.permission.MANAGE_AUDIO_SESSIONS" />
|
||||
<protected-broadcast android:name="lineageos.platform.intent.action.PROFILE_SELECTED" />
|
||||
<protected-broadcast android:name="org.lineageos.intent.action.HOTWORD_INPUT_CHANGED" />
|
||||
|
||||
<protected-broadcast android:name="cyanogenmod.intent.action.UPDATE_PREFERENCE" />
|
||||
<protected-broadcast android:name="cyanogenmod.intent.action.REFRESH_PREFERENCE" />
|
||||
<protected-broadcast android:name="lineageos.intent.action.UPDATE_PREFERENCE" />
|
||||
<protected-broadcast android:name="lineageos.intent.action.REFRESH_PREFERENCE" />
|
||||
|
||||
<protected-broadcast android:name="cyanogenmod.platform.intent.action.PROFILE_UPDATED" />
|
||||
<protected-broadcast android:name="cyanogenmod.platform.intent.action.INTENT_ACTION_PROFILE_TRIGGER_STATE_CHANGED" />
|
||||
<protected-broadcast android:name="lineageos.platform.intent.action.PROFILE_UPDATED" />
|
||||
<protected-broadcast android:name="lineageos.platform.intent.action.INTENT_ACTION_PROFILE_TRIGGER_STATE_CHANGED" />
|
||||
|
||||
<protected-broadcast android:name="cyanogenmod.platform.intent.action.UPDATE_TWILIGHT_STATE" />
|
||||
<protected-broadcast android:name="lineageos.platform.intent.action.UPDATE_TWILIGHT_STATE" />
|
||||
|
||||
<!-- Must be required by an, to ensure that only the system can bind to it.
|
||||
@hide -->
|
||||
<permission android:name="cyanogenmod.permission.BIND_CUSTOM_TILE_LISTENER_SERVICE"
|
||||
<permission android:name="lineageos.permission.BIND_CUSTOM_TILE_LISTENER_SERVICE"
|
||||
android:label="@string/permlab_bindCustomTileListenerService"
|
||||
android:description="@string/permdesc_bindCustomTileListenerService"
|
||||
android:protectionLevel="signature" />
|
||||
|
||||
<!-- Allows a 3rd party application to publish or unpublish a quick settings tile -->
|
||||
<permission android:name="cyanogenmod.permission.PUBLISH_CUSTOM_TILE"
|
||||
<permission android:name="lineageos.permission.PUBLISH_CUSTOM_TILE"
|
||||
android:label="@string/permlab_publishCustomTile"
|
||||
android:description="@string/permdesc_publishCustomTile"
|
||||
android:icon="@drawable/ic_launcher_cyanogenmod"
|
||||
android:icon="@drawable/ic_launcher_lineageos"
|
||||
android:protectionLevel="normal" />
|
||||
|
||||
<!-- Allows an app to make changes to the airplane mode and mobile data network settings -->
|
||||
<permission android:name="cyanogenmod.permission.MODIFY_NETWORK_SETTINGS"
|
||||
<permission android:name="lineageos.permission.MODIFY_NETWORK_SETTINGS"
|
||||
android:label="@string/permlab_modifyNetworkSettings"
|
||||
android:description="@string/permdesc_modifyNetworkSettings"
|
||||
android:icon="@drawable/ic_launcher_cyanogenmod"
|
||||
android:icon="@drawable/ic_launcher_lineageos"
|
||||
androidprv:allowViaWhitelist="true"
|
||||
android:protectionLevel="signature|privileged" />
|
||||
|
||||
<!-- Allows an app to make changes to the interruption mode sound settings -->
|
||||
<permission android:name="cyanogenmod.permission.MODIFY_SOUND_SETTINGS"
|
||||
<permission android:name="lineageos.permission.MODIFY_SOUND_SETTINGS"
|
||||
android:label="@string/permlab_modifySoundSettings"
|
||||
android:description="@string/permdesc_modifySoundSettings"
|
||||
android:icon="@drawable/ic_launcher_cyanogenmod"
|
||||
android:icon="@drawable/ic_launcher_lineageos"
|
||||
android:protectionLevel="normal" />
|
||||
|
||||
<!-- Allows a 3rd party to view the phone SIM states and data connection -->
|
||||
<permission android:name="cyanogenmod.permission.READ_MSIM_PHONE_STATE"
|
||||
<permission android:name="lineageos.permission.READ_MSIM_PHONE_STATE"
|
||||
android:label="@string/permlab_readMSPhoneState"
|
||||
android:description="@string/permdesc_readMSPhoneState"
|
||||
android:icon="@drawable/ic_launcher_cyanogenmod"
|
||||
android:icon="@drawable/ic_launcher_lineageos"
|
||||
android:protectionLevel="normal" />
|
||||
|
||||
<!-- Allows a 3rd party to modify the phone SIM states and data connection -->
|
||||
<permission android:name="cyanogenmod.permission.MODIFY_MSIM_PHONE_STATE"
|
||||
<permission android:name="lineageos.permission.MODIFY_MSIM_PHONE_STATE"
|
||||
android:label="@string/permlab_modifyMSPhoneState"
|
||||
android:description="@string/permdesc_modifyMSPhoneState"
|
||||
android:icon="@drawable/ic_launcher_cyanogenmod"
|
||||
android:icon="@drawable/ic_launcher_lineageos"
|
||||
android:protectionLevel="normal" />
|
||||
|
||||
<!-- Allows an application access to the CM hardware abstraction framework
|
||||
<!-- Allows an application access to the Lineage hardware abstraction framework
|
||||
<p>Not for use by third-party applications. -->
|
||||
<permission android:name="cyanogenmod.permission.HARDWARE_ABSTRACTION_ACCESS"
|
||||
<permission android:name="lineageos.permission.HARDWARE_ABSTRACTION_ACCESS"
|
||||
android:label="@string/permlab_useHardwareFramework"
|
||||
android:description="@string/permdesc_useHardwareFramework"
|
||||
android:protectionLevel="signature|privileged" />
|
||||
|
||||
<!-- Allows an application to write to CM system settings -->
|
||||
<permission android:name="cyanogenmod.permission.WRITE_SETTINGS"
|
||||
<!-- Allows an application to write to Lineage system settings -->
|
||||
<permission android:name="lineageos.permission.WRITE_SETTINGS"
|
||||
android:label="@string/permlab_writeSettings"
|
||||
android:description="@string/permdesc_writeSettings"
|
||||
android:protectionLevel="normal" />
|
||||
|
||||
<!-- Allows an application to modify system profiles -->
|
||||
<permission android:name="cyanogenmod.permission.MODIFY_PROFILES"
|
||||
<permission android:name="lineageos.permission.MODIFY_PROFILES"
|
||||
android:label="@string/permlab_modifyProfiles"
|
||||
android:description="@string/permdesc_modifyProfiles"
|
||||
android:protectionLevel="normal" />
|
||||
|
||||
<!-- Allows an application to write to secure CM system settings.
|
||||
<!-- Allows an application to write to secure Lineage system settings.
|
||||
<p>Not for use by third-party applications. -->
|
||||
<permission android:name="cyanogenmod.permission.WRITE_SECURE_SETTINGS"
|
||||
<permission android:name="lineageos.permission.WRITE_SECURE_SETTINGS"
|
||||
android:label="@string/permlab_writeSecureSettings"
|
||||
android:description="@string/permdesc_writeSecureSettings"
|
||||
android:protectionLevel="signature|privileged|development" />
|
||||
|
||||
<!-- Allows an application to write alarms to the default alarm clock application
|
||||
<p>Not for use by third-party applications. -->
|
||||
<permission android:name="cyanogenmod.permission.WRITE_ALARMS"
|
||||
<permission android:name="lineageos.permission.WRITE_ALARMS"
|
||||
android:permissionGroup="android.permission-group.SYSTEM_CLOCK"
|
||||
android:protectionLevel="signature|privileged"
|
||||
android:label="@string/permlab_write_alarms"
|
||||
android:description="@string/permdesc_write_alarms"/>
|
||||
|
||||
<!-- Allows an application to manage alarms on the default alarm clock application -->
|
||||
<permission android:name="cyanogenmod.permission.MANAGE_ALARMS"
|
||||
<permission android:name="lineageos.permission.MANAGE_ALARMS"
|
||||
android:permissionGroup="android.permission-group.SYSTEM_CLOCK"
|
||||
android:protectionLevel="normal"
|
||||
android:label="@string/permlab_manage_alarms"
|
||||
android:description="@string/permdesc_manage_alarms"/>
|
||||
|
||||
<!-- Allows an application to read alarms from the default alarm clock application -->
|
||||
<permission android:name="cyanogenmod.permission.READ_ALARMS"
|
||||
<permission android:name="lineageos.permission.READ_ALARMS"
|
||||
android:permissionGroup="android.permission-group.SYSTEM_CLOCK"
|
||||
android:protectionLevel="normal"
|
||||
android:label="@string/permlab_read_alarms"
|
||||
@@ -130,14 +130,14 @@
|
||||
|
||||
<!-- Allows an application to access persistent property storage
|
||||
<p>Not for use by third-party applications. -->
|
||||
<permission android:name="cyanogenmod.permission.MANAGE_PERSISTENT_STORAGE"
|
||||
<permission android:name="lineageos.permission.MANAGE_PERSISTENT_STORAGE"
|
||||
android:label="@string/permlab_managePersistentStorage"
|
||||
android:description="@string/permdesc_managePersistentStorage"
|
||||
android:protectionLevel="signature|privileged" />
|
||||
|
||||
<!-- Permission for accessing a provider of app suggestions
|
||||
<p>Not for use by third-party applications. -->
|
||||
<permission android:name="cyanogenmod.permission.ACCESS_APP_SUGGESTIONS"
|
||||
<permission android:name="lineageos.permission.ACCESS_APP_SUGGESTIONS"
|
||||
android:label="@string/permlab_accessAppSuggestions"
|
||||
android:description="@string/permdesc_accessAppSuggestions"
|
||||
android:protectionLevel="signature|privileged|development" />
|
||||
@@ -145,26 +145,26 @@
|
||||
<!-- Permission for adding/removing applications to protected apps
|
||||
<p>Not for use by third-party applications. -->
|
||||
<permission
|
||||
android:name="cyanogenmod.permission.PROTECTED_APP"
|
||||
android:name="lineageos.permission.PROTECTED_APP"
|
||||
android:label="@string/permlab_protectedApp"
|
||||
android:description="@string/permdesc_protectedApp"
|
||||
android:protectionLevel="signature|privileged" />
|
||||
|
||||
<!-- Allows an application to be used as a third party keyguard -->
|
||||
<permission android:name="cyanogenmod.permission.THIRD_PARTY_KEYGUARD"
|
||||
<permission android:name="lineageos.permission.THIRD_PARTY_KEYGUARD"
|
||||
android:label="@string/permlab_thirdPartyKeyguard"
|
||||
android:description="@string/permdesc_thirdPartyKeyguard"
|
||||
android:protectionLevel="normal" />
|
||||
|
||||
<!-- Allows an application to use ThemeManager -->
|
||||
<permission android:name="cyanogenmod.permission.ACCESS_THEME_MANAGER"
|
||||
<permission android:name="lineageos.permission.ACCESS_THEME_MANAGER"
|
||||
android:label="@string/permlab_accessThemeService"
|
||||
android:description="@string/permdesc_accessThemeService"
|
||||
android:protectionLevel="normal" />
|
||||
|
||||
<!-- Allows an application to read the current theme configuration and
|
||||
get information about the various themes currently installed -->
|
||||
<permission android:name="cyanogenmod.permission.READ_THEMES"
|
||||
<permission android:name="lineageos.permission.READ_THEMES"
|
||||
android:label="@string/permlab_readThemes"
|
||||
android:description="@string/permdesc_readThemesDesc"
|
||||
android:protectionLevel="normal" />
|
||||
@@ -172,27 +172,27 @@
|
||||
<!-- Allows an application to write the current theme configuration and
|
||||
write information about the various themes currently installed.
|
||||
Changing themes should be done through the service ACCESS_THEME_MANAGER -->
|
||||
<permission android:name="cyanogenmod.permission.WRITE_THEMES"
|
||||
<permission android:name="lineageos.permission.WRITE_THEMES"
|
||||
android:label="@string/permlab_writeThemes"
|
||||
android:description="@string/permdesc_writeThemesDesc"
|
||||
android:protectionLevel="normal" />
|
||||
|
||||
<!-- Allows low-level access to performance management.
|
||||
<p>Not for use by third-party applications. -->
|
||||
<permission android:name="cyanogenmod.permission.PERFORMANCE_ACCESS"
|
||||
<permission android:name="lineageos.permission.PERFORMANCE_ACCESS"
|
||||
android:label="@string/permlab_perfAccess"
|
||||
android:description="@string/permdesc_perfAccessDesc"
|
||||
android:protectionLevel="signature|privileged" />
|
||||
|
||||
<!-- Allows an application to access the live lock screen manager. -->
|
||||
<permission android:name="cyanogenmod.permission.LIVE_LOCK_SCREEN_MANAGER_ACCESS"
|
||||
<permission android:name="lineageos.permission.LIVE_LOCK_SCREEN_MANAGER_ACCESS"
|
||||
android:label="@string/permlab_accessLiveLockScreenService"
|
||||
android:description="@string/permdesc_accessLiveLockScreenService"
|
||||
android:protectionLevel="dangerous" />
|
||||
|
||||
<!-- Allows system apps privileged access to the live lock screen manager.
|
||||
@hide -->
|
||||
<permission android:name="cyanogenmod.permission.LIVE_LOCK_SCREEN_MANAGER_ACCESS_PRIVATE"
|
||||
<permission android:name="lineageos.permission.LIVE_LOCK_SCREEN_MANAGER_ACCESS_PRIVATE"
|
||||
android:label="@string/permlab_accessLiveLockScreenServicePrivate"
|
||||
android:description="@string/permdesc_accessLiveLockScreenServicePrivate"
|
||||
android:protectionLevel="signature|privileged"
|
||||
@@ -200,40 +200,40 @@
|
||||
|
||||
<!-- Permission required to be held for a service that provides a LiveLockScreenManagerService
|
||||
@hide -->
|
||||
<permission android:name="cyanogenmod.permission.LIVE_LOCK_SCREEN_MANAGER_PROVIDER"
|
||||
<permission android:name="lineageos.permission.LIVE_LOCK_SCREEN_MANAGER_PROVIDER"
|
||||
android:label="@string/permlab_accessLiveLockScreenServiceProvider"
|
||||
android:description="@string/permdesc_accessLiveLockScreenServiceProvider"
|
||||
android:protectionLevel="signature|privileged" />
|
||||
|
||||
<!-- Allows an application to read the weather content from the provider-->
|
||||
<permission android:name="cyanogenmod.permission.READ_WEATHER"
|
||||
<permission android:name="lineageos.permission.READ_WEATHER"
|
||||
android:label="@string/permlab_weather_read"
|
||||
android:description="@string/permdesc_weather_read"
|
||||
android:protectionLevel="normal"/>
|
||||
|
||||
<!-- Allows an application to update the content of the weather provider
|
||||
<p>Not for use by third-party applications. -->
|
||||
<permission android:name="cyanogenmod.permission.WRITE_WEATHER"
|
||||
<permission android:name="lineageos.permission.WRITE_WEATHER"
|
||||
android:label="@string/permlab_weather_write"
|
||||
android:description="@string/permdesc_weather_write"
|
||||
android:protectionLevel="signature|privileged" />
|
||||
|
||||
<!-- Allows an application to be identified as a weather provider service -->
|
||||
<permission android:name="cyanogenmod.permission.BIND_WEATHER_PROVIDER_SERVICE"
|
||||
<permission android:name="lineageos.permission.BIND_WEATHER_PROVIDER_SERVICE"
|
||||
android:label="@string/permlab_weather_bind"
|
||||
android:description="@string/permdesc_weather_bind"
|
||||
android:protectionLevel="signature|privileged"/>
|
||||
|
||||
<!-- Allows an application to observe system-wide changes to audio sessions
|
||||
@hide -->
|
||||
<permission android:name="cyanogenmod.permission.OBSERVE_AUDIO_SESSIONS"
|
||||
<permission android:name="lineageos.permission.OBSERVE_AUDIO_SESSIONS"
|
||||
android:label="@string/permlab_observe_audio_sessions"
|
||||
android:description="@string/permdesc_observe_audio_sessions"
|
||||
android:protectionLevel="normal"/>
|
||||
|
||||
<!-- Allows an application to post system-wide changes to audio sessions
|
||||
@hide -->
|
||||
<permission android:name="cyanogenmod.permission.MANAGE_AUDIO_SESSIONS"
|
||||
<permission android:name="lineageos.permission.MANAGE_AUDIO_SESSIONS"
|
||||
android:label="@string/permlab_manage_audio_sessions"
|
||||
android:description="@string/permdesc_manage_audio_sessions"
|
||||
android:protectionLevel="signature|privileged"
|
||||
@@ -242,50 +242,50 @@
|
||||
<!-- Allows an application to access the weather service.
|
||||
<p>Although the protection is normal, this permission should be required ONLY by those apps
|
||||
meant to do something meaningful with the data provided by the service (LockClock, SysUI)-->
|
||||
<permission android:name="cyanogenmod.permission.ACCESS_WEATHER_MANAGER"
|
||||
<permission android:name="lineageos.permission.ACCESS_WEATHER_MANAGER"
|
||||
android:label="@string/permlab_weather_access_mgr"
|
||||
android:description="@string/permdesc_weather_access_mgr"
|
||||
android:protectionLevel="normal"/>
|
||||
|
||||
<!-- Allows an application to manage LiveDisplay -->
|
||||
<permission android:name="cyanogenmod.permission.MANAGE_LIVEDISPLAY"
|
||||
<permission android:name="lineageos.permission.MANAGE_LIVEDISPLAY"
|
||||
android:label="@string/permlab_manageLiveDisplay"
|
||||
android:description="@string/permdesc_manageLiveDisplay"
|
||||
android:icon="@drawable/ic_launcher_cyanogenmod"
|
||||
android:icon="@drawable/ic_launcher_lineageos"
|
||||
android:protectionLevel="normal" />
|
||||
|
||||
<!-- Not meant for third parties. Allows brokering core services to other
|
||||
processes @hide -->
|
||||
<permission android:name="cyanogenmod.permission.BIND_CORE_SERVICE"
|
||||
<permission android:name="lineageos.permission.BIND_CORE_SERVICE"
|
||||
android:protectionLevel="signature|privileged" />
|
||||
|
||||
<!-- Not meant for third parties.
|
||||
@hide -->
|
||||
<permission android:name="cyanogenmod.permission.SEND_PROTECTED_THEME_BROADCAST"
|
||||
<permission android:name="lineageos.permission.SEND_PROTECTED_THEME_BROADCAST"
|
||||
android:protectionLevel="signature|privileged" />
|
||||
|
||||
<application android:process="system"
|
||||
android:persistent="true"
|
||||
android:hasCode="false"
|
||||
android:label="@string/cyanogenmod_system_label"
|
||||
android:label="@string/lineageos_system_label"
|
||||
android:allowClearUserData="false"
|
||||
android:killAfterRestore="false"
|
||||
android:supportsRtl="true"/>
|
||||
|
||||
<!-- Permission for reading the DataUsage database -->
|
||||
<permission android:name="cyanogenmod.permission.READ_DATAUSAGE"
|
||||
<permission android:name="lineageos.permission.READ_DATAUSAGE"
|
||||
android:label="@string/permlab_dataUsageRead"
|
||||
android:description="@string/permdesc_dataUsageRead"
|
||||
android:protectionLevel="signature|privileged" />
|
||||
|
||||
<!-- Permission for writing the DataUsage database -->
|
||||
<permission android:name="cyanogenmod.permission.WRITE_DATAUSAGE"
|
||||
<permission android:name="lineageos.permission.WRITE_DATAUSAGE"
|
||||
android:label="@string/permlab_dataUsageWrite"
|
||||
android:description="@string/permdesc_dataUsageWrite"
|
||||
android:protectionLevel="signature|privileged" />
|
||||
|
||||
<!-- Permission for managing remote preferences -->
|
||||
<permission android:name="cyanogenmod.permission.MANAGE_REMOTE_PREFERENCES"
|
||||
<permission android:name="lineageos.permission.MANAGE_REMOTE_PREFERENCES"
|
||||
android:label="@string/permlab_manageRemotePrefs"
|
||||
android:description="@string/permdesc_manageRemotePrefs"
|
||||
android:protectionLevel="signature|privileged" />
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Label for the LineageOS system components when they are shown to the user. -->
|
||||
<string name="cyanogenmod_system_label">LineageOS Stelsel</string>
|
||||
<string name="lineageos_system_label">LineageOS Stelsel</string>
|
||||
<string name="permlab_publishCustomTile">Skep \'n persoonlike teël binne die vinnige instellings paneel</string>
|
||||
<string name="permdesc_publishCustomTile">Laat \'n program toe om \'n vinnige instellings teël te publiseer.</string>
|
||||
<string name="permlab_modifyNetworkSettings">verander stelsel se netwerk instellings</string>
|
||||
@@ -38,7 +38,7 @@
|
||||
<string name="permdesc_modifyProfiles">Laat \'n toep toe om stelsel profiele te verander.</string>
|
||||
<!-- Labels for the HARDWARE_ABSTRACTION_ACCESS permission. -->
|
||||
<string name="permlab_useHardwareFramework">gebruik hardeware raamwerk</string>
|
||||
<string name="permdesc_useHardwareFramework">Laat program toegang tot die CM hardeware raamwerk.</string>
|
||||
<string name="permdesc_useHardwareFramework">Laat program toegang tot die Lineage hardeware raamwerk.</string>
|
||||
<!-- Labels for the WRITE_ALARMS permission. -->
|
||||
<string name="permlab_write_alarms">verander direk jou wekkers</string>
|
||||
<string name="permdesc_write_alarms">Laat \'n toep toe om by te voeg, te verander of al jou alarms te verwyder.</string>
|
||||
@@ -49,11 +49,11 @@
|
||||
<string name="permlab_read_alarms">toegang na geskeduleerde wekkers</string>
|
||||
<string name="permdesc_read_alarms">Laat \'n toep toe om jou geskeduleerde wekkers te lees.</string>
|
||||
<!-- Labels for the WRITE_SETTINGS permission -->
|
||||
<string name="permlab_writeSettings">verander CM stelsel instellings</string>
|
||||
<string name="permdesc_writeSettings">Laat \'n toep toe om CM stelsel instellings te verander.</string>
|
||||
<string name="permlab_writeSettings">verander Lineage stelsel instellings</string>
|
||||
<string name="permdesc_writeSettings">Laat \'n toep toe om Lineage stelsel instellings te verander.</string>
|
||||
<!-- Labels for the WRITE_SECURE_SETTINGS permission -->
|
||||
<string name="permlab_writeSecureSettings">verander CM veilige instellings</string>
|
||||
<string name="permdesc_writeSecureSettings">Laat \'n toep toe om CM veilige stelsel instellings te verander. Nie vir gebruik deur normale toeps nie.</string>
|
||||
<string name="permlab_writeSecureSettings">verander Lineage veilige instellings</string>
|
||||
<string name="permdesc_writeSecureSettings">Laat \'n toep toe om Lineage veilige stelsel instellings te verander. Nie vir gebruik deur normale toeps nie.</string>
|
||||
<!-- Labels for the MANAGE_PERSISTENT_STORAGE permission. -->
|
||||
<string name="permlab_managePersistentStorage">bestuur aanhoudende spasie</string>
|
||||
<string name="permdesc_managePersistentStorage">Laat \'n toep toe om eienskappe te skryf of lees, al word jou toestel herstel na fabriek instellings.</string>
|
||||
@@ -174,10 +174,10 @@
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<string name="permlab_manageLiveDisplay">bestuur LiveDisplay instellings</string>
|
||||
<string name="permdesc_manageLiveDisplay">Laat \'n toep toe om gevorderde skerm instellings te konfigureer.</string>
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<string name="permlab_observe_audio_sessions">neem oudio-sessie verandering waar</string>
|
||||
<string name="permdesc_observe_audio_sessions">Laat \'n toep toe, om oudio-strome wat geskep en vernietig word, waar te neem.</string>
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<string name="permlab_manage_audio_sessions">bestuur oudio-sessie veranderinge</string>
|
||||
<string name="permdesc_manage_audio_sessions">Laat \'n toep toe om oudio-stroom bywerkings te stuur.</string>
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
|
||||
@@ -62,8 +62,8 @@
|
||||
<!-- DataUsageProvider read permission title -->
|
||||
<!-- DataUsageProvider read permission description -->
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
<!-- Privacy Guard -->
|
||||
<!-- Permissions used by remote preferences -->
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Label for the LineageOS system components when they are shown to the user. -->
|
||||
<string name="cyanogenmod_system_label">نظام LineageOS</string>
|
||||
<string name="lineageos_system_label">نظام LineageOS</string>
|
||||
<string name="permlab_publishCustomTile">إنشاء لوحة مخصصة ضمن لوحة الإعدادات السريعة</string>
|
||||
<string name="permdesc_publishCustomTile">السماح للتطبيق بنشر لوحة الإعدادت السريعة.</string>
|
||||
<string name="permlab_modifyNetworkSettings">تغيير إعدادات شبكة النظام</string>
|
||||
@@ -38,7 +38,7 @@
|
||||
<string name="permdesc_modifyProfiles">السماح للتطبيق بتعديل الملفات التعريفية للنظام.</string>
|
||||
<!-- Labels for the HARDWARE_ABSTRACTION_ACCESS permission. -->
|
||||
<string name="permlab_useHardwareFramework">استخدام إطار عمل الجهاز</string>
|
||||
<string name="permdesc_useHardwareFramework">يسمح للتطبيق بالوصول إلى إطار عمل جهاز CM.</string>
|
||||
<string name="permdesc_useHardwareFramework">يسمح للتطبيق بالوصول إلى إطار عمل جهاز Lineage.</string>
|
||||
<!-- Labels for the WRITE_ALARMS permission. -->
|
||||
<string name="permlab_write_alarms">تغيير التنبيهات مباشرةً</string>
|
||||
<string name="permdesc_write_alarms">السماح للتطبيق بإضافة أو تعديل أو حذف كل التنبيهات الخاصة بك.</string>
|
||||
@@ -49,11 +49,11 @@
|
||||
<string name="permlab_read_alarms">الوصول إلى التنبيهات المجدولة</string>
|
||||
<string name="permdesc_read_alarms">السماح للتطبيق بقراءة تنبيهاتك المجدولة.</string>
|
||||
<!-- Labels for the WRITE_SETTINGS permission -->
|
||||
<string name="permlab_writeSettings">تعديل إعدادات نظام CM</string>
|
||||
<string name="permdesc_writeSettings">السماح للتطبيق بتعديل إعدادات نظام CM.</string>
|
||||
<string name="permlab_writeSettings">تعديل إعدادات نظام Lineage</string>
|
||||
<string name="permdesc_writeSettings">السماح للتطبيق بتعديل إعدادات نظام Lineage.</string>
|
||||
<!-- Labels for the WRITE_SECURE_SETTINGS permission -->
|
||||
<string name="permlab_writeSecureSettings">تعديل إعدادات نظام CM الآمن</string>
|
||||
<string name="permdesc_writeSecureSettings">السماح للتطبيق بتعديل إعدادات نظام CM الآمن. غير مخصص للاستخدام بواسطة التطبيقات العادية.</string>
|
||||
<string name="permlab_writeSecureSettings">تعديل إعدادات نظام Lineage الآمن</string>
|
||||
<string name="permdesc_writeSecureSettings">السماح للتطبيق بتعديل إعدادات نظام Lineage الآمن. غير مخصص للاستخدام بواسطة التطبيقات العادية.</string>
|
||||
<!-- Labels for the MANAGE_PERSISTENT_STORAGE permission. -->
|
||||
<string name="permlab_managePersistentStorage">إدارة التخزين الدائم</string>
|
||||
<string name="permdesc_managePersistentStorage">السماح للتطبيق بقراءة أو كتابة الخصائص التي تستمر خلال إعادة تعيين المصنع.</string>
|
||||
@@ -170,10 +170,10 @@
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<string name="permlab_manageLiveDisplay">إدارة إعدادات LiveDisplay</string>
|
||||
<string name="permdesc_manageLiveDisplay">يسمح لتطبيق معين بتكوين إعدادات العرض المتقدمة.</string>
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<string name="permlab_observe_audio_sessions">ملاحظة تغييرات جلسة عمل الصوت</string>
|
||||
<string name="permdesc_observe_audio_sessions">يسمح لتطبيق معين لملاحظة تدفقات الصوت الجاري إنشاؤها وتدميرها.</string>
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
<string name="qs_themes_label">السمات</string>
|
||||
<string name="qs_themes_content_description">تخصيص السمة</string>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Label for the LineageOS system components when they are shown to the user. -->
|
||||
<string name="cyanogenmod_system_label">LineageOS ছিষ্টেম</string>
|
||||
<string name="lineageos_system_label">LineageOS ছিষ্টেম</string>
|
||||
<string name="permlab_publishCustomTile">দ্ৰুত ছেটিংছ পেনেল ভিতৰত এটা কাষ্টম টাইল সৃষ্টি কৰা</string>
|
||||
<string name="permdesc_publishCustomTile">এটা এপ্প্ক দ্ৰুত ছেটিং টাইল প্ৰকাশ কৰিবলৈ অনুমতি দিয়ে।</string>
|
||||
<string name="permlab_modifyNetworkSettings">ছিষ্টেম নেটৱৰ্ক ছেটিং পৰিৱৰ্তন কৰা</string>
|
||||
@@ -38,7 +38,7 @@
|
||||
<string name="permdesc_modifyProfiles">এটা এপ্প্ক ছিষ্টেম প্ৰ\'ফাইল সংশোধন কৰিবলৈ অনুমতি দিয়ে</string>
|
||||
<!-- Labels for the HARDWARE_ABSTRACTION_ACCESS permission. -->
|
||||
<string name="permlab_useHardwareFramework">হাৰ্ডৱেৰ ফ্ৰেমৱৰ্ক ব্যৱহাৰ কৰক</string>
|
||||
<string name="permdesc_useHardwareFramework">এটা এপ্প্ক CM হাৰ্ডৱেৰ ফ্ৰেমৱৰ্কত প্ৰৱেশ কৰিবলৈ অনুমতি দিয়ে।</string>
|
||||
<string name="permdesc_useHardwareFramework">এটা এপ্প্ক Lineage হাৰ্ডৱেৰ ফ্ৰেমৱৰ্কত প্ৰৱেশ কৰিবলৈ অনুমতি দিয়ে।</string>
|
||||
<!-- Labels for the WRITE_ALARMS permission. -->
|
||||
<string name="permlab_write_alarms">প্ৰত্যক্ষভাবে এলাৰ্ম পৰিৱৰ্তন কৰক</string>
|
||||
<string name="permdesc_write_alarms">এটা এপ্প্ক আপোনাৰ এলাৰ্ম যোগ কৰিবলৈ, সংশোধন কৰিবলৈ আৰু সকলোবোৰ বিলোপ কৰিবলৈ অনুমতি দিয়ে।</string>
|
||||
@@ -49,11 +49,11 @@
|
||||
<string name="permlab_read_alarms">অনুসূচীত এলাৰ্মত প্ৰৱেশ কৰক</string>
|
||||
<string name="permdesc_read_alarms">এটা এপ্প্ক আপোনাৰ অনুসূচীত এলাৰ্মবোৰ পঢ়িবলৈ অনুমতি দিয়ে।</string>
|
||||
<!-- Labels for the WRITE_SETTINGS permission -->
|
||||
<string name="permlab_writeSettings">CM ছিষ্টেম ছেটিংচ সংশোধন কৰক</string>
|
||||
<string name="permdesc_writeSettings">এটা এপ্প্ক CM ছিষ্টেম ছেটিং সংশোধন কৰিবলৈ অনুমতি দিয়ে</string>
|
||||
<string name="permlab_writeSettings">Lineage ছিষ্টেম ছেটিংচ সংশোধন কৰক</string>
|
||||
<string name="permdesc_writeSettings">এটা এপ্প্ক Lineage ছিষ্টেম ছেটিং সংশোধন কৰিবলৈ অনুমতি দিয়ে</string>
|
||||
<!-- Labels for the WRITE_SECURE_SETTINGS permission -->
|
||||
<string name="permlab_writeSecureSettings">CM চিকিওৰ ছিষ্টেম ছেটিংচ সংশোধন কৰক</string>
|
||||
<string name="permdesc_writeSecureSettings">এটা এপ্প্ক CM চিকিওৰ ছিষ্টেম ছেটিং সংশোধন কৰিবলৈ অনুমতি দিয়ে সাধাৰণ এপ্প্সমূহৰ ব্যৱহাৰৰ কাৰণে নহয়৷</string>
|
||||
<string name="permlab_writeSecureSettings">Lineage চিকিওৰ ছিষ্টেম ছেটিংচ সংশোধন কৰক</string>
|
||||
<string name="permdesc_writeSecureSettings">এটা এপ্প্ক Lineage চিকিওৰ ছিষ্টেম ছেটিং সংশোধন কৰিবলৈ অনুমতি দিয়ে সাধাৰণ এপ্প্সমূহৰ ব্যৱহাৰৰ কাৰণে নহয়৷</string>
|
||||
<!-- Labels for the MANAGE_PERSISTENT_STORAGE permission. -->
|
||||
<string name="permlab_managePersistentStorage">নিৰবিচ্ছিন্ন ষ্ট\'ৰেজ প্ৰবন্ধন কৰক</string>
|
||||
<string name="permdesc_managePersistentStorage">এটা এপ্প্ক ধৰ্মবোৰ পঢ়িবলৈ বা লিখিবলৈ অনুমতি দিয়ে যিবোৰ ফেক্টৰী ৰিছেটৰ মাধ্যমত চলি থাকিব পাৰে।</string>
|
||||
@@ -126,8 +126,8 @@
|
||||
<!-- DataUsageProvider read permission title -->
|
||||
<!-- DataUsageProvider read permission description -->
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
<!-- Privacy Guard -->
|
||||
<!-- Permissions used by remote preferences -->
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Label for the LineageOS system components when they are shown to the user. -->
|
||||
<string name="cyanogenmod_system_label">Sistema LineageOS</string>
|
||||
<string name="lineageos_system_label">Sistema LineageOS</string>
|
||||
<string name="permlab_publishCustomTile">crear una caxella personalizada dientro\'l panel d\'axustes rápidos</string>
|
||||
<string name="permdesc_publishCustomTile">Permite qu\'una aplicación espublize una caxella d\'axustes rápidos.</string>
|
||||
<string name="permlab_modifyNetworkSettings">camudar los axustes de rede del sistema</string>
|
||||
@@ -38,7 +38,7 @@
|
||||
<string name="permdesc_modifyProfiles">Permite qu\'una aplicación modifique los perfiles del sistema.</string>
|
||||
<!-- Labels for the HARDWARE_ABSTRACTION_ACCESS permission. -->
|
||||
<string name="permlab_useHardwareFramework">usar framework de hardware</string>
|
||||
<string name="permdesc_useHardwareFramework">Permite qu\'una aplicación acceda al framework de hardware de CM.</string>
|
||||
<string name="permdesc_useHardwareFramework">Permite qu\'una aplicación acceda al framework de hardware de Lineage.</string>
|
||||
<!-- Labels for the WRITE_ALARMS permission. -->
|
||||
<string name="permlab_write_alarms">camudar direutamente les alarmes</string>
|
||||
<string name="permdesc_write_alarms">Permite qu\'una aplicación amieste, modifique o desanicie toles tos alarmes.</string>
|
||||
@@ -49,11 +49,11 @@
|
||||
<string name="permlab_read_alarms">acceder a alarmes planificaes</string>
|
||||
<string name="permdesc_read_alarms">Permite qu\'una aplicación llea les tos alarmes planificaes.</string>
|
||||
<!-- Labels for the WRITE_SETTINGS permission -->
|
||||
<string name="permlab_writeSettings">modificar axustes del sistema CM</string>
|
||||
<string name="permdesc_writeSettings">Permite qu\'una aplicación modifique los axustes del sistema CM.</string>
|
||||
<string name="permlab_writeSettings">modificar axustes del sistema Lineage</string>
|
||||
<string name="permdesc_writeSettings">Permite qu\'una aplicación modifique los axustes del sistema Lineage.</string>
|
||||
<!-- Labels for the WRITE_SECURE_SETTINGS permission -->
|
||||
<string name="permlab_writeSecureSettings">modificar axustes del sistema de seguranza CM</string>
|
||||
<string name="permdesc_writeSecureSettings">Permite qu\'una aplicación modifique los axustes del sistema de seguranza de CM. Nun s\'usa pa les aplicaciones normales.</string>
|
||||
<string name="permlab_writeSecureSettings">modificar axustes del sistema de seguranza Lineage</string>
|
||||
<string name="permdesc_writeSecureSettings">Permite qu\'una aplicación modifique los axustes del sistema de seguranza de Lineage. Nun s\'usa pa les aplicaciones normales.</string>
|
||||
<!-- Labels for the MANAGE_PERSISTENT_STORAGE permission. -->
|
||||
<string name="permlab_managePersistentStorage">xestionar almacenamientu persistente</string>
|
||||
<string name="permdesc_managePersistentStorage">Permite qu\'una aplicación llea o escriba propiedaes que quiciabes persistan dempués de reafitar el preséu.</string>
|
||||
@@ -151,10 +151,10 @@
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<string name="permlab_manageLiveDisplay">xestionar axustes de LiveDisplay</string>
|
||||
<string name="permdesc_manageLiveDisplay">Permite qu\'una aplicación configure los axustes avanzaos de pantalla.</string>
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<string name="permlab_observe_audio_sessions">mirar camudancies de sesiones d\'audiu</string>
|
||||
<string name="permdesc_observe_audio_sessions">Permite qu\'una aplicación mire los fluxos d\'audiu que se creen y destrúin.</string>
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<string name="permlab_manage_audio_sessions">xestionar camudancies de sesiones d\'audiu</string>
|
||||
<string name="permdesc_manage_audio_sessions">Permite qu\'una aplicación unvie anovamientos de fluxos d\'audiu.</string>
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Label for the LineageOS system components when they are shown to the user. -->
|
||||
<string name="cyanogenmod_system_label">LineageOS Sistemi</string>
|
||||
<string name="lineageos_system_label">LineageOS Sistemi</string>
|
||||
<string name="permlab_publishCustomTile">cəld tənzimləmələr panelində özəl bir çərçivə yarat</string>
|
||||
<string name="permdesc_publishCustomTile">Tətbiqetməyə cəld tənzimləmələr çərçivəsi yaratmağa icazə verər.</string>
|
||||
<string name="permlab_modifyNetworkSettings">sistem şəbəkə tənzimləmələrini dəyişdir</string>
|
||||
@@ -38,7 +38,7 @@
|
||||
<string name="permdesc_modifyProfiles">Tətbiqetməyə sistem profillərini dəyişdirmə icazəsi verər.</string>
|
||||
<!-- Labels for the HARDWARE_ABSTRACTION_ACCESS permission. -->
|
||||
<string name="permlab_useHardwareFramework">avadanlıq bünövrəsindən istifadə et</string>
|
||||
<string name="permdesc_useHardwareFramework">Tətbiqetmənin CM avadanlıq bünövrəsinə müraciətinə icazə verər.</string>
|
||||
<string name="permdesc_useHardwareFramework">Tətbiqetmənin Lineage avadanlıq bünövrəsinə müraciətinə icazə verər.</string>
|
||||
<!-- Labels for the WRITE_ALARMS permission. -->
|
||||
<string name="permlab_write_alarms">birbaşa zəngli saatları dəyişdir</string>
|
||||
<string name="permdesc_write_alarms">Tətbiqetməyə zəngli saat əlavə etmə, dəyişdirmə və silmə icazəsi verər.</string>
|
||||
@@ -49,11 +49,11 @@
|
||||
<string name="permlab_read_alarms">müəyyən zəngli saatlara müraciət</string>
|
||||
<string name="permdesc_read_alarms">Tətbiqetməyə müəyyən zəngli saatları oxuma icazəsi verər.</string>
|
||||
<!-- Labels for the WRITE_SETTINGS permission -->
|
||||
<string name="permlab_writeSettings">CM sistem tənzimləmələrini dəyişdir</string>
|
||||
<string name="permdesc_writeSettings">Tətbiqetməyə CM sistem tənzimləmələrini dəyişmə icazəsi verər.</string>
|
||||
<string name="permlab_writeSettings">Lineage sistem tənzimləmələrini dəyişdir</string>
|
||||
<string name="permdesc_writeSettings">Tətbiqetməyə Lineage sistem tənzimləmələrini dəyişmə icazəsi verər.</string>
|
||||
<!-- Labels for the WRITE_SECURE_SETTINGS permission -->
|
||||
<string name="permlab_writeSecureSettings">CM təhlükəsiz sistem tənzimləmələrini dəyişdir</string>
|
||||
<string name="permdesc_writeSecureSettings">Tətbiqetməyə CM təhlükəsiz sistem tənzimləmələrini dəyişmə icazəsi verər. Normal tətbiqetmələr üçün deyil.</string>
|
||||
<string name="permlab_writeSecureSettings">Lineage təhlükəsiz sistem tənzimləmələrini dəyişdir</string>
|
||||
<string name="permdesc_writeSecureSettings">Tətbiqetməyə Lineage təhlükəsiz sistem tənzimləmələrini dəyişmə icazəsi verər. Normal tətbiqetmələr üçün deyil.</string>
|
||||
<!-- Labels for the MANAGE_PERSISTENT_STORAGE permission. -->
|
||||
<string name="permlab_managePersistentStorage">davamlı saxlama sahəsini idarə et</string>
|
||||
<string name="permdesc_managePersistentStorage">Tətbiqetməyə zavod tənzimləmələrinə qayıtdıqda davamlı qalıcı xüsusiyyətləri oxuma və ya yazma icazəsi verər.</string>
|
||||
@@ -126,8 +126,8 @@
|
||||
<!-- DataUsageProvider read permission title -->
|
||||
<!-- DataUsageProvider read permission description -->
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
<!-- Privacy Guard -->
|
||||
<!-- Permissions used by remote preferences -->
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Label for the LineageOS system components when they are shown to the user. -->
|
||||
<string name="cyanogenmod_system_label">Сістэма LineageOS</string>
|
||||
<string name="lineageos_system_label">Сістэма LineageOS</string>
|
||||
<string name="permlab_publishCustomTile">Стварэнне самавольных плітак у панэлі хуткіх налад</string>
|
||||
<string name="permdesc_publishCustomTile">Дадатак зможа дадаваць пліткі ў панэль хуткіх налад.</string>
|
||||
<string name="permlab_modifyNetworkSettings">Змена сеціўных налад сістэмы</string>
|
||||
@@ -38,7 +38,7 @@
|
||||
<string name="permdesc_modifyProfiles">Дазваляць дадаткам змяняць сістэмныя профілі.</string>
|
||||
<!-- Labels for the HARDWARE_ABSTRACTION_ACCESS permission. -->
|
||||
<string name="permlab_useHardwareFramework">Узаемадзеянне з абсталяваннем</string>
|
||||
<string name="permdesc_useHardwareFramework">Дадатак зможа атрымваць доступ да падсістэмы апаратных абстракцый CyanogenMod.</string>
|
||||
<string name="permdesc_useHardwareFramework">Дадатак зможа атрымваць доступ да падсістэмы апаратных абстракцый LineageOS.</string>
|
||||
<!-- Labels for the WRITE_ALARMS permission. -->
|
||||
<string name="permlab_write_alarms">змена будзільнікаў</string>
|
||||
<string name="permdesc_write_alarms">Дадатак зможа дадаваць, змяняць ці выдаляць любыя будзільнікі.</string>
|
||||
@@ -151,8 +151,8 @@
|
||||
<!-- DataUsageProvider read permission description -->
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<string name="permlab_manageLiveDisplay">кіраванне наладамі LiveDisplay</string>
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
<string name="qs_themes_label">Знешні выгляд</string>
|
||||
<!-- Privacy Guard -->
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Label for the LineageOS system components when they are shown to the user. -->
|
||||
<string name="cyanogenmod_system_label">Сістэма LineageOS</string>
|
||||
<string name="lineageos_system_label">Сістэма LineageOS</string>
|
||||
<string name="permlab_publishCustomTile">Стварэнне самавольных плітак у панэлі хуткіх налад</string>
|
||||
<string name="permdesc_publishCustomTile">Дадатак зможа дадаваць пліткі ў панэль хуткіх налад.</string>
|
||||
<string name="permlab_modifyNetworkSettings">Змена сеціўных налад сістэмы</string>
|
||||
@@ -154,8 +154,8 @@
|
||||
<!-- DataUsageProvider read permission description -->
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<string name="permlab_manageLiveDisplay">кіраванне наладамі LiveDisplay</string>
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
<string name="qs_themes_label">Знешні выгляд</string>
|
||||
<!-- Custom booot dexopt -->
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Label for the LineageOS system components when they are shown to the user. -->
|
||||
<string name="cyanogenmod_system_label">LineageOS Система</string>
|
||||
<string name="lineageos_system_label">LineageOS Система</string>
|
||||
<string name="permlab_publishCustomTile">създаване на потребителска плочка чрез панел за бързи настройки</string>
|
||||
<string name="permdesc_publishCustomTile">Позволява на приложение да публикува плочка с бързи настройки.</string>
|
||||
<string name="permlab_modifyNetworkSettings">промяна на системните мрежови настройки</string>
|
||||
@@ -38,7 +38,7 @@
|
||||
<string name="permdesc_modifyProfiles">Позволява да модифицирате системни профили.</string>
|
||||
<!-- Labels for the HARDWARE_ABSTRACTION_ACCESS permission. -->
|
||||
<string name="permlab_useHardwareFramework">Използване на framework хардуер</string>
|
||||
<string name="permdesc_useHardwareFramework">Разрешава на едно приложение да достъпва до framework хардуера на CM.</string>
|
||||
<string name="permdesc_useHardwareFramework">Разрешава на едно приложение да достъпва до framework хардуера на Lineage.</string>
|
||||
<!-- Labels for the WRITE_ALARMS permission. -->
|
||||
<string name="permlab_write_alarms">промяна на аларми</string>
|
||||
<string name="permdesc_write_alarms">Разрешава на приложението да добавя, променяте или изтрива аларми.</string>
|
||||
@@ -52,7 +52,7 @@
|
||||
<string name="permlab_writeSettings">Модифициране на СМ системни настройки</string>
|
||||
<string name="permdesc_writeSettings">Позволява на приложението да модифицира СМ системни настройки.</string>
|
||||
<!-- Labels for the WRITE_SECURE_SETTINGS permission -->
|
||||
<string name="permlab_writeSecureSettings">Модифициране настройките на CM сигурността</string>
|
||||
<string name="permlab_writeSecureSettings">Модифициране настройките на Lineage сигурността</string>
|
||||
<string name="permdesc_writeSecureSettings">Разрешава на проложението да променя системните настройки на сигурността. Това разрешение не се използва от нормални приложения.</string>
|
||||
<!-- Labels for the MANAGE_PERSISTENT_STORAGE permission. -->
|
||||
<string name="permlab_managePersistentStorage">управлявате места за съхранение на данни</string>
|
||||
@@ -173,10 +173,10 @@
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<string name="permlab_manageLiveDisplay">управление на настройките за Адаптивен дисплей</string>
|
||||
<string name="permdesc_manageLiveDisplay">Позволява на приложението да променя разширените настройки на дисплея.</string>
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<string name="permlab_observe_audio_sessions">преглед на промените в аудио сесии</string>
|
||||
<string name="permdesc_observe_audio_sessions">Позволява на приложение да наблюдава създаване и унищожаване на аудио потоци.</string>
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<string name="permlab_manage_audio_sessions">управление на промените в аудио сесии</string>
|
||||
<string name="permdesc_manage_audio_sessions">Разрешава на приложението да изпраща известия за аудио стрийминг актуализации.</string>
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
|
||||
@@ -62,8 +62,8 @@
|
||||
<!-- DataUsageProvider read permission title -->
|
||||
<!-- DataUsageProvider read permission description -->
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
<!-- Privacy Guard -->
|
||||
<!-- Permissions used by remote preferences -->
|
||||
|
||||
@@ -62,8 +62,8 @@
|
||||
<!-- DataUsageProvider read permission title -->
|
||||
<!-- DataUsageProvider read permission description -->
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
<!-- Privacy Guard -->
|
||||
<!-- Permissions used by remote preferences -->
|
||||
|
||||
@@ -62,8 +62,8 @@
|
||||
<!-- DataUsageProvider read permission title -->
|
||||
<!-- DataUsageProvider read permission description -->
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
<!-- Privacy Guard -->
|
||||
<!-- Permissions used by remote preferences -->
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Label for the LineageOS system components when they are shown to the user. -->
|
||||
<string name="cyanogenmod_system_label">Sistema de LineageOS</string>
|
||||
<string name="lineageos_system_label">Sistema de LineageOS</string>
|
||||
<string name="permlab_publishCustomTile">crea una cel·la personalitzada al panell d\'ajustos ràpids</string>
|
||||
<string name="permdesc_publishCustomTile">Permet a una aplicació publicar una cel·la d\'ajustos ràpids.</string>
|
||||
<string name="permlab_modifyNetworkSettings">canvia la configuració de xarxa de sistema</string>
|
||||
@@ -38,7 +38,7 @@
|
||||
<string name="permdesc_modifyProfiles">Permet a una aplicació modificar els perfils del sistema.</string>
|
||||
<!-- Labels for the HARDWARE_ABSTRACTION_ACCESS permission. -->
|
||||
<string name="permlab_useHardwareFramework">utilitza el marc de hardware</string>
|
||||
<string name="permdesc_useHardwareFramework">Permet a una aplicació accedir al marc de hardware de CM.</string>
|
||||
<string name="permdesc_useHardwareFramework">Permet a una aplicació accedir al marc de hardware de Lineage.</string>
|
||||
<!-- Labels for the WRITE_ALARMS permission. -->
|
||||
<string name="permlab_write_alarms">canviar directament les alarmes</string>
|
||||
<string name="permdesc_write_alarms">Permet a una aplicació afegir, modificar o esborrar totes les teves alarmes.</string>
|
||||
@@ -49,11 +49,11 @@
|
||||
<string name="permlab_read_alarms">accedir a les alarmes programades</string>
|
||||
<string name="permdesc_read_alarms">Permet a una aplicació llegir les teves alarmes programades.</string>
|
||||
<!-- Labels for the WRITE_SETTINGS permission -->
|
||||
<string name="permlab_writeSettings">modificar la configuració del sistema CM</string>
|
||||
<string name="permdesc_writeSettings">Permet a una aplicació modificar la configuració del sistema CM.</string>
|
||||
<string name="permlab_writeSettings">modificar la configuració del sistema Lineage</string>
|
||||
<string name="permdesc_writeSettings">Permet a una aplicació modificar la configuració del sistema Lineage.</string>
|
||||
<!-- Labels for the WRITE_SECURE_SETTINGS permission -->
|
||||
<string name="permlab_writeSecureSettings">modificar la configuració segura del sistema CM</string>
|
||||
<string name="permdesc_writeSecureSettings">Permet a una aplicació modificar la configuració segura del sistema CM. No utilitzar en aplicacions normals.</string>
|
||||
<string name="permlab_writeSecureSettings">modificar la configuració segura del sistema Lineage</string>
|
||||
<string name="permdesc_writeSecureSettings">Permet a una aplicació modificar la configuració segura del sistema Lineage. No utilitzar en aplicacions normals.</string>
|
||||
<!-- Labels for the MANAGE_PERSISTENT_STORAGE permission. -->
|
||||
<string name="permlab_managePersistentStorage">gestiona l\'emmagatzematge persistent</string>
|
||||
<string name="permdesc_managePersistentStorage">Permet a una aplicació llegir o escriure propietats que poden persistir després d\'un reinici a la configuració de fàbrica.</string>
|
||||
@@ -173,10 +173,10 @@
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<string name="permlab_manageLiveDisplay">administra la configuració de LiveDisplay</string>
|
||||
<string name="permdesc_manageLiveDisplay">Permet a una aplicació configurar les opcions de visualització avançades.</string>
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<string name="permlab_observe_audio_sessions">observa els canvis en la sessió de so</string>
|
||||
<string name="permdesc_observe_audio_sessions">Permet a una aplicació observar els fluxos de so que són creats i destruïts.</string>
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<string name="permlab_manage_audio_sessions">administra els canvis en la sessió de so</string>
|
||||
<string name="permdesc_manage_audio_sessions">Permet a una aplicació enviar actualitzacions de transmissió d\'àudio.</string>
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Label for the LineageOS system components when they are shown to the user. -->
|
||||
<string name="cyanogenmod_system_label">Systém LineageOS</string>
|
||||
<string name="lineageos_system_label">Systém LineageOS</string>
|
||||
<string name="permlab_publishCustomTile">vytvoření vlastní dlaždice do panelu rychlého nastavení</string>
|
||||
<string name="permdesc_publishCustomTile">Umožní vytvořit vlastní dlaždici v panelu rychlého nastavení.</string>
|
||||
<string name="permlab_modifyNetworkSettings">změnit systémové nastavení sítě</string>
|
||||
@@ -38,7 +38,7 @@
|
||||
<string name="permdesc_modifyProfiles">Umožňuje upravovat systémové profily.</string>
|
||||
<!-- Labels for the HARDWARE_ABSTRACTION_ACCESS permission. -->
|
||||
<string name="permlab_useHardwareFramework">využití hardware zařízení</string>
|
||||
<string name="permdesc_useHardwareFramework">Umožní přistupovat k hardware pomocí CM.</string>
|
||||
<string name="permdesc_useHardwareFramework">Umožní přistupovat k hardware pomocí Lineage.</string>
|
||||
<!-- Labels for the WRITE_ALARMS permission. -->
|
||||
<string name="permlab_write_alarms">přímá změna budíků</string>
|
||||
<string name="permdesc_write_alarms">Umožňuje přidat, změnit nebo odebrat všechn budíky.</string>
|
||||
@@ -49,11 +49,11 @@
|
||||
<string name="permlab_read_alarms">přístup k naplánovaným budíkům</string>
|
||||
<string name="permdesc_read_alarms">Umožní číst naplánované budíky.</string>
|
||||
<!-- Labels for the WRITE_SETTINGS permission -->
|
||||
<string name="permlab_writeSettings">změnit CM systémové nastavení</string>
|
||||
<string name="permdesc_writeSettings">Umožní měnit systémové nastavení CyanogenMod.</string>
|
||||
<string name="permlab_writeSettings">změnit Lineage systémové nastavení</string>
|
||||
<string name="permdesc_writeSettings">Umožní měnit systémové nastavení LineageOS.</string>
|
||||
<!-- Labels for the WRITE_SECURE_SETTINGS permission -->
|
||||
<string name="permlab_writeSecureSettings">upravit nastavení zabezpečení systému CM</string>
|
||||
<string name="permdesc_writeSecureSettings">Umožní změnit nastavení zabezpečení systému CyanogenMod. Není určeno pro normální aplikace.</string>
|
||||
<string name="permlab_writeSecureSettings">upravit nastavení zabezpečení systému Lineage</string>
|
||||
<string name="permdesc_writeSecureSettings">Umožní změnit nastavení zabezpečení systému LineageOS. Není určeno pro normální aplikace.</string>
|
||||
<!-- Labels for the MANAGE_PERSISTENT_STORAGE permission. -->
|
||||
<string name="permlab_managePersistentStorage">spravovat trvalé úložiště</string>
|
||||
<string name="permdesc_managePersistentStorage">Umožňuje číst a zapisovat vlastnosti, které mohou přetrvat při tovární obnově.</string>
|
||||
@@ -173,10 +173,10 @@
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<string name="permlab_manageLiveDisplay">spravovat nastavení LiveDisplay</string>
|
||||
<string name="permdesc_manageLiveDisplay">Umožní nastavovat rozšířené nastavení obrazovky.</string>
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<string name="permlab_observe_audio_sessions">sledovat změny audio relace</string>
|
||||
<string name="permdesc_observe_audio_sessions">Umožní sledovat vytváření a rušení zvukových zdrojů.</string>
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<string name="permlab_manage_audio_sessions">upravovat změny audio relace</string>
|
||||
<string name="permdesc_manage_audio_sessions">Umožňuje aktualizovat zvukové relace.</string>
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
|
||||
@@ -62,8 +62,8 @@
|
||||
<!-- DataUsageProvider read permission title -->
|
||||
<!-- DataUsageProvider read permission description -->
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
<!-- Privacy Guard -->
|
||||
<!-- Permissions used by remote preferences -->
|
||||
|
||||
@@ -62,8 +62,8 @@
|
||||
<!-- DataUsageProvider read permission title -->
|
||||
<!-- DataUsageProvider read permission description -->
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
<!-- Privacy Guard -->
|
||||
<!-- Permissions used by remote preferences -->
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Label for the LineageOS system components when they are shown to the user. -->
|
||||
<string name="cyanogenmod_system_label">LineageOS System</string>
|
||||
<string name="lineageos_system_label">LineageOS System</string>
|
||||
<string name="permlab_publishCustomTile">opret en brugerdefineret flise i panelet til hurtige indstillinger</string>
|
||||
<string name="permdesc_publishCustomTile">Tillader en app at lave en flise med hurtig indstilling.</string>
|
||||
<string name="permlab_modifyNetworkSettings">ændre indstillinger for system netværk</string>
|
||||
@@ -38,7 +38,7 @@
|
||||
<string name="permdesc_modifyProfiles">Tillader en app at ændre systemprofiler.</string>
|
||||
<!-- Labels for the HARDWARE_ABSTRACTION_ACCESS permission. -->
|
||||
<string name="permlab_useHardwareFramework">anvend hardware framework</string>
|
||||
<string name="permdesc_useHardwareFramework">Giver en app adgang til CM hardware framework.</string>
|
||||
<string name="permdesc_useHardwareFramework">Giver en app adgang til Lineage hardware framework.</string>
|
||||
<!-- Labels for the WRITE_ALARMS permission. -->
|
||||
<string name="permlab_write_alarms">ændrer alarmer direkte</string>
|
||||
<string name="permdesc_write_alarms">Tillader en app at tilføje, ændre eller slette alle dine alarmer.</string>
|
||||
@@ -49,11 +49,11 @@
|
||||
<string name="permlab_read_alarms">få adgang til planlagte alarmer</string>
|
||||
<string name="permdesc_read_alarms">Tillader en app at læse dine planlagte alarmer.</string>
|
||||
<!-- Labels for the WRITE_SETTINGS permission -->
|
||||
<string name="permlab_writeSettings">ændre CM-systemindstillinger</string>
|
||||
<string name="permdesc_writeSettings">Tillader en app at ændre CM systemindstillinger.</string>
|
||||
<string name="permlab_writeSettings">ændre Lineage-systemindstillinger</string>
|
||||
<string name="permdesc_writeSettings">Tillader en app at ændre Lineage systemindstillinger.</string>
|
||||
<!-- Labels for the WRITE_SECURE_SETTINGS permission -->
|
||||
<string name="permlab_writeSecureSettings">ændre systemindstillinger for CM sikkerhed</string>
|
||||
<string name="permdesc_writeSecureSettings">Tillader en app at ændre systemindstillinger for CM sikkerhed. Bør ikke anvendes til normale apps.</string>
|
||||
<string name="permlab_writeSecureSettings">ændre systemindstillinger for Lineage sikkerhed</string>
|
||||
<string name="permdesc_writeSecureSettings">Tillader en app at ændre systemindstillinger for Lineage sikkerhed. Bør ikke anvendes til normale apps.</string>
|
||||
<!-- Labels for the MANAGE_PERSISTENT_STORAGE permission. -->
|
||||
<string name="permlab_managePersistentStorage">administrere permanent lager</string>
|
||||
<string name="permdesc_managePersistentStorage">Tillader en app at læse eller skrive egenskaber, som kan overleve en gendannelse af fabriksdata.</string>
|
||||
@@ -173,10 +173,10 @@
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<string name="permlab_manageLiveDisplay">administrer indstillinger for LiveDisplay</string>
|
||||
<string name="permdesc_manageLiveDisplay">Tillader en app at konfigurere avancerede skærmindstillinger.</string>
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<string name="permlab_observe_audio_sessions">observér ændringer for lydsession</string>
|
||||
<string name="permdesc_observe_audio_sessions">Tillader en app at observere når lyd streams bliver oprettet eller ødelagt.</string>
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<string name="permlab_manage_audio_sessions">administrér ændringer for lydsession</string>
|
||||
<string name="permdesc_manage_audio_sessions">Tillader en app at sende lydstream-opdateringer.</string>
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Label for the LineageOS system components when they are shown to the user. -->
|
||||
<string name="cyanogenmod_system_label">LineageOS-System</string>
|
||||
<string name="lineageos_system_label">LineageOS-System</string>
|
||||
<string name="permlab_publishCustomTile">eine Kachel in den Schnelleinstellungen erstellen</string>
|
||||
<string name="permdesc_publishCustomTile">Ermöglicht der App, eine Kachel in den Schnelleinstellungen anzuzeigen.</string>
|
||||
<string name="permlab_modifyNetworkSettings">System-Netzwerkeinstellungen ändern</string>
|
||||
@@ -38,7 +38,7 @@
|
||||
<string name="permdesc_modifyProfiles">Ermöglicht der App, Systemprofile zu ändern.</string>
|
||||
<!-- Labels for the HARDWARE_ABSTRACTION_ACCESS permission. -->
|
||||
<string name="permlab_useHardwareFramework">Hardware-Framework verwenden</string>
|
||||
<string name="permdesc_useHardwareFramework">Ermöglicht der App, auf das CM-Hardware-Framework zuzugreifen.</string>
|
||||
<string name="permdesc_useHardwareFramework">Ermöglicht der App, auf das Lineage-Hardware-Framework zuzugreifen.</string>
|
||||
<!-- Labels for the WRITE_ALARMS permission. -->
|
||||
<string name="permlab_write_alarms">Alarme direkt ändern</string>
|
||||
<string name="permdesc_write_alarms">Ermöglicht der App das Hinzufügen, Ändern oder Löschen Ihrer Alarme.</string>
|
||||
@@ -49,11 +49,11 @@
|
||||
<string name="permlab_read_alarms">auf geplante Alarme zugreifen</string>
|
||||
<string name="permdesc_read_alarms">Ermöglicht der App, Ihre geplanten Alarme auszulesen.</string>
|
||||
<!-- Labels for the WRITE_SETTINGS permission -->
|
||||
<string name="permlab_writeSettings">CM-Systemeinstellungen ändern</string>
|
||||
<string name="permdesc_writeSettings">Ermöglicht der App, CM-Systemeinstellungen zu ändern.</string>
|
||||
<string name="permlab_writeSettings">Lineage-Systemeinstellungen ändern</string>
|
||||
<string name="permdesc_writeSettings">Ermöglicht der App, Lineage-Systemeinstellungen zu ändern.</string>
|
||||
<!-- Labels for the WRITE_SECURE_SETTINGS permission -->
|
||||
<string name="permlab_writeSecureSettings">CM-Sicherheits-Systemeinstellungen ändern</string>
|
||||
<string name="permdesc_writeSecureSettings">Ermöglicht der App, CM-Sicherheits-Systemeinstellungen zu ändern. Nicht für die Nutzung durch normale Anwendungen bestimmt.</string>
|
||||
<string name="permlab_writeSecureSettings">Lineage-Sicherheits-Systemeinstellungen ändern</string>
|
||||
<string name="permdesc_writeSecureSettings">Ermöglicht der App, Lineage-Sicherheits-Systemeinstellungen zu ändern. Nicht für die Nutzung durch normale Anwendungen bestimmt.</string>
|
||||
<!-- Labels for the MANAGE_PERSISTENT_STORAGE permission. -->
|
||||
<string name="permlab_managePersistentStorage">permanenten Speicher verwalten</string>
|
||||
<string name="permdesc_managePersistentStorage">Ermöglicht der App, Eigenschaften auszulesen oder zu speichern, die auch beim Zurücksetzen auf die Werkseinstellungen erhalten bleiben können.</string>
|
||||
@@ -173,10 +173,10 @@
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<string name="permlab_manageLiveDisplay">LiveDisplay-Einstellungen verwalten</string>
|
||||
<string name="permdesc_manageLiveDisplay">Erlaubt der App, erweiterte Displayeinstellungen vorzunehmen.</string>
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<string name="permlab_observe_audio_sessions">Audiositzungsänderungen überwachen</string>
|
||||
<string name="permdesc_observe_audio_sessions">Erlaubt einer App, die Erstellung und Löschung von Audio-Streams zu überwachen.</string>
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<string name="permlab_manage_audio_sessions">Audiositzungsänderungen verwalten</string>
|
||||
<string name="permdesc_manage_audio_sessions">Ermöglicht einer App, Audiostream-Aktualisierungen zu senden.</string>
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Label for the LineageOS system components when they are shown to the user. -->
|
||||
<string name="cyanogenmod_system_label">Σύστημα LineageOS</string>
|
||||
<string name="lineageos_system_label">Σύστημα LineageOS</string>
|
||||
<string name="permlab_publishCustomTile">δημιουργία προσαρμοσμένου πλακιδίου στον Πίνακα Γρήγορων ρυθμίσεων</string>
|
||||
<string name="permdesc_publishCustomTile">Επιτρέπει σε μία εφαρμογή τη δημιουργία πλακιδίου στον Πίνακα Γρήγορων ρυθμίσεων.</string>
|
||||
<string name="permlab_modifyNetworkSettings">αλλαγή ρυθμίσεων δικτύου συστήματος</string>
|
||||
@@ -38,7 +38,7 @@
|
||||
<string name="permdesc_modifyProfiles">Επιτρέπει σε μια εφαρμογή να τροποποιεί τα προφίλ του συστήματος.</string>
|
||||
<!-- Labels for the HARDWARE_ABSTRACTION_ACCESS permission. -->
|
||||
<string name="permlab_useHardwareFramework">χρήση του πλαισίου υλικού</string>
|
||||
<string name="permdesc_useHardwareFramework">Επιτρέπει σε μια εφαρμογή την πρόσβαση στο πλαίσιο υλικού του CM.</string>
|
||||
<string name="permdesc_useHardwareFramework">Επιτρέπει σε μια εφαρμογή την πρόσβαση στο πλαίσιο υλικού του Lineage.</string>
|
||||
<!-- Labels for the WRITE_ALARMS permission. -->
|
||||
<string name="permlab_write_alarms">άμεση επεξεργασία αφυπνίσεων</string>
|
||||
<string name="permdesc_write_alarms">Επιτρέπει σε μια εφαρμογή να προσθέσει, να τροποποιήσει ή να διαγράψει όλες τις αφυπνίσεις.</string>
|
||||
@@ -49,11 +49,11 @@
|
||||
<string name="permlab_read_alarms">ανάγνωση προγραμματισμένων αφυπνίσεων</string>
|
||||
<string name="permdesc_read_alarms">Επιτρέπει σε μια εφαρμογή να διαβάσει τις προγραμματισμένες αφυπνίσεις.</string>
|
||||
<!-- Labels for the WRITE_SETTINGS permission -->
|
||||
<string name="permlab_writeSettings">τροποποίηση ρυθμίσεων συστήματος CM</string>
|
||||
<string name="permdesc_writeSettings">Επιτρέπει σε μια εφαρμογή να τροποποιεί τις ρυθμίσεις συστήματος του CM.</string>
|
||||
<string name="permlab_writeSettings">τροποποίηση ρυθμίσεων συστήματος Lineage</string>
|
||||
<string name="permdesc_writeSettings">Επιτρέπει σε μια εφαρμογή να τροποποιεί τις ρυθμίσεις συστήματος του Lineage.</string>
|
||||
<!-- Labels for the WRITE_SECURE_SETTINGS permission -->
|
||||
<string name="permlab_writeSecureSettings">τροποποίηση ασφαλών ρυθμίσεων συστήματος CM</string>
|
||||
<string name="permdesc_writeSecureSettings">Επιτρέπει σε μια εφαρμογή να τροποποιεί τις ασφαλείς ρυθμίσεις συστήματος του CM. Δεν χρησιμοποιείται από κανονικές εφαρμογές.</string>
|
||||
<string name="permlab_writeSecureSettings">τροποποίηση ασφαλών ρυθμίσεων συστήματος Lineage</string>
|
||||
<string name="permdesc_writeSecureSettings">Επιτρέπει σε μια εφαρμογή να τροποποιεί τις ασφαλείς ρυθμίσεις συστήματος του Lineage. Δεν χρησιμοποιείται από κανονικές εφαρμογές.</string>
|
||||
<!-- Labels for the MANAGE_PERSISTENT_STORAGE permission. -->
|
||||
<string name="permlab_managePersistentStorage">διαχείριση επίμονου χώρου αποθήκευσης</string>
|
||||
<string name="permdesc_managePersistentStorage">Επιτρέπει σε μια εφαρμογή να διαβάσει ή να γράψει ιδιότητες που μπορούν να επιμείνουν ακόμη και μετά από μια επαναφορά εργοστασιακών ρυθμίσεων.</string>
|
||||
@@ -173,10 +173,10 @@
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<string name="permlab_manageLiveDisplay">διαχείριση ρυθμίσεων LiveDisplay</string>
|
||||
<string name="permdesc_manageLiveDisplay">Επιτρέπει σε μια εφαρμογή να τροποποιεί τις ρυθμίσεις οθόνης για προχωρημένους.</string>
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<string name="permlab_observe_audio_sessions">παρατήρηση αλλαγών στις συνεδρίες ήχου</string>
|
||||
<string name="permdesc_observe_audio_sessions">Επιτρέπει σε μια εφαρμογή να παρατηρεί τις ροές ήχου να δημιουργούνται και να καταστρέφονται.</string>
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<string name="permlab_manage_audio_sessions">διαχείριση αλλαγών στις συνεδρίες ήχου</string>
|
||||
<string name="permdesc_manage_audio_sessions">Επιτρέπει σε μια εφαρμογή να στέλνει ενημερώσεις στη ροή ήχου.</string>
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Label for the LineageOS system components when they are shown to the user. -->
|
||||
<string name="cyanogenmod_system_label">LineageOS System</string>
|
||||
<string name="lineageos_system_label">LineageOS System</string>
|
||||
<string name="permlab_publishCustomTile">create a custom tile within quick settings panel</string>
|
||||
<string name="permdesc_publishCustomTile">Allows an app to publish a quick settings tile.</string>
|
||||
<string name="permlab_modifyNetworkSettings">change system network settings</string>
|
||||
@@ -38,7 +38,7 @@
|
||||
<string name="permdesc_modifyProfiles">Allows an app to modify system profiles.</string>
|
||||
<!-- Labels for the HARDWARE_ABSTRACTION_ACCESS permission. -->
|
||||
<string name="permlab_useHardwareFramework">use hardware framework</string>
|
||||
<string name="permdesc_useHardwareFramework">Allows an app access to the CM hardware framework.</string>
|
||||
<string name="permdesc_useHardwareFramework">Allows an app access to the Lineage hardware framework.</string>
|
||||
<!-- Labels for the WRITE_ALARMS permission. -->
|
||||
<string name="permlab_write_alarms">directly change alarms</string>
|
||||
<string name="permdesc_write_alarms">Allows an app to add, modify or delete all of your alarms.</string>
|
||||
@@ -49,11 +49,11 @@
|
||||
<string name="permlab_read_alarms">access scheduled alarms</string>
|
||||
<string name="permdesc_read_alarms">Allows an app to read your scheduled alarms.</string>
|
||||
<!-- Labels for the WRITE_SETTINGS permission -->
|
||||
<string name="permlab_writeSettings">modify CM system settings</string>
|
||||
<string name="permdesc_writeSettings">Allows an app to modify CM system settings.</string>
|
||||
<string name="permlab_writeSettings">modify Lineage system settings</string>
|
||||
<string name="permdesc_writeSettings">Allows an app to modify Lineage system settings.</string>
|
||||
<!-- Labels for the WRITE_SECURE_SETTINGS permission -->
|
||||
<string name="permlab_writeSecureSettings">modify CM secure system settings</string>
|
||||
<string name="permdesc_writeSecureSettings">Allows an app to modify CM secure system settings. Not for use by normal apps.</string>
|
||||
<string name="permlab_writeSecureSettings">modify Lineage secure system settings</string>
|
||||
<string name="permdesc_writeSecureSettings">Allows an app to modify Lineage secure system settings. Not for use by normal apps.</string>
|
||||
<!-- Labels for the MANAGE_PERSISTENT_STORAGE permission. -->
|
||||
<string name="permlab_managePersistentStorage">manage persistent storage</string>
|
||||
<string name="permdesc_managePersistentStorage">Allows an app to read or write properties which may persist thrοugh a factory reset.</string>
|
||||
@@ -174,10 +174,10 @@
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<string name="permlab_manageLiveDisplay">manage LiveDisplay settings</string>
|
||||
<string name="permdesc_manageLiveDisplay">Allows an app to configure advanced display settings.</string>
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<string name="permlab_observe_audio_sessions">observe audio session changes</string>
|
||||
<string name="permdesc_observe_audio_sessions">Allows an app to observe audio streams being created and destroyed.</string>
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<string name="permlab_manage_audio_sessions">manage audio session changes</string>
|
||||
<string name="permdesc_manage_audio_sessions">Allows an app to send audio stream updates.</string>
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Label for the LineageOS system components when they are shown to the user. -->
|
||||
<string name="cyanogenmod_system_label">LineageOS System</string>
|
||||
<string name="lineageos_system_label">LineageOS System</string>
|
||||
<string name="permlab_publishCustomTile">create a custom tile within quick settings panel</string>
|
||||
<string name="permdesc_publishCustomTile">Allows an app to publish a quick settings tile.</string>
|
||||
<string name="permlab_modifyNetworkSettings">change system network settings</string>
|
||||
@@ -38,7 +38,7 @@
|
||||
<string name="permdesc_modifyProfiles">Allows an app to modify system profiles.</string>
|
||||
<!-- Labels for the HARDWARE_ABSTRACTION_ACCESS permission. -->
|
||||
<string name="permlab_useHardwareFramework">use hardware framework</string>
|
||||
<string name="permdesc_useHardwareFramework">Allows an app access to the CM hardware framework.</string>
|
||||
<string name="permdesc_useHardwareFramework">Allows an app access to the Lineage hardware framework.</string>
|
||||
<!-- Labels for the WRITE_ALARMS permission. -->
|
||||
<string name="permlab_write_alarms">directly change alarms</string>
|
||||
<string name="permdesc_write_alarms">Allows an app to add, modify or delete all of your alarms.</string>
|
||||
@@ -49,11 +49,11 @@
|
||||
<string name="permlab_read_alarms">access scheduled alarms</string>
|
||||
<string name="permdesc_read_alarms">Allows an app to read your scheduled alarms.</string>
|
||||
<!-- Labels for the WRITE_SETTINGS permission -->
|
||||
<string name="permlab_writeSettings">modify CM system settings</string>
|
||||
<string name="permdesc_writeSettings">Allows an app to modify CM system settings.</string>
|
||||
<string name="permlab_writeSettings">modify Lineage system settings</string>
|
||||
<string name="permdesc_writeSettings">Allows an app to modify Lineage system settings.</string>
|
||||
<!-- Labels for the WRITE_SECURE_SETTINGS permission -->
|
||||
<string name="permlab_writeSecureSettings">modify CM secure system settings</string>
|
||||
<string name="permdesc_writeSecureSettings">Allows an app to modify CM secure system settings. Not for use by normal apps.</string>
|
||||
<string name="permlab_writeSecureSettings">modify Lineage secure system settings</string>
|
||||
<string name="permdesc_writeSecureSettings">Allows an app to modify Lineage secure system settings. Not for use by normal apps.</string>
|
||||
<!-- Labels for the MANAGE_PERSISTENT_STORAGE permission. -->
|
||||
<string name="permlab_managePersistentStorage">manage persistent storage</string>
|
||||
<string name="permdesc_managePersistentStorage">Allows an app to read or write properties which may persist thrοugh a factory reset.</string>
|
||||
@@ -174,10 +174,10 @@
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<string name="permlab_manageLiveDisplay">manage LiveDisplay settings</string>
|
||||
<string name="permdesc_manageLiveDisplay">Allows an app to configure advanced display settings.</string>
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<string name="permlab_observe_audio_sessions">observe audio session changes</string>
|
||||
<string name="permdesc_observe_audio_sessions">Allows an app to observe audio streams being created and destroyed.</string>
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<string name="permlab_manage_audio_sessions">manage audio session changes</string>
|
||||
<string name="permdesc_manage_audio_sessions">Allows an app to send audio stream updates.</string>
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Label for the LineageOS system components when they are shown to the user. -->
|
||||
<string name="cyanogenmod_system_label">LineageOS System</string>
|
||||
<string name="lineageos_system_label">LineageOS System</string>
|
||||
<string name="permlab_publishCustomTile">create a custom tile within quick settings panel</string>
|
||||
<string name="permdesc_publishCustomTile">Allows an app to publish a quick settings tile.</string>
|
||||
<string name="permlab_modifyNetworkSettings">change system network settings</string>
|
||||
@@ -38,7 +38,7 @@
|
||||
<string name="permdesc_modifyProfiles">Allows an app to modify system profiles.</string>
|
||||
<!-- Labels for the HARDWARE_ABSTRACTION_ACCESS permission. -->
|
||||
<string name="permlab_useHardwareFramework">use hardware framework</string>
|
||||
<string name="permdesc_useHardwareFramework">Allows an app access to the CM hardware framework.</string>
|
||||
<string name="permdesc_useHardwareFramework">Allows an app access to the Lineage hardware framework.</string>
|
||||
<!-- Labels for the WRITE_ALARMS permission. -->
|
||||
<string name="permlab_write_alarms">directly change alarms</string>
|
||||
<string name="permdesc_write_alarms">Allows an app to add, modify or delete all of your alarms.</string>
|
||||
@@ -49,11 +49,11 @@
|
||||
<string name="permlab_read_alarms">access scheduled alarms</string>
|
||||
<string name="permdesc_read_alarms">Allows an app to read your scheduled alarms.</string>
|
||||
<!-- Labels for the WRITE_SETTINGS permission -->
|
||||
<string name="permlab_writeSettings">modify CM system settings</string>
|
||||
<string name="permdesc_writeSettings">Allows an app to modify CM system settings.</string>
|
||||
<string name="permlab_writeSettings">modify Lineage system settings</string>
|
||||
<string name="permdesc_writeSettings">Allows an app to modify Lineage system settings.</string>
|
||||
<!-- Labels for the WRITE_SECURE_SETTINGS permission -->
|
||||
<string name="permlab_writeSecureSettings">modify CM secure system settings</string>
|
||||
<string name="permdesc_writeSecureSettings">Allows an app to modify CM secure system settings. Not for use by normal apps.</string>
|
||||
<string name="permlab_writeSecureSettings">modify Lineage secure system settings</string>
|
||||
<string name="permdesc_writeSecureSettings">Allows an app to modify Lineage secure system settings. Not for use by normal apps.</string>
|
||||
<!-- Labels for the MANAGE_PERSISTENT_STORAGE permission. -->
|
||||
<string name="permlab_managePersistentStorage">manage persistent storage</string>
|
||||
<string name="permdesc_managePersistentStorage">Allows an app to read or write properties which may persist thrοugh a factory reset.</string>
|
||||
@@ -174,10 +174,10 @@
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<string name="permlab_manageLiveDisplay">manage LiveDisplay settings</string>
|
||||
<string name="permdesc_manageLiveDisplay">Allows an app to configure advanced display settings.</string>
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<string name="permlab_observe_audio_sessions">observe audio session changes</string>
|
||||
<string name="permdesc_observe_audio_sessions">Allows an app to observe audio streams being created and destroyed.</string>
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<string name="permlab_manage_audio_sessions">manage audio session changes</string>
|
||||
<string name="permdesc_manage_audio_sessions">Allows an app to send audio stream updates.</string>
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
|
||||
@@ -62,8 +62,8 @@
|
||||
<!-- DataUsageProvider read permission title -->
|
||||
<!-- DataUsageProvider read permission description -->
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
<!-- Privacy Guard -->
|
||||
<!-- Permissions used by remote preferences -->
|
||||
|
||||
@@ -63,8 +63,8 @@
|
||||
<!-- DataUsageProvider read permission title -->
|
||||
<!-- DataUsageProvider read permission description -->
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
<string name="qs_themes_label">Etosoj</string>
|
||||
<!-- Privacy Guard -->
|
||||
|
||||
@@ -62,8 +62,8 @@
|
||||
<!-- DataUsageProvider read permission title -->
|
||||
<!-- DataUsageProvider read permission description -->
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
<!-- Privacy Guard -->
|
||||
<!-- Permissions used by remote preferences -->
|
||||
|
||||
@@ -95,8 +95,8 @@
|
||||
<!-- DataUsageProvider read permission title -->
|
||||
<!-- DataUsageProvider read permission description -->
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
<!-- Privacy Guard -->
|
||||
<!-- Permissions used by remote preferences -->
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Label for the LineageOS system components when they are shown to the user. -->
|
||||
<string name="cyanogenmod_system_label">Sistema de LineageOS</string>
|
||||
<string name="lineageos_system_label">Sistema de LineageOS</string>
|
||||
<string name="permlab_publishCustomTile">crea un control personalizado en el panel de ajustes rápidos</string>
|
||||
<string name="permdesc_publishCustomTile">Permite que la aplicación pueda publicar un control de ajustes rápidos.</string>
|
||||
<string name="permlab_modifyNetworkSettings">cambiar ajustes de red del sistema</string>
|
||||
@@ -38,7 +38,7 @@
|
||||
<string name="permdesc_modifyProfiles">Permite que una aplicación modifique los perfiles del sistema.</string>
|
||||
<!-- Labels for the HARDWARE_ABSTRACTION_ACCESS permission. -->
|
||||
<string name="permlab_useHardwareFramework">usar framework de hardware</string>
|
||||
<string name="permdesc_useHardwareFramework">Permite que la aplicación acceda al framework de hardware de CM.</string>
|
||||
<string name="permdesc_useHardwareFramework">Permite que la aplicación acceda al framework de hardware de Lineage.</string>
|
||||
<!-- Labels for the WRITE_ALARMS permission. -->
|
||||
<string name="permlab_write_alarms">cambiar las alarmas directamente</string>
|
||||
<string name="permdesc_write_alarms">Permite a una aplicación añadir, modificar o borrar todas las alarmas.</string>
|
||||
@@ -49,11 +49,11 @@
|
||||
<string name="permlab_read_alarms">acceder a alarmas programadas</string>
|
||||
<string name="permdesc_read_alarms">Permite que una aplicación lea las alarmas programadas.</string>
|
||||
<!-- Labels for the WRITE_SETTINGS permission -->
|
||||
<string name="permlab_writeSettings">modificar los ajustes del sistema de CM</string>
|
||||
<string name="permdesc_writeSettings">Permite que una aplicación modifique los ajustes del sistema de CM.</string>
|
||||
<string name="permlab_writeSettings">modificar los ajustes del sistema de Lineage</string>
|
||||
<string name="permdesc_writeSettings">Permite que una aplicación modifique los ajustes del sistema de Lineage.</string>
|
||||
<!-- Labels for the WRITE_SECURE_SETTINGS permission -->
|
||||
<string name="permlab_writeSecureSettings">modificar los ajustes del sistema seguro de CM</string>
|
||||
<string name="permdesc_writeSecureSettings">Permite que una aplicación modifique los ajustes del sistema seguro de CM. No es para el uso de aplicaciones normales.</string>
|
||||
<string name="permlab_writeSecureSettings">modificar los ajustes del sistema seguro de Lineage</string>
|
||||
<string name="permdesc_writeSecureSettings">Permite que una aplicación modifique los ajustes del sistema seguro de Lineage. No es para el uso de aplicaciones normales.</string>
|
||||
<!-- Labels for the MANAGE_PERSISTENT_STORAGE permission. -->
|
||||
<string name="permlab_managePersistentStorage">gestionar el almacenamiento persistente</string>
|
||||
<string name="permdesc_managePersistentStorage">Permite que una aplicación lea o escriba propiedades que pueden continuar incluso después de una restauración de fábrica.</string>
|
||||
@@ -173,10 +173,10 @@
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<string name="permlab_manageLiveDisplay">gestionar los ajustes de LiveDisplay</string>
|
||||
<string name="permdesc_manageLiveDisplay">Permite que una aplicación modifique los ajustes avanzados de la pantalla.</string>
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<string name="permlab_observe_audio_sessions">observa los cambios de sesión del audio</string>
|
||||
<string name="permdesc_observe_audio_sessions">Permite que una aplicación observe los flujos de audio que se crean y destruyen.</string>
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<string name="permlab_manage_audio_sessions">gestionar los cambios de sesión del audio</string>
|
||||
<string name="permdesc_manage_audio_sessions">Permitir a una aplicación enviar actualizaciones de la transmisión del audio.</string>
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Label for the LineageOS system components when they are shown to the user. -->
|
||||
<string name="cyanogenmod_system_label">Sistema de LineageOS</string>
|
||||
<string name="lineageos_system_label">Sistema de LineageOS</string>
|
||||
<string name="permlab_publishCustomTile">crea un control personalizado en el panel de ajustes rápidos</string>
|
||||
<string name="permdesc_publishCustomTile">Permite que la aplicación pueda publicar un control de ajustes rápidos.</string>
|
||||
<string name="permlab_modifyNetworkSettings">cambiar ajustes de red del sistema</string>
|
||||
@@ -38,7 +38,7 @@
|
||||
<string name="permdesc_modifyProfiles">Permite que una aplicación modifique los perfiles del sistema.</string>
|
||||
<!-- Labels for the HARDWARE_ABSTRACTION_ACCESS permission. -->
|
||||
<string name="permlab_useHardwareFramework">usar marco de hardware</string>
|
||||
<string name="permdesc_useHardwareFramework">Permite a la aplicación acceso al marco de hardware de CM.</string>
|
||||
<string name="permdesc_useHardwareFramework">Permite a la aplicación acceso al marco de hardware de Lineage.</string>
|
||||
<!-- Labels for the WRITE_ALARMS permission. -->
|
||||
<string name="permlab_write_alarms">cambiar las alarmas directamente</string>
|
||||
<string name="permdesc_write_alarms">Permite que una aplicación añada, modifique o elimine todas tus alarmas.</string>
|
||||
@@ -49,11 +49,11 @@
|
||||
<string name="permlab_read_alarms">acceder a alarmas programadas</string>
|
||||
<string name="permdesc_read_alarms">Permite que una aplicación lea tus alarmas programadas.</string>
|
||||
<!-- Labels for the WRITE_SETTINGS permission -->
|
||||
<string name="permlab_writeSettings">modificar la configuración del sistema de CM</string>
|
||||
<string name="permdesc_writeSettings">Permite que una aplicación modifique la configuración del sistema de CM.</string>
|
||||
<string name="permlab_writeSettings">modificar la configuración del sistema de Lineage</string>
|
||||
<string name="permdesc_writeSettings">Permite que una aplicación modifique la configuración del sistema de Lineage.</string>
|
||||
<!-- Labels for the WRITE_SECURE_SETTINGS permission -->
|
||||
<string name="permlab_writeSecureSettings">modificar la configuración de sistema seguro de CM</string>
|
||||
<string name="permdesc_writeSecureSettings">Permite que una aplicación modifique la configuración del sistema seguro de CM. No es para el uso de aplicaciones normales.</string>
|
||||
<string name="permlab_writeSecureSettings">modificar la configuración de sistema seguro de Lineage</string>
|
||||
<string name="permdesc_writeSecureSettings">Permite que una aplicación modifique la configuración del sistema seguro de Lineage. No es para el uso de aplicaciones normales.</string>
|
||||
<!-- Labels for the MANAGE_PERSISTENT_STORAGE permission. -->
|
||||
<string name="permlab_managePersistentStorage">administrar el almacenamiento persistente</string>
|
||||
<string name="permdesc_managePersistentStorage">Permite que una aplicación lea o escriba propiedades que pueden persistir incluso después de una restauración de fábrica.</string>
|
||||
@@ -173,10 +173,10 @@
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<string name="permlab_manageLiveDisplay">administrar la configuración de LiveDisplay</string>
|
||||
<string name="permdesc_manageLiveDisplay">Permite que una aplicación modifique la configuración de pantalla avanzada.</string>
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<string name="permlab_observe_audio_sessions">observa los cambios en la sesión de sonido</string>
|
||||
<string name="permdesc_observe_audio_sessions">Permite que una aplicación observe los flujos de sonido que se crean y destruyen.</string>
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<string name="permlab_manage_audio_sessions">gestionar los cambios de la sesión de audio</string>
|
||||
<string name="permdesc_manage_audio_sessions">Permite a la aplicación enviar actualizaciones de la transmisión del audio.</string>
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Label for the LineageOS system components when they are shown to the user. -->
|
||||
<string name="cyanogenmod_system_label">LineageOS Süsteem</string>
|
||||
<string name="lineageos_system_label">LineageOS Süsteem</string>
|
||||
<string name="permlab_publishCustomTile">loo kohandatud tahvel kiirseadete paneelil</string>
|
||||
<string name="permdesc_publishCustomTile">Lubab rakendusel avaldada kiirseadete tahvli.</string>
|
||||
<string name="permlab_modifyNetworkSettings">süsteemi võrgusätete muutmine</string>
|
||||
@@ -34,7 +34,7 @@
|
||||
<!-- Labels for the MODIFY_PROFILES permission. -->
|
||||
<!-- Labels for the HARDWARE_ABSTRACTION_ACCESS permission. -->
|
||||
<string name="permlab_useHardwareFramework">kasutada riistvara raamistikku</string>
|
||||
<string name="permdesc_useHardwareFramework">Annab rakendusele ligipääsu CM riistvara raamistikule.</string>
|
||||
<string name="permdesc_useHardwareFramework">Annab rakendusele ligipääsu Lineage riistvara raamistikule.</string>
|
||||
<!-- Labels for the WRITE_ALARMS permission. -->
|
||||
<!-- Labels for the MANAGE_ALARMS permission. -->
|
||||
<!-- Labels for the READ_ALARMS permission. -->
|
||||
@@ -89,8 +89,8 @@
|
||||
<!-- DataUsageProvider read permission title -->
|
||||
<!-- DataUsageProvider read permission description -->
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
<!-- Privacy Guard -->
|
||||
<!-- Permissions used by remote preferences -->
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Label for the LineageOS system components when they are shown to the user. -->
|
||||
<string name="cyanogenmod_system_label">LineageOS sistema</string>
|
||||
<string name="lineageos_system_label">LineageOS sistema</string>
|
||||
<string name="permlab_publishCustomTile">sortu lauza pertsonalizatu bat ezarpen azkarren panelean</string>
|
||||
<string name="permdesc_publishCustomTile">Ezarpen azkarretako lauza bat argitaratzea ahalbidetzen dio aplikazioari.</string>
|
||||
<string name="permlab_modifyNetworkSettings">aldatu sistemaren sare ezarpenak</string>
|
||||
@@ -38,7 +38,7 @@
|
||||
<string name="permdesc_modifyProfiles">Sistemaren profilak aldatzea ahalbidetzen dio aplikazioari.</string>
|
||||
<!-- Labels for the HARDWARE_ABSTRACTION_ACCESS permission. -->
|
||||
<string name="permlab_useHardwareFramework">hardware markoa erabili</string>
|
||||
<string name="permdesc_useHardwareFramework">CM hardware markoa atzitzea ahalbidetzen dio aplikazioari.</string>
|
||||
<string name="permdesc_useHardwareFramework">Lineage hardware markoa atzitzea ahalbidetzen dio aplikazioari.</string>
|
||||
<!-- Labels for the WRITE_ALARMS permission. -->
|
||||
<string name="permlab_write_alarms">zuzenean aldatu alarmak</string>
|
||||
<string name="permdesc_write_alarms">Zure alarma guztiak gehitu, aldatu, edo ezabatzea ahalbidetzen dio aplikazioari.</string>
|
||||
@@ -49,11 +49,11 @@
|
||||
<string name="permlab_read_alarms">atzitu programatutako alarmak</string>
|
||||
<string name="permdesc_read_alarms">Programatutako alarmak irakurtzea ahalbidetzen dio aplikazioari.</string>
|
||||
<!-- Labels for the WRITE_SETTINGS permission -->
|
||||
<string name="permlab_writeSettings">aldatu CM sistemaren ezarpenak</string>
|
||||
<string name="permdesc_writeSettings">CM sistemaren ezarpenak aldatzea ahalbidetzen dio aplikazioari.</string>
|
||||
<string name="permlab_writeSettings">aldatu Lineage sistemaren ezarpenak</string>
|
||||
<string name="permdesc_writeSettings">Lineage sistemaren ezarpenak aldatzea ahalbidetzen dio aplikazioari.</string>
|
||||
<!-- Labels for the WRITE_SECURE_SETTINGS permission -->
|
||||
<string name="permlab_writeSecureSettings">aldatu CM sistemaren ezarpen seguruak</string>
|
||||
<string name="permdesc_writeSecureSettings">CM sistemaren ezarpen seguruak aldatzea ahalbidetzen dio aplikazioari. Aplikazio arruntek ez dute behar.</string>
|
||||
<string name="permlab_writeSecureSettings">aldatu Lineage sistemaren ezarpen seguruak</string>
|
||||
<string name="permdesc_writeSecureSettings">Lineage sistemaren ezarpen seguruak aldatzea ahalbidetzen dio aplikazioari. Aplikazio arruntek ez dute behar.</string>
|
||||
<!-- Labels for the MANAGE_PERSISTENT_STORAGE permission. -->
|
||||
<string name="permlab_managePersistentStorage">kudeatu behin betiko biltegiratzea</string>
|
||||
<string name="permdesc_managePersistentStorage">Gailua lantegiko ezarpenetara leheneratuta ere mantenduko diren ezaugarriak irakurri edo idaztea ahalbidetzen dio aplikazioari.</string>
|
||||
@@ -173,10 +173,10 @@
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<string name="permlab_manageLiveDisplay">LiveDisplay ezarpenak kudeatu</string>
|
||||
<string name="permdesc_manageLiveDisplay">Pantailaren ezarpen aurreratuak ezartzea ahalbidetzen dio aplikazioari.</string>
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<string name="permlab_observe_audio_sessions">audio saio aldaketak aztertu</string>
|
||||
<string name="permdesc_observe_audio_sessions">Audio jarioen sorrerak eta suntsiketak aztertzea ahalbidetzen dio aplikazioari.</string>
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<string name="permlab_manage_audio_sessions">audio saioen aldaketak kudeatu</string>
|
||||
<string name="permdesc_manage_audio_sessions">Audio jarioen eguneratzeak bidaltzea ahalbidetzen dio aplikazioari.</string>
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Label for the LineageOS system components when they are shown to the user. -->
|
||||
<string name="cyanogenmod_system_label">سیستم سایانوژنمود</string>
|
||||
<string name="lineageos_system_label">سیستم سایانوژنمود</string>
|
||||
<string name="permlab_publishCustomTile">ایجاد کاشی سفارشی در پنل تنظیمات سریع</string>
|
||||
<string name="permdesc_publishCustomTile">به برنامه اجازه میدهد یک کاشی در تنظیمات سریع ایجاد کند.</string>
|
||||
<string name="permlab_modifyNetworkSettings">تغییر تنظیمات شبکهی سیستم</string>
|
||||
@@ -38,7 +38,7 @@
|
||||
<string name="permdesc_modifyProfiles">به برنامه اجازه میدهد تا پروفایلهای سیستم را تغییر دهد.</string>
|
||||
<!-- Labels for the HARDWARE_ABSTRACTION_ACCESS permission. -->
|
||||
<string name="permlab_useHardwareFramework">استفاده از چارچوب سختافزار</string>
|
||||
<string name="permdesc_useHardwareFramework">به برنامه اجازه میدهد به چارچوب سختافزار CM دسترسی داشته باشد.</string>
|
||||
<string name="permdesc_useHardwareFramework">به برنامه اجازه میدهد به چارچوب سختافزار Lineage دسترسی داشته باشد.</string>
|
||||
<!-- Labels for the WRITE_ALARMS permission. -->
|
||||
<string name="permlab_write_alarms">تغییر مستقیم هشدارها</string>
|
||||
<string name="permdesc_write_alarms">به برنامه اجازه افزودن، تغییر یا حذف تمام هشدارهای دستگاه را میدهد.</string>
|
||||
@@ -49,11 +49,11 @@
|
||||
<string name="permlab_read_alarms">دسترسی به هشدارهای زمانبندی شده</string>
|
||||
<string name="permdesc_read_alarms">به برنامه اجازه میدهد هشدارهای زمانبندی شده را مشاهده کند.</string>
|
||||
<!-- Labels for the WRITE_SETTINGS permission -->
|
||||
<string name="permlab_writeSettings">تغییر تنظیمات سیستم CM</string>
|
||||
<string name="permdesc_writeSettings">به برنامه اجازه میدهد که تنظیمات سیستم CM را تغییر دهد.</string>
|
||||
<string name="permlab_writeSettings">تغییر تنظیمات سیستم Lineage</string>
|
||||
<string name="permdesc_writeSettings">به برنامه اجازه میدهد که تنظیمات سیستم Lineage را تغییر دهد.</string>
|
||||
<!-- Labels for the WRITE_SECURE_SETTINGS permission -->
|
||||
<string name="permlab_writeSecureSettings">تغییر تنظیمات امنیت سیستم CM</string>
|
||||
<string name="permdesc_writeSecureSettings">به برنامه اجازه میدهد تا تنظیمات امنیت سیستم CM را تغییر دهد. برای استفاده برنامههای عادی پیشنهاد نمیشود.</string>
|
||||
<string name="permlab_writeSecureSettings">تغییر تنظیمات امنیت سیستم Lineage</string>
|
||||
<string name="permdesc_writeSecureSettings">به برنامه اجازه میدهد تا تنظیمات امنیت سیستم Lineage را تغییر دهد. برای استفاده برنامههای عادی پیشنهاد نمیشود.</string>
|
||||
<!-- Labels for the MANAGE_PERSISTENT_STORAGE permission. -->
|
||||
<string name="permlab_managePersistentStorage">مدیریت حافظه پایدار</string>
|
||||
<string name="permdesc_managePersistentStorage">به برنامه اجازه میدهد ویژگیهایی را مشاهده و ویرایش کند که بعد از تنظیم مجدد کارخانه ممکن است باقی بماند.</string>
|
||||
@@ -105,8 +105,8 @@
|
||||
<!-- DataUsageProvider read permission title -->
|
||||
<!-- DataUsageProvider read permission description -->
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
<!-- Privacy Guard -->
|
||||
<!-- Permissions used by remote preferences -->
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Label for the LineageOS system components when they are shown to the user. -->
|
||||
<string name="cyanogenmod_system_label">LineageOS Järjestelmä</string>
|
||||
<string name="lineageos_system_label">LineageOS Järjestelmä</string>
|
||||
<string name="permlab_publishCustomTile">luo mukautettu tiili pika-asetuspaneeliin</string>
|
||||
<string name="permdesc_publishCustomTile">Sallii sovelluksen julkaista pika-asetustiiliä.</string>
|
||||
<string name="permlab_modifyNetworkSettings">muuta järjestelmän verkkoasetuksia</string>
|
||||
@@ -38,7 +38,7 @@
|
||||
<string name="permdesc_modifyProfiles">Sallii sovelluksen muokata järjestelmäprofiileja.</string>
|
||||
<!-- Labels for the HARDWARE_ABSTRACTION_ACCESS permission. -->
|
||||
<string name="permlab_useHardwareFramework">käytä laitteiston kehystä</string>
|
||||
<string name="permdesc_useHardwareFramework">Sallii sovelluksen pääsyn CM-laitteiston kehykseen.</string>
|
||||
<string name="permdesc_useHardwareFramework">Sallii sovelluksen pääsyn Lineage-laitteiston kehykseen.</string>
|
||||
<!-- Labels for the WRITE_ALARMS permission. -->
|
||||
<string name="permlab_write_alarms">muuta hälytyksiä suoraan</string>
|
||||
<string name="permdesc_write_alarms">Sallii sovelluksen lisätä, muokata tai poistaa kaikki hälytyksesi.</string>
|
||||
@@ -49,11 +49,11 @@
|
||||
<string name="permlab_read_alarms">käytä ajoitettua hälytystä</string>
|
||||
<string name="permdesc_read_alarms">Sallii sovelluksen lukea ajoitettuja hälytyksiä.</string>
|
||||
<!-- Labels for the WRITE_SETTINGS permission -->
|
||||
<string name="permlab_writeSettings">muokkaa CM-järjestelmän asetuksia</string>
|
||||
<string name="permdesc_writeSettings">Sallii sovelluksen muokata CM-järjestelmän asetuksia.</string>
|
||||
<string name="permlab_writeSettings">muokkaa Lineage-järjestelmän asetuksia</string>
|
||||
<string name="permdesc_writeSettings">Sallii sovelluksen muokata Lineage-järjestelmän asetuksia.</string>
|
||||
<!-- Labels for the WRITE_SECURE_SETTINGS permission -->
|
||||
<string name="permlab_writeSecureSettings">muokkaa CM-järjestelmän turvallisuusasetuksia</string>
|
||||
<string name="permdesc_writeSecureSettings">Sallii sovelluksen muokata CM-järjestelmän turvallisuusasetuksia. Ei normaalin sovelluksen käytettäväksi.</string>
|
||||
<string name="permlab_writeSecureSettings">muokkaa Lineage-järjestelmän turvallisuusasetuksia</string>
|
||||
<string name="permdesc_writeSecureSettings">Sallii sovelluksen muokata Lineage-järjestelmän turvallisuusasetuksia. Ei normaalin sovelluksen käytettäväksi.</string>
|
||||
<!-- Labels for the MANAGE_PERSISTENT_STORAGE permission. -->
|
||||
<string name="permlab_managePersistentStorage">hallitse pysyvää tallennustilaa</string>
|
||||
<string name="permdesc_managePersistentStorage">Sallii sovelluksen lukea tai kirjoittaa ominaisuuksia jotka voivat säilyä tehdasasetusten palautuksen jälkeen.</string>
|
||||
@@ -173,10 +173,10 @@
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<string name="permlab_manageLiveDisplay">hallitse LiveDisplay-asetuksia</string>
|
||||
<string name="permdesc_manageLiveDisplay">Sallii sovelluksen määrittää kehittyneitä näytön asetuksia.</string>
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<string name="permlab_observe_audio_sessions">tutki ääni-istunnon muutoksia</string>
|
||||
<string name="permdesc_observe_audio_sessions">Sallii sovelluksen tarkastella milloin ääntä luodaan ja tuhotaan.</string>
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<string name="permlab_manage_audio_sessions">hallitse ääni-istunnon muutoksia</string>
|
||||
<string name="permdesc_manage_audio_sessions">Sallii sovelluksen lähettää äänisyötteen päivityksiä.</string>
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
|
||||
@@ -62,8 +62,8 @@
|
||||
<!-- DataUsageProvider read permission title -->
|
||||
<!-- DataUsageProvider read permission description -->
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
<!-- Privacy Guard -->
|
||||
<!-- Permissions used by remote preferences -->
|
||||
|
||||
@@ -62,8 +62,8 @@
|
||||
<!-- DataUsageProvider read permission title -->
|
||||
<!-- DataUsageProvider read permission description -->
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
<!-- Privacy Guard -->
|
||||
<!-- Permissions used by remote preferences -->
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Label for the LineageOS system components when they are shown to the user. -->
|
||||
<string name="cyanogenmod_system_label">Système LineageOS</string>
|
||||
<string name="lineageos_system_label">Système LineageOS</string>
|
||||
<string name="permlab_publishCustomTile">créer un raccourci personnalisé dans la fenêtre de configuration rapide</string>
|
||||
<string name="permdesc_publishCustomTile">Autorise une application à insérer un raccourci de configuration rapide.</string>
|
||||
<string name="permlab_modifyNetworkSettings">modifier les paramètres réseau du système</string>
|
||||
@@ -38,7 +38,7 @@
|
||||
<string name="permdesc_modifyProfiles">Permet à une application de modifier les profils système.</string>
|
||||
<!-- Labels for the HARDWARE_ABSTRACTION_ACCESS permission. -->
|
||||
<string name="permlab_useHardwareFramework">utiliser le framework matériel</string>
|
||||
<string name="permdesc_useHardwareFramework">Permet à une application d\'accéder au framework matériel de CM.</string>
|
||||
<string name="permdesc_useHardwareFramework">Permet à une application d\'accéder au framework matériel de Lineage.</string>
|
||||
<!-- Labels for the WRITE_ALARMS permission. -->
|
||||
<string name="permlab_write_alarms">modifier directement les alarmes</string>
|
||||
<string name="permdesc_write_alarms">Autorise une application à ajouter, modifier ou supprimer toutes vos alarmes.</string>
|
||||
@@ -49,11 +49,11 @@
|
||||
<string name="permlab_read_alarms">accéder aux alarmes planifiées</string>
|
||||
<string name="permdesc_read_alarms">Autorise une application à lire vos alarmes planifiées</string>
|
||||
<!-- Labels for the WRITE_SETTINGS permission -->
|
||||
<string name="permlab_writeSettings">modifier les paramètres système CM</string>
|
||||
<string name="permdesc_writeSettings">Autorise une application à modifier les paramètres système de CM.</string>
|
||||
<string name="permlab_writeSettings">modifier les paramètres système Lineage</string>
|
||||
<string name="permdesc_writeSettings">Autorise une application à modifier les paramètres système de Lineage.</string>
|
||||
<!-- Labels for the WRITE_SECURE_SETTINGS permission -->
|
||||
<string name="permlab_writeSecureSettings">modifier les paramètres système sécurisés de CM</string>
|
||||
<string name="permdesc_writeSecureSettings">Autorise une application à modifier des paramètres système sécurisés de CM. Ne pas utiliser pour des applications normales.</string>
|
||||
<string name="permlab_writeSecureSettings">modifier les paramètres système sécurisés de Lineage</string>
|
||||
<string name="permdesc_writeSecureSettings">Autorise une application à modifier des paramètres système sécurisés de Lineage. Ne pas utiliser pour des applications normales.</string>
|
||||
<!-- Labels for the MANAGE_PERSISTENT_STORAGE permission. -->
|
||||
<string name="permlab_managePersistentStorage">gérer le stockage permanent</string>
|
||||
<string name="permdesc_managePersistentStorage">Autorise une application à lire ou à écrire des propriétés qui pourraient persister après une réinitialisation d\'usine.</string>
|
||||
@@ -174,10 +174,10 @@
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<string name="permlab_manageLiveDisplay">gérer les paramètres de LiveDisplay</string>
|
||||
<string name="permdesc_manageLiveDisplay">Permet à une application de configurer les paramètres avancés de l\'affichage.</string>
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<string name="permlab_observe_audio_sessions">observer les changements de session audio</string>
|
||||
<string name="permdesc_observe_audio_sessions">Permet à une application d\'observer la création et destruction des flux audio.</string>
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<string name="permlab_manage_audio_sessions">gérer les changements de session audio</string>
|
||||
<string name="permdesc_manage_audio_sessions">Autorise une application à envoyer des mises à jour du flux audio.</string>
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
|
||||
@@ -62,8 +62,8 @@
|
||||
<!-- DataUsageProvider read permission title -->
|
||||
<!-- DataUsageProvider read permission description -->
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
<!-- Privacy Guard -->
|
||||
<!-- Permissions used by remote preferences -->
|
||||
|
||||
@@ -62,8 +62,8 @@
|
||||
<!-- DataUsageProvider read permission title -->
|
||||
<!-- DataUsageProvider read permission description -->
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
<!-- Privacy Guard -->
|
||||
<!-- Permissions used by remote preferences -->
|
||||
|
||||
@@ -62,8 +62,8 @@
|
||||
<!-- DataUsageProvider read permission title -->
|
||||
<!-- DataUsageProvider read permission description -->
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
<!-- Privacy Guard -->
|
||||
<!-- Permissions used by remote preferences -->
|
||||
|
||||
@@ -62,8 +62,8 @@
|
||||
<!-- DataUsageProvider read permission title -->
|
||||
<!-- DataUsageProvider read permission description -->
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
<!-- Privacy Guard -->
|
||||
<!-- Permissions used by remote preferences -->
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Label for the LineageOS system components when they are shown to the user. -->
|
||||
<string name="cyanogenmod_system_label">Sistema LineageOS</string>
|
||||
<string name="lineageos_system_label">Sistema LineageOS</string>
|
||||
<string name="permlab_publishCustomTile">crear un botón personalizado no panel de axustes rápidos</string>
|
||||
<string name="permdesc_publishCustomTile">Permite a unha aplicación publicar un botón de axustes rápidos.</string>
|
||||
<string name="permlab_modifyNetworkSettings">cambiar a configuración de rede do sistema</string>
|
||||
@@ -49,11 +49,11 @@
|
||||
<string name="permlab_read_alarms">acceder ás alarmas programadas</string>
|
||||
<string name="permdesc_read_alarms">Permítellee a unha aplicación ler todas as alarmas que teña programadas.</string>
|
||||
<!-- Labels for the WRITE_SETTINGS permission -->
|
||||
<string name="permlab_writeSettings">modificar os axustes de CM do sistema</string>
|
||||
<string name="permdesc_writeSettings">Permítelle a unha aplicación modificar os axustes de CM do sistema.</string>
|
||||
<string name="permlab_writeSettings">modificar os axustes de Lineage do sistema</string>
|
||||
<string name="permdesc_writeSettings">Permítelle a unha aplicación modificar os axustes de Lineage do sistema.</string>
|
||||
<!-- Labels for the WRITE_SECURE_SETTINGS permission -->
|
||||
<string name="permlab_writeSecureSettings">modificar a configuración de seguridade do sistema CM</string>
|
||||
<string name="permdesc_writeSecureSettings">Permítelle a unha aplicación modificar a configuración de seguridade do sistema CM. As aplicacións normais non deberían utilizar este permiso.</string>
|
||||
<string name="permlab_writeSecureSettings">modificar a configuración de seguridade do sistema Lineage</string>
|
||||
<string name="permdesc_writeSecureSettings">Permítelle a unha aplicación modificar a configuración de seguridade do sistema Lineage. As aplicacións normais non deberían utilizar este permiso.</string>
|
||||
<!-- Labels for the MANAGE_PERSISTENT_STORAGE permission. -->
|
||||
<string name="permlab_managePersistentStorage">Xestionar almacenamento persistente</string>
|
||||
<string name="permdesc_managePersistentStorage">Permítelle a unha aplicación ler ou escribir propiedades que poden persisitir tras unha restauración de fábrica.</string>
|
||||
@@ -174,10 +174,10 @@
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<string name="permlab_manageLiveDisplay">xestionar os axustes de LiveDisplay</string>
|
||||
<string name="permdesc_manageLiveDisplay">Permite que unha aplicación poida configurar os axustes de pantalla avanzados.</string>
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<string name="permlab_observe_audio_sessions">observar os cambios na sesión de son</string>
|
||||
<string name="permdesc_observe_audio_sessions">Permite a unha aplicación observar os fluxos de son que se crean e se destrúen.</string>
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<string name="permlab_manage_audio_sessions">xestionar os trocos da sesión de son</string>
|
||||
<string name="permdesc_manage_audio_sessions">Permite a unha aplicación enviar actualizacións de fluxo de son.</string>
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Label for the LineageOS system components when they are shown to the user. -->
|
||||
<string name="cyanogenmod_system_label">LineageOS સિસ્ટમ</string>
|
||||
<string name="lineageos_system_label">LineageOS સિસ્ટમ</string>
|
||||
<string name="permlab_publishCustomTile">ક્વિક સેટિંગ્સ પૅનલની અંદર કસ્ટમ ટાઇલ સર્જો</string>
|
||||
<string name="permdesc_publishCustomTile">ઍપને ક્વિક સેટિંગ્સ ટાઇલ પ્રકાશિત કરવાની પરવાનગી આપે છે.</string>
|
||||
<string name="permlab_modifyNetworkSettings">સિસ્ટમ નેટવર્ક સેટિંગ્સ પરિવર્તન કરો</string>
|
||||
@@ -38,7 +38,7 @@
|
||||
<string name="permdesc_modifyProfiles">ઍપને સિસ્ટમ પ્રોફાઇલ્સમાં ફેરફાર કરવાની પરવાનગી આપે છે.</string>
|
||||
<!-- Labels for the HARDWARE_ABSTRACTION_ACCESS permission. -->
|
||||
<string name="permlab_useHardwareFramework">હાર્ડવેર ફ્રેમવર્કનો ઉપયોગ કરો</string>
|
||||
<string name="permdesc_useHardwareFramework">ઍપને CM હાર્ડવેર ફ્રેમવર્કની ઍક્સેસની પરવાનગી આપે છે.</string>
|
||||
<string name="permdesc_useHardwareFramework">ઍપને Lineage હાર્ડવેર ફ્રેમવર્કની ઍક્સેસની પરવાનગી આપે છે.</string>
|
||||
<!-- Labels for the WRITE_ALARMS permission. -->
|
||||
<string name="permlab_write_alarms">અલાર્મ સીધા પરિવર્તન કરો</string>
|
||||
<string name="permdesc_write_alarms">ઍપને તમારા તમામ અલાર્મ ઉમેરવાની, ફેરફાર કરવાની અને ભૂંસવાની પરવાનગી આપે છે.</string>
|
||||
@@ -49,11 +49,11 @@
|
||||
<string name="permlab_read_alarms">અનુસૂચિત અલાર્મ ઍક્સેસ કરો</string>
|
||||
<string name="permdesc_read_alarms">ઍપને તમારા અનુસૂચિત અલાર્મ વાંચવાની પરવાનગી આપે છે.</string>
|
||||
<!-- Labels for the WRITE_SETTINGS permission -->
|
||||
<string name="permlab_writeSettings">CM સિસ્ટમ સેટિંગ્સમાં ફેરફાર કરો</string>
|
||||
<string name="permdesc_writeSettings">ઍપને CM સિસ્ટમ સેટિંગ્સમાં ફેરફાર કરવાની પરવાનગી આપે છે.</string>
|
||||
<string name="permlab_writeSettings">Lineage સિસ્ટમ સેટિંગ્સમાં ફેરફાર કરો</string>
|
||||
<string name="permdesc_writeSettings">ઍપને Lineage સિસ્ટમ સેટિંગ્સમાં ફેરફાર કરવાની પરવાનગી આપે છે.</string>
|
||||
<!-- Labels for the WRITE_SECURE_SETTINGS permission -->
|
||||
<string name="permlab_writeSecureSettings">CM સુરક્ષિત સિસ્ટમ સેટિંગ્સમાં ફેરફાર કરો</string>
|
||||
<string name="permdesc_writeSecureSettings">ઍપને CM સુરક્ષિત સિસ્ટમ સેટિંગ્સમાં ફેરફાર કરવાની પરવાનગી આપે છે. સામાન્ય એપ્સ દ્વારા ઉપયોગ માટે નથી.</string>
|
||||
<string name="permlab_writeSecureSettings">Lineage સુરક્ષિત સિસ્ટમ સેટિંગ્સમાં ફેરફાર કરો</string>
|
||||
<string name="permdesc_writeSecureSettings">ઍપને Lineage સુરક્ષિત સિસ્ટમ સેટિંગ્સમાં ફેરફાર કરવાની પરવાનગી આપે છે. સામાન્ય એપ્સ દ્વારા ઉપયોગ માટે નથી.</string>
|
||||
<!-- Labels for the MANAGE_PERSISTENT_STORAGE permission. -->
|
||||
<string name="permlab_managePersistentStorage">નિરંતર સંગ્રહનું વ્યવસ્થાપન કરો</string>
|
||||
<string name="permdesc_managePersistentStorage">ફેક્ટરી રિસેટ મારફત વળગી રહે એવા ગુણધર્મો વાંચવાની અથવા લખવાની ઍપને પરવાનગી આપે છે.</string>
|
||||
@@ -138,8 +138,8 @@
|
||||
<!-- DataUsageProvider read permission title -->
|
||||
<!-- DataUsageProvider read permission description -->
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
<!-- Privacy Guard -->
|
||||
<!-- Permissions used by remote preferences -->
|
||||
|
||||
@@ -62,8 +62,8 @@
|
||||
<!-- DataUsageProvider read permission title -->
|
||||
<!-- DataUsageProvider read permission description -->
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
<!-- Privacy Guard -->
|
||||
<!-- Permissions used by remote preferences -->
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Label for the LineageOS system components when they are shown to the user. -->
|
||||
<string name="cyanogenmod_system_label">LineageOS sustav</string>
|
||||
<string name="lineageos_system_label">LineageOS sustav</string>
|
||||
<string name="permlab_publishCustomTile">stvori prilagođenu pločicu u brzim postavkama</string>
|
||||
<string name="permdesc_publishCustomTile">Dopušta aplikaciji da stvori pločicu u brzim postavkama.</string>
|
||||
<string name="permlab_modifyNetworkSettings">promijeni sistemske postavke mreže</string>
|
||||
@@ -38,7 +38,7 @@
|
||||
<string name="permdesc_modifyProfiles">Dopušta aplikaciji da izmijeni profile sustava.</string>
|
||||
<!-- Labels for the HARDWARE_ABSTRACTION_ACCESS permission. -->
|
||||
<string name="permlab_useHardwareFramework">koristi hardware framework</string>
|
||||
<string name="permdesc_useHardwareFramework">Dopušta aplikaciji pristupiti CM hardware framework.</string>
|
||||
<string name="permdesc_useHardwareFramework">Dopušta aplikaciji pristupiti Lineage hardware framework.</string>
|
||||
<!-- Labels for the WRITE_ALARMS permission. -->
|
||||
<string name="permlab_write_alarms">izravno promijeni alarme</string>
|
||||
<string name="permdesc_write_alarms">Dopušta aplikaciji dodavanje, izmijenu ili brisanje svih alarma.</string>
|
||||
@@ -49,11 +49,11 @@
|
||||
<string name="permlab_read_alarms">pristup zakazanim alarmima</string>
|
||||
<string name="permdesc_read_alarms">Dopušta aplikaciji čitati zakazane alarme.</string>
|
||||
<!-- Labels for the WRITE_SETTINGS permission -->
|
||||
<string name="permlab_writeSettings">izmijeni postavke sustava CM</string>
|
||||
<string name="permdesc_writeSettings">Dopušta aplikaciji da izmijeni postavke sustava CM.</string>
|
||||
<string name="permlab_writeSettings">izmijeni postavke sustava Lineage</string>
|
||||
<string name="permdesc_writeSettings">Dopušta aplikaciji da izmijeni postavke sustava Lineage.</string>
|
||||
<!-- Labels for the WRITE_SECURE_SETTINGS permission -->
|
||||
<string name="permlab_writeSecureSettings">promijeni CM postavke sigurnosti sustava</string>
|
||||
<string name="permdesc_writeSecureSettings">Dopušta aplikaciji da promjeni CM postavke sigurnosti sustava. Nije za korištenje kod normalnih aplikacija.</string>
|
||||
<string name="permlab_writeSecureSettings">promijeni Lineage postavke sigurnosti sustava</string>
|
||||
<string name="permdesc_writeSecureSettings">Dopušta aplikaciji da promjeni Lineage postavke sigurnosti sustava. Nije za korištenje kod normalnih aplikacija.</string>
|
||||
<!-- Labels for the MANAGE_PERSISTENT_STORAGE permission. -->
|
||||
<string name="permlab_managePersistentStorage">upravljanje stalnom pohranom</string>
|
||||
<string name="permdesc_managePersistentStorage">Dopušta aplikaciji čitati ili pisati svojstva koja ostaju poslije resetiranja na tvorničke postavke.</string>
|
||||
@@ -172,10 +172,10 @@
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<string name="permlab_manageLiveDisplay">upravljanje postavkama LiveDisplay-a</string>
|
||||
<string name="permdesc_manageLiveDisplay">Omogućuje aplikaciji konfiguriranje postavki naprednog prikaza.</string>
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<string name="permlab_observe_audio_sessions">promatraj promjene zvučnih sesija</string>
|
||||
<string name="permdesc_observe_audio_sessions">Dopušta aplikaciji promatrati tijek zvuka dok je kreiran i prekinut.</string>
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<string name="permlab_manage_audio_sessions">upravljaj promjenama zvučnih sesija</string>
|
||||
<string name="permdesc_manage_audio_sessions">Omogućuje aplikaciji slanje ažuriranja audio streama.</string>
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Label for the LineageOS system components when they are shown to the user. -->
|
||||
<string name="cyanogenmod_system_label">LineageOS rendszer</string>
|
||||
<string name="lineageos_system_label">LineageOS rendszer</string>
|
||||
<string name="permlab_publishCustomTile">egy egyedi csempe létrehozása a gyors beállítások panelen</string>
|
||||
<string name="permdesc_publishCustomTile">Lehetővé teszi az alkalmazás számára, hogy gyors beállítások csempét hozzon létre.</string>
|
||||
<string name="permlab_modifyNetworkSettings">rendszer hálózati beállításainak módosítása</string>
|
||||
@@ -38,7 +38,7 @@
|
||||
<string name="permdesc_modifyProfiles">Lehetővé teszi az alkalmazás számára a rendszerprofilok módosítását.</string>
|
||||
<!-- Labels for the HARDWARE_ABSTRACTION_ACCESS permission. -->
|
||||
<string name="permlab_useHardwareFramework">hardver keretrendszert használ</string>
|
||||
<string name="permdesc_useHardwareFramework">Lehetővé teszi az alkalmazás számára, hogy a CM hardver hozzáférjen a keretrendszerhez.</string>
|
||||
<string name="permdesc_useHardwareFramework">Lehetővé teszi az alkalmazás számára, hogy a Lineage hardver hozzáférjen a keretrendszerhez.</string>
|
||||
<!-- Labels for the WRITE_ALARMS permission. -->
|
||||
<string name="permlab_write_alarms">riasztások közvetlen megváltoztatása</string>
|
||||
<string name="permdesc_write_alarms">Lehetővé teszi az alkalmazás számára, hogy hozzáadja, módosítsa, vagy törölje az összes riasztást.</string>
|
||||
@@ -49,11 +49,11 @@
|
||||
<string name="permlab_read_alarms">hozzáférés ütemezett riasztásokhoz</string>
|
||||
<string name="permdesc_read_alarms">Lehetővé teszi az alkalmazás számára, hogy olvassa az ütemezett riasztásait.</string>
|
||||
<!-- Labels for the WRITE_SETTINGS permission -->
|
||||
<string name="permlab_writeSettings">CM rendszer beállításainak módosítása</string>
|
||||
<string name="permdesc_writeSettings">Lehetővé teszi egy alkalmazás számára a CM rendszer beállításainak módosítását.</string>
|
||||
<string name="permlab_writeSettings">Lineage rendszer beállításainak módosítása</string>
|
||||
<string name="permdesc_writeSettings">Lehetővé teszi egy alkalmazás számára a Lineage rendszer beállításainak módosítását.</string>
|
||||
<!-- Labels for the WRITE_SECURE_SETTINGS permission -->
|
||||
<string name="permlab_writeSecureSettings">CM biztonsági rendszer beállításainak módosítása</string>
|
||||
<string name="permdesc_writeSecureSettings">Lehetővé teszi egy alkalmazás számára a CM biztonsági rendszer beállításainak módosítását. Szokásos alkalmazások számára nem használható.</string>
|
||||
<string name="permlab_writeSecureSettings">Lineage biztonsági rendszer beállításainak módosítása</string>
|
||||
<string name="permdesc_writeSecureSettings">Lehetővé teszi egy alkalmazás számára a Lineage biztonsági rendszer beállításainak módosítását. Szokásos alkalmazások számára nem használható.</string>
|
||||
<!-- Labels for the MANAGE_PERSISTENT_STORAGE permission. -->
|
||||
<string name="permlab_managePersistentStorage">állandó tároló kezelése</string>
|
||||
<string name="permdesc_managePersistentStorage">Lehetővé teszi az alkalmazás számára olyan tulajdonságok írását vagy olvasását, amelyek a gyári beállítások visszaállítása során is megmaradnak.</string>
|
||||
@@ -174,10 +174,10 @@
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<string name="permlab_manageLiveDisplay">LiveDisplay beállítások kezelése</string>
|
||||
<string name="permdesc_manageLiveDisplay">Lehetővé teszi az alkalmazás számára a speciális megjelenítési beállítások konfigurálását.</string>
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<string name="permlab_observe_audio_sessions">audió munkamenet változásainak megfigyelése</string>
|
||||
<string name="permdesc_observe_audio_sessions">Lehetővé teszi az alkalmazás számára, hogy megfigyelje ahogy az audió folyamok létrejönnek és elpusztulnak.</string>
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<string name="permlab_manage_audio_sessions">audió munkamenet változások kezelése</string>
|
||||
<string name="permdesc_manage_audio_sessions">Lehetővé teszi az alkalmazás számára, hogy audio stream frissítéseket küldjön.</string>
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
|
||||
@@ -62,8 +62,8 @@
|
||||
<!-- DataUsageProvider read permission title -->
|
||||
<!-- DataUsageProvider read permission description -->
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
<!-- Privacy Guard -->
|
||||
<!-- Permissions used by remote preferences -->
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Label for the LineageOS system components when they are shown to the user. -->
|
||||
<string name="cyanogenmod_system_label">Sistem LineageOS</string>
|
||||
<string name="lineageos_system_label">Sistem LineageOS</string>
|
||||
<string name="permlab_publishCustomTile">membuat ikon kustom dalam panel setelan cepat</string>
|
||||
<string name="permdesc_publishCustomTile">Izinkan aplikasi untuk mempublikasikan ikon pengaturan cepat.</string>
|
||||
<string name="permlab_modifyNetworkSettings">ubah pengaturan jaringan sistem</string>
|
||||
@@ -37,7 +37,7 @@
|
||||
<string name="permlab_modifyProfiles">memodifikasi profil sistem</string>
|
||||
<!-- Labels for the HARDWARE_ABSTRACTION_ACCESS permission. -->
|
||||
<string name="permlab_useHardwareFramework">gunakan hardware framework</string>
|
||||
<string name="permdesc_useHardwareFramework">Izinkan aplikasi untuk mengakses hardware framework CM.</string>
|
||||
<string name="permdesc_useHardwareFramework">Izinkan aplikasi untuk mengakses hardware framework Lineage.</string>
|
||||
<!-- Labels for the WRITE_ALARMS permission. -->
|
||||
<string name="permlab_write_alarms">secara langsung mengubah alarm</string>
|
||||
<string name="permdesc_write_alarms">Mengizinkan aplikasi untuk menambah, mengubah atau menghapus semua alarm.</string>
|
||||
@@ -48,11 +48,11 @@
|
||||
<string name="permlab_read_alarms">akses alarm terjadwal</string>
|
||||
<string name="permdesc_read_alarms">Mengizinkan aplikasi untuk melihat alarm terjadwal.</string>
|
||||
<!-- Labels for the WRITE_SETTINGS permission -->
|
||||
<string name="permlab_writeSettings">mengubah pengaturan sistem CM</string>
|
||||
<string name="permdesc_writeSettings">Mengizinkan aplikasi untuk memodifikasi pengaturan sistem CM.</string>
|
||||
<string name="permlab_writeSettings">mengubah pengaturan sistem Lineage</string>
|
||||
<string name="permdesc_writeSettings">Mengizinkan aplikasi untuk memodifikasi pengaturan sistem Lineage.</string>
|
||||
<!-- Labels for the WRITE_SECURE_SETTINGS permission -->
|
||||
<string name="permlab_writeSecureSettings">mengubah pengaturan sistem aman CM</string>
|
||||
<string name="permdesc_writeSecureSettings">Memungkinkan aplikasi untuk memodifikasi pengaturan sistem aman CM. Tidak untuk digunakan oleh aplikasi normal.</string>
|
||||
<string name="permlab_writeSecureSettings">mengubah pengaturan sistem aman Lineage</string>
|
||||
<string name="permdesc_writeSecureSettings">Memungkinkan aplikasi untuk memodifikasi pengaturan sistem aman Lineage. Tidak untuk digunakan oleh aplikasi normal.</string>
|
||||
<!-- Labels for the MANAGE_PERSISTENT_STORAGE permission. -->
|
||||
<string name="permlab_managePersistentStorage">mengatur penyimpanan tetap</string>
|
||||
<string name="permdesc_managePersistentStorage">Memungkinkan aplikasi untuk membaca atau menulis properti yang dapat bertahan dari setel ulang ke pabrik.</string>
|
||||
@@ -171,10 +171,10 @@
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<string name="permlab_manageLiveDisplay">kelola pengaturan LiveDisplay</string>
|
||||
<string name="permdesc_manageLiveDisplay">Izinkan aplikasi untuk mengonfigurasi pengaturan tampilan lanjutan.</string>
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<string name="permlab_observe_audio_sessions">pantau perubahan sesi audio</string>
|
||||
<string name="permdesc_observe_audio_sessions">Izinkan aplikasi untuk memantau pengaliran audio yang dibuat dan dihilangkan.</string>
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<string name="permlab_manage_audio_sessions">kelola perubahan sesi audio</string>
|
||||
<string name="permdesc_manage_audio_sessions">Memungkinkan aplikasi untuk mengirim pembaruan stream audio.</string>
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
|
||||
@@ -62,8 +62,8 @@
|
||||
<!-- DataUsageProvider read permission title -->
|
||||
<!-- DataUsageProvider read permission description -->
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
<!-- Privacy Guard -->
|
||||
<!-- Permissions used by remote preferences -->
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Label for the LineageOS system components when they are shown to the user. -->
|
||||
<string name="cyanogenmod_system_label">Sistema LineageOS</string>
|
||||
<string name="lineageos_system_label">Sistema LineageOS</string>
|
||||
<string name="permlab_publishCustomTile">creare un tile personalizzato all\'interno del pannello Impostazioni rapide</string>
|
||||
<string name="permdesc_publishCustomTile">Consenti ad un\'app di pubblicare un tile personalizzato.</string>
|
||||
<string name="permlab_modifyNetworkSettings">modifica le impostazioni di rete di sistema</string>
|
||||
@@ -38,7 +38,7 @@
|
||||
<string name="permdesc_modifyProfiles">Consenti ad un\'app di modificare i profili di sistema.</string>
|
||||
<!-- Labels for the HARDWARE_ABSTRACTION_ACCESS permission. -->
|
||||
<string name="permlab_useHardwareFramework">utilizza framework hardware</string>
|
||||
<string name="permdesc_useHardwareFramework">Consenti ad un\'app di accedere al framework hardware di CM.</string>
|
||||
<string name="permdesc_useHardwareFramework">Consenti ad un\'app di accedere al framework hardware di Lineage.</string>
|
||||
<!-- Labels for the WRITE_ALARMS permission. -->
|
||||
<string name="permlab_write_alarms">modifica le sveglie</string>
|
||||
<string name="permdesc_write_alarms">Consenti ad un\'app di aggiungere, modificare o eliminare tutti i tuoi allarmi.</string>
|
||||
@@ -49,11 +49,11 @@
|
||||
<string name="permlab_read_alarms">accesso avvisi programmati</string>
|
||||
<string name="permdesc_read_alarms">Consenti all\'app di leggere i tuoi avvisi programmati.</string>
|
||||
<!-- Labels for the WRITE_SETTINGS permission -->
|
||||
<string name="permlab_writeSettings">modifica le impostazioni di sistema CM</string>
|
||||
<string name="permdesc_writeSettings">Consenti ad un\'app di modificare le impostazioni di sistema CM.</string>
|
||||
<string name="permlab_writeSettings">modifica le impostazioni di sistema Lineage</string>
|
||||
<string name="permdesc_writeSettings">Consenti ad un\'app di modificare le impostazioni di sistema Lineage.</string>
|
||||
<!-- Labels for the WRITE_SECURE_SETTINGS permission -->
|
||||
<string name="permlab_writeSecureSettings">modifica le impostazioni di sistema sicure CM</string>
|
||||
<string name="permdesc_writeSecureSettings">Consenti ad un\'app di modificare le impostazioni di sistema sicure CM. Non per l\'uso di normali applicazioni.</string>
|
||||
<string name="permlab_writeSecureSettings">modifica le impostazioni di sistema sicure Lineage</string>
|
||||
<string name="permdesc_writeSecureSettings">Consenti ad un\'app di modificare le impostazioni di sistema sicure Lineage. Non per l\'uso di normali applicazioni.</string>
|
||||
<!-- Labels for the MANAGE_PERSISTENT_STORAGE permission. -->
|
||||
<string name="permlab_managePersistentStorage">gestione archivio persistente</string>
|
||||
<string name="permdesc_managePersistentStorage">Consenti ad un\'app di leggere o scrivere proprietà che possono persistere ad un ripristino di fabbrica.</string>
|
||||
@@ -173,10 +173,10 @@
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<string name="permlab_manageLiveDisplay">gestisci le impostazioni LiveDisplay</string>
|
||||
<string name="permdesc_manageLiveDisplay">Consenti ad un\'app di configurare impostazioni avanzate del display.</string>
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<string name="permlab_observe_audio_sessions">osserva cambiamenti di sessioni audio</string>
|
||||
<string name="permdesc_observe_audio_sessions">Consenti ad un\'app di osservare la creazione e distruzione di flussi audio.</string>
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<string name="permlab_manage_audio_sessions">gestisci cambiamenti di sessioni audio</string>
|
||||
<string name="permdesc_manage_audio_sessions">Consenti ad un\'app di inviare aggiornamenti del flusso audio.</string>
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Label for the LineageOS system components when they are shown to the user. -->
|
||||
<string name="cyanogenmod_system_label">מערכת LineageOS</string>
|
||||
<string name="lineageos_system_label">מערכת LineageOS</string>
|
||||
<string name="permlab_publishCustomTile">צור אריח מותאם אישית בתוך לוח ההגדרות המהירות</string>
|
||||
<string name="permdesc_publishCustomTile">מאפשר ליישום לפרסם אריח הגדרות מותאם אישית.</string>
|
||||
<string name="permlab_modifyNetworkSettings">שנה את הגדרות הרשת של המערכת</string>
|
||||
@@ -38,7 +38,7 @@
|
||||
<string name="permdesc_modifyProfiles">מאפשר ליישום לשנות פרופילי מערכת.</string>
|
||||
<!-- Labels for the HARDWARE_ABSTRACTION_ACCESS permission. -->
|
||||
<string name="permlab_useHardwareFramework">השתמש במסגרת חומרה</string>
|
||||
<string name="permdesc_useHardwareFramework">מאפשר ליישום לגשת למסגרת החומרתית של CM.</string>
|
||||
<string name="permdesc_useHardwareFramework">מאפשר ליישום לגשת למסגרת החומרתית של Lineage.</string>
|
||||
<!-- Labels for the WRITE_ALARMS permission. -->
|
||||
<string name="permlab_write_alarms">שנה ישירות שעונים מעוררים</string>
|
||||
<string name="permdesc_write_alarms">מאפשר ליישום להוסיף, לשנות או למחוק את כל השעונים המעוררים שלך.</string>
|
||||
@@ -49,11 +49,11 @@
|
||||
<string name="permlab_read_alarms">גישה לשעונים מעוררים שנקבעו</string>
|
||||
<string name="permdesc_read_alarms">מאפשר ליישום לקרוא את השעונים המעוררים שנקבעו.</string>
|
||||
<!-- Labels for the WRITE_SETTINGS permission -->
|
||||
<string name="permlab_writeSettings">שנה הגדרות מערכת CM</string>
|
||||
<string name="permdesc_writeSettings">מאפשר ליישום לשנות את הגדרות מערכת CM.</string>
|
||||
<string name="permlab_writeSettings">שנה הגדרות מערכת Lineage</string>
|
||||
<string name="permdesc_writeSettings">מאפשר ליישום לשנות את הגדרות מערכת Lineage.</string>
|
||||
<!-- Labels for the WRITE_SECURE_SETTINGS permission -->
|
||||
<string name="permlab_writeSecureSettings">שנה הגדרות מאובטחות של מערכת CM</string>
|
||||
<string name="permdesc_writeSecureSettings">מאפשר ליישום לשנות את ההגדרות המאובטחות של מערכת CM. לא לשימוש ביישומים רגילים.</string>
|
||||
<string name="permlab_writeSecureSettings">שנה הגדרות מאובטחות של מערכת Lineage</string>
|
||||
<string name="permdesc_writeSecureSettings">מאפשר ליישום לשנות את ההגדרות המאובטחות של מערכת Lineage. לא לשימוש ביישומים רגילים.</string>
|
||||
<!-- Labels for the MANAGE_PERSISTENT_STORAGE permission. -->
|
||||
<string name="permlab_managePersistentStorage">נהל אחסון תמידי</string>
|
||||
<string name="permdesc_managePersistentStorage">מאפשר ליישום לקרוא או לכתוב נתונים והגדרות העלולים לשרוד גם לאחר איפוס המכשיר להגדרות היצרן.</string>
|
||||
@@ -173,10 +173,10 @@
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<string name="permlab_manageLiveDisplay">נהל הגדרות livedisplay</string>
|
||||
<string name="permdesc_manageLiveDisplay">מאפשר ליישום לקבוע הגדרות תצוגה מתקדמות.</string>
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<string name="permlab_observe_audio_sessions">הרשאה לקבלת עדכוני פעולות במערכת השמע</string>
|
||||
<string name="permdesc_observe_audio_sessions">מאפשר ליישום לקבל עדכוני יצירה וסגירה של זרמי שמע.</string>
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<string name="permlab_manage_audio_sessions">נהל עדכוני פעולות במערכת השמע</string>
|
||||
<string name="permdesc_manage_audio_sessions">מאפשר ליישום לשלוח עדכוני זרימת שמע.</string>
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Label for the LineageOS system components when they are shown to the user. -->
|
||||
<string name="cyanogenmod_system_label">LineageOS システム</string>
|
||||
<string name="lineageos_system_label">LineageOS システム</string>
|
||||
<string name="permlab_publishCustomTile">クイック設定パネルでのカスタムタイルの作成</string>
|
||||
<string name="permdesc_publishCustomTile">クイック設定タイルの作成をアプリに許可します</string>
|
||||
<string name="permlab_modifyNetworkSettings">システムのネットワークの設定の変更</string>
|
||||
@@ -173,10 +173,10 @@
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<string name="permlab_manageLiveDisplay">LiveDisplayの設定の管理</string>
|
||||
<string name="permdesc_manageLiveDisplay">ディスプレイの詳細設定をアプリに許可します。</string>
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<string name="permlab_observe_audio_sessions">オーディオセッションの変更の監視</string>
|
||||
<string name="permdesc_observe_audio_sessions">オーディオストリームの作成および破棄の監視をアプリに許可します。</string>
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<string name="permlab_manage_audio_sessions">オーディオセッションの変更の管理</string>
|
||||
<string name="permdesc_manage_audio_sessions">オーディオストリームの更新の送信をアプリに許可します。</string>
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
|
||||
@@ -62,8 +62,8 @@
|
||||
<!-- DataUsageProvider read permission title -->
|
||||
<!-- DataUsageProvider read permission description -->
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
<!-- Privacy Guard -->
|
||||
<!-- Permissions used by remote preferences -->
|
||||
|
||||
@@ -62,8 +62,8 @@
|
||||
<!-- DataUsageProvider read permission title -->
|
||||
<!-- DataUsageProvider read permission description -->
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
<!-- Privacy Guard -->
|
||||
<!-- Permissions used by remote preferences -->
|
||||
|
||||
@@ -62,8 +62,8 @@
|
||||
<!-- DataUsageProvider read permission title -->
|
||||
<!-- DataUsageProvider read permission description -->
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
<!-- Privacy Guard -->
|
||||
<!-- Permissions used by remote preferences -->
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Label for the LineageOS system components when they are shown to the user. -->
|
||||
<string name="cyanogenmod_system_label">LineageOS ಸಿಸ್ಟಂ</string>
|
||||
<string name="lineageos_system_label">LineageOS ಸಿಸ್ಟಂ</string>
|
||||
<string name="permlab_publishCustomTile">ತ್ವರಿತ ಸೆಟ್ಟಿಂಗ್ಸ್ ಪ್ಯಾನೆಲ್ ಒಳಗೆಯೇ ಒಂದು ಕಸ್ಟಮ್ ಟೈಲ್ ರಚಿಸಿ</string>
|
||||
<string name="permdesc_publishCustomTile">ಒಂದು ಆಪ್ಗೆ ತ್ವರಿತ ಸೆಟ್ಟಿಂಗ್ಸ್ ಟೈಲನ್ನು ಮುದ್ರಿಸಲು ಅನುಮತಿಸುತ್ತದೆ.</string>
|
||||
<string name="permlab_modifyNetworkSettings">ಸಿಸ್ಟಂ ನೆಟ್ವರ್ಕ್ ಸೆಟ್ಟಿಂಗ್ಸ್ ಬದಲಿಸು</string>
|
||||
@@ -38,7 +38,7 @@
|
||||
<string name="permdesc_modifyProfiles">ಒಂದು ಆಪ್ಗೆ ಸಿಸ್ಟಂ ಪ್ರೊಫೈಲ್ಗಳನ್ನು ಮಾರ್ಪಡಿಸಲು ಅನುಮತಿಸುತ್ತದೆ.</string>
|
||||
<!-- Labels for the HARDWARE_ABSTRACTION_ACCESS permission. -->
|
||||
<string name="permlab_useHardwareFramework">ಹಾರ್ಡ್ವೇರ್ ಫ್ರೇಮ್ವರ್ಕ್ ಉಪಯೋಗಿಸು</string>
|
||||
<string name="permdesc_useHardwareFramework">ಒಂದು ಆಪ್ CM ಹಾರ್ಡ್ವೇರ್ ಫ್ರೇಮ್ವರ್ಕನ್ನು ಪ್ರವೇಶಿಸಲು ಅನುಮತಿಸುತ್ತದೆ.</string>
|
||||
<string name="permdesc_useHardwareFramework">ಒಂದು ಆಪ್ Lineage ಹಾರ್ಡ್ವೇರ್ ಫ್ರೇಮ್ವರ್ಕನ್ನು ಪ್ರವೇಶಿಸಲು ಅನುಮತಿಸುತ್ತದೆ.</string>
|
||||
<!-- Labels for the WRITE_ALARMS permission. -->
|
||||
<string name="permlab_write_alarms">ಅಲಾರಂಗಳನ್ನು ನೇರವಾಗಿ ಬದಲಿಸು</string>
|
||||
<string name="permdesc_write_alarms">ಒಂದು ಆಪ್ಗೆ ನಿಮ್ಮ ಎಲ್ಲಾ ಅಲಾರಂಗಳನ್ನು ಅಳಿಸಲು, ಸೇರಿಸಲು, ಅಥವ ಮಾರ್ಪಡಿಸಲು ಅನುಮತಿಸುತ್ತದೆ.</string>
|
||||
@@ -49,11 +49,11 @@
|
||||
<string name="permlab_read_alarms">ನಿಗದಿಪಡಿಸಿದ ಅಲಾರಂಗಳನ್ನು ಪ್ರವೇಶಿಸು</string>
|
||||
<string name="permdesc_read_alarms">ಒಂದು ಆಪ್ಗೆ ನಿಮ್ಮ ನಿಗದಿಪಡಿಸಿದ ಅಲಾರಂಗಳನ್ನು ಓದಲು ಅನುಮತಿಸುತ್ತದೆ.</string>
|
||||
<!-- Labels for the WRITE_SETTINGS permission -->
|
||||
<string name="permlab_writeSettings">CM ಸಿಸ್ಟಂ ಸೆಟ್ಟಿಂಗ್ಸನ್ನು ಮಾರ್ಪಡಿಸು</string>
|
||||
<string name="permdesc_writeSettings">ಒಂದು ಆಪ್ಗೆ CM ಸಿಸ್ಟಂ ಸೆಟ್ಟಿಂಗ್ಸನ್ನು ಮಾರ್ಪಡಿಸಲು ಅನುಮತಿಸುತ್ತದೆ.</string>
|
||||
<string name="permlab_writeSettings">Lineage ಸಿಸ್ಟಂ ಸೆಟ್ಟಿಂಗ್ಸನ್ನು ಮಾರ್ಪಡಿಸು</string>
|
||||
<string name="permdesc_writeSettings">ಒಂದು ಆಪ್ಗೆ Lineage ಸಿಸ್ಟಂ ಸೆಟ್ಟಿಂಗ್ಸನ್ನು ಮಾರ್ಪಡಿಸಲು ಅನುಮತಿಸುತ್ತದೆ.</string>
|
||||
<!-- Labels for the WRITE_SECURE_SETTINGS permission -->
|
||||
<string name="permlab_writeSecureSettings">CM ಸುರಕ್ಷಿತ ಸೆಟ್ಟಿಂಗ್ಸನ್ನು ಮಾರ್ಪಡಿಸು</string>
|
||||
<string name="permdesc_writeSecureSettings">ಒಂದು ಆಪ್ಗೆ CM ಸುರಕ್ಷಿತ ಸೆಟ್ಟಿಂಗ್ಸನ್ನು ಮಾರ್ಪಡಿಸಲು ಅನುಮತಿಸುತ್ತದೆ. ಸಾಮಾನ್ಯ ಆಪ್ಗಳ ಬಳಕೆಗಲ್ಲ.</string>
|
||||
<string name="permlab_writeSecureSettings">Lineage ಸುರಕ್ಷಿತ ಸೆಟ್ಟಿಂಗ್ಸನ್ನು ಮಾರ್ಪಡಿಸು</string>
|
||||
<string name="permdesc_writeSecureSettings">ಒಂದು ಆಪ್ಗೆ Lineage ಸುರಕ್ಷಿತ ಸೆಟ್ಟಿಂಗ್ಸನ್ನು ಮಾರ್ಪಡಿಸಲು ಅನುಮತಿಸುತ್ತದೆ. ಸಾಮಾನ್ಯ ಆಪ್ಗಳ ಬಳಕೆಗಲ್ಲ.</string>
|
||||
<!-- Labels for the MANAGE_PERSISTENT_STORAGE permission. -->
|
||||
<string name="permlab_managePersistentStorage">ನಿರಂತರ ಸಂಗ್ರಹಣೆ ನಿರ್ವಹಿಸು</string>
|
||||
<string name="permdesc_managePersistentStorage">ಒಂದು ಆಪ್ಗೆ ಪ್ರಾಪರ್ಟೀಸನ್ನು ರೀಡ್/ವ್ರೈಟ್ ಮಾಡಲು ಅನುಮತಿಸುತ್ತದೆ ಅದು ಫ್ಯಾಕ್ಟರಿ ಮರುಹೊಂದಿಕೆಯ ನಂತರವೂ ಮುಂದುವರೆಯಬಹುದು.</string>
|
||||
@@ -126,8 +126,8 @@
|
||||
<!-- DataUsageProvider read permission title -->
|
||||
<!-- DataUsageProvider read permission description -->
|
||||
<!-- LiveDisplay manager permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- CMAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- LineageAudioService - observe session changes permission -->
|
||||
<!-- QuickSettings: Themes tile -->
|
||||
<!-- Privacy Guard -->
|
||||
<!-- Permissions used by remote preferences -->
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user