Merge "Add WTF when a system server wrapper can't be found" into rvc-dev am: bea34c409f
Change-Id: I046320bca3c7faa63fb296ceb36f3c0e5559e765
This commit is contained in:
@@ -30,6 +30,7 @@ import android.annotation.StringRes;
|
||||
import android.app.ActivityThread;
|
||||
import android.app.AppCompatCallbacks;
|
||||
import android.app.INotificationManager;
|
||||
import android.app.SystemServiceRegistry;
|
||||
import android.app.usage.UsageStatsManagerInternal;
|
||||
import android.content.ContentResolver;
|
||||
import android.content.Context;
|
||||
@@ -507,6 +508,8 @@ public final class SystemServer {
|
||||
Looper.getMainLooper().setSlowLogThresholdMs(
|
||||
SLOW_DISPATCH_THRESHOLD_MS, SLOW_DELIVERY_THRESHOLD_MS);
|
||||
|
||||
SystemServiceRegistry.sEnableServiceNotFoundWtf = true;
|
||||
|
||||
// Initialize native services.
|
||||
System.loadLibrary("android_servers");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user