diff options
author | Jeff Sharkey <jsharkey@android.com> | 2012-05-24 10:57:43 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-05-24 10:57:43 -0700 |
commit | a51fa826438702d1513e8dcfaf25e68ba6d93db0 (patch) | |
tree | 3b2812c51a446960a038445c77332e5199b91155 /src/com/android | |
parent | 6ea99d845b94c1e90320ffc5b3fbe96ce122f8e7 (diff) | |
parent | 075d388d31f77496144fff1aa41b63ff4f9e3b50 (diff) | |
download | packages_apps_packageinstaller-a51fa826438702d1513e8dcfaf25e68ba6d93db0.zip packages_apps_packageinstaller-a51fa826438702d1513e8dcfaf25e68ba6d93db0.tar.gz packages_apps_packageinstaller-a51fa826438702d1513e8dcfaf25e68ba6d93db0.tar.bz2 |
Merge "Reduce strict Uri checking, again." into jb-dev
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); } |