upload android base code part8
569
android/packages/apps/Dialer/Android.mk
Normal file
|
@ -0,0 +1,569 @@
|
|||
# Local modifications:
|
||||
# * removed com.google.android.backup.api_key. This should be added to
|
||||
# the manifest in the top level directory.
|
||||
# * removed com.google.android.geo.API_KEY key. This should be added to
|
||||
# the manifest files in java/com/android/incallui/calllocation/impl/
|
||||
# and /java/com/android/incallui/maps/impl/
|
||||
# * b/62417801 modify translation string naming convention:
|
||||
# $ find . -type d | grep 262 | rename 's/(values)\-([a-zA-Z\+\-]+)\-(mcc262-mnc01)/$1-$3-$2/'
|
||||
# * b/62343966 include manually generated GRPC service class:
|
||||
# $ protoc --plugin=protoc-gen-grpc-java=prebuilts/tools/common/m2/repository/io/grpc/protoc-gen-grpc-java/1.0.3/protoc-gen-grpc-java-1.0.3-linux-x86_64.exe \
|
||||
# --grpc-java_out=lite:"packages/apps/Dialer/java/com/android/voicemail/impl/" \
|
||||
# --proto_path="packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/grpc/" "packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/grpc/voicemail_transcription.proto"
|
||||
# * b/37077388 temporarily disable proguard with javac
|
||||
LOCAL_PATH:= $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
ifeq ($(TARGET_BUILD_APPS),)
|
||||
support_library_root_dir := frameworks/support
|
||||
else
|
||||
support_library_root_dir := prebuilts/sdk/current/support
|
||||
endif
|
||||
|
||||
# The base directory for Dialer sources.
|
||||
BASE_DIR := java/com/android
|
||||
|
||||
# Primary dialer module sources.
|
||||
SRC_DIRS := \
|
||||
$(BASE_DIR)/contacts/common \
|
||||
$(BASE_DIR)/dialer \
|
||||
$(BASE_DIR)/dialershared \
|
||||
$(BASE_DIR)/incallui \
|
||||
$(BASE_DIR)/voicemail
|
||||
|
||||
# Exclude files incompatible with AOSP.
|
||||
EXCLUDE_FILES := \
|
||||
$(BASE_DIR)/incallui/calllocation/impl/AuthException.java \
|
||||
$(BASE_DIR)/incallui/calllocation/impl/CallLocationImpl.java \
|
||||
$(BASE_DIR)/incallui/calllocation/impl/CallLocationModule.java \
|
||||
$(BASE_DIR)/incallui/calllocation/impl/DownloadMapImageTask.java \
|
||||
$(BASE_DIR)/incallui/calllocation/impl/GoogleLocationSettingHelper.java \
|
||||
$(BASE_DIR)/incallui/calllocation/impl/HttpFetcher.java \
|
||||
$(BASE_DIR)/incallui/calllocation/impl/LocationFragment.java \
|
||||
$(BASE_DIR)/incallui/calllocation/impl/LocationHelper.java \
|
||||
$(BASE_DIR)/incallui/calllocation/impl/LocationPresenter.java \
|
||||
$(BASE_DIR)/incallui/calllocation/impl/LocationUrlBuilder.java \
|
||||
$(BASE_DIR)/incallui/calllocation/impl/ReverseGeocodeTask.java \
|
||||
$(BASE_DIR)/incallui/calllocation/impl/TrafficStatsTags.java \
|
||||
$(BASE_DIR)/incallui/maps/impl/MapsImpl.java \
|
||||
$(BASE_DIR)/incallui/maps/impl/MapsModule.java \
|
||||
$(BASE_DIR)/incallui/maps/impl/StaticMapFragment.java \
|
||||
|
||||
# Exclude testing only class, not used anywhere here
|
||||
EXCLUDE_FILES += \
|
||||
$(BASE_DIR)/contacts/common/format/testing/SpannedTestUtils.java
|
||||
|
||||
# Exclude build variants for now
|
||||
EXCLUDE_FILES += \
|
||||
$(BASE_DIR)/dialer/buildtype/bugfood/BuildTypeAccessorImpl.java \
|
||||
$(BASE_DIR)/dialer/buildtype/dogfood/BuildTypeAccessorImpl.java \
|
||||
$(BASE_DIR)/dialer/buildtype/fishfood/BuildTypeAccessorImpl.java \
|
||||
$(BASE_DIR)/dialer/buildtype/test/BuildTypeAccessorImpl.java \
|
||||
$(BASE_DIR)/dialer/constants/googledialer/ConstantsImpl.java \
|
||||
$(BASE_DIR)/dialer/binary/google/GoogleStubDialerRootComponent.java \
|
||||
$(BASE_DIR)/dialer/binary/google/GoogleStubDialerApplication.java
|
||||
|
||||
# All Dialers resources.
|
||||
# find . -type d -name "res" | uniq | sort
|
||||
RES_DIRS := \
|
||||
assets/product/res \
|
||||
assets/quantum/res \
|
||||
$(BASE_DIR)/contacts/common/res \
|
||||
$(BASE_DIR)/dialer/about/res \
|
||||
$(BASE_DIR)/dialer/app/res \
|
||||
$(BASE_DIR)/dialer/app/voicemail/error/res \
|
||||
$(BASE_DIR)/dialer/blocking/res \
|
||||
$(BASE_DIR)/dialer/callcomposer/camera/camerafocus/res \
|
||||
$(BASE_DIR)/dialer/callcomposer/cameraui/res \
|
||||
$(BASE_DIR)/dialer/callcomposer/res \
|
||||
$(BASE_DIR)/dialer/calldetails/res \
|
||||
$(BASE_DIR)/dialer/calllog/ui/res \
|
||||
$(BASE_DIR)/dialer/calllogutils/res \
|
||||
$(BASE_DIR)/dialer/common/res \
|
||||
$(BASE_DIR)/dialer/contactactions/res \
|
||||
$(BASE_DIR)/dialer/contactsfragment/res \
|
||||
$(BASE_DIR)/dialer/dialpadview/res \
|
||||
$(BASE_DIR)/dialer/enrichedcall/simulator/res \
|
||||
$(BASE_DIR)/dialer/interactions/res \
|
||||
$(BASE_DIR)/dialer/main/impl/res \
|
||||
$(BASE_DIR)/dialer/notification/res \
|
||||
$(BASE_DIR)/dialer/oem/res \
|
||||
$(BASE_DIR)/dialer/phonenumberutil/res \
|
||||
$(BASE_DIR)/dialer/postcall/res \
|
||||
$(BASE_DIR)/dialer/searchfragment/common/res \
|
||||
$(BASE_DIR)/dialer/searchfragment/list/res \
|
||||
$(BASE_DIR)/dialer/searchfragment/nearbyplaces/res \
|
||||
$(BASE_DIR)/dialershared/bubble/res \
|
||||
$(BASE_DIR)/dialer/shortcuts/res \
|
||||
$(BASE_DIR)/dialer/speeddial/res \
|
||||
$(BASE_DIR)/dialer/theme/res \
|
||||
$(BASE_DIR)/dialer/util/res \
|
||||
$(BASE_DIR)/dialer/voicemailstatus/res \
|
||||
$(BASE_DIR)/dialer/widget/res \
|
||||
$(BASE_DIR)/incallui/answer/impl/affordance/res \
|
||||
$(BASE_DIR)/incallui/answer/impl/answermethod/res \
|
||||
$(BASE_DIR)/incallui/answer/impl/hint/res \
|
||||
$(BASE_DIR)/incallui/answer/impl/res \
|
||||
$(BASE_DIR)/incallui/audioroute/res \
|
||||
$(BASE_DIR)/incallui/autoresizetext/res \
|
||||
$(BASE_DIR)/incallui/calllocation/impl/res \
|
||||
$(BASE_DIR)/incallui/commontheme/res \
|
||||
$(BASE_DIR)/incallui/contactgrid/res \
|
||||
$(BASE_DIR)/incallui/disconnectdialog/res \
|
||||
$(BASE_DIR)/incallui/hold/res \
|
||||
$(BASE_DIR)/incallui/incall/impl/res \
|
||||
$(BASE_DIR)/incallui/res \
|
||||
$(BASE_DIR)/incallui/sessiondata/res \
|
||||
$(BASE_DIR)/incallui/speakerbuttonlogic/res \
|
||||
$(BASE_DIR)/incallui/telecomeventui/res \
|
||||
$(BASE_DIR)/incallui/video/impl/res \
|
||||
$(BASE_DIR)/incallui/video/protocol/res \
|
||||
$(BASE_DIR)/voicemail/impl/configui/res \
|
||||
$(BASE_DIR)/voicemail/impl/res \
|
||||
|
||||
|
||||
# Dialer manifest files to merge.
|
||||
# find . -type f -name "AndroidManifest.xml" | uniq | sort
|
||||
DIALER_MANIFEST_FILES += \
|
||||
$(BASE_DIR)/contacts/common/AndroidManifest.xml \
|
||||
$(BASE_DIR)/dialer/about/AndroidManifest.xml \
|
||||
$(BASE_DIR)/dialer/app/AndroidManifest.xml \
|
||||
$(BASE_DIR)/dialer/app/manifests/activities/AndroidManifest.xml \
|
||||
$(BASE_DIR)/dialer/app/voicemail/error/AndroidManifest.xml \
|
||||
$(BASE_DIR)/dialer/backup/AndroidManifest.xml \
|
||||
$(BASE_DIR)/dialer/blocking/AndroidManifest.xml \
|
||||
$(BASE_DIR)/dialer/callcomposer/AndroidManifest.xml \
|
||||
$(BASE_DIR)/dialer/callcomposer/camera/AndroidManifest.xml \
|
||||
$(BASE_DIR)/dialer/callcomposer/camera/camerafocus/AndroidManifest.xml \
|
||||
$(BASE_DIR)/dialer/callcomposer/cameraui/AndroidManifest.xml \
|
||||
$(BASE_DIR)/dialer/calldetails/AndroidManifest.xml \
|
||||
$(BASE_DIR)/dialer/calllog/ui/AndroidManifest.xml \
|
||||
$(BASE_DIR)/dialer/calllogutils/AndroidManifest.xml \
|
||||
$(BASE_DIR)/dialer/common/AndroidManifest.xml \
|
||||
$(BASE_DIR)/dialer/contactactions/AndroidManifest.xml \
|
||||
$(BASE_DIR)/dialer/contactsfragment/AndroidManifest.xml \
|
||||
$(BASE_DIR)/dialer/dialpadview/AndroidManifest.xml \
|
||||
$(BASE_DIR)/dialer/enrichedcall/simulator/AndroidManifest.xml \
|
||||
$(BASE_DIR)/dialer/interactions/AndroidManifest.xml \
|
||||
$(BASE_DIR)/dialer/main/impl/AndroidManifest.xml \
|
||||
$(BASE_DIR)/dialer/notification/AndroidManifest.xml \
|
||||
$(BASE_DIR)/dialer/oem/AndroidManifest.xml \
|
||||
$(BASE_DIR)/dialer/phonenumberutil/AndroidManifest.xml \
|
||||
$(BASE_DIR)/dialer/postcall/AndroidManifest.xml \
|
||||
$(BASE_DIR)/dialer/searchfragment/common/AndroidManifest.xml \
|
||||
$(BASE_DIR)/dialer/searchfragment/list/AndroidManifest.xml \
|
||||
$(BASE_DIR)/dialer/searchfragment/nearbyplaces/AndroidManifest.xml \
|
||||
$(BASE_DIR)/dialershared/bubble/AndroidManifest.xml \
|
||||
$(BASE_DIR)/dialer/shortcuts/AndroidManifest.xml \
|
||||
$(BASE_DIR)/dialer/simulator/impl/AndroidManifest.xml \
|
||||
$(BASE_DIR)/dialer/speeddial/AndroidManifest.xml \
|
||||
$(BASE_DIR)/dialer/theme/AndroidManifest.xml \
|
||||
$(BASE_DIR)/dialer/util/AndroidManifest.xml \
|
||||
$(BASE_DIR)/dialer/voicemailstatus/AndroidManifest.xml \
|
||||
$(BASE_DIR)/dialer/widget/AndroidManifest.xml \
|
||||
$(BASE_DIR)/incallui/AndroidManifest.xml \
|
||||
$(BASE_DIR)/incallui/answer/impl/affordance/AndroidManifest.xml \
|
||||
$(BASE_DIR)/incallui/answer/impl/AndroidManifest.xml \
|
||||
$(BASE_DIR)/incallui/answer/impl/answermethod/AndroidManifest.xml \
|
||||
$(BASE_DIR)/incallui/answer/impl/hint/AndroidManifest.xml \
|
||||
$(BASE_DIR)/incallui/audioroute/AndroidManifest.xml \
|
||||
$(BASE_DIR)/incallui/autoresizetext/AndroidManifest.xml \
|
||||
$(BASE_DIR)/incallui/commontheme/AndroidManifest.xml \
|
||||
$(BASE_DIR)/incallui/contactgrid/AndroidManifest.xml \
|
||||
$(BASE_DIR)/incallui/disconnectdialog/AndroidManifest.xml \
|
||||
$(BASE_DIR)/incallui/hold/AndroidManifest.xml \
|
||||
$(BASE_DIR)/incallui/incall/impl/AndroidManifest.xml \
|
||||
$(BASE_DIR)/incallui/sessiondata/AndroidManifest.xml \
|
||||
$(BASE_DIR)/incallui/speakerbuttonlogic/AndroidManifest.xml \
|
||||
$(BASE_DIR)/incallui/telecomeventui/AndroidManifest.xml \
|
||||
$(BASE_DIR)/incallui/video/impl/AndroidManifest.xml \
|
||||
$(BASE_DIR)/incallui/video/protocol/AndroidManifest.xml \
|
||||
$(BASE_DIR)/voicemail/AndroidManifest.xml \
|
||||
$(BASE_DIR)/voicemail/impl/configui/AndroidManifest.xml \
|
||||
$(BASE_DIR)/voicemail/impl/AndroidManifest.xml \
|
||||
|
||||
|
||||
# Merge all manifest files.
|
||||
LOCAL_FULL_LIBS_MANIFEST_FILES := \
|
||||
$(addprefix $(LOCAL_PATH)/, $(DIALER_MANIFEST_FILES))
|
||||
LOCAL_SRC_FILES := $(call all-java-files-under, $(SRC_DIRS))
|
||||
LOCAL_SRC_FILES := $(filter-out $(EXCLUDE_FILES),$(LOCAL_SRC_FILES))
|
||||
LOCAL_SRC_FILES += $(call all-proto-files-under, $(SRC_DIRS))
|
||||
|
||||
# Backup Library
|
||||
BACKUP_LIB_SRC_DIR := ../../../external/libbackup/src/com/google/android/libraries/backup
|
||||
EXCLUDE_BACKUP_LIB_SRCS := $(call all-java-files-under, $(BACKUP_LIB_SRC_DIR)/shadow)
|
||||
LOCAL_SRC_FILES += $(call all-java-files-under, $(BACKUP_LIB_SRC_DIR))
|
||||
LOCAL_SRC_FILES := $(filter-out $(EXCLUDE_BACKUP_LIB_SRCS),$(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_PROTOC_FLAGS := --proto_path=$(LOCAL_PATH)
|
||||
|
||||
LOCAL_RESOURCE_DIR := \
|
||||
$(addprefix $(LOCAL_PATH)/, $(RES_DIRS)) \
|
||||
$(support_library_root_dir)/design/res \
|
||||
$(support_library_root_dir)/transition/res \
|
||||
$(support_library_root_dir)/v7/appcompat/res \
|
||||
$(support_library_root_dir)/v7/cardview/res \
|
||||
$(support_library_root_dir)/v7/recyclerview/res
|
||||
|
||||
# We specify each package explicitly to glob resource files.
|
||||
LOCAL_AAPT_FLAGS := \
|
||||
--auto-add-overlay \
|
||||
--extra-packages com.android.contacts.common \
|
||||
--extra-packages com.android.dialer.about \
|
||||
--extra-packages com.android.dialer.app \
|
||||
--extra-packages com.android.dialer.app.voicemail.error \
|
||||
--extra-packages com.android.dialer.blocking \
|
||||
--extra-packages com.android.dialer.callcomposer \
|
||||
--extra-packages com.android.dialer.callcomposer \
|
||||
--extra-packages com.android.dialer.callcomposer.camera \
|
||||
--extra-packages com.android.dialer.callcomposer.camera.camerafocus \
|
||||
--extra-packages com.android.dialer.callcomposer.cameraui \
|
||||
--extra-packages com.android.dialer.calldetails \
|
||||
--extra-packages com.android.dialer.calllog.ui \
|
||||
--extra-packages com.android.dialer.calllogutils \
|
||||
--extra-packages com.android.dialer.common \
|
||||
--extra-packages com.android.dialer.contactactions \
|
||||
--extra-packages com.android.dialer.contactsfragment \
|
||||
--extra-packages com.android.dialer.dialpadview \
|
||||
--extra-packages com.android.dialer.enrichedcall.simulator \
|
||||
--extra-packages com.android.dialer.interactions \
|
||||
--extra-packages com.android.dialer.main.impl \
|
||||
--extra-packages com.android.dialer.notification \
|
||||
--extra-packages com.android.dialer.oem \
|
||||
--extra-packages com.android.dialer.phonenumberutil \
|
||||
--extra-packages com.android.dialer.postcall \
|
||||
--extra-packages com.android.dialer.searchfragment.common \
|
||||
--extra-packages com.android.dialer.searchfragment.list \
|
||||
--extra-packages com.android.dialer.searchfragment.nearbyplaces \
|
||||
--extra-packages com.android.dialershared.bubble \
|
||||
--extra-packages com.android.dialer.shortcuts \
|
||||
--extra-packages com.android.dialer.speeddial \
|
||||
--extra-packages com.android.dialer.theme \
|
||||
--extra-packages com.android.dialer.util \
|
||||
--extra-packages com.android.dialer.voicemailstatus \
|
||||
--extra-packages com.android.dialer.widget \
|
||||
--extra-packages com.android.incallui \
|
||||
--extra-packages com.android.incallui.answer.impl \
|
||||
--extra-packages com.android.incallui.answer.impl.affordance \
|
||||
--extra-packages com.android.incallui.answer.impl.affordance \
|
||||
--extra-packages com.android.incallui.answer.impl.answermethod \
|
||||
--extra-packages com.android.incallui.answer.impl.hint \
|
||||
--extra-packages com.android.incallui.audioroute \
|
||||
--extra-packages com.android.incallui.autoresizetext \
|
||||
--extra-packages com.android.incallui.calllocation \
|
||||
--extra-packages com.android.incallui.calllocation.impl \
|
||||
--extra-packages com.android.incallui.commontheme \
|
||||
--extra-packages com.android.incallui.contactgrid \
|
||||
--extra-packages com.android.incallui.disconnectdialog \
|
||||
--extra-packages com.android.incallui.hold \
|
||||
--extra-packages com.android.incallui.incall.impl \
|
||||
--extra-packages com.android.incallui.maps.impl \
|
||||
--extra-packages com.android.incallui.sessiondata \
|
||||
--extra-packages com.android.incallui.speakerbuttonlogic \
|
||||
--extra-packages com.android.incallui.telecomeventui \
|
||||
--extra-packages com.android.incallui.video \
|
||||
--extra-packages com.android.incallui.video.impl \
|
||||
--extra-packages com.android.phone.common \
|
||||
--extra-packages com.android.voicemail \
|
||||
--extra-packages com.android.voicemail.impl.configui \
|
||||
--extra-packages com.android.voicemail.impl \
|
||||
--extra-packages com.android.voicemail.impl.fetch \
|
||||
--extra-packages com.android.voicemail.impl.settings \
|
||||
--extra-packages com.android.voicemail.settings \
|
||||
--extra-packages me.leolin.shortcutbadger \
|
||||
|
||||
|
||||
LOCAL_STATIC_JAVA_LIBRARIES := \
|
||||
android-common \
|
||||
android-support-dynamic-animation \
|
||||
com.android.vcard \
|
||||
dialer-commons-io-target \
|
||||
dialer-dagger2-target \
|
||||
dialer-disklrucache-target \
|
||||
dialer-gifdecoder-target \
|
||||
dialer-glide-target \
|
||||
dialer-grpc-all-target \
|
||||
dialer-grpc-context-target \
|
||||
dialer-grpc-core-target \
|
||||
dialer-grpc-okhttp-target \
|
||||
dialer-grpc-protobuf-lite-target \
|
||||
dialer-grpc-stub-target \
|
||||
dialer-guava-target \
|
||||
dialer-javax-annotation-api-target \
|
||||
dialer-javax-inject-target \
|
||||
dialer-libshortcutbadger-target \
|
||||
dialer-mime4j-core-target \
|
||||
dialer-mime4j-dom-target \
|
||||
jsr305 \
|
||||
libphonenumber \
|
||||
okhttp \
|
||||
volley \
|
||||
|
||||
LOCAL_STATIC_ANDROID_LIBRARIES := \
|
||||
android-support-design \
|
||||
android-support-transition \
|
||||
android-support-v13 \
|
||||
android-support-v4 \
|
||||
android-support-v7-appcompat \
|
||||
android-support-v7-cardview \
|
||||
android-support-v7-recyclerview \
|
||||
|
||||
LOCAL_JAVA_LIBRARIES := \
|
||||
dialer-auto-value \
|
||||
org.apache.http.legacy \
|
||||
|
||||
# Libraries needed by the compiler (JACK) to generate code.
|
||||
PROCESSOR_LIBRARIES_TARGET := \
|
||||
dialer-auto-value \
|
||||
dialer-dagger2 \
|
||||
dialer-dagger2-compiler \
|
||||
dialer-dagger2-producers \
|
||||
dialer-guava \
|
||||
dialer-javax-annotation-api \
|
||||
dialer-javax-inject \
|
||||
|
||||
# Resolve the jar paths.
|
||||
PROCESSOR_JARS := $(call java-lib-deps, $(PROCESSOR_LIBRARIES_TARGET))
|
||||
# Necessary for annotation processors to work correctly.
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES += $(PROCESSOR_JARS)
|
||||
|
||||
LOCAL_JACK_FLAGS += --processorpath $(call normalize-path-list,$(PROCESSOR_JARS))
|
||||
LOCAL_JAVACFLAGS += -processorpath $(call normalize-path-list,$(PROCESSOR_JARS))
|
||||
|
||||
|
||||
# Begin Bug: 37077388
|
||||
LOCAL_DX_FLAGS := --multi-dex
|
||||
LOCAL_JACK_FLAGS := --multi-dex native
|
||||
|
||||
LOCAL_PROGUARD_ENABLED := disabled
|
||||
ifdef LOCAL_JACK_ENABLED
|
||||
# Proguard includes
|
||||
LOCAL_PROGUARD_FLAG_FILES := \
|
||||
java/com/android/dialer/common/proguard.flags \
|
||||
java/com/android/dialer/proguard/proguard_base.flags \
|
||||
java/com/android/dialer/proguard/proguard.flags \
|
||||
java/com/android/dialer/proguard/proguard_release.flags \
|
||||
java/com/android/incallui/answer/impl/proguard.flags
|
||||
LOCAL_PROGUARD_ENABLED := custom
|
||||
|
||||
LOCAL_PROGUARD_ENABLED += optimization
|
||||
endif
|
||||
|
||||
# End Bug: 37077388
|
||||
|
||||
LOCAL_SDK_VERSION := system_current
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_PACKAGE_NAME := Dialer
|
||||
LOCAL_CERTIFICATE := shared
|
||||
LOCAL_PRIVILEGED_MODULE := true
|
||||
LOCAL_USE_AAPT2 := true
|
||||
|
||||
# b/37483961 - Jack Not Compiling Dagger Class Properly
|
||||
LOCAL_JACK_ENABLED := javac_frontend
|
||||
|
||||
include $(BUILD_PACKAGE)
|
||||
|
||||
# Cleanup local state
|
||||
BASE_DIR :=
|
||||
SRC_DIRS :=
|
||||
EXCLUDE_FILES :=
|
||||
RES_DIRS :=
|
||||
DIALER_MANIFEST_FILES :=
|
||||
PROCESSOR_LIBRARIES_TARGET :=
|
||||
PROCESSOR_JARS :=
|
||||
BACKUP_LIB_SRC_DIR :=
|
||||
EXCLUDE_BACKUP_LIB_SRCS :=
|
||||
|
||||
# Create references to prebuilt libraries.
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := \
|
||||
dialer-auto-value:../../../prebuilts/tools/common/m2/repository/com/google/auto/value/auto-value/1.3/auto-value-1.3$(COMMON_JAVA_PACKAGE_SUFFIX) \
|
||||
dialer-dagger2-compiler:../../../prebuilts/tools/common/m2/repository/com/google/dagger/dagger-compiler/2.7/dagger-compiler-2.7$(COMMON_JAVA_PACKAGE_SUFFIX) \
|
||||
dialer-dagger2:../../../prebuilts/tools/common/m2/repository/com/google/dagger/dagger/2.7/dagger-2.7$(COMMON_JAVA_PACKAGE_SUFFIX) \
|
||||
dialer-dagger2-producers:../../../prebuilts/tools/common/m2/repository/com/google/dagger/dagger-producers/2.7/dagger-producers-2.7$(COMMON_JAVA_PACKAGE_SUFFIX) \
|
||||
dialer-grpc-all:../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-all/1.0.3/grpc-all-1.0.3$(COMMON_JAVA_PACKAGE_SUFFIX) \
|
||||
dialer-grpc-core:../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-core/1.0.3/grpc-core-1.0.3$(COMMON_JAVA_PACKAGE_SUFFIX) \
|
||||
dialer-grpc-okhttp:../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-okhttp/1.0.3/grpc-okhttp-1.0.3$(COMMON_JAVA_PACKAGE_SUFFIX) \
|
||||
dialer-grpc-protobuf-lite:../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-protobuf-lite/1.0.3/grpc-protobuf-lite-1.0.3$(COMMON_JAVA_PACKAGE_SUFFIX) \
|
||||
dialer-grpc-stub:../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-stub/1.0.3/grpc-stub-1.0.3$(COMMON_JAVA_PACKAGE_SUFFIX) \
|
||||
dialer-guava:../../../prebuilts/tools/common/m2/repository/com/google/guava/guava/20.0/guava-20.0$(COMMON_JAVA_PACKAGE_SUFFIX) \
|
||||
dialer-javax-annotation-api:../../../prebuilts/tools/common/m2/repository/javax/annotation/javax.annotation-api/1.2/javax.annotation-api-1.2$(COMMON_JAVA_PACKAGE_SUFFIX) \
|
||||
dialer-javax-inject:../../../prebuilts/tools/common/m2/repository/javax/inject/javax.inject/1/javax.inject-1$(COMMON_JAVA_PACKAGE_SUFFIX)
|
||||
|
||||
include $(BUILD_MULTI_PREBUILT)
|
||||
|
||||
# Enumerate target prebuilts to avoid linker warnings like
|
||||
# Dialer (java:sdk) should not link to dialer-guava (java:platform)
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE_CLASS := JAVA_LIBRARIES
|
||||
LOCAL_MODULE := dialer-guava-target
|
||||
LOCAL_SDK_VERSION := current
|
||||
LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/com/google/guava/guava/20.0/guava-20.0$(COMMON_JAVA_PACKAGE_SUFFIX)
|
||||
LOCAL_UNINSTALLABLE_MODULE := true
|
||||
|
||||
include $(BUILD_PREBUILT)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE_CLASS := JAVA_LIBRARIES
|
||||
LOCAL_MODULE := dialer-dagger2-target
|
||||
LOCAL_SDK_VERSION := current
|
||||
LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/com/google/dagger/dagger/2.7/dagger-2.7$(COMMON_JAVA_PACKAGE_SUFFIX)
|
||||
LOCAL_UNINSTALLABLE_MODULE := true
|
||||
|
||||
include $(BUILD_PREBUILT)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE_CLASS := JAVA_LIBRARIES
|
||||
LOCAL_MODULE := dialer-disklrucache-target
|
||||
LOCAL_SDK_VERSION := current
|
||||
LOCAL_SRC_FILES := ../../../prebuilts/maven_repo/bumptech/com/github/bumptech/glide/disklrucache/SNAPSHOT/disklrucache-SNAPSHOT$(COMMON_JAVA_PACKAGE_SUFFIX)
|
||||
LOCAL_UNINSTALLABLE_MODULE := true
|
||||
|
||||
include $(BUILD_PREBUILT)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE_CLASS := JAVA_LIBRARIES
|
||||
LOCAL_MODULE := dialer-gifdecoder-target
|
||||
LOCAL_SDK_VERSION := current
|
||||
LOCAL_SRC_FILES := ../../../prebuilts/maven_repo/bumptech/com/github/bumptech/glide/gifdecoder/SNAPSHOT/gifdecoder-SNAPSHOT$(COMMON_JAVA_PACKAGE_SUFFIX)
|
||||
LOCAL_UNINSTALLABLE_MODULE := true
|
||||
|
||||
include $(BUILD_PREBUILT)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE_CLASS := JAVA_LIBRARIES
|
||||
LOCAL_MODULE := dialer-glide-target
|
||||
LOCAL_SDK_VERSION := current
|
||||
LOCAL_SRC_FILES := ../../../prebuilts/maven_repo/bumptech/com/github/bumptech/glide/glide/SNAPSHOT/glide-SNAPSHOT$(COMMON_JAVA_PACKAGE_SUFFIX)
|
||||
LOCAL_UNINSTALLABLE_MODULE := true
|
||||
|
||||
include $(BUILD_PREBUILT)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE_CLASS := JAVA_LIBRARIES
|
||||
LOCAL_MODULE := dialer-javax-annotation-api-target
|
||||
LOCAL_SDK_VERSION := current
|
||||
LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/javax/annotation/javax.annotation-api/1.2/javax.annotation-api-1.2$(COMMON_JAVA_PACKAGE_SUFFIX)
|
||||
LOCAL_UNINSTALLABLE_MODULE := true
|
||||
|
||||
include $(BUILD_PREBUILT)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE_CLASS := JAVA_LIBRARIES
|
||||
LOCAL_MODULE := dialer-libshortcutbadger-target
|
||||
LOCAL_SDK_VERSION := current
|
||||
LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/me/leolin/ShortcutBadger/1.1.13/ShortcutBadger-1.1.13$(COMMON_JAVA_PACKAGE_SUFFIX)
|
||||
LOCAL_UNINSTALLABLE_MODULE := true
|
||||
|
||||
include $(BUILD_PREBUILT)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE_CLASS := JAVA_LIBRARIES
|
||||
LOCAL_MODULE := dialer-javax-inject-target
|
||||
LOCAL_SDK_VERSION := current
|
||||
LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/javax/inject/javax.inject/1/javax.inject-1$(COMMON_JAVA_PACKAGE_SUFFIX)
|
||||
LOCAL_UNINSTALLABLE_MODULE := true
|
||||
|
||||
include $(BUILD_PREBUILT)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE_CLASS := JAVA_LIBRARIES
|
||||
LOCAL_MODULE := dialer-commons-io-target
|
||||
LOCAL_SDK_VERSION := current
|
||||
LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/commons-io/commons-io/2.4/commons-io-2.4$(COMMON_JAVA_PACKAGE_SUFFIX)
|
||||
LOCAL_UNINSTALLABLE_MODULE := true
|
||||
|
||||
include $(BUILD_PREBUILT)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE_CLASS := JAVA_LIBRARIES
|
||||
LOCAL_MODULE := dialer-mime4j-core-target
|
||||
LOCAL_SDK_VERSION := current
|
||||
LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/org/apache/james/apache-mime4j-core/0.7.2/apache-mime4j-core-0.7.2$(COMMON_JAVA_PACKAGE_SUFFIX)
|
||||
LOCAL_UNINSTALLABLE_MODULE := true
|
||||
|
||||
include $(BUILD_PREBUILT)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE_CLASS := JAVA_LIBRARIES
|
||||
LOCAL_MODULE := dialer-mime4j-dom-target
|
||||
LOCAL_SDK_VERSION := current
|
||||
LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/org/apache/james/apache-mime4j-dom/0.7.2/apache-mime4j-dom-0.7.2$(COMMON_JAVA_PACKAGE_SUFFIX)
|
||||
LOCAL_UNINSTALLABLE_MODULE := true
|
||||
|
||||
include $(BUILD_PREBUILT)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE_CLASS := JAVA_LIBRARIES
|
||||
LOCAL_MODULE := dialer-grpc-core-target
|
||||
LOCAL_SDK_VERSION := current
|
||||
LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-core/1.0.3/grpc-core-1.0.3$(COMMON_JAVA_PACKAGE_SUFFIX)
|
||||
LOCAL_UNINSTALLABLE_MODULE := true
|
||||
|
||||
include $(BUILD_PREBUILT)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE_CLASS := JAVA_LIBRARIES
|
||||
LOCAL_MODULE := dialer-grpc-okhttp-target
|
||||
LOCAL_SDK_VERSION := current
|
||||
LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-okhttp/1.0.3/grpc-okhttp-1.0.3$(COMMON_JAVA_PACKAGE_SUFFIX)
|
||||
LOCAL_UNINSTALLABLE_MODULE := true
|
||||
|
||||
include $(BUILD_PREBUILT)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE_CLASS := JAVA_LIBRARIES
|
||||
LOCAL_MODULE := dialer-grpc-protobuf-lite-target
|
||||
LOCAL_SDK_VERSION := current
|
||||
LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-protobuf-lite/1.0.3/grpc-protobuf-lite-1.0.3$(COMMON_JAVA_PACKAGE_SUFFIX)
|
||||
LOCAL_UNINSTALLABLE_MODULE := true
|
||||
|
||||
include $(BUILD_PREBUILT)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE_CLASS := JAVA_LIBRARIES
|
||||
LOCAL_MODULE := dialer-grpc-stub-target
|
||||
LOCAL_SDK_VERSION := current
|
||||
LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-stub/1.0.3/grpc-stub-1.0.3$(COMMON_JAVA_PACKAGE_SUFFIX)
|
||||
LOCAL_UNINSTALLABLE_MODULE := true
|
||||
|
||||
include $(BUILD_PREBUILT)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE_CLASS := JAVA_LIBRARIES
|
||||
LOCAL_MODULE := dialer-grpc-all-target
|
||||
LOCAL_SDK_VERSION := current
|
||||
LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-all/1.0.3/grpc-all-1.0.3$(COMMON_JAVA_PACKAGE_SUFFIX)
|
||||
LOCAL_UNINSTALLABLE_MODULE := true
|
||||
|
||||
include $(BUILD_PREBUILT)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE_CLASS := JAVA_LIBRARIES
|
||||
LOCAL_MODULE := dialer-grpc-context-target
|
||||
LOCAL_SDK_VERSION := current
|
||||
LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-context/1.0.3/grpc-context-1.0.3$(COMMON_JAVA_PACKAGE_SUFFIX)
|
||||
LOCAL_UNINSTALLABLE_MODULE := true
|
||||
|
||||
include $(BUILD_PREBUILT)
|
||||
|
||||
include $(CLEAR_VARS)
|
114
android/packages/apps/Dialer/AndroidManifest.xml
Normal file
|
@ -0,0 +1,114 @@
|
|||
<!-- Copyright (C) 2016 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
coreApp="true"
|
||||
package="com.android.dialer"
|
||||
android:versionCode="150000"
|
||||
android:versionName="11.0">
|
||||
|
||||
<uses-sdk
|
||||
android:minSdkVersion="23"
|
||||
android:targetSdkVersion="26"/>
|
||||
|
||||
<uses-permission android:name="android.permission.CALL_PHONE"/>
|
||||
<uses-permission android:name="android.permission.READ_CONTACTS"/>
|
||||
<uses-permission android:name="android.permission.WRITE_CONTACTS"/>
|
||||
<uses-permission android:name="android.permission.READ_CALL_LOG"/>
|
||||
<uses-permission android:name="android.permission.WRITE_CALL_LOG"/>
|
||||
<uses-permission android:name="android.permission.READ_PROFILE"/>
|
||||
<uses-permission android:name="android.permission.MANAGE_ACCOUNTS"/>
|
||||
<uses-permission android:name="android.permission.GET_ACCOUNTS"/>
|
||||
<uses-permission android:name="android.permission.GET_ACCOUNTS_PRIVILEGED"/>
|
||||
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
|
||||
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
|
||||
<uses-permission android:name="android.permission.INTERNET"/>
|
||||
<uses-permission android:name="android.permission.PROCESS_OUTGOING_CALLS"/>
|
||||
<uses-permission android:name="android.permission.NFC"/>
|
||||
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
|
||||
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/>
|
||||
<uses-permission android:name="android.permission.MODIFY_PHONE_STATE"/>
|
||||
<uses-permission android:name="android.permission.WAKE_LOCK"/>
|
||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
|
||||
<uses-permission android:name="android.permission.WRITE_SETTINGS"/>
|
||||
<uses-permission android:name="android.permission.USE_CREDENTIALS"/>
|
||||
<uses-permission android:name="android.permission.VIBRATE"/>
|
||||
<uses-permission android:name="android.permission.READ_SYNC_SETTINGS"/>
|
||||
<uses-permission android:name="com.android.voicemail.permission.ADD_VOICEMAIL"/>
|
||||
<uses-permission android:name="com.android.voicemail.permission.WRITE_VOICEMAIL"/>
|
||||
<uses-permission android:name="com.android.voicemail.permission.READ_VOICEMAIL"/>
|
||||
<uses-permission android:name="android.permission.ALLOW_ANY_CODEC_FOR_PLAYBACK"/>
|
||||
<uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/>
|
||||
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
|
||||
<uses-permission android:name="android.permission.BROADCAST_STICKY"/>
|
||||
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
|
||||
<uses-permission android:name="android.permission.SEND_SMS"/>
|
||||
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
|
||||
|
||||
<uses-permission android:name="android.permission.CONTROL_INCALL_EXPERIENCE"/>
|
||||
<!-- We use this to disable the status bar buttons of home, back and recent
|
||||
during an incoming call. By doing so this allows us to not show the user
|
||||
is viewing the activity in full screen alert, on a fresh system/factory
|
||||
reset state of the app. -->
|
||||
<uses-permission android:name="android.permission.STATUS_BAR"/>
|
||||
<uses-permission android:name="android.permission.CAMERA"/>
|
||||
|
||||
<!-- This tells the activity manager to not delay any of our activity
|
||||
start requests, even if they happen immediately after the user
|
||||
presses home. -->
|
||||
<uses-permission android:name="android.permission.STOP_APP_SWITCHES"/>
|
||||
|
||||
<!-- Permissions needed for badger count showing on launch icon. -->
|
||||
|
||||
<!--for Samsung-->
|
||||
<uses-permission android:name="com.sec.android.provider.badge.permission.READ"/>
|
||||
<uses-permission android:name="com.sec.android.provider.badge.permission.WRITE"/>
|
||||
|
||||
<!--for htc-->
|
||||
<uses-permission android:name="com.htc.launcher.permission.READ_SETTINGS"/>
|
||||
<uses-permission android:name="com.htc.launcher.permission.UPDATE_SHORTCUT"/>
|
||||
|
||||
<!--for sony-->
|
||||
<uses-permission android:name="com.sonyericsson.home.permission.BROADCAST_BADGE"/>
|
||||
<uses-permission android:name="com.sonymobile.home.permission.PROVIDER_INSERT_BADGE"/>
|
||||
|
||||
<!--for apex-->
|
||||
<uses-permission android:name="com.anddoes.launcher.permission.UPDATE_COUNT"/>
|
||||
|
||||
<!--for solid-->
|
||||
<uses-permission android:name="com.majeur.launcher.permission.UPDATE_BADGE"/>
|
||||
|
||||
<!--for huawei-->
|
||||
<uses-permission android:name="com.huawei.android.launcher.permission.CHANGE_BADGE"/>
|
||||
<uses-permission android:name="com.huawei.android.launcher.permission.READ_SETTINGS"/>
|
||||
<uses-permission android:name="com.huawei.android.launcher.permission.WRITE_SETTINGS"/>
|
||||
|
||||
<!--for ZUK-->
|
||||
<uses-permission android:name="android.permission.READ_APP_BADGE"/>
|
||||
|
||||
<!--for OPPO-->
|
||||
<uses-permission android:name="com.oppo.launcher.permission.READ_SETTINGS"/>
|
||||
<uses-permission android:name="com.oppo.launcher.permission.WRITE_SETTINGS"/>
|
||||
|
||||
<application
|
||||
android:hardwareAccelerated="true"
|
||||
android:icon="@mipmap/ic_launcher_phone"
|
||||
android:label="@string/applicationLabel"
|
||||
android:name="com.android.dialer.binary.aosp.AospDialerApplication"
|
||||
android:supportsRtl="true"
|
||||
android:usesCleartextTraffic="false">
|
||||
</application>
|
||||
|
||||
</manifest>
|
190
android/packages/apps/Dialer/LICENSE
Normal file
|
@ -0,0 +1,190 @@
|
|||
|
||||
Copyright (c) 2005-2008, 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.
|
||||
|
||||
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.
|
||||
|
||||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
After Width: | Height: | Size: 2.5 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 752 B |
After Width: | Height: | Size: 3.3 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 5 KiB |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 6.6 KiB |
After Width: | Height: | Size: 3.2 KiB |
After Width: | Height: | Size: 148 B |
After Width: | Height: | Size: 121 B |
After Width: | Height: | Size: 333 B |
After Width: | Height: | Size: 478 B |
After Width: | Height: | Size: 448 B |
After Width: | Height: | Size: 438 B |
After Width: | Height: | Size: 579 B |
After Width: | Height: | Size: 314 B |
After Width: | Height: | Size: 424 B |
After Width: | Height: | Size: 189 B |
After Width: | Height: | Size: 258 B |
After Width: | Height: | Size: 215 B |
After Width: | Height: | Size: 189 B |
After Width: | Height: | Size: 276 B |
After Width: | Height: | Size: 340 B |
After Width: | Height: | Size: 364 B |
After Width: | Height: | Size: 666 B |
After Width: | Height: | Size: 169 B |
After Width: | Height: | Size: 176 B |
After Width: | Height: | Size: 203 B |
After Width: | Height: | Size: 154 B |
After Width: | Height: | Size: 264 B |
After Width: | Height: | Size: 549 B |
After Width: | Height: | Size: 216 B |
After Width: | Height: | Size: 105 B |
After Width: | Height: | Size: 107 B |
After Width: | Height: | Size: 352 B |
After Width: | Height: | Size: 341 B |
After Width: | Height: | Size: 236 B |
After Width: | Height: | Size: 371 B |
After Width: | Height: | Size: 350 B |
After Width: | Height: | Size: 511 B |
After Width: | Height: | Size: 486 B |
After Width: | Height: | Size: 246 B |
After Width: | Height: | Size: 485 B |
After Width: | Height: | Size: 167 B |
After Width: | Height: | Size: 402 B |
After Width: | Height: | Size: 428 B |
After Width: | Height: | Size: 578 B |
After Width: | Height: | Size: 118 B |
After Width: | Height: | Size: 105 B |
After Width: | Height: | Size: 124 B |
After Width: | Height: | Size: 236 B |
After Width: | Height: | Size: 289 B |
After Width: | Height: | Size: 273 B |
After Width: | Height: | Size: 483 B |
After Width: | Height: | Size: 704 B |
After Width: | Height: | Size: 249 B |
After Width: | Height: | Size: 261 B |
After Width: | Height: | Size: 450 B |
After Width: | Height: | Size: 195 B |
After Width: | Height: | Size: 197 B |
After Width: | Height: | Size: 192 B |
After Width: | Height: | Size: 267 B |
After Width: | Height: | Size: 467 B |
After Width: | Height: | Size: 396 B |
After Width: | Height: | Size: 293 B |
After Width: | Height: | Size: 339 B |
After Width: | Height: | Size: 447 B |
After Width: | Height: | Size: 445 B |
After Width: | Height: | Size: 271 B |
After Width: | Height: | Size: 360 B |
After Width: | Height: | Size: 155 B |
After Width: | Height: | Size: 173 B |
After Width: | Height: | Size: 222 B |
After Width: | Height: | Size: 478 B |
After Width: | Height: | Size: 186 B |
After Width: | Height: | Size: 375 B |
After Width: | Height: | Size: 365 B |
After Width: | Height: | Size: 518 B |
After Width: | Height: | Size: 149 B |
After Width: | Height: | Size: 203 B |
After Width: | Height: | Size: 295 B |
After Width: | Height: | Size: 447 B |
After Width: | Height: | Size: 119 B |
After Width: | Height: | Size: 130 B |
After Width: | Height: | Size: 237 B |
After Width: | Height: | Size: 325 B |
After Width: | Height: | Size: 140 B |
After Width: | Height: | Size: 194 B |
After Width: | Height: | Size: 352 B |
After Width: | Height: | Size: 571 B |
After Width: | Height: | Size: 195 B |
After Width: | Height: | Size: 276 B |
After Width: | Height: | Size: 452 B |
After Width: | Height: | Size: 823 B |
After Width: | Height: | Size: 200 B |