Guard pre-O apps from malicious startForegroundService() am: 0a82690868
am: 33369bbd2a

Change-Id: I074b6274b98cf233b3fe9bf97807e727e38ad4bb