android - 为什么 SurfaceFlinger 在其主函数中注册了 GraphicsAllocatorService 和 DisplayService?
问题描述
这两个服务都有自己的进程,并且已经在自己的进程中注册。
result = hardware::registerPassthroughServiceImplementation<
android::hardware::graphics::allocator::V2_0::IAllocator>();
sp<IDisplayService> displayservice = new DisplayService();
status_t err = displayservice->registerAsService();
解决方案
推荐阅读
- css - 带圆角的 Spinner CSS
- javascript - 读取对象数据导致未定义但正确读取键
- javascript - 在打字稿中的多维数组中查找索引
- javascript - 使用 reactjs 将数据保存在表单中
- java - 在android中拨打电话号码时缺少括号
- c# - ASP.NET Core 3.1 - EF Core 无法翻译 GroupBy 和 Join
- python - Kivy - 从弹出窗口自动启动方法
- linux - 如何从已发布的项目中为 Linux 构建安装程序文件
- ios - Swift - snapshotView 功能不适用于大型 UIView
- java - 如何为每种方法生成带有子测试的范围报告?