
Traceview revealed that the call to DB.getApps() was by far the slowest part of recreating the activity, followed by getPackageInfo(). By transferring the list contents and some other fields from the old activity object, the time needed to create the new one can be substantially reduced.
Description
Languages
Java
98.5%
Shell
0.6%
Python
0.6%
AIDL
0.2%
HTML
0.1%