From 48a226ea47a165fabcb9e3fdda38e412551032ca Mon Sep 17 00:00:00 2001 From: Wei Wang Date: Tue, 16 Jan 2018 12:03:13 -0800 Subject: Power: restart PowerHAL if audio HAL died with active low_latency hint Audio low latency which can go parallel with other long-term hints and there is small change that leaves the powerHAL stuck with the hint for long time. This CL will require another property to record the state of it. Bug: 67648152 Test: kill audiohal, audioserver Change-Id: Ic0017b0c7a27994e7583d7701665b2cd156ca192 --- powerhint.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'powerhint.json') diff --git a/powerhint.json b/powerhint.json index 767c6239..b858ef12 100755 --- a/powerhint.json +++ b/powerhint.json @@ -291,7 +291,7 @@ "PowerHint": "LAUNCH", "Node": "CPUBigClusterMaxFreq", "ValueIndex": 0, - "Duration": 0 + "Duration": 5000 }, { "PowerHint": "LAUNCH", @@ -339,7 +339,7 @@ "PowerHint": "CAMERA_LAUNCH", "Node": "CPUBigClusterMaxFreq", "ValueIndex": 0, - "Duration": 0 + "Duration": 1000 }, { "PowerHint": "CAMERA_LAUNCH", @@ -363,7 +363,7 @@ "PowerHint": "CAMERA_STREAMING", "Node": "CPUBigClusterMaxFreq", "ValueIndex": 0, - "Duration": 0 + "Duration": 1000 }, { "PowerHint": "CAMERA_STREAMING", @@ -387,7 +387,7 @@ "PowerHint": "CAMERA_SHOT", "Node": "CPUBigClusterMaxFreq", "ValueIndex": 0, - "Duration": 0 + "Duration": 1000 }, { "PowerHint": "CAMERA_SHOT", -- cgit v1.2.3