Reflect the changes of GetDexOptNeeded in DexFile.java

- add enum for the desired compilation type.
- change getDexOptNeeded signature

Bug: 27189430

(cherry picked from commit 07f02130f64cb00ed255c1d203fc4f9532f1517b)

Change-Id: I66ccff5d5a09ba5bdf4bdbf198216ad3dd058c69
1 file changed