Merge "SystemServer: Looper's getMainLooper to return ServerThread"

This commit is contained in:
Dianne Hackborn
2012-06-11 16:02:34 -07:00
committed by android code review

View File

@@ -79,7 +79,7 @@ class ServerThread extends Thread {
EventLog.writeEvent(EventLogTags.BOOT_PROGRESS_SYSTEM_RUN,
SystemClock.uptimeMillis());
Looper.prepare();
Looper.prepareMainLooper();
android.os.Process.setThreadPriority(
android.os.Process.THREAD_PRIORITY_FOREGROUND);