BUG=
2271636
This has already been submitted to eclair-mr2.
Change-Id: I8c79b949162a98c3711f01d9c6ebbf53959fd039
}
}
});
- GeolocationPermissions.getInstance().getOrigins(new ValueCallback<Set>() {
- public void onReceiveValue(Set geolocationOrigins) {
+ GeolocationPermissions.getInstance().getOrigins(new ValueCallback<Set<String> >() {
+ public void onReceiveValue(Set<String> geolocationOrigins) {
if ((geolocationOrigins != null) && !geolocationOrigins.isEmpty()) {
websiteSettings.setEnabled(true);
}
}
});
- GeolocationPermissions.getInstance().getOrigins(new ValueCallback<Set>() {
- public void onReceiveValue(Set geolocationOrigins) {
+ GeolocationPermissions.getInstance().getOrigins(new ValueCallback<Set<String> >() {
+ public void onReceiveValue(Set<String> geolocationOrigins) {
if ((geolocationOrigins != null) && !geolocationOrigins.isEmpty()) {
screen.setEnabled(true);
}
}
public void askForGeolocation(final Map sites) {
- GeolocationPermissions.getInstance().getOrigins(new ValueCallback<Set>() {
- public void onReceiveValue(Set origins) {
+ GeolocationPermissions.getInstance().getOrigins(new ValueCallback<Set<String> >() {
+ public void onReceiveValue(Set<String> origins) {
if (origins != null) {
Iterator<String> iter = origins.iterator();
while (iter.hasNext()) {