Skip to content

feat: implement app drawer and pin pad intents#714

Open
aaronkyriesenbach wants to merge 1 commit into
tanujnotes:masterfrom
aaronkyriesenbach:master
Open

feat: implement app drawer and pin pad intents#714
aaronkyriesenbach wants to merge 1 commit into
tanujnotes:masterfrom
aaronkyriesenbach:master

Conversation

@aaronkyriesenbach
Copy link
Copy Markdown

Resolves #712. Changes:

  • Adds intent app.olauncher.ACTION_OPEN_APP_DRAWER to open the app drawer
  • Adds intent app.olauncher.ACTION_DISMISS_KEYGUARD to pull up the pin pad on the lock screen (instead of swipe to unlock) - this was not part of the referenced issue, but is the exact same use case
  • Changes the app name for debug builds to "Olauncher (Debug)" - I can revert this if you'd like, but it made it easier to work with while testing
  • Updates README to document new intents

Tested working. To test, connect device with debug build installed via ADB and run:

adb shell am start -a app.olauncher.ACTION_OPEN_APP_DRAWER -n app.olauncher.debug/app.olauncher.MainActivity
adb shell am start -a app.olauncher.ACTION_DISMISS_KEYGUARD -n app.olauncher.debug/app.olauncher.MainActivity

App drawer should open and pinpad should open, respectively. (For release build, remove .debug from the above.)

The rest of the app has not been changed at all; it functions exactly the same as before. Please let me know if you have any questions or changes you'd like me to make, thanks!

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.

App shortcut and/or intent to launch app drawer

1 participant