Closed Bug 723243 Opened 12 years ago Closed 12 years ago

SimpleScaleGestureDetector uses getActionIndex(), which is not available in eclair

Categories

(Firefox for Android Graveyard :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(firefox11 fixed, firefox12 fixed, firefox13 fixed)

RESOLVED FIXED
Firefox 13
Tracking Status
firefox11 --- fixed
firefox12 --- fixed
firefox13 --- fixed

People

(Reporter: blassey, Assigned: blassey)

Details

Attachments

(1 file)

Attached patch patchSplinter Review
This is just a convenience function which was introduced in Froyo. It is the equivalent of: 

(event.getAction() & MotionEvent.ACTION_POINTER_ID_MASK) >> MotionEvent.ACTION_POINTER_ID_SHIFT

but, ACTION_POINTER_ID_* was renamed to ACTION_POINTER_INDEX_* in Froyo, so I used those constants in the patch
Attachment #593554 - Flags: review?(wjohnston)
Attachment #593554 - Flags: review?(wjohnston) → review+
https://hg.mozilla.org/mozilla-central/rev/6befd1389592
Assignee: nobody → blassey.bugs
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 13
Comment on attachment 593554 [details] [diff] [review]
patch

[Approval Request Comment]
Regression caused by (bug #): 
User impact if declined: 
Crash when touching on eclair
Testing completed (on m-c, etc.): 
Risk to taking this patch (and alternatives if risky):
String changes made by this patch:
Attachment #593554 - Flags: approval-mozilla-beta?
Attachment #593554 - Flags: approval-mozilla-aurora?
Comment on attachment 593554 [details] [diff] [review]
patch

[Triage Comment]
Mobile only - approved for Aurora 12 and Beta 11.
Attachment #593554 - Flags: approval-mozilla-beta?
Attachment #593554 - Flags: approval-mozilla-beta+
Attachment #593554 - Flags: approval-mozilla-aurora?
Attachment #593554 - Flags: approval-mozilla-aurora+
(In reply to Brad Lassey [:blassey] from comment #5)
> https://hg.mozilla.org/releases/mozilla-beta/rev/02d946fad4c7

this is actually bug 723151's patch
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: