code: public static void showAppInfo(@NonNull final Context context,
                                     @NonNull final String packageName) {
          Condition.INSTANCE.ensureNotNull(context, "The context may not be null");
          Condition.INSTANCE.ensureNotNull(packageName, "The package name may not be null");
          Condition.INSTANCE.ensureNotEmpty(packageName, "The package name may not be empty");
          Intent intent = new Intent();
          intent.setAction(Settings.ACTION_APPLICATION_DETAILS_SETTINGS);
          Uri uri = Uri.fromParts("package", packageName, null);
          intent.setData(uri);
  
          if (intent.resolveActivity(context.getPackageManager()) == null) {
              throw new ActivityNotFoundException(
                      "App info for package " + packageName + " not available");
          }
  
          context.startActivity(intent);
      }
docs: Starts the settings app in order to show the information about a specific app.
  
  @param context
  The context, the settings app should be started from, as an instance of the class
  {@link Context}. The context may not be null
  @param packageName
  The fully qualified package name of the app, whose information should be shown, as a
  {@link String}. The package name may neither be null, nor empty