Closed Bug 1310603 Opened 8 years ago Closed 8 years ago

Add 'source' icon (Bookmarked/Visited) to Activity Stream highlights

Categories

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

All
Android
defect

Tracking

(firefox52 verified)

VERIFIED FIXED
Firefox 52
Tracking Status
firefox52 --- verified

People

(Reporter: sebastian, Assigned: sebastian)

References

Details

(Whiteboard: [MobileAS])

Attachments

(1 file)

No description provided.
Comment on attachment 8801645 [details] Bug 1310603 - Activity Stream highlights: Add "Visited" and "Bookmarked" icons. https://reviewboard.mozilla.org/r/86314/#review85230 ::: mobile/android/base/java/org/mozilla/gecko/home/activitystream/StreamItem.java:143 (Diff revision 1) > vSourceView.setText(R.string.activity_stream_highlight_label_visited); > vSourceView.setVisibility(View.VISIBLE); > + vSourceIconView.setImageResource(R.drawable.ic_as_visited); > } else { > vSourceView.setVisibility(View.INVISIBLE); > + vSourceIconView.setImageResource(0); I take it this works, but it looks weird to me. What whill this call actually do? Can it throw?
Attachment #8801645 - Flags: review?(gkruglov) → review+
Comment on attachment 8801645 [details] Bug 1310603 - Activity Stream highlights: Add "Visited" and "Bookmarked" icons. https://reviewboard.mozilla.org/r/86314/#review85468 ::: mobile/android/base/java/org/mozilla/gecko/home/activitystream/StreamItem.java:143 (Diff revision 1) > vSourceView.setText(R.string.activity_stream_highlight_label_visited); > vSourceView.setVisibility(View.VISIBLE); > + vSourceIconView.setImageResource(R.drawable.ic_as_visited); > } else { > vSourceView.setVisibility(View.INVISIBLE); > + vSourceIconView.setImageResource(0); This will reset the image in case there's one assigned from a previous call to bind().
Pushed by s.kaspari@gmail.com: https://hg.mozilla.org/integration/autoland/rev/8b2ff5b21e39 Activity Stream highlights: Add "Visited" and "Bookmarked" icons. r=Grisha
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 52
Iteration: --- → 1.7
The fix is now verified on latest Nightly (2016-11-10), using the next devices: - Nexus 5 (Android 6.0.1); - Huawei Honor 5x (Android 5.1.1).
Status: RESOLVED → VERIFIED
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: