mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 23:36:47 +00:00
808e4f32f0d4d7fac3ec4040755c5291557187e3
Right now, processWorkspaceItem is almost impossible to fully understand. It is a behemoth of a method that handles everything possibily related to processing a workspace item. In order to make life easier for developers, it is being split into smaller methods that deal with limited functionality each, and are commented / named well. These can also be individually unit tested, so developers don't have to use mock data anymore to test even the smallest bit of functionality. Bug: 318398886 Test: Manually verified that the workspace loading behavior still works on device. Flag: None, this is just a copy/paste refactor. Change-Id: I040bce708cada5b29cf3488ddf37ccc8d7af8282
Languages
Java
73.1%
Kotlin
26.5%
AIDL
0.3%
Python
0.1%