Closed Bug 884133 Opened 7 years ago Closed 7 years ago

Kill unnecessary references to sAppContext in GeckoApp

Categories

(Firefox for Android :: General, defect)

ARM
Android
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 24

People

(Reporter: sriram, Assigned: sriram)

Details

Attachments

(1 file)

GeckoApp uses sAppContext in many places where they are not needed.
Attached patch PatchSplinter Review
Attachment #763917 - Flags: review?(blassey.bugs)
Comment on attachment 763917 [details] [diff] [review]
Patch

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

::: mobile/android/base/GeckoApp.java
@@ +926,3 @@
>          final String fileName = aSrc.substring(aSrc.lastIndexOf("/") + 1);
> +        final PendingIntent emptyIntent = PendingIntent.getActivity(this, 0, new Intent(), 0);
> +        final AlertNotification notification = new AlertNotification(this, fileName.hashCode(), 

trailing ws here
Attachment #763917 - Flags: review?(blassey.bugs) → review+
https://hg.mozilla.org/mozilla-central/rev/35a76cc3c2c8
Assignee: nobody → sriram
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 24
You need to log in before you can comment on or make changes to this bug.