Merge commit 'e0100f4736b987af22a719f740c3c25793b0a95e' * commit 'e0100f4736b987af22a719f740c3c25793b0a95e': Addressed reviewer comments.
This commit is contained in:
@@ -4246,12 +4246,9 @@ public final class ActivityThread {
|
||||
}
|
||||
|
||||
thread.detach();
|
||||
String name;
|
||||
if (thread.mInitialApplication != null) {
|
||||
name = thread.mInitialApplication.getPackageName();
|
||||
} else {
|
||||
name = "<unknown>";
|
||||
}
|
||||
String name = (thread.mInitialApplication != null)
|
||||
? thread.mInitialApplication.getPackageName()
|
||||
: "<unknown>";
|
||||
Log.i(TAG, "Main thread of " + name + " is now exiting");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user