ADPF: Only reset heuristic boost if target duration's change is large.

Instead of always resetting the heuristic boost when the session's
target duration changes, we only reset it if the percentage change
of the target duration is over the threshold.

Bug: 380431440
Test: Check the device trace.
Flag: NONE powerhal doesn't have a tag yet.
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:eee6d3f0d7468cb69aabbf3d7bce858e1da81724)
Merged-In: I1f1e97ba950bca07a8fe72c74262c5c7435a5886
Change-Id: I1f1e97ba950bca07a8fe72c74262c5c7435a5886

Signed-off-by: Jis G Jacob <studiokeys@blissroms.org>
1 file changed