mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-04-24 16:57:15 -04:00
Search now works when choosing swapped apps to install.
Was incorrectly parsing the URI in order to build a query for the database.
This commit is contained in:
@@ -712,8 +712,8 @@ public class AppProvider extends FDroidProvider {
|
||||
break;
|
||||
|
||||
case SEARCH_REPO:
|
||||
selection = selection.add(querySearch(uri.getPathSegments().get(1)));
|
||||
selection = selection.add(queryRepo(Long.parseLong(uri.getPathSegments().get(0))));
|
||||
selection = selection.add(querySearch(uri.getPathSegments().get(2)));
|
||||
selection = selection.add(queryRepo(Long.parseLong(uri.getPathSegments().get(1))));
|
||||
break;
|
||||
|
||||
case NO_APKS:
|
||||
|
||||
@@ -70,7 +70,6 @@ import java.util.TimerTask;
|
||||
*
|
||||
* TODO: Starting wifi after cancelling swap and beginning again doesn't work properly
|
||||
* TODO: Scan QR hangs when updating repoo. Swapper was 2.3.3 and Swappee was 5.0
|
||||
* TODO: Search in "touch to install apps" screen is busted, causes crash.
|
||||
*
|
||||
*/
|
||||
public class SwapService extends Service {
|
||||
|
||||
Reference in New Issue
Block a user