I'm not super familiar with these @TargetApi annotations. Does this mean that this function will be ignored, and thus the rest of the app  will still run, on sub-version-12 devices?

We try to maintain compatibility down to 2.2.