定制的Android框架与Android保持同步吗?
Do Customized Android Frameworks Keep Pace with Android?
摘要:
为了满足不同的客户需求,设备供应商和操作系统提供商通常依赖于Android操作系统的开源特性,并提供定制版本的Android操作系统。当发布新版本的Android操作系统时,设备供应商和操作系统提供商需要将Android操作系统的更改合并到其定制中,以解决其错误修复、安全补丁和新功能。由于自定义操作系统的开发人员可能已经对代码位置进行了更改,而这些代码位置也被Android操作系统的开发人员修改,因此合并任务的特征可能是冲突,解决冲突可能非常耗时且容易出错。为了更深入地了解Android生态系统的这一关键方面,我们提出了一项实证研究,调查了Android操作系统的八个开源定制如何将Android操作系统的更改合并到他们的项目中。该研究分析了定制操作系统的开发人员合并Android操作系统更改的频率,开发人员遇到文本合并冲突的频率以及这些冲突的特征。此外,为了分析冲突的影响,该研究还分析了冲突如何影响随机选择的1,000个应用程序的样本。在分析了1,148次合并操作后,我们发现开发人员对9.7%的Android OS发布版本执行了这些操作,41.3%的合并操作中开发人员会遇到至少一个冲突,58.1%的冲突要求开发人员更改定制的操作系统,64.4%的应用程序至少使用一种受冲突影响的方法。除了详细介绍我们的研究结果外,本文还讨论了我们研究结果的含义,并为使用Android及其自定义的研究人员和从业者提供了见解。
英文摘要:
To satisfy varying customer needs, device vendors and OS providers often rely on the open-source nature of the Android OS and offer customized versions of the Android OS. When a new version of the Android OS is released, device vendors and OS providers need to merge the changes from the Android OS into their customizations to account for its bug fixes, security patches, and new features. Because developers of customized OSs might have made changes to code locations that were also modified by the developers of the Android OS, the merge task can be characterized by conflicts, which can be time-consuming and error-prone to resolve. To provide more insight into this critical aspect of the Android ecosystem, we present an empirical study that investigates how eight open-source customizations of the Android OS merge the changes from the Android OS into their projects. The study analyzes how often the developers from the customized OSs merge changes from the Android OS, how often the developers experience textual merge conflicts, and the characteristics of these conflicts. Furthermore, to analyze the effect of the conflicts, the study also analyzes how the conflicts can affect a randomly selected sample of 1,000 apps. After analyzing 1,148 merge operations, we identified that developers perform these operations for 9.7\% of the released versions of the Android OS, developers will encounter at least one conflict in 41.3\% of the merge operations, 58.1\% of the conflicts required developers to change the customized OSs, and 64.4\% of the apps considered use at least one method affected by a conflict. In addition to detailing our results, the paper also discusses the implications of our findings and provides insights for researchers and practitioners working with Android and its customizations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。