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)

ARM
Gonk (Firefox OS)
defect
Not set
normal

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.
Flags: needinfo?(frlee)
Is there a tag to detect whether a device supports vibration?
Attached image NewAlarmVibrate.png
Attached image TimerVibrate.png
flatfish doesn't support Vibration from HW perspective, so vibrate option needs to be removed.
Flags: needinfo?(frlee)
Whiteboard: [Flatfish only] → [Flatfish only][developer+]
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]
Depends on: 971729
Whiteboard: [Flatfish only][developer+] [p=13] → [flatfish][TCP] [p=13]
Whiteboard: [flatfish][TCP] [p=13] → [flatfish][TCP=polish] [p=13]
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
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.

Attachment

General

Created:
Updated:
Size: