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

Change-Id: I4dbab603ba2d42b5301539cc3110bef02868ee1e