mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-18 03:56:04 +00:00
workloads/speedometer: Dismiss notification pop-up
When speedometer is running on a Chrome package on Android 14, a pop-up window was showing on the screen. Chrome preferences file is modified to dismiss the window.
This commit is contained in:
parent
e0bf7668b8
commit
4e9d402c24
@ -204,6 +204,9 @@ class Speedometer(Workload):
|
||||
'<boolean name="first_run_tos_accepted" value="true" />\n',
|
||||
'<boolean name="first_run_signin_complete" value="true" />\n',
|
||||
'<boolean name="displayed_data_reduction_promo" value="true" />\n',
|
||||
# Add a 'request count' value to dismiss the pop-up window on the screen.
|
||||
# If the value is greater than 1, pop-up window will be dismissed.
|
||||
'<int name="Chrome.NotificationPermission.RequestCount" value="2" />\n',
|
||||
]:
|
||||
lines.insert(len(lines) - 1, line)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user