summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/java/android/provider/SettingsValidators.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/provider/SettingsValidators.java b/core/java/android/provider/SettingsValidators.java
index c384a2a6e0f5..84c9e8867c44 100644
--- a/core/java/android/provider/SettingsValidators.java
+++ b/core/java/android/provider/SettingsValidators.java
@@ -97,7 +97,7 @@ public class SettingsValidators {
if (value == null) {
return false;
}
- String[] subparts = value.split(".");
+ String[] subparts = value.split("\\.");
boolean isValidPackageName = true;
for (String subpart : subparts) {
isValidPackageName |= isSubpartValidForPackageName(subpart);