Move getTargetSdk to common file

Bug: 148559042
Test: compilation
Change-Id: I7a300e74613cc2b09e16326a3deefb3bd0a40d99
1 file changed