Fixes
This commit is contained in:
parent
7d11782d56
commit
a77d32bd1b
2 changed files with 2 additions and 1 deletions
|
@ -270,6 +270,7 @@ public class IabHelper {
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// no service available to handle that Intent
|
// no service available to handle that Intent
|
||||||
|
mServiceConn = null;
|
||||||
if (listener != null) {
|
if (listener != null) {
|
||||||
listener.onIabSetupFinished(
|
listener.onIabSetupFinished(
|
||||||
new IabResult(BILLING_RESPONSE_RESULT_BILLING_UNAVAILABLE,
|
new IabResult(BILLING_RESPONSE_RESULT_BILLING_UNAVAILABLE,
|
||||||
|
|
|
@ -387,7 +387,7 @@ public class MapContextMenuFragment extends Fragment implements DownloadEvents {
|
||||||
});
|
});
|
||||||
|
|
||||||
final ImageButton buttonWaypoint = (ImageButton) view.findViewById(R.id.context_menu_route_button);
|
final ImageButton buttonWaypoint = (ImageButton) view.findViewById(R.id.context_menu_route_button);
|
||||||
buttonWaypoint.setImageDrawable(iconsCache.getIcon(R.drawable.map_action_waypoint,
|
buttonWaypoint.setImageDrawable(iconsCache.getIcon(R.drawable.map_action_flag_dark,
|
||||||
!nightMode ? R.color.icon_color : R.color.dashboard_subheader_text_dark));
|
!nightMode ? R.color.icon_color : R.color.dashboard_subheader_text_dark));
|
||||||
AndroidUtils.setDashButtonBackground(getMapActivity(), buttonWaypoint, nightMode);
|
AndroidUtils.setDashButtonBackground(getMapActivity(), buttonWaypoint, nightMode);
|
||||||
buttonWaypoint.setOnClickListener(new View.OnClickListener() {
|
buttonWaypoint.setOnClickListener(new View.OnClickListener() {
|
||||||
|
|
Loading…
Reference in a new issue