Skip to content

Commit

Permalink
Removed unneccessary spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
emvaized authored Nov 20, 2021
1 parent c8ccf72 commit 6a24ce4
Showing 1 changed file with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
import android.os.Build;
import android.util.Base64;
import android.graphics.Canvas;

import androidx.annotation.NonNull;

import java.io.ByteArrayOutputStream;
Expand Down Expand Up @@ -58,26 +57,18 @@ public void onMethodCall(@NonNull MethodCall call, @NonNull Result result) {
Boolean isDetail = call.argument("isDetail");
result.success(getInstalledList(isDetail));



} else if(call.method.equals("getPackageDetail")){
String packageName = call.argument("packageName");
result.success(getPackageDetail(packageName));



} else if(call.method.equals("getPackageArchiveInfo")){
String archivePath = call.argument("path");
result.success(getPackageArchiveInfo(archivePath));



} else if(call.method.equals("isInstall")){
String packageName = call.argument("packageName");
result.success(isInstall(packageName));



} else if(call.method.equals("openApp")){
String packageName = call.argument("packageName");
PackageManager packageManager = this.activity.getPackageManager();
Expand All @@ -89,8 +80,6 @@ public void onMethodCall(@NonNull MethodCall call, @NonNull Result result) {
result.success(true);
}



} else if(call.method.equals("install")){
String path = call.argument("path");
File file = new File(path);
Expand All @@ -114,8 +103,6 @@ public void onMethodCall(@NonNull MethodCall call, @NonNull Result result) {
this.activity.startActivity(intent);
result.success(true);



} else if(call.method.equals("unInstall")){
String packageName = call.argument("packageName");
Uri uri = Uri.fromParts("package", packageName, null);
Expand Down Expand Up @@ -217,7 +204,6 @@ public Map getPackageDetail(String packageName){
return info;
}


public Map getPackageArchiveInfo(String path){
Map info = new HashMap();

Expand Down

0 comments on commit 6a24ce4

Please sign in to comment.