Closed Bug 945341 Opened 6 years ago Closed 5 years ago

Kindle Fire: crash in android.content.ActivityNotFoundException: No Activity found to handle act=android.settings.SYNC_SETTINGS when opening Settings > Sync

Categories

(Firefox for Android :: General, defect, critical)

All
Android
defect
Not set
critical

Tracking

()

RESOLVED FIXED
Firefox 33
Tracking Status
firefox31 --- wontfix
firefox32 --- fixed
firefox33 --- fixed

People

(Reporter: rnewman, Assigned: rnewman)

References

(Blocks 1 open bug)

Details

(Keywords: crash, Whiteboard: kindle, [closeme kill-old-sync])

Crash Data

Attachments

(1 file)

This bug was filed from the Socorro interface and is 
report bp-07322fd0-4552-400d-8607-a310b2131128.
=============================================================

This is because Settings > Sync just fires an intent, and the Fire doesn't have the right components to handle it.

Solutions for this:

* Short term: hide that settings item on devices that can't handle it.
* Long term: build our own Sync settings UI, and don't call out to Android at all. (This will also fix a few other bugs.)
Just received this crash type in Firefox 26 on my Kindle Fire HDX 8.9:

https://crash-stats.mozilla.com/report/index/05f46ab4-8f1d-41df-ac84-d4b642140103

Not seeing this or the crash reporter every time I go into Settings->Sync though.
(In reply to Brian Carpenter [:geeknik] from comment #1)
 
> Not seeing this or the crash reporter every time I go into Settings->Sync
> though.

Could you clarify? Do you mean that *sometimes* you go into Settings > Sync, and something happens *other than* a crash?
Correct. Sometimes it appears as though nothing happens, but the browser is unresponsive for a few seconds like it restarted itself. But I don't see the crash reporter and there is no new entry in about:crashes. All of the tabs that were there before are still there (despite having Firefox set not to reopen tabs when you restart the browser).
Blocks: kindle
Is this still an issue with the new Firefox Sync UI in Firefox 29 +?
Would be curious to know too, but alas I have no Kindle.
Crashes on 29 beta 1 and 2 have been reported.
Well, on access to legacy Sync
It doesn't affect the new Sync UI, but will affect existing Sync 1.1 users.
Whiteboard: kindle → kindle, [closeme kill-old-sync]
For future reference: folks are installing the stock Android settings app on Kindles.

http://forum.xda-developers.com/showthread.php?t=1897380
Assignee: nobody → rnewman
Status: NEW → ASSIGNED
Behavior in modern Firefox -- that is, with FxA -- is pretty good already, and fine with this patch.

These changes, then, are for suckers like me -- we paired via old Sync, and now attempting to reach Settings will crash.

There's nothing much we can do about that, because there's no Settings app, but we can avoid the crash. Eventually we'll kill their old account and replace it with FxA, and the problem will go away.

Users who have installed a Settings app will be unaffected.

Chunks of this patch require upstreaming.
Attachment #8452584 - Flags: review?(nalexander)
Comment on attachment 8452584 [details] [diff] [review]
Don't fail to open Sync settings on Kindle

Review of attachment 8452584 [details] [diff] [review]:
-----------------------------------------------------------------

This one gets the gps "reluctant r+" treatment :)
Attachment #8452584 - Flags: review?(nalexander) → review+
https://hg.mozilla.org/mozilla-central/rev/5cc2818f40dd
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 33
Comment on attachment 8452584 [details] [diff] [review]
Don't fail to open Sync settings on Kindle

Approval Request Comment
[Feature/regressing bug #]:
  Lack of Android functionality on Kindle Fire.

[User impact if declined]:
  Users with pre-FxA Sync accounts can reliably crash the browser by tapping "Sync" in Settings.

[Describe test coverage new/current, TBPL]:
  None. Manual testing only.

[Risks and why]: 
  Low risk: this is a band-aid. We're in the middle of a project to improve our experience on Kindle devices.

[String/UUID change made/needed]:
  None.
Attachment #8452584 - Flags: approval-mozilla-aurora?
Attachment #8452584 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
You need to log in before you can comment on or make changes to this bug.