commit | 367ace2f77105f7a09b34a50bc875fd4fa591177 | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Tue Mar 07 22:12:03 2017 -0700 |
committer | Jeff Sharkey <jsharkey@android.com> | Tue Mar 07 22:15:39 2017 -0700 |
tree | f3a31c86394e602c54405cd0038d735a587d87cd | |
parent | 198cf8e53582f69239fdbcc51fcf252009cf6e3e [diff] |
Update is_valid_package_name() to match framework. The framework has a new format for /data/app directory names in OC to protect user privacy. This change updates the validation logic in installd to support the new format. For consistency the logic now mirrors the package name validation logic used by PackageParser. Test: /data/nativetest64/installd_utils_test/installd_utils_test Bug: 33705143 Change-Id: I41d270942479c52e063c29a2cb9552d7b238b86e