public String getApplicationId() { return manifestAttributeSupplier.getPackage(); }
/** * Reads the package name from the manifest. This is unmodified by the build type. */ @Nullable public String getPackageFromManifest() { checkState(!mType.isForTesting()); String packageName = getManifestAttributeSupplier().getPackage(); if (packageName == null) { throw new RuntimeException(String.format("Cannot read packageName from %1$s", mDefaultSourceProvider.getManifestFile().getAbsolutePath())); } return packageName; }