Bug 2011536 - sanitize intent before interacting with it. #50 (firefox-autoland@autoland)

Warnings
  • Checking...
Blockers
  • Checking...
Last try job
  • No try jobs found.
Branches classnotfound-intent-crash -> autoland
Repo firefox-autoland@autoland (git) (git://github.com/pollym/firefox.git)
Author pollym
State closed
Commit Title Bug 2011536 - sanitize intent before interacting with it.
Commit Body We are seeing `ClassCastException`s in the crash report - this is likely to be happening because some external intent has serialized some class that our app doesn't know about. Calling this `sanitize()` function strips out unknown classes from the bundle. `Intent.putExtra()` will internally call unparcel(), which assumes the bundle is serializable, so we need to call sanitize before doing this. [Running a try here](https://treeherder.mozilla.org/jobs?repo=try&revision=9a328763a8bcbf33ecc7e9116aceaa5854f85157)

Landings

Successfully landed

Landing requested on , by pmceldowney@mozilla.com.

Landing Job: 26639

Last update:

Result: a2e0bf08f060ae8e10eca79d7622b4ef27583dfd on firefox-autoland@autoland (git)

Links: Treeherder