Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Request for new functionality
View staffing
Description
Component used: macrobenchmark 1.2.0-alpha16
On userdebug devices, the benchmark doesn't uninstall the app and therefore doesn't clear internal data.
If developers want to always start with the clean state, how they can clear the app data in each iteration (or reinstall the package)?
We have internal
CompilationMode.reinstallPackage
function that does the job. Can we make it public? Or have an instrumentation argument to allow reinstalling/clearing data on userdebug if needed?