Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e93f45aa authored by Mythri Alle's avatar Mythri Alle
Browse files

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
parent 6b930544
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment