summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Moreland2017-03-10 12:58:30 -0600
committerSteven Moreland2017-03-10 15:35:31 -0600
commit629843670a878f29132788973b89c934167e7701 (patch)
treee91f36690d99bc8531f22d45857a2ecad8632da3 /storaged
parentd21cfab2446f07945b822641681e6b59c839158d (diff)
downloadplatform-system-core-629843670a878f29132788973b89c934167e7701.tar.gz
platform-system-core-629843670a878f29132788973b89c934167e7701.tar.xz
platform-system-core-629843670a878f29132788973b89c934167e7701.zip
storaged: remove usage of String16::std_string
<string> is being removed from String16 Test: adb shell dumpsys storaged <all options> Change-Id: I234ecd64d9c481cb2eeee883a715f2fbfaecc511
Diffstat (limited to 'storaged')
-rw-r--r--storaged/storaged_service.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/storaged/storaged_service.cpp b/storaged/storaged_service.cpp
index a3352982a..f968ed75f 100644
--- a/storaged/storaged_service.cpp
+++ b/storaged/storaged_service.cpp
@@ -97,19 +97,19 @@ status_t Storaged::dump(int fd, const Vector<String16>& args) {
97 if (arg == String16("--hours")) { 97 if (arg == String16("--hours")) {
98 if (++i >= args.size()) 98 if (++i >= args.size())
99 break; 99 break;
100 hours = stod(String16::std_string(args[i])); 100 hours = std::stod(String8(args[i]).string());
101 continue; 101 continue;
102 } 102 }
103 if (arg == String16("--time_window")) { 103 if (arg == String16("--time_window")) {
104 if (++i >= args.size()) 104 if (++i >= args.size())
105 break; 105 break;
106 time_window = stoi(String16::std_string(args[i])); 106 time_window = std::stoi(String8(args[i]).string());
107 continue; 107 continue;
108 } 108 }
109 if (arg == String16("--threshold")) { 109 if (arg == String16("--threshold")) {
110 if (++i >= args.size()) 110 if (++i >= args.size())
111 break; 111 break;
112 threshold = stoll(String16::std_string(args[i])); 112 threshold = std::stoll(String8(args[i]).string());
113 continue; 113 continue;
114 } 114 }
115 if (arg == String16("--force")) { 115 if (arg == String16("--force")) {