android_vendor_aospa/props.mk

44 lines
1.7 KiB
Makefile

# Copyright (C) 2013-2019 Paranoid Android
#
# 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.
# Include versioning information
# Format: AndroidVersion.Major.Maintenance (-TAG)
export PA_VERSION := PA1-DEV
export ROM_VERSION := $(PA_VERSION)-$(shell date -u +%Y%m%d)
ADDITIONAL_BUILD_PROPERTIES += \
ro.modversion=$(ROM_VERSION) \
ro.pa.version=$(PA_VERSION)
# Override undesired Google defaults
ADDITIONAL_BUILD_PROPERTIES += \
keyguard.no_require_sim=true \
ro.com.android.dateformat=MM-dd-yyyy \
ro.com.android.wifi-watchlist=GoogleGuest \
ro.com.google.clientidbase=android-google \
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html \
ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html \
ro.setupwizard.require_network=any \
ro.setupwizard.mode=OPTIONAL \
ro.opa.eligible_device=true
# Override old AOSP default sounds with newer Google stock ones
ADDITIONAL_BUILD_PROPERTIES += \
ro.config.alarm_alert=Osmium.ogg \
ro.config.notification_sound=Ariel.ogg \
ro.config.ringtone=Titania.ogg
# Allow tethering without provisioning app
ADDITIONAL_BUILD_PROPERTIES += net.tethering.noprovisioning=true