Closed Bug 716325 Opened 13 years ago Closed 13 years ago

Handle nulls in PanZoomController.java's MotionEvent handlers without throwing exceptions

Categories

(Firefox for Android Graveyard :: General, defect, P3)

ARM
Android
defect

Tracking

(fennec11+)

RESOLVED DUPLICATE of bug 716673
Tracking Status
fennec 11+ ---

People

(Reporter: cpeterson, Assigned: kats)

Details

In bug 714874, :kats recommended opening a new bug to: 1. Make PanZoomController.java's MotionEvent handlers more robust against nulls by replacing exceptions with log messages. Note that null can be returned from convertViewPointToLayerPoint() and JSONObject.toString()! 2. Refactor PanZoomController.java's MotionEvent handlers to consolidate common code into a private helper method called something like |sendGeckoGestureEvent(String geckoEventName, MotionEvent motionEvent)|.
This is done in patch 2 on bug 716673. I'll leave this open for now since I'm not sure if those patches will end up landing or not.
Assignee: nobody → bugmail.mozilla
Depends on: 716673
tracking-fennec: --- → 11+
Priority: -- → P3
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
No longer depends on: 716673
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.