}
public void unlock(BeeGameActivity fromActivity) {
if (fromActivity.getGameHelper().isSignedIn()) {
Log.d(TAG, "Unlocking achievement: " + achievementID);
Games.Achievements.unlock(fromActivity.getApiClient(), achievementID);
<BUG>fromActivity.refreshPlayGamesData();</BUG>
}
}
public void unlock(Fragment fromFragment) {
Activity hostActivity = fromFragment.getActivity();
if (hostActivity instanceof BeeGameActivity) {
unlock((BeeGameActivity) hostActivity);
}
}
}

}
public void unlock(BeeGameActivity fromActivity) {
if (fromActivity.getGameHelper().isSignedIn()) {
Log.d(TAG, "Unlocking achievement: " + achievementID);
Games.Achievements.unlock(fromActivity.getApiClient(), achievementID);
}
}
public void unlock(Fragment fromFragment) {
Activity hostActivity = fromFragment.getActivity();
