In this post‘s comments on Sep 17 Dianne Hackborn writes:
Apps that have been running foreground services (with the associated notification) are not restricted by doze.
So yes, your findings seem to be the intended behavior.
More Related Contents:
- Android M – check runtime permission – how to determine if the user checked “Never ask again”?
- How to check Grants Permissions at Run-Time?
- Can’t get WRITE_SETTINGS permission
- SYSTEM_ALERT_WINDOW – How to get this permission automatically on Android 6.0 and targetSdkVersion 23
- How can I programmatically open the permission screen for a specific app on Android 6.0 (Marshmallow)?
- ConnectivityManager getNetworkInfo(int) deprecated
- Permission from manifest doesn’t work in Android 6
- How to make Alarm Manager work when Android 6.0 in Doze mode?
- Should have subtitle controller already set Mediaplayer error Android
- onRequestPermissionsResult not being called in fragment if defined in both fragment and activity
- Neither user 10102 nor current process has android.permission.READ_PHONE_STATE
- Android Music Seekbar is not working (Idle)
- How to ask runtime permissions for Camera in Android , Runtime storage permissions
- Android – play sound on button click – Null pointer exception
- MediaPlayer error (1, -1004) aka MEDIA_ERROR_IO trying to stream music on Samsung S3
- How to play multiple video files simultaneously in one layout side by side in different view in Android
- Expand/Collapse Lollipop toolbar animation (Telegram app)
- Android Marshmallow: Changing permissions at run time crashes app
- Android: How to integrate a decoder to multimedia framework
- How to change the status bar notification icons’ color/tint in android (marshmallow and above 23+)?
- Setting data source to an raw ID in MediaPlayer
- Music player control in notification
- Playing youtube video in Android app
- Android 6: cannot share files anymore?
- Since marshmallow update Bluetooth discovery using BluetoothAdapter.getDefaultAdapter().startDiscovery(); is broken
- Android MediaPlayer.Create() returns null
- Streaming Youtube Videos
- How to use the new Android M feature of “Text Selection” to be offered from outside of your app?
- App links intent filters in assetlinks.json not working on Android
- MediaPlayer setDataSource failed with status=0x80000000 for Ringtone set by filepath on 2.3.4