Fix choosing the default output format in ProfilerInfo
We should choose the default format if the given input is not in the recognized list of formats. Earlier we used an '||' instead of '&&' by mistake. Bug: 259258187 Test: adb shell am profile start --streaming --profiler-output-version 2 com.google.android.apps.maps /data/local/tmp/v2_1.trace adb shell am profile stop com.google.android.apps.maps And inspect the generated trace Flag: EXEMPT Bug fix Change-Id: I0e7bee7b85a3f1f317a03d2e365ff5f51b6fb609
Loading
Please register or sign in to comment