WahdanZ / SpockAdb

Spock Adb Plugin Helps you to have full control of your project
Apache License 2.0
108 stars 6 forks source link

Fixes plugin not working properly in the stable Android Studio version (currently 4.0.1) #14

Closed mgoyanes closed 4 years ago

mgoyanes commented 4 years ago

b44a42 introduced ToolWindowManagerListener to update the developer options settings whenever the plugin becomes visible (this tried to keep the plugin updated since we don't have a callback for when that settings change).

Although the current stable Android Studio version is based on idea version 193, the ToolWindowManagerListener lacks the "toolWindowShown" method (available in Android Studio version 4.2).

This commit uses a deprecated method to achieve the same result. When AS is updated, the not deprecated method will be used.