Loading core/java/android/os/HandlerThread.java +15 −1 Original line number Diff line number Diff line Loading @@ -35,6 +35,7 @@ public class HandlerThread extends Thread { public HandlerThread(String name) { super(name); mPriority = Process.THREAD_PRIORITY_DEFAULT; onCreated(); } /** Loading @@ -46,6 +47,19 @@ public class HandlerThread extends Thread { public HandlerThread(String name, int priority) { super(name); mPriority = priority; onCreated(); } /** @hide */ @android.ravenwood.annotation.RavenwoodReplace protected void onCreated() { } /** @hide */ protected void onCreated$ravenwood() { // Mark ourselves as daemon to enable tests to terminate quickly when finished, despite // any HandlerThread instances that may be lingering around setDaemon(true); } /** Loading Loading
core/java/android/os/HandlerThread.java +15 −1 Original line number Diff line number Diff line Loading @@ -35,6 +35,7 @@ public class HandlerThread extends Thread { public HandlerThread(String name) { super(name); mPriority = Process.THREAD_PRIORITY_DEFAULT; onCreated(); } /** Loading @@ -46,6 +47,19 @@ public class HandlerThread extends Thread { public HandlerThread(String name, int priority) { super(name); mPriority = priority; onCreated(); } /** @hide */ @android.ravenwood.annotation.RavenwoodReplace protected void onCreated() { } /** @hide */ protected void onCreated$ravenwood() { // Mark ourselves as daemon to enable tests to terminate quickly when finished, despite // any HandlerThread instances that may be lingering around setDaemon(true); } /** Loading