File tree 1 file changed +9
-2
lines changed
test_media/reference-workload
1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -85,6 +85,13 @@ IDB_BASE=
85
85
for dir in /data/local/storage/permanent /data/local/storage/persistent /data/local/indexedDB; do
86
86
if [ -n " $( adb shell " test -d $dir /chrome && echo found" ) " ]; then
87
87
IDB_BASE=$dir
88
+
89
+ if [ " $IDB_BASE " == " /data/local/storage/permanent" ]; then
90
+ IDB_DEFAULT_BASE=/data/local/storage/default
91
+ else
92
+ IDB_DEFAULT_BASE=" $IDB_BASE "
93
+ fi
94
+
88
95
break
89
96
fi
90
97
done
@@ -125,7 +132,7 @@ for app in $APPS; do
125
132
echo " Unable to determine communications application ID - skipping dialer history..."
126
133
LINE=" Dialer History: skipped"
127
134
else
128
- adb push $SCRIPT_DIR /dialerDb-$DIALER_COUNT .sqlite $IDB_BASE /$DIALER_DIR$IDB_PATH /2584670174dsitanleecreR.sqlite || exit 1
135
+ adb push $SCRIPT_DIR /dialerDb-$DIALER_COUNT .sqlite $IDB_DEFAULT_BASE /$DIALER_DIR$IDB_PATH /2584670174dsitanleecreR.sqlite || exit 1
129
136
LINE=" Dialer History: $( printf " %4d" $DIALER_COUNT ) "
130
137
fi
131
138
;;
@@ -187,7 +194,7 @@ for app in $APPS; do
187
194
echo " Unable to determine calendar application ID - skipping calendar..."
188
195
LINE=" Calendar: skipped"
189
196
else
190
- adb push $SCRIPT_DIR /calendarDb-$CAL_COUNT .sqlite $IDB_BASE /$CAL_DIR$IDB_PATH /125582036br2agd-nceal.sqlite || exit 1
197
+ adb push $SCRIPT_DIR /calendarDb-$CAL_COUNT .sqlite $IDB_DEFAULT_BASE /$CAL_DIR$IDB_PATH /125582036br2agd-nceal.sqlite || exit 1
191
198
LINE=" Calendar: $( printf " %4d" $CAL_COUNT ) "
192
199
fi
193
200
fi
You can’t perform that action at this time.
0 commit comments