* Upd: Screenshot method DroidCast_raw update
* Opt: Refactor module/device/method/droidcast.py for improved functionality
The module/device/method/droidcast.py has been refactored to improve its functionality and remove unnecessary code. Here are the key changes:
- Removed the unnecessary droidcast_raw_port attribute.
- Updated the droidcast_url method to use '/preview' as the default URL for DroidCast.
- Rename droidcast_init and droidcast_raw_init to droidcast_start and droidcast_raw_start.
- Add droidcast_init to reuse the common parts of droidcast_start and droidcast_raw_start.
- Removed the droidcast_raw_wait_startup method as it is no longer needed.
- Updated the droidcast_uninstall method to remove the deletion of DroidCast APK.
These changes aim to simplify the DroidCast class and improve its overall functionality.
* Opt: Refactor module/device/method/droidcast.py for improved functionality
The module/device/method/droidcast.py has been refactored to improve its functionality and remove unnecessary code. Here are the key changes:
- Removed the unnecessary droidcast_raw_port attribute.
- Updated the droidcast_url method to use '/preview' as the default URL for DroidCast.
- Rename droidcast_init and droidcast_raw_init to droidcast_start and droidcast_raw_start.
- Add droidcast_init to reuse the common parts of droidcast_start and droidcast_raw_start.
- Removed the droidcast_raw_wait_startup method as it is no longer needed.
- Updated the droidcast_uninstall method to remove the deletion of DroidCast APK.
These changes aim to simplify the DroidCast class and improve its overall functionality.
* Fix: Droidcast cannot start due to port occupation