Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Keep screen on action #174

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

raghavsatyadev
Copy link

Added 2 actions:

  1. Keep screen on
    1.1 Gets the default screen timeout from the device and saves it to plugin memory
    1.2 Keeps the screen on for 10 minutes via "adb shell settings put system screen_off_timeout 600000" command.

  2. Turn off Keep screen on
    2.1 Reverts the screen timeout to default timeout by getting the value previously saved when "Keep Screen On" command was fired.

Note: Need to find a way to fire this method when plugin and project both are loaded successfully : com.developerphil.adbidea.adb.AdbFacade#saveScreenTimeout

Raghav Satyadev added 4 commits December 19, 2024 18:46
- Updated the IDE version to 2024.3.1.6. -> gradle.properties
- added JVM Args and Kotlin Code Style. -> gradle.properties
- Updated Gradle Wrapper to 8.12-rc-2. -> gradle-wrapper.properties
- Updated Java compatibility to version 21. -> build.gradle.kts
- Updated notification groups to use the NotificationGroupManager API. -> NotificationHelper.kt
- Removed deprecation in ReflectKt.kt
- Added Gradle Script file to run "buildPlugin runIde" commands directly without creating a configuration manually. -> BuildRun.run.xml
- Updated .gitignore to exclude .kotlin folder
- analyzed the project and fixed some suggestions from the studio analyzer -> DeviceResultFetcher.kt, UseSameDevicesHelper.kt, Debugger.kt, MyDeviceChooser.kt, ObjectGraph.kt
- Updated run configurations to removed buildPlugin and make 2 separate configurations for runIde and runLocalIde
- gradle-wrapper.properties downgraded to 8.11.1
- Removed listener from NotificationHelper.kt
- Updated Application.kt to use @service instead of Android Components API, removed <application-components> from -> plugin.xml
- Added temporary logo
- Updated org.jetbrains.kotlin.jvm to 2.1.0
- Updated org.jetbrains.changelog to 2.2.1
- replaced sourceCompatibility with jvmToolchain
- Updated sinceBuild to 243.22562.145 -> gradle.properties
- updated gradle wrapper to 8.12
- readying the code for org.jetbrains.intellij.platform : 2.2.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant