How can I deal with the Baseline Profile generation when I have different code running depending on the device?
For example, I have some kind of method like this:
public static String runCode() {
if (Utils.isTablet()) {
doSomethingTablet();
} else {
doSomethingPhone();
}
}
If I run the BaselineProfileGenerator and use a phone to generate the BP file, the doSomethingTablet() wouldn't be recorded unless I run the generator on a Tablet. If I run it separately I'll have two different baselines files. How Can I organize them or join the content of those files?