mirror of
https://github.com/revanced/jadb.git
synced 2025-06-12 13:17:39 +02:00
Now possible to launch apps by package name
This commit is contained in:
@ -31,6 +31,11 @@ public class PackageMangerTests {
|
||||
pm = new PackageManager(jadb.getAnyDevice());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testLaunchActivity() throws Exception {
|
||||
pm.launch(new Package("com.android.settings"));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testListPackages() throws Exception {
|
||||
List<Package> packages = pm.getPackages();
|
||||
|
Reference in New Issue
Block a user