Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 323c99cb authored by Karthikeyan Periasamy's avatar Karthikeyan Periasamy Committed by Steve Kondik
Browse files

[webkit]Change the thread priority

Change the values used to dynamically modify thread priority to
improve scrolling and pinc to zoom use cases.

Change-Id: I861b3042079058fdd614390c563f23d3cab3acd9
parent bcc8f733
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -758,9 +758,9 @@ public final class WebViewCore {
                                break;

                            case REDUCE_PRIORITY:
                                // 3 is an adjustable number.
                                // 10 is an adjustable number.
                                Process.setThreadPriority(
                                        Process.THREAD_PRIORITY_DEFAULT + 3 *
                                        Process.THREAD_PRIORITY_DEFAULT + 10 *
                                        Process.THREAD_PRIORITY_LESS_FAVORABLE);
                                break;