Skip to content

Commit

Permalink
UIBenchJankTests:modification to support Android 14 version
Browse files Browse the repository at this point in the history
"--user <USER_ID" (current user: 0) option is added to
activity manager (am) command because of "Invalid userId" command.
Tested with other benchmarks (geekbench) as well.
  • Loading branch information
eliftopuz committed Nov 8, 2023
1 parent 0179202 commit 512ee91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wa/framework/workload.py
Original file line number Diff line number Diff line change
Expand Up @@ -945,7 +945,7 @@ def __init__(self, owner, instrument_args=None, raw_output=False,
def setup(self, context):
self.initialize_package(context)

words = ['am', 'instrument']
words = ['am', 'instrument', '--user', '0']
if self.raw:
words.append('-r')
if self.wait:
Expand Down

0 comments on commit 512ee91

Please sign in to comment.