Co-authored-by: Nolen Johnson <johnsonnolen@gmail.com> Co-authored-by: Rashed Abdel-Tawab <rashed@linux.com>lineage-18.1
@ -0,0 +1 @@ |
|||||||
|
include vendor/google_pixel/codenames.mk |
@ -0,0 +1,148 @@ |
|||||||
|
LOCAL_PATH := $(call my-dir)
|
||||||
|
|
||||||
|
include $(CLEAR_VARS) |
||||||
|
LOCAL_MODULE := AndroidMigratePrebuilt
|
||||||
|
LOCAL_MODULE_OWNER := google
|
||||||
|
LOCAL_MODULE_TAGS := optional
|
||||||
|
LOCAL_MODULE_CLASS := APPS
|
||||||
|
LOCAL_CERTIFICATE := PRESIGNED
|
||||||
|
LOCAL_DEX_PREOPT := false
|
||||||
|
LOCAL_PRIVILEGED_MODULE := true
|
||||||
|
LOCAL_SRC_FILES := apks/$(LOCAL_MODULE).apk
|
||||||
|
LOCAL_OVERRIDES_PACKAGES := GoogleRestore
|
||||||
|
LOCAL_PRODUCT_MODULE := true
|
||||||
|
include $(BUILD_PREBUILT) |
||||||
|
|
||||||
|
include $(CLEAR_VARS) |
||||||
|
LOCAL_MODULE := DevicePersonalizationServices
|
||||||
|
LOCAL_MODULE_OWNER := google
|
||||||
|
LOCAL_MODULE_TAGS := optional
|
||||||
|
LOCAL_MODULE_CLASS := APPS
|
||||||
|
LOCAL_CERTIFICATE := PRESIGNED
|
||||||
|
LOCAL_DEX_PREOPT := false
|
||||||
|
LOCAL_PRIVILEGED_MODULE := true
|
||||||
|
LOCAL_SRC_FILES := apks/$(LOCAL_MODULE).apk
|
||||||
|
LOCAL_PRODUCT_MODULE := true
|
||||||
|
include $(BUILD_PREBUILT) |
||||||
|
|
||||||
|
include $(CLEAR_VARS) |
||||||
|
LOCAL_MODULE := GoogleCamera
|
||||||
|
LOCAL_MODULE_OWNER := google
|
||||||
|
LOCAL_MODULE_TAGS := optional
|
||||||
|
LOCAL_MODULE_CLASS := APPS
|
||||||
|
LOCAL_CERTIFICATE := PRESIGNED
|
||||||
|
LOCAL_DEX_PREOPT := false
|
||||||
|
LOCAL_SRC_FILES := apks/$(LOCAL_MODULE).apk
|
||||||
|
LOCAL_OVERRIDES_PACKAGES := Camera Camera2 MotCamera Snap
|
||||||
|
LOCAL_PRODUCT_MODULE := true
|
||||||
|
include $(BUILD_PREBUILT) |
||||||
|
|
||||||
|
include $(CLEAR_VARS) |
||||||
|
LOCAL_MODULE := MarkupGoogle
|
||||||
|
LOCAL_MODULE_OWNER := google
|
||||||
|
LOCAL_MODULE_TAGS := optional
|
||||||
|
LOCAL_MODULE_CLASS := APPS
|
||||||
|
LOCAL_CERTIFICATE := PRESIGNED
|
||||||
|
LOCAL_DEX_PREOPT := false
|
||||||
|
LOCAL_PRIVILEGED_MODULE := true
|
||||||
|
LOCAL_SRC_FILES := apks/$(LOCAL_MODULE).apk
|
||||||
|
LOCAL_PREBUILT_JNI_LIBS := lib/arm64/libsketchology_native.so
|
||||||
|
LOCAL_MODULE_TARGET_ARCH := arm64
|
||||||
|
LOCAL_PRODUCT_MODULE := true
|
||||||
|
include $(BUILD_PREBUILT) |
||||||
|
|
||||||
|
include $(CLEAR_VARS) |
||||||
|
LOCAL_MODULE := NexusLauncherRelease
|
||||||
|
LOCAL_MODULE_OWNER := google
|
||||||
|
LOCAL_MODULE_TAGS := optional
|
||||||
|
LOCAL_MODULE_CLASS := APPS
|
||||||
|
LOCAL_CERTIFICATE := PRESIGNED
|
||||||
|
LOCAL_DEX_PREOPT := false
|
||||||
|
LOCAL_PRIVILEGED_MODULE := true
|
||||||
|
LOCAL_SRC_FILES := apks/$(LOCAL_MODULE).apk
|
||||||
|
LOCAL_OVERRIDES_PACKAGES := SearchLauncherQuickStep
|
||||||
|
LOCAL_SYSTEM_EXT_MODULE := true
|
||||||
|
include $(BUILD_PREBUILT) |
||||||
|
|
||||||
|
include $(CLEAR_VARS) |
||||||
|
LOCAL_MODULE := NexusWallpapersStubPrebuilt
|
||||||
|
LOCAL_MODULE_OWNER := google
|
||||||
|
LOCAL_MODULE_TAGS := optional
|
||||||
|
LOCAL_MODULE_CLASS := APPS
|
||||||
|
LOCAL_CERTIFICATE := PRESIGNED
|
||||||
|
LOCAL_DEX_PREOPT := false
|
||||||
|
LOCAL_SRC_FILES := apks/$(LOCAL_MODULE).apk
|
||||||
|
LOCAL_PRODUCT_MODULE := true
|
||||||
|
include $(BUILD_PREBUILT) |
||||||
|
|
||||||
|
include $(CLEAR_VARS) |
||||||
|
LOCAL_MODULE := NexusWallpapersStubPrebuilt2017
|
||||||
|
LOCAL_MODULE_OWNER := google
|
||||||
|
LOCAL_MODULE_TAGS := optional
|
||||||
|
LOCAL_MODULE_CLASS := APPS
|
||||||
|
LOCAL_CERTIFICATE := PRESIGNED
|
||||||
|
LOCAL_DEX_PREOPT := false
|
||||||
|
LOCAL_SRC_FILES := apks/$(LOCAL_MODULE).apk
|
||||||
|
LOCAL_PRODUCT_MODULE := true
|
||||||
|
include $(BUILD_PREBUILT) |
||||||
|
|
||||||
|
include $(CLEAR_VARS) |
||||||
|
LOCAL_MODULE := NexusWallpapersStubPrebuilt2018
|
||||||
|
LOCAL_MODULE_OWNER := google
|
||||||
|
LOCAL_MODULE_TAGS := optional
|
||||||
|
LOCAL_MODULE_CLASS := APPS
|
||||||
|
LOCAL_CERTIFICATE := PRESIGNED
|
||||||
|
LOCAL_DEX_PREOPT := false
|
||||||
|
LOCAL_SRC_FILES := apks/$(LOCAL_MODULE).apk
|
||||||
|
LOCAL_PRODUCT_MODULE := true
|
||||||
|
include $(BUILD_PREBUILT) |
||||||
|
|
||||||
|
include $(CLEAR_VARS) |
||||||
|
LOCAL_MODULE := NexusWallpapersStubPrebuilt2019
|
||||||
|
LOCAL_MODULE_OWNER := google
|
||||||
|
LOCAL_MODULE_TAGS := optional
|
||||||
|
LOCAL_MODULE_CLASS := APPS
|
||||||
|
LOCAL_CERTIFICATE := PRESIGNED
|
||||||
|
LOCAL_DEX_PREOPT := false
|
||||||
|
LOCAL_SRC_FILES := apks/$(LOCAL_MODULE).apk
|
||||||
|
LOCAL_PRODUCT_MODULE := true
|
||||||
|
include $(BUILD_PREBUILT) |
||||||
|
|
||||||
|
include $(CLEAR_VARS) |
||||||
|
my_archs := arm arm64 x86 x86_64
|
||||||
|
my_src_arch := $(call get-prebuilt-src-arch, $(my_archs))
|
||||||
|
LOCAL_MODULE := PixelSetupWizard
|
||||||
|
LOCAL_MODULE_OWNER := google
|
||||||
|
LOCAL_MODULE_TAGS := optional
|
||||||
|
LOCAL_MODULE_CLASS := APPS
|
||||||
|
LOCAL_CERTIFICATE := PRESIGNED
|
||||||
|
LOCAL_DEX_PREOPT := false
|
||||||
|
LOCAL_PRIVILEGED_MODULE := true
|
||||||
|
LOCAL_SRC_FILES := apks/$(LOCAL_MODULE).apk
|
||||||
|
LOCAL_OVERRIDES_PACKAGES := SetupWizard
|
||||||
|
LOCAL_MODULE_TARGET_ARCH := $(my_src_arch)
|
||||||
|
LOCAL_PRODUCT_MODULE := true
|
||||||
|
include $(BUILD_PREBUILT) |
||||||
|
|
||||||
|
include $(CLEAR_VARS) |
||||||
|
LOCAL_MODULE := PlayAutoInstallConfig
|
||||||
|
LOCAL_MODULE_OWNER := google
|
||||||
|
LOCAL_MODULE_TAGS := optional
|
||||||
|
LOCAL_MODULE_CLASS := APPS
|
||||||
|
LOCAL_CERTIFICATE := PRESIGNED
|
||||||
|
LOCAL_DEX_PREOPT := false
|
||||||
|
LOCAL_SRC_FILES := apks/$(LOCAL_MODULE).apk
|
||||||
|
LOCAL_PRODUCT_MODULE := true
|
||||||
|
include $(BUILD_PREBUILT) |
||||||
|
|
||||||
|
include $(CLEAR_VARS) |
||||||
|
LOCAL_MODULE := WallpaperPickerGooglePrebuilt
|
||||||
|
LOCAL_MODULE_OWNER := google
|
||||||
|
LOCAL_MODULE_TAGS := optional
|
||||||
|
LOCAL_MODULE_CLASS := APPS
|
||||||
|
LOCAL_CERTIFICATE := PRESIGNED
|
||||||
|
LOCAL_DEX_PREOPT := false
|
||||||
|
LOCAL_OVERRIDES_PACKAGES := Backgrounds
|
||||||
|
LOCAL_SRC_FILES := apks/$(LOCAL_MODULE).apk
|
||||||
|
LOCAL_SYSTEM_EXT_MODULE := true
|
||||||
|
include $(BUILD_PREBUILT) |
@ -0,0 +1,55 @@ |
|||||||
|
## Build appropriate year wallpaper package on Pixels
|
||||||
|
ifneq ($(filter $(PIXEL2016_CODENAMES),$(TARGET_PRODUCT)),) |
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
NexusWallpapersStubPrebuilt
|
||||||
|
endif |
||||||
|
ifneq ($(filter $(PIXEL2017_CODENAMES),$(TARGET_PRODUCT)),) |
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
NexusWallpapersStubPrebuilt2017
|
||||||
|
endif |
||||||
|
ifneq ($(filter $(PIXEL2018_CODENAMES) $(PIXEL2019_MIDYEAR_CODENAMES),$(TARGET_PRODUCT)),) |
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
NexusWallpapersStubPrebuilt2018
|
||||||
|
endif |
||||||
|
ifneq ($(filter $(PIXEL2019_CODENAMES),$(TARGET_PRODUCT)),) |
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
NexusWallpapersStubPrebuilt2019
|
||||||
|
endif |
||||||
|
|
||||||
|
## Only build Pixel exclusives on Pixels
|
||||||
|
ifneq ($(filter $(PIXEL_CODENAMES),$(TARGET_PRODUCT)),) |
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
AndroidMigratePrebuilt \
|
||||||
|
GoogleCamera \
|
||||||
|
PixelSetupWizard
|
||||||
|
endif |
||||||
|
|
||||||
|
## Only build DevicePersonalizationServices on non-Pixels
|
||||||
|
ifeq ($(filter $(PIXEL_CODENAMES),$(TARGET_PRODUCT)),) |
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
DevicePersonalizationServices
|
||||||
|
endif |
||||||
|
|
||||||
|
## Core packages
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
NexusLauncherRelease \
|
||||||
|
PlayAutoInstallConfig
|
||||||
|
|
||||||
|
## Extra packages
|
||||||
|
ifneq ($(WITH_GMS_MINIMAL),true) |
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
MarkupGoogle \
|
||||||
|
WallpaperPickerGooglePrebuilt
|
||||||
|
endif |
||||||
|
|
||||||
|
## Privledged App Permissions
|
||||||
|
# Not split to account for the fact these apps are put in different locations by different GApps packages
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
vendor/google_pixel/apps/permissions/privapp-permissions-pixel.xml:system/etc/permissions/privapp-permissions-pixel.xml
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
vendor/google_pixel/apps/permissions/privapp-permissions-pixel.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/privapp-permissions-pixel.xml
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
vendor/google_pixel/apps/permissions/privapp-permissions-pixel.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/privapp-permissions-pixel.xml
|
||||||
|
|
||||||
|
PRODUCT_PACKAGE_OVERLAYS += vendor/google_pixel/overlays/overlay-gms
|
||||||
|
PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS += vendor/google_pixel/overlays/overlay-gms
|
@ -0,0 +1,155 @@ |
|||||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||||
|
<!-- |
||||||
|
~ Copyright (C) 2017 The Android Open Source Project |
||||||
|
~ |
||||||
|
~ Licensed under the Apache License, Version 2.0 (the "License"); |
||||||
|
~ you may not use this file except in compliance with the License. |
||||||
|
~ You may obtain a copy of the License at |
||||||
|
~ |
||||||
|
~ http://www.apache.org/licenses/LICENSE-2.0 |
||||||
|
~ |
||||||
|
~ Unless required by applicable law or agreed to in writing, software |
||||||
|
~ distributed under the License is distributed on an "AS IS" BASIS, |
||||||
|
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||||
|
~ See the License for the specific language governing permissions and |
||||||
|
~ limitations under the License |
||||||
|
--> |
||||||
|
|
||||||
|
<!-- |
||||||
|
This XML file declares which signature|privileged permissions should be granted to privileged |
||||||
|
applications on GMS or Google-branded devices. |
||||||
|
It allows additional grants on top of privapp-permissions-platform.xml |
||||||
|
--> |
||||||
|
<permissions> |
||||||
|
<privapp-permissions package="com.breel.wallpapers19"> |
||||||
|
<permission name="android.permission.AMBIENT_WALLPAPER"/> |
||||||
|
</privapp-permissions> |
||||||
|
|
||||||
|
<privapp-permissions package="com.google.android.apps.wallpaper"> |
||||||
|
<permission name="android.permission.BIND_WALLPAPER"/> |
||||||
|
<permission name="android.permission.CHANGE_OVERLAY_PACKAGES"/> |
||||||
|
<permission name="android.permission.READ_WALLPAPER_INTERNAL"/> |
||||||
|
<permission name="android.permission.SET_WALLPAPER_COMPONENT"/> |
||||||
|
<permission name="android.permission.WRITE_SECURE_SETTINGS"/> |
||||||
|
</privapp-permissions> |
||||||
|
|
||||||
|
<privapp-permissions package="com.android.wallpaper"> |
||||||
|
<permission name="android.permission.CHANGE_OVERLAY_PACKAGES"/> |
||||||
|
<permission name="android.permission.SET_WALLPAPER_COMPONENT"/> |
||||||
|
<permission name="android.permission.WRITE_SECURE_SETTINGS"/> |
||||||
|
</privapp-permissions> |
||||||
|
|
||||||
|
<privapp-permissions package="com.google.android.as"> |
||||||
|
<permission name="android.permission.CAPTURE_AUDIO_HOTWORD"/> |
||||||
|
<permission name="android.permission.CAPTURE_AUDIO_OUTPUT"/> |
||||||
|
<permission name="android.permission.CAPTURE_MEDIA_OUTPUT"/> |
||||||
|
<permission name="android.permission.CAPTURE_VOICE_COMMUNICATION_OUTPUT"/> |
||||||
|
<permission name="android.permission.CONTROL_INCALL_EXPERIENCE"/> |
||||||
|
<permission name="android.permission.EXEMPT_FROM_AUDIO_RECORD_RESTRICTIONS"/> |
||||||
|
<permission name="android.permission.LOCATION_HARDWARE"/> |
||||||
|
<permission name="android.permission.MANAGE_SOUND_TRIGGER"/> |
||||||
|
<permission name="android.permission.MODIFY_AUDIO_ROUTING"/> |
||||||
|
<permission name="android.permission.MODIFY_PHONE_STATE"/> |
||||||
|
<permission name="android.permission.MONITOR_DEFAULT_SMS_PACKAGE"/> |
||||||
|
<permission name="android.permission.PACKAGE_USAGE_STATS"/> |
||||||
|
<permission name="android.permission.READ_OEM_UNLOCK_STATE"/> |
||||||
|
<permission name="android.permission.REQUEST_NOTIFICATION_ASSISTANT_SERVICE"/> |
||||||
|
<permission name="android.permission.START_ACTIVITIES_FROM_BACKGROUND"/> |
||||||
|
<permission name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME"/> |
||||||
|
<permission name="android.permission.UPDATE_DEVICE_STATS"/> |
||||||
|
<permission name="android.permission.WRITE_SECURE_SETTINGS"/> |
||||||
|
</privapp-permissions> |
||||||
|
|
||||||
|
<privapp-permissions package="com.google.android.apps.nexuslauncher"> |
||||||
|
<permission name="android.permission.BIND_APPWIDGET"/> |
||||||
|
<permission name="android.permission.CONTROL_REMOTE_APP_TRANSITION_ANIMATIONS"/> |
||||||
|
<permission name="android.permission.MANAGE_ACTIVITY_STACKS"/> |
||||||
|
<permission name="android.permission.PACKAGE_USAGE_STATS"/> |
||||||
|
<permission name="android.permission.STATUS_BAR"/> |
||||||
|
<permission name="android.permission.WRITE_SECURE_SETTINGS"/> |
||||||
|
</privapp-permissions> |
||||||
|
|
||||||
|
<privapp-permissions package="com.google.android.apps.pixelclauncher"> |
||||||
|
<permission name="android.permission.BIND_APPWIDGET"/> |
||||||
|
<permission name="android.permission.CONTROL_REMOTE_APP_TRANSITION_ANIMATIONS"/> |
||||||
|
<permission name="android.permission.PACKAGE_USAGE_STATS"/> |
||||||
|
</privapp-permissions> |
||||||
|
|
||||||
|
<privapp-permissions package="com.google.android.setupwizard"> |
||||||
|
<permission name="android.permission.BACKUP"/> |
||||||
|
<permission name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"/> |
||||||
|
<permission name="android.permission.CHANGE_CONFIGURATION"/> |
||||||
|
<permission name="android.permission.CONNECTIVITY_INTERNAL"/> |
||||||
|
<permission name="android.permission.DISPATCH_PROVISIONING_MESSAGE"/> |
||||||
|
<permission name="android.permission.INVOKE_CARRIER_SETUP"/> |
||||||
|
<permission name="android.permission.LOCAL_MAC_ADDRESS"/> |
||||||
|
<permission name="android.permission.MANAGE_FINGERPRINT"/> |
||||||
|
<permission name="android.permission.MANAGE_USB"/> |
||||||
|
<permission name="android.permission.MANAGE_USERS"/> |
||||||
|
<permission name="android.permission.MASTER_CLEAR"/> |
||||||
|
<permission name="android.permission.MODIFY_DAY_NIGHT_MODE"/> |
||||||
|
<permission name="android.permission.MODIFY_PHONE_STATE"/> |
||||||
|
<permission name="android.permission.NOTIFICATION_DURING_SETUP"/> |
||||||
|
<permission name="android.permission.OVERRIDE_WIFI_CONFIG"/> |
||||||
|
<permission name="android.permission.PERFORM_CDMA_PROVISIONING"/> |
||||||
|
<permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/> |
||||||
|
<permission name="android.permission.REBOOT"/> |
||||||
|
<permission name="android.permission.REQUEST_NETWORK_SCORES"/> |
||||||
|
<permission name="android.permission.SET_TIME"/> |
||||||
|
<permission name="android.permission.SET_TIME_ZONE"/> |
||||||
|
<permission name="android.permission.SHUTDOWN"/> |
||||||
|
<permission name="android.permission.STATUS_BAR"/> |
||||||
|
<permission name="android.permission.START_ACTIVITIES_FROM_BACKGROUND"/> |
||||||
|
<permission name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME"/> |
||||||
|
<permission name="android.permission.WRITE_APN_SETTINGS"/> |
||||||
|
<permission name="android.permission.WRITE_SECURE_SETTINGS"/> |
||||||
|
</privapp-permissions> |
||||||
|
|
||||||
|
<privapp-permissions package="com.google.android.pixel.setupwizard"> |
||||||
|
<permission name="android.permission.CHANGE_CONFIGURATION"/> |
||||||
|
<permission name="android.permission.GET_ACCOUNTS_PRIVILEGED"/> |
||||||
|
<permission name="android.permission.MANAGE_USERS"/> |
||||||
|
<permission name="android.permission.STATUS_BAR"/> |
||||||
|
<permission name="android.permission.WRITE_SECURE_SETTINGS"/> |
||||||
|
</privapp-permissions> |
||||||
|
|
||||||
|
<privapp-permissions package="com.google.android.apps.wellbeing"> |
||||||
|
<permission name="android.permission.ACCESS_INSTANT_APPS"/> |
||||||
|
<permission name="android.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS"/> |
||||||
|
<permission name="android.permission.CONTROL_DISPLAY_SATURATION"/> |
||||||
|
<permission name="android.permission.INTERACT_ACROSS_PROFILES"/> |
||||||
|
<permission name="android.permission.MODIFY_PHONE_STATE"/> |
||||||
|
<permission name="android.permission.MODIFY_QUIET_MODE"/> |
||||||
|
<permission name="android.permission.OBSERVE_APP_USAGE"/> |
||||||
|
<permission name="android.permission.PACKAGE_USAGE_STATS"/> |
||||||
|
<permission name="android.permission.READ_DREAM_STATE"/> |
||||||
|
<permission name="android.permission.READ_WALLPAPER_INTERNAL"/> |
||||||
|
<permission name="android.permission.SET_WALLPAPER_COMPONENT"/> |
||||||
|
<permission name="android.permission.START_ACTIVITIES_FROM_BACKGROUND"/> |
||||||
|
<permission name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME"/> |
||||||
|
<permission name="android.permission.SUSPEND_APPS"/> |
||||||
|
<permission name="android.permission.WRITE_DREAM_STATE"/> |
||||||
|
<permission name="android.permission.WRITE_SECURE_SETTINGS"/> |
||||||
|
</privapp-permissions> |
||||||
|
|
||||||
|
<privapp-permissions package="com.google.android.apps.pixelmigrate"> |
||||||
|
<permission name="android.permission.BACKUP"/> |
||||||
|
<permission name="android.permission.MANAGE_USB"/> |
||||||
|
<permission name="android.permission.MANAGE_USERS"/> |
||||||
|
<permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/> |
||||||
|
<permission name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME"/> |
||||||
|
<permission name="android.permission.WRITE_EMBEDDED_SUBSCRIPTIONS"/> |
||||||
|
<permission name="android.permission.WRITE_SECURE_SETTINGS"/> |
||||||
|
</privapp-permissions> |
||||||
|
|
||||||
|
<privapp-permissions package="com.google.android.settings.intelligence"> |
||||||
|
<permission name="android.permission.MANAGE_FINGERPRINT"/> |
||||||
|
<permission name="android.permission.MODIFY_PHONE_STATE"/> |
||||||
|
<permission name="android.permission.READ_DEVICE_CONFIG"/> |
||||||
|
<permission name="android.permission.READ_SEARCH_INDEXABLES"/> |
||||||
|
<permission name="android.permission.START_ACTIVITIES_FROM_BACKGROUND"/> |
||||||
|
<permission name="android.permission.WRITE_DEVICE_CONFIG"/> |
||||||
|
<permission name="android.permission.WRITE_SECURE_SETTINGS"/> |
||||||
|
<permission name="android.permission.WRITE_SETTINGS_HOMEPAGE_DATA"/> |
||||||
|
</privapp-permissions> |
||||||
|
</permissions> |
@ -0,0 +1,47 @@ |
|||||||
|
PIXEL2016_CODENAMES += \
|
||||||
|
%marlin \
|
||||||
|
%sailfish
|
||||||
|
|
||||||
|
PIXEL2017_CODENAMES += \
|
||||||
|
%muskie \
|
||||||
|
%taimen \
|
||||||
|
%wahoo \
|
||||||
|
%walleye
|
||||||
|
|
||||||
|
PIXEL2018_CODENAMES += \
|
||||||
|
%blueline \
|
||||||
|
%crosshatch
|
||||||
|
|
||||||
|
PIXEL2019_MIDYEAR_CODENAMES += \
|
||||||
|
%bonito \
|
||||||
|
%sargo
|
||||||
|
|
||||||
|
PIXEL2019_CODENAMES += \
|
||||||
|
%coral \
|
||||||
|
%flame
|
||||||
|
|
||||||
|
PIXEL_CODENAMES += \
|
||||||
|
$(PIXEL2016_CODENAMES) \
|
||||||
|
$(PIXEL2017_CODENAMES) \
|
||||||
|
$(PIXEL2018_CODENAMES) \
|
||||||
|
$(PIXEL2019_MIDYEAR_CODENAMES) \
|
||||||
|
$(PIXEL2019_CODENAMES)
|
||||||
|
|
||||||
|
PIXEL_AMBIENT_CODENAMES += \
|
||||||
|
$(PIXEL2017_CODENAMES) \
|
||||||
|
$(PIXEL2018_CODENAMES) \
|
||||||
|
$(PIXEL2019_MIDYEAR_CODENAMES) \
|
||||||
|
|
||||||
|
PIXEL_DREAMLINER_CODENAMES += \
|
||||||
|
$(PIXEL2018_CODENAMES) \
|
||||||
|
$(PIXEL2019_CODENAMES)
|
||||||
|
|
||||||
|
PIXEL_ELMYRA_CODENAMES += \
|
||||||
|
$(PIXEL2017_CODENAMES) \
|
||||||
|
$(PIXEL2018_CODENAMES) \
|
||||||
|
$(PIXEL2019_MIDYEAR_CODENAMES) \
|
||||||
|
$(PIXEL2019_CODENAMES)
|
||||||
|
|
||||||
|
# Not all devices work with Turbo, just Pixels and Android One devices
|
||||||
|
TURBO_CODENAMES += \
|
||||||
|
$(PIXEL_CODENAMES)
|
@ -0,0 +1,31 @@ |
|||||||
|
LOCAL_PATH:= $(call my-dir)
|
||||||
|
|
||||||
|
GOOGLE_FONTS := \
|
||||||
|
GoogleSans-Bold.ttf \
|
||||||
|
GoogleSans-BoldItalic.ttf \
|
||||||
|
GoogleSans-Italic.ttf \
|
||||||
|
GoogleSans-Medium.ttf \
|
||||||
|
GoogleSans-MediumItalic.ttf \
|
||||||
|
GoogleSans-Regular.ttf
|
||||||
|
|
||||||
|
define define-google-font |
||||||
|
include $$(CLEAR_VARS) |
||||||
|
LOCAL_MODULE := $1
|
||||||
|
LOCAL_MODULE_OWNER := google
|
||||||
|
LOCAL_SRC_FILES := fonts/$1
|
||||||
|
LOCAL_MODULE_CLASS := ETC
|
||||||
|
LOCAL_MODULE_TAGS := optional
|
||||||
|
LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/fonts
|
||||||
|
LOCAL_PRODUCT_MODULE := true
|
||||||
|
include $$(BUILD_PREBUILT) |
||||||
|
endef |
||||||
|
|
||||||
|
$(foreach font,$(GOOGLE_FONTS),\
|
||||||
|
$(eval $(call define-google-font,$(font))))
|
||||||
|
|
||||||
|
include $(CLEAR_VARS) |
||||||
|
LOCAL_MODULE := GoogleFonts
|
||||||
|
LOCAL_MODULE_OWNER := google
|
||||||
|
LOCAL_MODULE_TAGS := optional
|
||||||
|
LOCAL_REQUIRED_MODULES := $(GOOGLE_FONTS)
|
||||||
|
include $(BUILD_PHONY_PACKAGE) |
@ -0,0 +1,41 @@ |
|||||||
|
<fonts-modification version="1"> |
||||||
|
<family customizationType="new-named-family" name="google-sans"> |
||||||
|
<font weight="400" style="normal">GoogleSans-Regular.ttf</font> |
||||||
|
<font weight="400" style="italic">GoogleSans-Italic.ttf</font> |
||||||
|
<font weight="500" style="normal">GoogleSans-Medium.ttf</font> |
||||||
|
<font weight="500" style="italic">GoogleSans-MediumItalic.ttf</font> |
||||||
|
<font weight="700" style="normal">GoogleSans-Bold.ttf</font> |
||||||
|
<font weight="700" style="italic">GoogleSans-BoldItalic.ttf</font> |
||||||
|
</family> |
||||||
|
<alias name="google-sans-medium" to="google-sans" weight="500" /> |
||||||
|
|
||||||
|
<family customizationType="new-named-family" name="arbutus-slab"> |
||||||
|
<font weight="400" style="normal">ArbutusSlab-Regular.ttf</font> |
||||||
|
</family> |
||||||
|
|
||||||
|
<family customizationType="new-named-family" name="lato"> |
||||||
|
<font weight="400" style="normal">Lato-Regular.ttf</font> |
||||||
|
<font weight="400" style="italic">Lato-Italic.ttf</font> |
||||||
|
<font weight="700" style="normal">Lato-Bold.ttf</font> |
||||||
|
<font weight="700" style="italic">Lato-BoldItalic.ttf</font> |
||||||
|
</family> |
||||||
|
<alias name="lato-bold" to="lato" weight="700" /> |
||||||
|
|
||||||
|
<family customizationType="new-named-family" name="rubik"> |
||||||
|
<font weight="400" style="normal">Rubik-Regular.ttf</font> |
||||||
|
<font weight="400" style="italic">Rubik-Italic.ttf</font> |
||||||
|
<font weight="500" style="normal">Rubik-Medium.ttf</font> |
||||||
|
<font weight="500" style="italic">Rubik-MediumItalic.ttf</font> |
||||||
|
<font weight="700" style="normal">Rubik-Bold.ttf</font> |
||||||
|
<font weight="700" style="italic">Rubik-BoldItalic.ttf</font> |
||||||
|
</family> |
||||||
|
<alias name="rubik-medium" to="rubik" weight="500" /> |
||||||
|
|
||||||
|
<family customizationType="new-named-family" name="zilla-slab-medium"> |
||||||
|
<font weight="500" style="normal">ZillaSlab-Medium.ttf</font> |
||||||
|
<font weight="500" style="italic">ZillaSlab-MediumItalic.ttf</font> |
||||||
|
<font weight="600" style="normal">ZillaSlab-SemiBold.ttf</font> |
||||||
|
<font weight="600" style="italic">ZillaSlab-SemiBoldItalic.ttf</font> |
||||||
|
</family> |
||||||
|
<alias name="zilla-slab-semi-bold" to="zilla-slab-medium" weight="600" /> |
||||||
|
</fonts-modification> |
@ -0,0 +1,62 @@ |
|||||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||||
|
<resources> |
||||||
|
<!-- Component name for the activity that will be presenting the Recents UI, which will receive special permissions for API related |
||||||
|
to fetching and presenting recent tasks. The default configuration uses Launcher3QuickStep as default launcher and points to |
||||||
|
the corresponding recents component. --> |
||||||
|
<string name="config_recentsComponentName">com.google.android.apps.nexuslauncher/com.android.quickstep.RecentsActivity</string> |
||||||
|
|
||||||
|
<!-- Colon separated list of package names that should be granted Notification Listener access --> |
||||||
|
<string name="config_defaultListenerAccessPackages" translatable="false">com.google.android.apps.nexuslauncher:com.android.launcher3:com.google.android.setupwizard:com.google.android.apps.restore:com.google.android.as:com.google.android.projection.gearhead</string> |
||||||
|
|
||||||
|
<!-- The package name for the system's app prediction service. |
||||||
|
This service must be trusted, as it can be activated without explicit consent of the user. |
||||||
|
Example: "com.android.intelligence/.AppPredictionService" |
||||||
|
--> |
||||||
|
<string name="config_defaultAppPredictionService" translatable="false">com.google.android.as/com.google.android.apps.miphone.aiai.app.AiAiPredictionService</string> |
||||||
|
|
||||||
|
<!-- The package name for the system's content suggestions service. |
||||||
|
Provides suggestions for text and image selection regions in snapshots of apps and should |
||||||
|
be able to classify the type of entities in those selections. |
||||||
|
|
||||||
|
This service must be trusted, as it can be activated without explicit consent of the user. |
||||||
|
If no service with the specified name exists on the device, content suggestions wil be |
||||||
|
disabled. |
||||||
|
Example: "com.android.contentsuggestions/.ContentSuggestionsService" |
||||||
|
--> |
||||||
|
<string name="config_defaultContentSuggestionsService" translatable="false">com.google.android.as/com.google.android.apps.miphone.aiai.app.AiAiContentSuggestionsService</string> |
||||||
|
|
||||||
|
<!-- The component name for the system-wide captions manager service. |
||||||
|
This service must be trusted, as the system binds to it and keeps it running. |
||||||
|
Example: "com.android.captions/.SystemCaptionsManagerService" |
||||||
|
--> |
||||||
|
<string name="config_defaultSystemCaptionsManagerService" translatable="false">com.google.android.as/com.google.android.apps.miphone.aiai.captions.SystemCaptionsManagerService</string> |
||||||
|
|
||||||
|
<!-- The component name for the system-wide captions service. |
||||||
|
This service must be trusted, as it controls part of the UI of the volume bar. |
||||||
|
Example: "com.android.captions/.SystemCaptionsService" |
||||||
|
--> |
||||||
|
<string name="config_defaultSystemCaptionsService" translatable="false">com.google.android.as/com.google.android.apps.miphone.aiai.captions.CaptionsService</string> |
||||||
|
|
||||||
|
<!-- The package name for the system's augmented autofill service. |
||||||
|
This service must be trusted, as it can be activated without explicit consent of the user. |
||||||
|
If no service with the specified name exists on the device, augmented autofill wil be |
||||||
|
disabled. |
||||||
|
Example: "com.android.augmentedautofill/.AugmentedAutofillService" |
||||||
|
--> |
||||||
|
<string name="config_defaultAugmentedAutofillService" translatable="false">com.google.android.as/com.google.android.apps.miphone.aiai.app.AiAiAugmentedAutofillService</string> |
||||||
|
|
||||||
|
<!-- The component name for the default system attention service. |
||||||
|
This service must be trusted, as it can be activated without explicit consent of the user. |
||||||
|
See android.attention.AttentionManagerService. |
||||||
|
--> |
||||||
|
<string name="config_defaultAttentionService" translatable="false">com.google.android.as/com.google.android.apps.miphone.aiai.attention.service.AiAiAttentionService</string> |
||||||
|
|
||||||
|
<!-- The package name for the default system textclassifier service. |
||||||
|
This service must be trusted, as it can be activated without explicit consent of the user. |
||||||
|
Example: "com.android.textclassifier" |
||||||
|
If no textclassifier service with the specified name exists on the device (or if this is |
||||||
|
set to empty string), a default textclassifier will be loaded in the calling app's process. |
||||||
|
See android.view.textclassifier.TextClassificationManager. |
||||||
|
--> |
||||||
|
<string name="config_defaultTextClassifierPackage" translatable="false">com.google.android.as</string> |
||||||
|
</resources> |
@ -0,0 +1,7 @@ |
|||||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||||
|
<resources> |
||||||
|
<!-- Screenshot editing default activity. Must handle ACTION_EDIT image/png intents. |
||||||
|
Blank sends the user to the Chooser first. |
||||||
|
This name is in the ComponentName flattened format (package/class) --> |
||||||
|
<string name="config_screenshotEditor">com.google.android.markup/com.google.android.markup.AnnotateActivity</string> |
||||||
|
</resources> |
@ -0,0 +1,7 @@ |
|||||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||||
|
<resources> |
||||||
|
<!-- List of packages for which we don't want to show recents onboarding, add into overlay as needed. --> |
||||||
|
<string-array name="recents_onboarding_blacklisted_packages" translatable="false"> |
||||||
|
<item>com.google.android.setupwizard</item> |
||||||
|
</string-array> |
||||||
|
</resources> |
@ -0,0 +1,12 @@ |
|||||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||||
|
<resources> |
||||||
|
<!-- Use round icons --> |
||||||
|
<bool name="config_useRoundIcon">true</bool> |
||||||
|
<string name="config_icon_mask">M50 0C77.6 0 100 22.4 100 50C100 77.6 77.6 100 50 100C22.4 100 0 77.6 0 50C0 22.4 22.4 0 50 0Z</string> |
||||||
|
|
||||||
|
<!-- Google Sans font configuration --> |
||||||
|
<string name="config_headlineFontFamily">google-sans</string> |
||||||
|
<string name="config_headlineFontFamilyLight">google-sans</string> |
||||||
|
<string name="config_headlineFontFeatureSettings">ss03</string> |
||||||
|
<bool name="config_buttonTextAllCaps">false</bool> |
||||||
|
</resources> |
@ -0,0 +1,6 @@ |
|||||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||||
|
<resources> |
||||||
|
<dimen name="config_dialogCornerRadius">8.0dip</dimen> |
||||||
|
<dimen name="config_buttonCornerRadius">4.0dip</dimen> |
||||||
|
<dimen name="config_progressBarCornerRadius">1000.0dip</dimen> |
||||||
|
</resources> |
@ -0,0 +1,4 @@ |
|||||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||||
|
<resources> |
||||||
|
<string name="font_family_button_material">google-sans-medium</string> |
||||||
|
</resources> |
@ -0,0 +1,5 @@ |
|||||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||||
|
<resources> |
||||||
|
<dimen name="fingerprint_dialog_corner_size">8dp</dimen> |
||||||
|
<dimen name="multi_user_switch_keyguard_margin">7dp</dimen> |
||||||
|
</resources> |
@ -0,0 +1,5 @@ |
|||||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||||
|
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> |
||||||
|
<background android:drawable="@*android:color/accent_device_default_light"/> |
||||||
|
<foreground android:drawable="@mipmap/ic_foreground"/> |
||||||
|
</adaptive-icon> |
After Width: | Height: | Size: 8.0 KiB |
After Width: | Height: | Size: 4.5 KiB |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 18 KiB |
@ -0,0 +1,5 @@ |
|||||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||||
|
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> |
||||||
|
<background android:drawable="@*android:color/accent_device_default_light"/> |
||||||
|
<foreground android:drawable="@mipmap/ic_foreground"/> |
||||||
|
</adaptive-icon> |
After Width: | Height: | Size: 9.7 KiB |
After Width: | Height: | Size: 5.3 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 28 KiB |
@ -0,0 +1,23 @@ |
|||||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||||
|
<!-- Copyright (C) 2006 The Android Open Source Project |
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License"); |
||||||
|
you may not use this file except in compliance with the License. |
||||||
|
You may obtain a copy of the License at |
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0 |
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software |
||||||
|
distributed under the License is distributed on an "AS IS" BASIS, |
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||||
|
See the License for the specific language governing permissions and |
||||||
|
limitations under the License. |
||||||
|
--> |
||||||
|
|
||||||
|
<resources> |
||||||
|
<style name="TextAppearance.SearchBar" parent="@*android:style/TextAppearance.Material.Widget.Toolbar.Subtitle"> |
||||||
|
<item name="android:textSize">16dp</item> |
||||||
|
<item name="android:layout_gravity">center</item> |
||||||
|
<item name="android:fontFamily">google-sans</item> |
||||||
|
</style> |
||||||
|
</resources> |
@ -0,0 +1,5 @@ |
|||||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||||
|
<resources> |
||||||
|
<!-- Flag indicating whether we should enable smart battery. --> |
||||||
|
<bool name="config_smart_battery_available">true</bool> |
||||||
|
</resources> |
@ -0,0 +1,10 @@ |
|||||||
|
LOCAL_PATH:= $(call my-dir)
|
||||||
|
|
||||||
|
include $(CLEAR_VARS) |
||||||
|
LOCAL_RRO_THEME := PixelQuickstep
|
||||||
|
LOCAL_PRODUCT_MODULE := true
|
||||||
|
LOCAL_CERTIFICATE := platform
|
||||||
|
LOCAL_SDK_VERSION := current
|
||||||
|
LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
|
||||||
|
LOCAL_PACKAGE_NAME := PixelQuickstep
|
||||||
|
include $(BUILD_RRO_PACKAGE) |
@ -0,0 +1,21 @@ |
|||||||
|
<!-- |
||||||
|
Copyright (c) 2018, 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. |
||||||
|
You may obtain a copy of the License at |
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0 |
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software |
||||||
|
distributed under the License is distributed on an "AS IS" BASIS, |
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||||
|
See the License for the specific language governing permissions and |
||||||
|
limitations under the License. |
||||||
|
--> |
||||||
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android" |
||||||
|
package="com.google.pixelquickstep" |
||||||
|
android:versionCode="1" |
||||||
|
android:versionName="1.0"> |
||||||
|
<overlay android:targetPackage="android" android:priority="0" android:isStatic="true" /> |
||||||
|
</manifest> |
@ -0,0 +1,19 @@ |
|||||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||||
|
<!-- |
||||||
|
Copyright (c) 2018, 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. |
||||||
|
You may obtain a copy of the License at |
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0 |
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software |
||||||
|
distributed under the License is distributed on an "AS IS" BASIS, |
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||||
|
See the License for the specific language governing permissions and |
||||||
|
limitations under the License. |
||||||
|
--> |
||||||
|
<resources> |
||||||
|
<string name="config_recentsComponentName">com.google.android.apps.nexuslauncher/com.android.quickstep.RecentsActivity</string> |
||||||
|
</resources> |
@ -0,0 +1,10 @@ |
|||||||
|
LOCAL_PATH:= $(call my-dir)
|
||||||
|
|
||||||
|
include $(CLEAR_VARS) |
||||||
|
LOCAL_RRO_THEME := PixelTheme
|
||||||
|
LOCAL_PRODUCT_MODULE := true
|
||||||
|
LOCAL_CERTIFICATE := platform
|
||||||
|
LOCAL_SDK_VERSION := current
|
||||||
|
LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
|
||||||
|
LOCAL_PACKAGE_NAME := PixelTheme
|
||||||
|
include $(BUILD_RRO_PACKAGE) |
@ -0,0 +1,17 @@ |
|||||||
|
<?xml version="1.0" encoding="utf-8" standalone="no"?> |
||||||
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android" |
||||||
|
package="com.google.android.theme.pixel" |
||||||
|
android:versionCode="1" |
||||||
|
android:versionName="1.0"> |
||||||
|
|
||||||
|
<overlay android:label="Pixel" android:priority="0" android:targetPackage="android" android:isStatic="true" /> |
||||||
|
|
||||||
|
<application android:hasCode="false" |
||||||
|
android:label="Pixel" > |
||||||
|
|
||||||
|
<meta-data android:name="lineage_berry_accent_preview" |
||||||
|
android:value="#4285f4" /> |
||||||
|
|
||||||
|
</application> |
||||||
|
|
||||||
|
</manifest> |
@ -0,0 +1,26 @@ |
|||||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||||
|
<resources> |
||||||
|
<color name="user_icon_1">#ff5e97f6</color> |
||||||
|
<color name="user_icon_2">#ff5c6bc0</color> |
||||||
|
<color name="user_icon_3">#ff26a69a</color> |
||||||
|
<color name="user_icon_4">#ffec407a</color> |
||||||
|
<color name="user_icon_5">#ff33ac71</color> |
||||||
|
<color name="user_icon_6">#ff8bc34a</color> |
||||||
|
<color name="user_icon_7">#ffff9800</color> |
||||||
|
<color name="user_icon_8">#ffff7043</color> |
||||||
|
<color name="system_error">#ffea4335</color> |
||||||
|
<color name="background_device_default_light">#ffffffff</color> |
||||||
|
<color name="primary_device_default_dark">#ff2d2d2d</color> |
||||||
|
<color name="primary_device_default_settings">#ff2d2d2d</color> |
||||||
|
<color name="primary_device_default_settings_light">#fff8f9fa</color> |
||||||
|
<color name="primary_dark_device_default_dark">#ff242424</color> |
||||||
|
<color name="primary_dark_device_default_settings">#ff242424</color> |
||||||
|
<color name="primary_dark_device_default_settings_light">#ffe8eaed</color> |
||||||
|
<color name="secondary_device_default_settings">#ff3a3a3a</color> |
||||||
|
<color name="tertiary_device_default_settings">#ff616161</color> |
||||||
|
<color name="quaternary_device_default_settings">#ff9e9e9e</color> |
||||||
|
<color name="accent_device_default_light">#ff1a73e8</color> |
||||||
|
<color name="accent_device_default_dark">#ff2581df</color> |
||||||
|
<color name="error_color_device_default_dark">#ffe25142</color> |
||||||
|
<color name="error_color_device_default_light">#ffd93025</color> |
||||||
|
</resources> |
@ -0,0 +1,26 @@ |
|||||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||||
|
<resources> |
||||||
|
<public type="color" name="user_icon_1" id="0x7f020000" /> |
||||||
|
<public type="color" name="user_icon_2" id="0x7f020001" /> |
||||||
|
<public type="color" name="user_icon_3" id="0x7f020002" /> |
||||||
|
<public type="color" name="user_icon_4" id="0x7f020003" /> |
||||||
|
<public type="color" name="user_icon_5" id="0x7f020004" /> |
||||||
|
<public type="color" name="user_icon_6" id="0x7f020005" /> |
||||||
|
<public type="color" name="user_icon_7" id="0x7f020006" /> |
||||||
|
<public type="color" name="user_icon_8" id="0x7f020007" /> |
||||||
|
<public type="color" name="system_error" id="0x7f020008" /> |
||||||
|
<public type="color" name="background_device_default_light" id="0x7f020009" /> |
||||||
|
<public type="color" name="primary_device_default_dark" id="0x7f02000a" /> |
||||||
|
<public type="color" name="primary_device_default_settings" id="0x7f02000b" /> |
||||||
|
<public type="color" name="primary_device_default_settings_light" id="0x7f02000c" /> |
||||||
|
<public type="color" name="primary_dark_device_default_dark" id="0x7f02000d" /> |
||||||
|
<public type="color" name="primary_dark_device_default_settings" id="0x7f02000e" /> |
||||||
|
<public type="color" name="primary_dark_device_default_settings_light" id="0x7f02000f" /> |
||||||
|
<public type="color" name="secondary_device_default_settings" id="0x7f020010" /> |
||||||
|
<public type="color" name="tertiary_device_default_settings" id="0x7f020011" /> |
||||||
|
<public type="color" name="quaternary_device_default_settings" id="0x7f020012" /> |
||||||
|
<public type="color" name="accent_device_default_light" id="0x7f020013" /> |
||||||
|
<public type="color" name="accent_device_default_dark" id="0x7f020014" /> |
||||||
|
<public type="color" name="error_color_device_default_dark" id="0x7f020015" /> |
||||||
|
<public type="color" name="error_color_device_default_light" id="0x7f020016" /> |
||||||
|
</resources> |
@ -0,0 +1,44 @@ |
|||||||
|
include vendor/google_pixel/codenames.mk |
||||||
|
|
||||||
|
## Exclude us from RRO enforcement, as it is broken at the moment
|
||||||
|
PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS += vendor/google_pixel
|
||||||
|
|
||||||
|
## Google Fonts
|
||||||
|
# LineageOS already defines font_customization.xml, and there's no way to override it.
|
||||||
|
# Therefore, on LineageOS run `repopick -f 289513` prior to every build.
|
||||||
|
ifndef LINEAGE_BUILD |
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
vendor/google_pixel/google-fonts/google-fonts.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/fonts_customization.xml
|
||||||
|
endif |
||||||
|
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
GoogleFonts
|
||||||
|
|
||||||
|
## Pixel Apps
|
||||||
|
include vendor/google_pixel/apps/GoogleApps.mk |
||||||
|
|
||||||
|
## Pixel Sounds
|
||||||
|
# Don't build on devices with limited partition sizes
|
||||||
|
ifneq ($(WITH_GMS_MINIMAL),true) |
||||||
|
include vendor/google_pixel/sounds/GoogleAudio.mk |
||||||
|
endif |
||||||
|
|
||||||
|
## Pixel Theme
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
PixelTheme \
|
||||||
|
PixelQuickstep
|
||||||
|
|
||||||
|
PRODUCT_PACKAGE_OVERLAYS += vendor/google_pixel/overlays/overlay-theme
|
||||||
|
PRODUCT_PRODUCT_PROPERTIES += ro.atrace.core.services=com.google.android.gms,com.google.android.gms.ui,com.google.android.gms.persistent
|
||||||
|
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
|
||||||
|
ro.boot.vendor.overlay.theme=com.google.android.theme.pixel;com.android.internal.systemui.navbar.gestural;com.android.theme.icon.circle \
|
||||||
|
ro.com.google.ime.bs_theme=true \
|
||||||
|
ro.com.google.ime.theme_id=5 \
|
||||||
|
ro.opa.eligible_device=true
|
||||||
|
|
||||||
|
## Turbo
|
||||||
|
# Only include on Pixels
|
||||||
|
ifneq ($(filter $(TURBO_CODENAMES),$(TARGET_PRODUCT)),) |
||||||
|
$(call inherit-product-if-exists, vendor/partner_gms/products/turbo.mk) |
||||||
|
PRODUCT_PACKAGE_OVERLAYS += vendor/google_pixel/overlays/overlay-turbo
|
||||||
|
endif |
@ -0,0 +1,11 @@ |
|||||||
|
LOCAL_PATH := $(call my-dir)
|
||||||
|
|
||||||
|
include $(CLEAR_VARS) |
||||||
|
LOCAL_MODULE := SoundPickerPrebuilt
|
||||||
|
LOCAL_MODULE_OWNER := google
|
||||||
|
LOCAL_MODULE_TAGS := optional
|
||||||
|
LOCAL_MODULE_CLASS := APPS
|
||||||
|
LOCAL_CERTIFICATE := PRESIGNED
|
||||||
|
LOCAL_DEX_PREOPT := false
|
||||||
|
LOCAL_SRC_FILES := $(LOCAL_MODULE).apk
|
||||||
|
include $(BUILD_PREBUILT) |
@ -0,0 +1,76 @@ |
|||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
SoundPickerPrebuilt
|
||||||
|
|
||||||
|
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
|
||||||
|
ro.config.alarm_alert=Bright_morning.ogg \
|
||||||
|
ro.config.notification_sound=Popcorn.ogg \
|
||||||
|
ro.config.ringtone=The_big_adventure.ogg
|
||||||
|
|
||||||
|
LOCAL_PATH := vendor/google_pixel/sounds
|
||||||
|
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
$(LOCAL_PATH)/material/alarms/A_real_hoot.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/A_real_hoot.ogg \
|
||||||
|
$(LOCAL_PATH)/material/alarms/Bright_morning.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/Bright_morning.ogg \
|
||||||
|
$(LOCAL_PATH)/material/alarms/Cuckoo_clock.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/Cuckoo_clock.ogg \
|
||||||
|
$(LOCAL_PATH)/material/alarms/Early_twilight.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/Early_twilight.ogg \
|
||||||
|
$(LOCAL_PATH)/material/alarms/Full_of_wonder.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/Full_of_wonder.ogg \
|
||||||
|
$(LOCAL_PATH)/material/alarms/Gentle_breeze.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/Gentle_breeze.ogg \
|
||||||
|
$(LOCAL_PATH)/material/alarms/Icicles.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/Icicles.ogg \
|
||||||
|
$(LOCAL_PATH)/material/alarms/Jump_start.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/Jump_start.ogg \
|
||||||
|
$(LOCAL_PATH)/material/alarms/Loose_change.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/Loose_change.ogg \
|
||||||
|
$(LOCAL_PATH)/material/alarms/Rolling_fog.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/Rolling_fog.ogg \
|
||||||
|
$(LOCAL_PATH)/material/alarms/Spokes.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/Spokes.ogg \
|
||||||
|
$(LOCAL_PATH)/material/alarms/Sunshower.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/Sunshower.ogg \
|
||||||
|
$(LOCAL_PATH)/material/ui/audio_end.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/audio_end.ogg \
|
||||||
|
$(LOCAL_PATH)/material/ui/audio_initiate.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/audio_initiate.ogg \
|
||||||
|
$(LOCAL_PATH)/material/ui/camera_click.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/camera_click.ogg \
|
||||||
|
$(LOCAL_PATH)/material/ui/camera_focus.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/camera_focus.ogg \
|
||||||
|
$(LOCAL_PATH)/material/ui/ChargingStarted.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/ChargingStarted.ogg \
|
||||||
|
$(LOCAL_PATH)/material/ui/Dock.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/Dock.ogg \
|
||||||
|
$(LOCAL_PATH)/material/ui/Effect_Tick.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/Effect_Tick.ogg \
|
||||||
|
$(LOCAL_PATH)/material/ui/InCallNotification.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/InCallNotification.ogg \
|
||||||
|
$(LOCAL_PATH)/material/ui/KeypressDelete.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/KeypressDelete.ogg \
|
||||||
|
$(LOCAL_PATH)/material/ui/KeypressInvalid.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/KeypressInvalid.ogg \
|
||||||
|
$(LOCAL_PATH)/material/ui/KeypressReturn.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/KeypressReturn.ogg \
|
||||||
|
$(LOCAL_PATH)/material/ui/KeypressSpacebar.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/KeypressSpacebar.ogg \
|
||||||
|
$(LOCAL_PATH)/material/ui/KeypressStandard.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/KeypressStandard.ogg \
|
||||||
|
$(LOCAL_PATH)/material/ui/Lock.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/Lock.ogg \
|
||||||
|
$(LOCAL_PATH)/material/ui/LowBattery.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/LowBattery.ogg \
|
||||||
|
$(LOCAL_PATH)/material/ui/NFCFailure.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/NFCFailure.ogg \
|
||||||
|
$(LOCAL_PATH)/material/ui/NFCInitiated.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/NFCInitiated.ogg \
|
||||||
|
$(LOCAL_PATH)/material/ui/NFCSuccess.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/NFCSuccess.ogg \
|
||||||
|
$(LOCAL_PATH)/material/ui/NFCTransferComplete.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/NFCTransferComplete.ogg \
|
||||||
|
$(LOCAL_PATH)/material/ui/NFCTransferInitiated.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/NFCTransferInitiated.ogg \
|
||||||
|
$(LOCAL_PATH)/material/ui/Trusted.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/Trusted.ogg \
|
||||||
|
$(LOCAL_PATH)/material/ui/Undock.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/Undock.ogg \
|
||||||
|
$(LOCAL_PATH)/material/ui/Unlock.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/Unlock.ogg \
|
||||||
|
$(LOCAL_PATH)/material/ui/VideoRecord.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/VideoRecord.ogg \
|
||||||
|
$(LOCAL_PATH)/material/ui/VideoStop.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/VideoStop.ogg \
|
||||||
|
$(LOCAL_PATH)/material/ui/WirelessChargingStarted.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/WirelessChargingStarted.ogg \
|
||||||
|
$(LOCAL_PATH)/material/notifications/Beginning.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/notifications/Beginning.ogg \
|
||||||
|
$(LOCAL_PATH)/material/notifications/Coconuts.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/notifications/Coconuts.ogg \
|
||||||
|
$(LOCAL_PATH)/material/notifications/Duet.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/notifications/Duet.ogg \
|
||||||
|
$(LOCAL_PATH)/material/notifications/End_note.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/notifications/End_note.ogg \
|
||||||
|
$(LOCAL_PATH)/material/notifications/Gentle_gong.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/notifications/Gentle_gong.ogg \
|
||||||
|
$(LOCAL_PATH)/material/notifications/Mallet.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/notifications/Mallet.ogg \
|
||||||
|
$(LOCAL_PATH)/material/notifications/Orders_up.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/notifications/Orders_up.ogg \
|
||||||
|
$(LOCAL_PATH)/material/notifications/Ping.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/notifications/Ping.ogg \
|
||||||
|
$(LOCAL_PATH)/material/notifications/Pipes.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/notifications/Pipes.ogg \
|
||||||
|
$(LOCAL_PATH)/material/notifications/Popcorn.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/notifications/Popcorn.ogg \
|
||||||
|
$(LOCAL_PATH)/material/notifications/Shopkeeper.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/notifications/Shopkeeper.ogg \
|
||||||
|
$(LOCAL_PATH)/material/notifications/Sticks_and_stones.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/notifications/Sticks_and_stones.ogg \
|
||||||
|
$(LOCAL_PATH)/material/notifications/Tuneup.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/notifications/Tuneup.ogg \
|
||||||
|
$(LOCAL_PATH)/material/notifications/Tweeter.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/notifications/Tweeter.ogg \
|
||||||
|
$(LOCAL_PATH)/material/notifications/Twinkle.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/notifications/Twinkle.ogg \
|
||||||
|
$(LOCAL_PATH)/material/ringtones/Copycat.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ringtones/Copycat.ogg \
|
||||||
|
$(LOCAL_PATH)/material/ringtones/Crackle.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ringtones/Crackle.ogg \
|
||||||
|
$(LOCAL_PATH)/material/ringtones/Flutterby.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ringtones/Flutterby.ogg \
|
||||||
|
$(LOCAL_PATH)/material/ringtones/Hotline.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ringtones/Hotline.ogg \
|
||||||
|
$(LOCAL_PATH)/material/ringtones/Leaps_and_bounds.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ringtones/Leaps_and_bounds.ogg \
|
||||||
|
$(LOCAL_PATH)/material/ringtones/Lollipop.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ringtones/Lollipop.ogg \
|
||||||
|
$(LOCAL_PATH)/material/ringtones/Lost_and_found.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ringtones/Lost_and_found.ogg \
|
||||||
|
$(LOCAL_PATH)/material/ringtones/Mash_up.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ringtones/Mash_up.ogg \
|
||||||
|
$(LOCAL_PATH)/material/ringtones/Monkey_around.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ringtones/Monkey_around.ogg \
|
||||||
|
$(LOCAL_PATH)/material/ringtones/Schools_out.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ringtones/Schools_out.ogg \
|
||||||
|
$(LOCAL_PATH)/material/ringtones/The_big_adventure.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ringtones/The_big_adventure.ogg \
|
||||||
|
$(LOCAL_PATH)/material/ringtones/Zen_too.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ringtones/Zen_too.ogg
|