Closed
Bug 964770
Opened 11 years ago
Closed 7 years ago
[Flatfish] No vibrating motor, "Vibrate" option should be removed
Categories
(Firefox OS Graveyard :: Gaia, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: ericcc, Unassigned)
References
(Depends on 1 open bug)
Details
(Whiteboard: [flatfish][TCP=polish] [p=13])
Attachments
(2 files)
GAIA commit e314d089d988f0eb1bef2404858c60b734dc4130
$GAIA_DISTRIBUTION_DIR=distribution_tablet make reset-gaia
1. Open "Clock".
2. Alarm tab, tap "New Alarm" on the top right.
3. <ISSUE> Vibrate option existed.
4. Timer tab, <ISSUE> Vibrate option existed.
Reporter | ||
Updated•11 years ago
|
Flags: needinfo?(frlee)
Comment 1•11 years ago
|
||
Is there a tag to detect whether a device supports vibration?
Reporter | ||
Comment 2•11 years ago
|
||
Reporter | ||
Comment 3•11 years ago
|
||
Comment 4•11 years ago
|
||
flatfish doesn't support Vibration from HW perspective, so vibrate option needs to be removed.
Flags: needinfo?(frlee)
Whiteboard: [Flatfish only] → [Flatfish only][developer+]
Comment 5•11 years ago
|
||
This will need some system work; presently there isn't a flag exposed to JavaScript to determine if a vibration motor is present or not. Sadly, the `navigator.vibrate()` API appears to be designed[1] to silently do nothing if no motor exists, so this would need some sort of behavior change or alternate feature-detect at the system level.
[1] https://mxr.mozilla.org/mozilla-central/source/dom/interfaces/base/nsIDOMNavigator.idl?rev=b405f493e834#80
Whiteboard: [Flatfish only][developer+] → [Flatfish only][developer+] [p=13]
Updated•11 years ago
|
Whiteboard: [Flatfish only][developer+] [p=13] → [flatfish][TCP] [p=13]
Updated•11 years ago
|
Whiteboard: [flatfish][TCP] [p=13] → [flatfish][TCP=polish] [p=13]
Comment 6•10 years ago
|
||
There is also an option in "Settings" -> "Keyboards" -> "Built-in Keyboard" -> "Vibration" that should be removed.
And there is also an option in the Settings app - Personalization - Sound.
So, I changed the summary and component.
Component: Gaia::Clock → Gaia
Summary: [Flatfish][Clock] No vibrating alert motor, "Vibrate" option should be removed from Clock → [Flatfish] No vibrating motor, "Vibrate" option should be removed
Comment 8•7 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•