File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
app/src/main/java/com/todobom/opennotescanner/helpers Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 1010import android .content .Intent ;
1111import android .content .IntentFilter ;
1212import android .content .ServiceConnection ;
13- import android .content .pm .PackageInfo ;
1413import android .content .pm .PackageManager ;
1514import android .database .Cursor ;
1615import android .net .Uri ;
@@ -51,6 +50,9 @@ public void onServiceDisconnected(ComponentName name) {
5150 public static boolean isGooglePlayInstalled (Context context ) {
5251 PackageManager pm = context .getPackageManager ();
5352 boolean app_installed = false ;
53+
54+ // DISABLED installation from Google Play since OpenCV Manager is removed from there
55+ /*
5456 try
5557 {
5658 PackageInfo info = pm.getPackageInfo("com.android.vending", PackageManager.GET_ACTIVITIES);
@@ -61,6 +63,8 @@ public static boolean isGooglePlayInstalled(Context context) {
6163 {
6264 app_installed = false;
6365 }
66+ */
67+
6468 return app_installed ;
6569 }
6670
You can’t perform that action at this time.
0 commit comments