Refactor LiveScreenWidget, implement HouseArrest , fix bugs

- Introduced ScreenshotrThread to manage screenshot capturing in a separate thread.
- Updated LiveScreenWidget to utilize the new thread for capturing screenshots.
- Removed unused timer and related code for periodic screenshot updates.
- Enhanced error handling and initialization logic for screenshot service.
- Updated ServiceManager to include methods for taking screenshots and enabling developer mode.
- Refactored various methods in ServiceManager to accept optional parameters for AFC client handling.
- Improved error handling in VirtualLocation for setting device location.
- Enhanced ZLoadingWidget to support multiple content states using QStackedWidget.
- Cleaned up code and comments across multiple files for better readability and maintainability.
This commit is contained in:
uncor3
2026-01-15 02:06:11 +00:00
parent 2a71f011d9
commit ac81ee087c
25 changed files with 901 additions and 791 deletions
-1
View File
@@ -266,7 +266,6 @@ void AppContext::addDevice(QString udid,
.mutex = new std::recursive_mutex(),
.imageMounter = initResult->imageMounter,
.diagRelay = initResult->diagRelay,
.screenshotrClient = initResult->screenshotrClient,
.locationSimulation = initResult->locationSimulation};
m_devices[device->udid] = device;
if (addType == AddType::Regular) {