diff options
Diffstat (limited to 'src/com/android')
-rwxr-xr-x | src/com/android/packageinstaller/InstallAppProgress.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/packageinstaller/InstallAppProgress.java b/src/com/android/packageinstaller/InstallAppProgress.java index bb6fda2..8bfcd4f 100755 --- a/src/com/android/packageinstaller/InstallAppProgress.java +++ b/src/com/android/packageinstaller/InstallAppProgress.java @@ -162,7 +162,7 @@ public class InstallAppProgress extends Activity implements View.OnClickListener mPackageURI = intent.getData(); final String scheme = mPackageURI.getScheme(); - if (!"file".equals(scheme)) { + if (scheme != null && !"file".equals(scheme)) { throw new IllegalArgumentException("unexpected scheme " + scheme); } |