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:
parent
e53a56f7b2
commit
6bfd76caf2
@ -712,8 +712,8 @@ public class AppProvider extends FDroidProvider {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case SEARCH_REPO:
|
case SEARCH_REPO:
|
||||||
selection = selection.add(querySearch(uri.getPathSegments().get(1)));
|
selection = selection.add(querySearch(uri.getPathSegments().get(2)));
|
||||||
selection = selection.add(queryRepo(Long.parseLong(uri.getPathSegments().get(0))));
|
selection = selection.add(queryRepo(Long.parseLong(uri.getPathSegments().get(1))));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case NO_APKS:
|
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: 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: 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 {
|
public class SwapService extends Service {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user