Closed Bug 1121823 Opened 9 years ago Closed 9 years ago

There should be an option to disable the lockscreen search shortcut.

Categories

(Firefox for Android Graveyard :: Settings and Preferences, defect)

35 Branch
ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: grayphoque, Unassigned)

References

Details

Currently there's no way to disable the swipe-up search shortcut on the lockscreen, which also automatically enables the Camera shortcut.
Which version of Android are you using? I'm on Android 5.0.1 and on my lock-screen I just have access to the dialler and camera.
Flags: needinfo?(grayphoque)
(In reply to Aaron Train [:aaronmt] from comment #1)
> Which version of Android are you using? I'm on Android 5.0.1 and on my
> lock-screen I just have access to the dialler and camera.

4.4.4, pretty much stock (phone is Moto G).

I normally don't have anything on the lock screen besides the clock and the slide-unlock widget.
After updating to FF35 I now have the slide-up search shortcut and the camera icon on the right.

If I uninstall Firefox, the shortcuts go away.
Flags: needinfo?(grayphoque)
Thanks. I agree we shouldn't be interfering with system operations opening the camera.
Status: UNCONFIRMED → NEW
tracking-fennec: --- → ?
Ever confirmed: true
I can't reproduce this on my 4.3 and 4.4 devices. I can get the swipe-up gesture to display the list of Search Activities (Firefox and Google). Tapping one of them opens the search app. The camera app does not open.

If I could reproduce the Camera issue, we'd try to fix it. We have no way to "turn off" the swipe gesture. It's hard coded in the application manifest and Android seems to be responsible for activating it in your lockscreen. Maybe Motorola is not shipping the Google search app, so it doesn't show up for you?
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
tracking-fennec: ? → ---
(In reply to Mark Finkle (:mfinkle) from comment #4)
> Maybe Motorola is not shipping the Google search app
I disabled it manually.
Chrome for Android doesn't trigger those lockscreen shortcuts. I only have FF's activity in there.
I notice some references to KEYGUARD in the Search code. Should this be removed?
http://mxr.mozilla.org/mozilla-central/source/mobile/android/search/java/org/mozilla/search/SearchWidget.java#108
Flags: needinfo?(wjohnston)
Flags: needinfo?(rnewman)
Flags: needinfo?(margaret.leibovic)
Note that the code in comment 6 is not in the Search activity, but is in the Homescreen widget. It should have no affect on the Search activity. Just double checking.
(In reply to Mark Finkle (:mfinkle) from comment #7)
> Note that the code in comment 6 is not in the Search activity, but is in the
> Homescreen widget. It should have no affect on the Search activity. Just
> double checking.

Yeah. That code should run if we're on a lockscreen, since we had a slightly different layout there. If it was running, we'd see it. But its vestigial at this point. I'll file a good-first-bug to remove it.
Flags: needinfo?(wjohnston)
Blocks: 1122767
Flags: needinfo?(margaret.leibovic)
Flags: needinfo?(rnewman)
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.