From a2f2873f06efff146af34f0154d6b46521efaebf Mon Sep 17 00:00:00 2001 From: Matt Filetto Date: Wed, 27 Jan 2016 14:30:18 -0800 Subject: [PATCH] klte-common: import lollipop flp.conf * This file is identical on all supported models so move it here for ease of modification * Samsung package version: G900FDXU1BOH4_G900FOLB1BOH4 Change-Id: Ib5226be94eb22f5a0006c5c9843146c39f0a2b7c --- configs/flp.conf | 60 ++++++++++++++++++++++++++++++++++++++++++++++++ klte.mk | 4 ++++ 2 files changed, 64 insertions(+) create mode 100644 configs/flp.conf diff --git a/configs/flp.conf b/configs/flp.conf new file mode 100644 index 0000000..7d6002f --- /dev/null +++ b/configs/flp.conf @@ -0,0 +1,60 @@ +################################### +##### FLP settings ##### +################################### + +################################### +# FLP BATCHING SIZE +################################### +# The number of batched locations +# requested to modem. The desired number +# defined below may not be satisfied, as +# the modem can only return the number +# of batched locations that can be allocated, +# which is limited by memory. The default +# batch size defined as 20 as below. +BATCH_SIZE=20 + +################################### +# FLP BATCHING SESSION TIMEOUT +################################### +# Duration with which batch session timeout +# happens in milliseconds. If not specified +# or set to zero, batching session timeout +# defaults to 20 seconds by the modem. +# BATCH_SESSION_TIMEOUT=20000 + +################################### +# FLP CAPABILITIES BIT MASK +################################### +# GEOFENCE = 0x01 +# BATCHING = 0x02 +# default = GEOFENCE | BATCHING +CAPABILITIES=0x03 + +################################### +# FLP BATCHING ACCURACY +################################### +# Set to one of the defined values below +# to define the accuracy of batching. +# If not specified, accuracy defaults +# to LOW. +# FLP BATCHING ACCURACY values: +# Low accuracy = 0 +# Medium accuracy = 1 +# High accuracy = 2 +ACCURACY=0 + +################################### +# FLP GEOFENCE RESPONSIVENESS +################################### +# If set to one of the defined values below, +# it will override the responsiveness for +# FLP geofence, which implements the fused +# location API. If not set to a value defined +# below, which is default, it will not +# override the responsivness. +# FLP_GEOFENCE_RESPONSIVENESS_OVERRIDE Values: +# 1: LOW responsiveness +# 2: MEDIUM responsiveness +# 3: HIGH responsiveness +FLP_GEOFENCE_RESPONSIVENESS_OVERRIDE = 0 diff --git a/klte.mk b/klte.mk index a80524e..653ab6a 100644 --- a/klte.mk +++ b/klte.mk @@ -57,6 +57,10 @@ PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/audio/audio_policy.conf:system/etc/audio_policy.conf \ $(LOCAL_PATH)/audio/mixer_paths.xml:system/etc/mixer_paths.xml +# GPS +PRODUCT_COPY_FILES += \ + $(LOCAL_PATH)/configs/flp.conf:system/etc/flp.conf + # Camera PRODUCT_PACKAGES += \ camera.msm8974 \