use of org.thoughtcrime.securesms.mediasend.v2.gallery.MediaGalleryFragment in project Signal-Android by WhisperSystems.
the class AvatarSelectionActivity method onGalleryClicked.
@Override
public void onGalleryClicked() {
if (isGalleryFirst() && popToRoot()) {
return;
}
MediaGalleryFragment fragment = new MediaGalleryFragment();
FragmentTransaction transaction = getSupportFragmentManager().beginTransaction().replace(R.id.fragment_container, fragment);
if (isCameraFirst()) {
transaction.addToBackStack(null);
}
transaction.commit();
}
use of org.thoughtcrime.securesms.mediasend.v2.gallery.MediaGalleryFragment in project Signal-Android by signalapp.
the class AvatarSelectionActivity method onGalleryClicked.
@Override
public void onGalleryClicked() {
if (isGalleryFirst() && popToRoot()) {
return;
}
MediaGalleryFragment fragment = new MediaGalleryFragment();
FragmentTransaction transaction = getSupportFragmentManager().beginTransaction().replace(R.id.fragment_container, fragment);
if (isCameraFirst()) {
transaction.addToBackStack(null);
}
transaction.commit();
}
Aggregations