Skip checking the app op for step sensors for legacy apps

To maintain backwards compatibility, ensure that apps with target SDK
set to P or lower get access to step count and detect sensors,
regardless of their permission status. After a change was made to the
app ops code in rvc-dev, this check resulted in compatibility breakage
for some apps built with target SDK before Q.

Fixes: 157638722
Test: confirm that a popular step counting app from the Play Store is
      able to receive step count events after the change (where it
      couldn't before)
Change-Id: Idab0ec458221524997f68311f4c6b216c969cb61
diff --git a/services/sensorservice/SensorEventConnection.h b/services/sensorservice/SensorEventConnection.h
index 13cee6f..8d5fcf7 100644
--- a/services/sensorservice/SensorEventConnection.h
+++ b/services/sensorservice/SensorEventConnection.h
@@ -175,6 +175,7 @@
     int mEventsDropped;
     String8 mPackageName;
     const String16 mOpPackageName;
+    int mTargetSdk;
 #if DEBUG_CONNECTIONS
     int mEventsReceived, mEventsSent, mEventsSentFromCache;
     int mTotalAcksNeeded, mTotalAcksReceived;