1. ActivityManager的获取
ActivityManager mActivityManager = (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE);
2. 在ContextImpl.getSystemService->ActivityManager
3. 在SystemServiceRegistry中调用getSystemSrevice
// 缓存
//注册
//静态代码加载
标签:ActivityManager,Context,SERVICE,获取,context,Android,getSystemService From: https://blog.csdn.net/qq_38286037/article/details/137102295