mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-30 08:34:16 +01:00
fix failure to launch url intent on Android 12
This commit is contained in:
parent
edc9d34654
commit
3caa0f14e8
1 changed files with 1 additions and 3 deletions
|
@ -97,9 +97,7 @@ public class NetUtils {
|
|||
// Requires a login, so only of use to me right now....
|
||||
String url = urlForGameID( context, gameID );
|
||||
Intent intent = new Intent( Intent.ACTION_VIEW, Uri.parse( url ) );
|
||||
if ( null != intent.resolveActivity( context.getPackageManager() ) ) {
|
||||
context.startActivity( intent );
|
||||
}
|
||||
context.startActivity( intent );
|
||||
}
|
||||
|
||||
private static final String FORCE_HOST = null
|
||||
|
|
Loading…
Add table
Reference in a new issue