android graphic(22)—android M 分屏功能开关
来源:互联网 发布:湖南海龙网络 编辑:程序博客网 时间:2024/06/06 13:23
关于android中的分屏功能(就是在单一屏幕上同时允许2个app的UI界面存在,可同时操作),在M上其实代码已经有了,估计有些功能还不是很完善,到N上才会正式发布。
在android M上,分屏功能是通过属性persist.sys.debug.multi_window
控制,true为打开。
/** Updates the states that need to be re-read whenever we re-initialize. */ void updateOnReinitialize(Context context, SystemServicesProxy ssp) { // Check if the developer options are enabled developerOptionsEnabled = ssp.getGlobalSetting(context, Settings.Global.DEVELOPMENT_SETTINGS_ENABLED) != 0; lockToAppEnabled = ssp.getSystemSetting(context, Settings.System.LOCK_TO_APP_ENABLED) != 0; //是否打开分屏功能 multiStackEnabled = "true".equals(ssp.getSystemProperty("persist.sys.debug.multi_window")); }
关于分屏功能打开后,系统WMS,AMS及其他service都做了什么改变,分屏功能到底如何实现,待后续详细研究了。
0 0
- android graphic(22)—android M 分屏功能开关
- android分屏功能
- Graphic --- Android
- android graphic(1)—轮廓
- android graphic(15)—fence
- android graphic(1)—轮廓
- android 系统功能开关调用
- android graphic(4)—surfaceflinger和Vsync
- android graphic(6)—surfaceflinger和MessageQueue
- android graphic(11)—底层初始化displays
- android graphic(16)—fence(简化)
- android graphic(4)—surfaceflinger和Vsync
- android graphic(6)—surfaceflinger和MessageQueue
- android graphic(11)—底层初始化displays
- Graphic size in Android
- android.graphic.Path
- android graphic笔记
- Android Graphic Stacks
- Java多线程学习
- 设计模式之适配器模式(adaptor pattern)
- android_实现EditText的抖动效果
- Try running `watchman version` from your terminal解决
- U盘数据丢失后怎样恢复
- android graphic(22)—android M 分屏功能开关
- eclipse连接sqlserver2014问题
- 解决android有的手机拍照后上传图片被旋转的问题
- Ubuntu下安装Qt全部过程
- Record is locked by another user --Oracle行锁解锁
- C++字面值常量
- syslog-ng详细安装配置
- sublime 使用中一些遇到问题解决方法和技巧汇总(持续更新)
- 3019