diff options
| author | 2019-08-21 10:19:51 -0700 | |
|---|---|---|
| committer | 2019-08-21 10:19:51 -0700 | |
| commit | 934b524b9558c70dff13c8974d718fb270fabf53 (patch) | |
| tree | dfaf14323c604c6c2bc359c5caef873891b3596d | |
| parent | 5d5329644df97df2718a63c29345fdc17a75b9b5 (diff) | |
| parent | 3ce418e1b559b27154ec4ba308a286b8587f0e5e (diff) | |
Merge "servicemanager: Allow '/' character in service names." into stage-aosp-master am: 053019df21
am: 3ce418e1b5
Change-Id: Ib64d4cbbcf8f0cba4e639da480ae5640d187f62a
| -rw-r--r-- | cmds/servicemanager/ServiceManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/servicemanager/ServiceManager.cpp b/cmds/servicemanager/ServiceManager.cpp index f35f360dec..4d5c76ab95 100644 --- a/cmds/servicemanager/ServiceManager.cpp +++ b/cmds/servicemanager/ServiceManager.cpp @@ -67,7 +67,7 @@ bool isValidServiceName(const std::string& name) { if (name.size() > 127) return false; for (char c : name) { - if (c == '_' || c == '-' || c == '.') continue; + if (c == '_' || c == '-' || c == '.' || c == '/') continue; if (c >= 'a' && c <= 'z') continue; if (c >= 'A' && c <= 'Z') continue; if (c >= '0' && c <= '9') continue; |