Messaging: Use ActivityResultContracts for media and contacts
Instead of handling showing and picking the media ourselves, use existing AcitivityResultContracts to pick images, videos or contacts Change-Id: I20079ad94882cc6bbfeae8d57ca0e4aa30612c01
This commit is contained in:
@@ -18,7 +18,6 @@
|
||||
package com.android.messaging.ui.mediapicker;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.Menu;
|
||||
import android.view.MenuInflater;
|
||||
@@ -197,9 +196,6 @@ abstract class MediaChooser extends BasePagerViewHolder
|
||||
public void stopTouchHandling() {
|
||||
}
|
||||
|
||||
protected void onActivityResult(
|
||||
final int requestCode, final int resultCode, final Intent data) {}
|
||||
|
||||
@Override
|
||||
public int getConversationSelfSubId() {
|
||||
return mMediaPicker.getConversationSelfSubId();
|
||||
|
||||
Reference in New Issue
Block a user