You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
implement URL opening using libportal
This commit is contained in:
@@ -80,6 +80,7 @@ public class PackageItemInfo {
|
||||
|
||||
public PackageItemInfo() {
|
||||
metaData = new Bundle();
|
||||
packageName = "android";
|
||||
}
|
||||
|
||||
public PackageItemInfo(PackageItemInfo orig) {
|
||||
|
||||
@@ -2132,7 +2132,7 @@ public class PackageManager {
|
||||
* @see #GET_RESOLVED_FILTER
|
||||
*/
|
||||
public ResolveInfo resolveActivity(Intent intent, int flags) {
|
||||
return null;
|
||||
return new ResolveInfo();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
package android.content.pm;
|
||||
|
||||
public class ResolveInfo {
|
||||
public ActivityInfo activityInfo = new ActivityInfo();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user