r/Android • • Mar 21 '17

Android O is here

https://android-developers.googleblog.com/2017/03/first-preview-of-android-o.html
11.5k Upvotes

2.0k comments sorted by

View all comments

Show parent comments

523

u/Zee2 $$ Pixel XL Quite Black $$ Mar 21 '17

If it comes to that, but with manual options, I'm absolutely psyched. I'd love to have iOS level background restrictions, but with the ability to check a box authorizing background use for individual apps. I have maybe three apps on my phone that I want updating in the background, all the rest can go to iOS jail for all I care!

68

u/justjanne Developer – Quasseldroid Mar 21 '17

Actually, we're already there.

Apps can do as much in background as on iOS, but with no options around it.

But apps can always force a notification and stay running, and prevent you from removing the notification

60

u/Natanael_L Xperia 1 III (main), Samsung S9, TabPro 8.4 Mar 21 '17

iOS can't have Tasker style background tasks.

10

u/justjanne Developer – Quasseldroid Mar 21 '17

Android N can't have any background tasks anymore either, except for a few seconds after some important events happen.

11

u/Natanael_L Xperia 1 III (main), Samsung S9, TabPro 8.4 Mar 21 '17

Source? What's the criteria?

12

u/architta Nexus 6p Mar 21 '17

If you're still curious. He/She is just talking about doze. (fun conversation).

But that doesn't cover when your screen is on or your phone is not in doze. During that time background tasks are not that restricted.

8

u/Natanael_L Xperia 1 III (main), Samsung S9, TabPro 8.4 Mar 21 '17

Even with Doze you can still have recurring scheduled execution, right? Tasker wouldn't work otherwise.

→ More replies (1)

10

u/justjanne Developer – Quasseldroid Mar 21 '17

Source?

The Android M, N and O documentation, every single blogpost, in fact, even the article linked here mention it, and explain how and why

8

u/architta Nexus 6p Mar 21 '17

The article linked here is specifically android O. I don't think there is any such restrictions on android M/N. Please give us a source if you have it.

3

u/[deleted] Mar 22 '17

[removed] — view removed comment

5

u/najodleglejszy FP4 CalyxOS | Tab S7 Mar 22 '17

there's at least one person here saying that every time a new Android version is announced.

3

u/[deleted] Mar 22 '17

Dumb iOS user here. What does that translate to in reality? What can I not do?

→ More replies (1)

3

u/NessDan Google Pixel Mar 22 '17

I'm interested in this because an app I use actually warned me that they were doing this so they could not be put to sleep (or something along those lines.)

I was curious whether me hiding the notification actually lets Android doze it or not.

3

u/ilinamorato Pixel 7 Mar 21 '17

But apps can always force a notification and stay running, and prevent you from removing the notification

You can disable app notifications if you want.

5

u/justjanne Developer – Quasseldroid Mar 21 '17

Only by removing all notifications.

I have an app myself that can not use FCM, so I have to keep a background service.

If I disable the ongoing notification, the app is useless — I won't get any notifications at all, obviously.

If I do not disable it, since Android N, the notification always shows, and I can't hide it as app dev myself.

3

u/ilinamorato Pixel 7 Mar 21 '17

Yeah, it's a nuclear policy for sure.

135

u/temp9995 Mar 21 '17

Sony had this, Xiaomi still do, but Google decided they knew best and Doze > everything else and banned STAMINA mode

10

u/JohnDalysBAC Mar 21 '17

I loved my Z5c it had pretty terrific battery life!

6

u/fenbekus Mar 21 '17

Mind some insight on how Xiaomi (MIUI I guess?) deals with it? I'm a newcomer to the Xiaomi family and I'd love to learn more! Also, "banned"? Did they seriously outright banned it?

11

u/BajingoWhisperer Z play Mar 22 '17

No play services if you messed with doze, so yeah basically banned.

7

u/mostlikelynotarobot Galaxy S8 Mar 22 '17

Well, Doze was practically a part of the Play Services more so than Android. In Doze mode, IIRC, the phone could only receive notifications from Google servers (which other developers had access to through an api).

6

u/BajingoWhisperer Z play Mar 22 '17

Yes, but Google won't allow it to be removed and replaced with something better like sony's stamina mode if you want the play store.

→ More replies (5)
→ More replies (1)

9

u/[deleted] Mar 21 '17

I've always wanted "run in background" to be a permission.
There are many apps that I've uninstalled just because they feel the need to wake up all the time.

5

u/colinstalter iPhone 12 Pro Mar 21 '17 edited Jul 25 '17

0.8583

→ More replies (7)
→ More replies (9)