Merge change Ie417158c

* changes:
  fix [2330211] sensors thread priority too low
This commit is contained in:
Android (Google) Code Review
2009-12-15 19:32:58 -08:00

View File

@@ -364,7 +364,7 @@ public class SensorManager
final float[] values = new float[3];
final int[] status = new int[1];
final long timestamp[] = new long[1];
Process.setThreadPriority(Process.THREAD_PRIORITY_DISPLAY);
Process.setThreadPriority(Process.THREAD_PRIORITY_URGENT_DISPLAY);
if (!open()) {
return;