New Feature of Android 7.0 Nougat in short

kapil sharma
Aug 9, 2017 · 2 min read
  1. Doze Mode Extension (Screen-off, OnBattery)
  • Marshmallow introduced the Doze mode which defers all background jobs, Wifi scans, alarms as long as the device is not plugged in, the screen is turned off and the device is stationary. But now it will also work on the go when in your pocket(Screen off).
  • Doze will trigger with a smaller set of restrictions (no network access, deferred jobs) and will run on regular small maintenance windows.
  • Batch Background actiivty when the screen is off, Network activity and background jobs are restricted, Alarms, wakelocks and wifi scans will happen normally

2. Splits window

  • Playing with two apps at the same time side by side on one screen.
  • No change in Activity lifecycle because only one the app gets activated at one time while another app can keep getting updates.
  • New activity flags(Launch_Adjacent) is added to start app/activity in splits window

3. Picture-in-Picture (For Android TV)

An app can run on top of another app in miniature. Callback are provided when go in/out in this mode

4. Data Saver

Launched earlier to enable users to control which app can use their data(on wifi OR metered network). But now you can check if your app is affected or restricted by user to use network.

5. Notification Grouping

More then one notification from one app will be grouped by default but you can customize the UI as per your need.

6. Scoped Directory Access

After getting storage read/write permission, app can access everything but now we can request for specific directory like Picture directory etc

7. CONNECTIVITY_CHANGE will no longer trigger static receivers registered in AndroidManifest.xml. But you get it from Dynamic Broadcast receiver. Use JobScheduler to indicate which network conditions should trigger your Job.

8. NEW_PICTURE and NEW_VIDEO can no longer be sent or received. Instead job scheduler has been updated to trigger jobs on ContentProvider updates.

9. Direct Boot

It will allow component of your app to run before unlocking device.
To implement Direct Boot, you need to move all the data which are accessed by these direct boot aware components to the device protected storage area. The default storage area for any app is the credential protected storage area which is only available when the actual device is unlocked by the user

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade