Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

[android] Require explicit call to DL favicon #456

Merged
merged 1 commit into from
Jul 8, 2015
Merged

[android] Require explicit call to DL favicon #456

merged 1 commit into from
Jul 8, 2015

Conversation

cco3
Copy link
Contributor

@cco3 cco3 commented Jul 7, 2015

This is desirable for three reasons:

  1. These are independent features of the PWS, the calls should be made
    distinct
  2. The BeaconConfigFragment doesn't use the icon, so we shouldn't
    download it
  3. When we start caching PWOs in the discovery service, we'll need to
    fetch icons if we already have the url metadata, but no icon.

This is desirable for three reasons:

1. These are independent features of the PWS, the calls should be made
   distinct
2. The BeaconConfigFragment doesn't use the icon, so we shouldn't
   download it
3. When we start caching PWOs in the discovery service, we'll need to
   fetch icons if we already have the url metadata, but no icon.
@matthewsibigtroth
Copy link
Contributor

Could we not include the favicon as part of the metadata returned from PWS (e.g. base64 encoded)? Then the PWS would only fetch the favicon string if the requester asked for it?

@cco3
Copy link
Contributor Author

cco3 commented Jul 8, 2015

A variant of this was discussed in #362. We'd like to be able to show the entry before necessarily having the favicon. Maybe we can get the PWS fast enough that it wouldn't matter though, dunno.

@matthewsibigtroth
Copy link
Contributor

LGTM

cco3 added a commit that referenced this pull request Jul 8, 2015
[android] Require explicit call to DL favicon
@cco3 cco3 merged commit c659c9c into google:master Jul 8, 2015
@cco3 cco3 deleted the requestimage branch May 19, 2016 19:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants