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)
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 hidden (mozreview-request) |
Comment 2•8 years ago
|
||
mozreview-review |
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+
Assignee | ||
Comment 3•8 years ago
|
||
mozreview-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
Assignee | ||
Updated•8 years ago
|
Blocks: as-android-newtab
Comment 5•8 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox52:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 52
Updated•8 years ago
|
Iteration: --- → 1.7
Comment 6•8 years ago
|
||
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).
Updated•8 years ago
|
Updated•8 years ago
|
Status: RESOLVED → VERIFIED
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•