Merge "Only enable Pre-reboot Dexopt if version >= 2." into main