Merge branch 'small-swap-repo-fixes' of https://gitlab.com/eighthave/fdroidclient
This commit is contained in:
		
						commit
						f4d9191ed5
					
				| @ -172,13 +172,15 @@ public class FDroid extends ActionBarActivity { | ||||
|             query = data.getSchemeSpecificPart(); | ||||
|         } | ||||
| 
 | ||||
|         // an old format for querying via packageName | ||||
|         if (query.startsWith("pname:")) | ||||
|             appId = query.split(":")[1]; | ||||
|         if (!TextUtils.isEmpty(query)) { | ||||
|             // an old format for querying via packageName | ||||
|             if (query.startsWith("pname:")) | ||||
|                 appId = query.split(":")[1]; | ||||
| 
 | ||||
|         // sometimes, search URLs include pub: or other things before the query string | ||||
|         if (query.contains(":")) | ||||
|             query = query.split(":")[1]; | ||||
|             // sometimes, search URLs include pub: or other things before the query string | ||||
|             if (query.contains(":")) | ||||
|                 query = query.split(":")[1]; | ||||
|         } | ||||
| 
 | ||||
|         Intent call = null; | ||||
|         if (appId != null && appId.length() > 0) { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Daniel Martí
						Daniel Martí