Do Customized Android Frameworks Keep Pace with Android?

Pei Liu, Mattia Fazzini, John Grundy, Li Li

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

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.

Original languageEnglish (US)
Title of host publicationProceedings - 2022 Mining Software Repositories Conference, MSR 2022
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages376-387
Number of pages12
ISBN (Electronic)9781450393034
DOIs
StatePublished - 2022
Event2022 Mining Software Repositories Conference, MSR 2022 - Pittsburgh, United States
Duration: May 23 2022May 24 2022

Publication series

NameProceedings - 2022 Mining Software Repositories Conference, MSR 2022

Conference

Conference2022 Mining Software Repositories Conference, MSR 2022
Country/TerritoryUnited States
CityPittsburgh
Period5/23/225/24/22

Bibliographical note

Funding Information:
This work is supported by ARC Laureate Fellowship FL190100035, Discovery Early Career Researcher Award DE200100016, Discovery Project DP200100020.

Publisher Copyright:
© 2022 ACM.

Keywords

  • Android Customization

Fingerprint

Dive into the research topics of 'Do Customized Android Frameworks Keep Pace with Android?'. Together they form a unique fingerprint.

Cite this