dc89a99bdd
Issue: Diplay freeze observed sometimes, if there is any suspend/resume of the device. The issue found to be with differences in the timesources used by display and camera for timestamp calculation. Fix: Measure the clock offset between BOOTTIME and MONOTONIC. The clock domain source for ISP is BOOTTIME and for display, it is MONOTONIC. The offset is used to convert from clock domain of camera to display. Added following set prop to switch between camera time sources. persist.camera.time.monotonic <value> Default value is 1. value 0 indicates Boot time from camera. value 1 indicates Monotonic time from camera. Change-Id: I733aa17e89ccaa7f5ea6d2eae5e1cd6428c81a85 CRs-Fixed: 1005906
23 lines
749 B
Makefile
23 lines
749 B
Makefile
#
|
|
# 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.
|
|
#
|
|
|
|
# Camera
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
media.camera.ts.monotonic=1
|
|
|
|
# Properties
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
ro.ct.device.model=XMP-2016030
|