diff options
author | Amith Yamasani <yamasani@google.com> | 2013-04-15 14:06:34 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2013-04-15 14:06:34 -0700 |
commit | 18197ec438ea57b2b0bc2847e7f6d903137f9e8c (patch) | |
tree | 3e84d90526e07f0107c8740c041a665bb7e0393c /core/java/android/content/pm | |
parent | edf10b18c5b86bc7e68b79d1bf47ae58e5d3aed3 (diff) | |
parent | 460071f806337f09ff789892979935916323e6a1 (diff) | |
download | frameworks_base-18197ec438ea57b2b0bc2847e7f6d903137f9e8c.zip frameworks_base-18197ec438ea57b2b0bc2847e7f6d903137f9e8c.tar.gz frameworks_base-18197ec438ea57b2b0bc2847e7f6d903137f9e8c.tar.bz2 |
am 460071f8: am 919e36d5: Merge "Allow non-system apps to use restricted accounts" into jb-mr2-dev
* commit '460071f806337f09ff789892979935916323e6a1':
Allow non-system apps to use restricted accounts
Diffstat (limited to 'core/java/android/content/pm')
-rw-r--r-- | core/java/android/content/pm/PackageParser.java | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/core/java/android/content/pm/PackageParser.java b/core/java/android/content/pm/PackageParser.java index ff0bea8..64eaf9b 100644 --- a/core/java/android/content/pm/PackageParser.java +++ b/core/java/android/content/pm/PackageParser.java @@ -1898,11 +1898,12 @@ public class PackageParser { false)) { owner.mRequiredForAllUsers = true; } - String restrictedAccountType = sa.getString(com.android.internal.R.styleable - .AndroidManifestApplication_restrictedAccountType); - if (restrictedAccountType != null && restrictedAccountType.length() > 0) { - owner.mRestrictedAccountType = restrictedAccountType; - } + } + + String restrictedAccountType = sa.getString(com.android.internal.R.styleable + .AndroidManifestApplication_restrictedAccountType); + if (restrictedAccountType != null && restrictedAccountType.length() > 0) { + owner.mRestrictedAccountType = restrictedAccountType; } String requiredAccountType = sa.getString(com.android.internal.R.styleable |