[TIMOB-26281] Android: Investigate privacy-changes in Android P
GitHub Issue | n/a |
---|---|
Type | Story |
Priority | Medium |
Status | Closed |
Resolution | Done |
Resolution Date | 2018-10-26T01:24:15.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Android |
Labels | android, android-p, camera |
Reporter | Hans Knöchel |
Assignee | Joshua Quick |
Created | 2018-08-10T07:34:29.000+0000 |
Updated | 2018-10-26T01:24:15.000+0000 |
Description
Android P introduces some [behavior changes](https://developer.android.com/about/versions/pie/android-9.0-changes-all#privacy-changes-all) of which some also effect apps not targeting Android P but running on them. In detail, there are privacy changes that for example disallow the microphone or camera to be used from the background. We should investigate if this affects our apps as well.
I'm pretty sure supporting these features in the background requires a foreground service which was implemented in 7.3.0. But we should double-check what the behavior actually is and document it.
I've confirmed that we can still use GPS while app is in the background if using a foreground service. Also, gyroscope and accelerometer sensors still work on Android P as well... although an app developer should always turn these sensors off while backgrounded. Titanium orientation event handling already internally turns it off when suspended and re-enables the orientation sensors when the app is resumed. We're good.