mirror of
https://github.com/fankes/termux-app.git
synced 2025-09-06 02:35:19 +08:00
Changed: Change ShareUtils.openSystemAppChooser() to public
This commit is contained in:
@@ -34,7 +34,7 @@ public class ShareUtils {
|
|||||||
* @param intent The intent that describes the choices that should be shown.
|
* @param intent The intent that describes the choices that should be shown.
|
||||||
* @param title The title for choose menu.
|
* @param title The title for choose menu.
|
||||||
*/
|
*/
|
||||||
private static void openSystemAppChooser(final Context context, final Intent intent, final String title) {
|
public static void openSystemAppChooser(final Context context, final Intent intent, final String title) {
|
||||||
if (context == null) return;
|
if (context == null) return;
|
||||||
|
|
||||||
final Intent chooserIntent = new Intent(Intent.ACTION_CHOOSER);
|
final Intent chooserIntent = new Intent(Intent.ACTION_CHOOSER);
|
||||||
|
Reference in New Issue
Block a user