Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

bug 945996 - cannot take screenshots in some devices because no home button #14329

Closed
wants to merge 3 commits into from

Conversation

autonome
Copy link
Contributor

@autonome autonome commented Dec 3, 2013

Makes volume-down+sleep the shortcut for screenshots.

Now always works for softbutton and tablet devices, and matches Android convention.

@@ -197,8 +195,8 @@
fire('sleep');
setState(baseState, type);
return;
case 'home-button-press':
fire('home+sleep');
case 'volume-down-button-release':

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why release and not press? This way you have to hold home then press and release volume down. The following sequence would not work: press home, press vol down, release home, release vol down. And actually that sequence would presumably go to the homescreen even though the user is pretty obviously trying to do a screenshot here.

Am I missing something?

@autonome autonome closed this Jun 17, 2014
@autonome autonome deleted the 945996 branch June 17, 2014 19:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants