r/Android • u/kbDL- Dark Pink • Feb 19 '20
Android 11 Developer Preview | Android Developers
https://developer.android.com/preview/459
u/armando_rod Pixel 10 Pro XL Feb 19 '20
The emulator has dark theme schedule for sunrise/sunset or custom
409
u/SoundOfTomorrow Pixel 3 & 6a Feb 19 '20
Time to guess which beta removes this functionality and which beta reenables it
144
u/GuyInA5000DollarSuit Feb 19 '20
Should have this functionality by around Android 15
61
u/UnicornsOnLSD iPhone 13 | OnePlus 5 Feb 19 '20
But you'll never see it on an actual ROM
Where are those slices you created for Android 9, Google?
→ More replies (1)27
u/dangerous-pie Oneplus 6 Feb 19 '20
Honestly I think they just wanted something to tie in with the whole "Pie" branding and never really cared about slices.
6
u/galient5 Pixel 2 XL, 9.0 Feb 20 '20
Which really sucks. That was one of my favorite parts of Allo. I wasn't a fan of the style, but it would have been a great app if they had just made it look like their other apps, and tied in the SMS capability.
I loved being able to send interactive parts of Google searches, and map results. I was really looking forward to having that functionality built into large parts of Android, but I guess that's just never seeing the light of day.
2
26
u/najodleglejszy FP4 CalyxOS | Tab S7 Feb 19 '20
in the meantime, you can set it up with Tasker so that it triggers when Night Light kicks in.
7
5
76
u/ShortFuse SuperOneClick Feb 19 '20
For any developers, sunrise and sunrise is a calculated value. You don't need to use a third-party provider to give you it.
It makes sense since, you know, it's Earth rotating and spinning around the Sun. It's very unlikely those numbers will change short of an asteroid hitting us.
36
u/SoundOfTomorrow Pixel 3 & 6a Feb 19 '20
For any developers, is there a simple API to see that sunset or sunrise has occurred?
What you explained is not true when daylight savings, leap days, and leap seconds have existed. Compare the Unix epoch time to your current time.
28
u/Tweenk Pixel 7 Pro Feb 19 '20
You compute the sunrise and sunset from UTC time, location and the solar equation, not from local time.
30
u/ShortFuse SuperOneClick Feb 19 '20
Timezone data is irrelevant. That's just how you present it to the user. Those are human inventions. Just use Locale to change it to something other than UTC based on the user's preference.
The time is calculated based on the position of the Earth represented by latitude and longitude. You pick a starting date with known value and extrapolate from there. This library uses January 1st, 2000 12:00 and works from there.
6
u/datadude3 Google Pixel XL, 7.1.1; Moto X 2014, 5.1; Nexus 9, 7.0 Feb 20 '20
Unfortunately, you do need the user's location to do this calculation, which can be a pretty tough sell to get that permission for a lot of apps.
2
u/ThellraAK Feb 20 '20
Now I am wondering how tough it would be to get a users location given sunset sunrise time if Android provided that directly.
→ More replies (1)1
u/ShortFuse SuperOneClick Feb 20 '20
I guess I overlooked it since the apps I write for clients all center around GIS.
The key is how you present the option. You could ask for a coarse location right when the user tries to use that feature. You could ask the user to type in a Zip Code or State if in the US. Worse case scenario, you take the Locale, and Time Zone data and make a guess. (For example, the Locale to France and the Time Zone being set to CEST.) The Time Zone by itself basically gives you the latitude. You can then take a guess at the longitude, or use an average.
The last option is geolocating by IP, which isn't so terrible either, but requires Internet.
7
23
7
36
u/sc919 Feb 19 '20
TIL this is not an Android 10 feature but something nice Samsung added a year early again :D
→ More replies (1)28
u/TheCatCubed S24 Ultra, Android 15 Feb 19 '20
Yeah most android skins have the scheduling feature, weird how Google can't implement such a simple thing
→ More replies (1)16
u/AwesomeAsian Feb 19 '20
I feel like they could've implemented this in Android 10 but decided not to because they could bring in "new features" in Android 11.
15
u/danopia Orange Pixel 4 XL, Stock Feb 19 '20
I've been using the hidden Android 10 automatic dark mode (based on sunrise/sunset in theory) and the biggest problem is that switching dark mode resets some screens, eg if you're in a web page when it toggles, the page gets reloaded. Maybe Google is doing something about that before making this feature public facing again
1
u/IAMNUTSTUPID Feb 20 '20
Yeah I've noticed that with the battery saver. As soon as your phone hits the low battery threshold, whatever app you're in gets reset
1
u/whatisapersonreally Feb 20 '20
Also, some of the stock apps don’t follow suit when changed through the automatic dark mode app on OnePlus.
3
u/danopia Orange Pixel 4 XL, Stock Feb 20 '20
Interesting, I wonder if the apps are a different implementation actually! I'm using the one that's fully baked into Android 10 (no third party app) but it also requires an adb command and a reboot to be enabled. The "dark mode" toggle in Settings is always visibly off, and if I touch that it'll overwrite the automatic mode until I set it again.
→ More replies (3)11
2
u/le_pman Feb 20 '20
to those with OLED displays and use dark mode and want this: why?
I want to understand. why want to have battery-burning light mode, even just for the daytime? is it an aesthetic thing? wanting to see both dark and light but don't want to toggle?
13
u/armando_rod Pixel 10 Pro XL Feb 20 '20
Light theme is easier to read on direct sunlight for example
→ More replies (4)1
87
u/armando_rod Pixel 10 Pro XL Feb 19 '20
Gestures work way better now with third party launchers
47
u/simplefilmreviews Black Feb 19 '20
So that means it truly was up to Google to fix the issue, not the app devs themselves?!
32
u/TheFirmWare Feb 19 '20
Why did they have to wait for Android 11 to fix this ffs
5
u/wazfu_bvekfist Feb 20 '20
So that they could put a "new" feature for the next version. if the did that, well, we wouldn't get this "new" feature
1
u/serialkvetcher Darth Droidus Feb 21 '20
This is gold!
Meanwhile here's more Google Assistant, Photos and Machine Learning upgrades you dont really care about. RCS? Oh, we are moving on to set up Duo as a messenger. So fuck that.
1
u/4567890 Ars Technica Feb 19 '20 edited Feb 19 '20
What's different? I've been using Nova on Android 10 forever. I've got two phones side-by-side and I'm not seeing anything different.
14
u/el_smurfo Feb 19 '20
The multitask swipe is much more reliable (i.e. previously app might crash or disappear) and the recents screen is consistent,with an easy swipe to return to home.
3
u/fotbumblebee Feb 19 '20
The 3 second lag when switching to a closed app is gone? I may load this up solely for this reason. Have been using the 3 button navigation as a workaround till now.
3
u/el_smurfo Feb 19 '20
Seems as fast as Pixel Launcher to me. There is still a small lag when returning home before you can interact with the screen, but I noticed that on the stock launcher too.
→ More replies (2)2
u/armando_rod Pixel 10 Pro XL Feb 19 '20
From recents now you can swipe up to go home (before you had to tap an empty space, swipe up from recent only worked in Pixel Launcher)
Smoother and consistent left/right swipe to change apps
More reliable app switching using gesture left/right, it doesn't get stuck in recents with big previews (at least it doesn't get stuck as often)
More reliable app switching through the recent apps, I don't get the bug that you select the app and nothing happens
145
u/MrRiggs Pixel 2 XL Feb 19 '20
"Note: If you are not a developer but you want to try Android 11, please wait a little longer - we're expecting to open Android Beta enrollments in the next several weeks."
Can't stress this enough..
55
u/armando_rod Pixel 10 Pro XL Feb 19 '20
Already flashed sorry
30
u/TrueGlich Feb 19 '20
Yep.. a few of you will me at my desk over the next week wondering why their corp email stopped working..
34
2
u/mightyfty Feb 19 '20
How can I join the beta program
2
u/GameJunky0826 Pixel 4XL Feb 19 '20
If you have already been enrolled in a previous beta program, I believe you are enrolled for the next one.
If you're new to the program, I think this page will refresh when it's open to the public again and you can follow the instructions there
32
83
u/Trek47 Pixel 4 XL (Android 12, Beta 5) Feb 19 '20
Still supporting the Pixel 2 and 2 XL! I guess it's that time of year when my phone is a buggy mess for 3 months
40
u/Metal_LinksV2 Pixel 2 XL| Project Fi Feb 19 '20
The pixel 2/xl are guaranteed version updates untill October 2020. So this should be the last version for them.
17
u/Trek47 Pixel 4 XL (Android 12, Beta 5) Feb 19 '20
I had it in my head that the 2nd generation was only getting 2 years of updates and 3 years of security patches (so Android 10 was the end). Either way, I'm happy I was wrong.
19
u/Stormageddons872 Pixel 5 | Pixel 4 | Pixel 2 | Nexus 5X | Galaxy S3 Feb 19 '20
https://support.google.com/pixelphone/answer/4457705?hl=en
Only the Pixel 1 was guaranteed 2 years of OS updates and 3 years of security updates, and it still ended up getting 3 OS updates. Every Pixel since is guaranteed 3 years of each.
6
u/Metal_LinksV2 Pixel 2 XL| Project Fi Feb 19 '20
How is your 2xl? I swear mine feels alittle more laggy then I remember but the battery life is still 1.5 days. Not sure if I'll upgrade this year or next.
3
u/Trek47 Pixel 4 XL (Android 12, Beta 5) Feb 20 '20
It's still going strong. Battery life is good enough for me. The standby time is absolutely great. SOT is about 3 to 4 hours depending on what time doing. I haven't noticed much lag, but that may have more to do with the fact I had it replaced under warranty in late August after my power button broke. It would sometimes not register a press at all and sometimes register a press like 10 times.
10
Feb 19 '20
Really should be 3 and 5 minimum.
5
Feb 20 '20
Seriously. Still love my Pixel 1, but it's a little unnerving to have a phone with no more security updates (and some more bug fixes would've been nice)
→ More replies (5)1
u/SanguinePar Pixel 6 Pro Feb 20 '20
That's what I thought too, I was absolutely certain that they had said 10 was our last version.
9
u/SoundOfTomorrow Pixel 3 & 6a Feb 19 '20
I would wait until they state something with I/O when we have betas
10
u/Trek47 Pixel 4 XL (Android 12, Beta 5) Feb 19 '20
I've run almost every developer preview since they launched the program. I know what I'm getting myself into.
23
u/wisecode Feb 19 '20
Someone please tell me default app selection mess got fixed
2
6
Feb 19 '20
[removed] — view removed comment
28
u/RD1K OP5 8GB+128GB, Havoc OS with MicroG Feb 19 '20
In Android 10, when there are multiple apps that you can use to open a link, it shows the menu for choosing between apps. You can choose to use a specific app once or make it the default, but if you choose to make it the default, instead of automatically making it the default, it takes you to settings and makes you do it manually, which makes no sense.
6
u/modeless Feb 19 '20
Also the button changes size after you tap an app which makes me press the wrong button every time.
1
u/SkyrimForTheDragons Smartphone, Android Feb 20 '20
Sometimes it takes you to the settings screen, and the open links with app option is greyed out...
1
u/serialkvetcher Darth Droidus Feb 21 '20
lets not forget, it will keep un-defaulting itself. The easiest way for me to jump to a tweet from the browser is just to select "use just once" while the browser opens the twitter app. Else it'd drag me to the default settings all over again. Idiots.
1
18
u/arunkumar9t2 Feb 19 '20
Looks like the System Alert Window is still available in 11 albeit a bit harder to request the permission.
On the bright side, Bubbles API is now stable.
4
u/armando_rod Pixel 10 Pro XL Feb 19 '20
Do you need to update Lynket or is the same usage from Android 10 API?
3
u/arunkumar9t2 Feb 19 '20
Minor update needed since they changed the API a bit. I tried to run the current build on R dev preview but bubbles don't show up for some reason. Will investigate.
14
u/LiveLM Feb 19 '20
I wish they would make clipboard access a normal permission apps can request, like camera access
33
u/Komic- OP6>S8>Axon7>Nex6>OP1>Nex4>GRing>OptimusV Feb 19 '20
Here's to hoping RCS APIs are now available. Would love to see Signal incorporate this. And Textra.
6
u/RD1K OP5 8GB+128GB, Havoc OS with MicroG Feb 19 '20
Would love to see Signal incorporate this
YES that would be amazing
11
u/mrbojenglz Feb 19 '20
I remember when new versions of Android came out for my Droid (or around that time period) and I used to be so excited. These days the changes are usually so inconsequential I don't even notice.
20
u/AndroidGSI Feb 19 '20
The companion GSIs are also released on GSI page, check them out!
10
Feb 19 '20
I’ll try flashing this on my OG pixel, thanks!
6
u/satmandu Feb 19 '20
Please report back!
5
Feb 19 '20
I keep getting an error while trying to flash, apparently the partition size of the phone is too small
3
u/BrowakisFaragun Feb 19 '20
Do you think if we can repartition it?
3
Feb 19 '20
Maybe, but I don't know how to do it
6
u/satmandu Feb 19 '20
Are you getting the resizing error listed in "Known issues" on the GSI page?
Resizing 'system_a' FAILED (remote: 'Not enough space to resize partition') fastboot: error: Command failedThere's a workaround listed there for that error:
To resolve this, use the following command to delete the product partition and free up space for the system partition. This provides extra space to flash the GSI:
fastboot delete-logical-partition product_aThe postfix "_a" should match the slot ID of the system partition, such as "system_a" in this example.
→ More replies (2)6
u/Calebanu Redmi Note 11 Pro 5G Feb 19 '20
So does this mean that theoretically speaking, any device treble supported can run it? I've not messed with GSIs much
1
u/xTqmy_ S23 Feb 19 '20 edited Feb 20 '20
Exactly. A user in phh's telegram group managed to get it running on jason (Mi Note 3).
1
u/Calebanu Redmi Note 11 Pro 5G Feb 20 '20
I may do a full backup and try using the image then. My device is A partition only. Does that affect anything?
2
u/merrycachemiss Feb 20 '20
Has anyone tried doing Dynamic System Update feature on Pixel 2 using these GSIs, or is it even supported? The linked page mentions the P3, but that was in context of 10 beta 4.
25
u/simplefilmreviews Black Feb 19 '20
Any info on the following?...
RCS
Nearby Sharing
Improved Share Menu
System Wide Image Copy/Paste
Screenshots
Gestures
(Sorry not very familiar with Developer Previews and stuff)
18
5
u/Will0w536 Pixel 4a Feb 19 '20
It's usually just the base additions for now...possible features usually show up in Beta 1 or 2
6
u/dewhashish Pixel 9 | Pixel Watch 2 | Pixel Tablet Feb 19 '20
Spinal Tap reference, the dial goes up to 11
6
u/BellamyJHeap Green Samsung Galaxy S21 FE Feb 19 '20
I wish that they would do another round of "Papercuts" bug hunts for a version release just to keep the code clean and the UI consistent. Then back to new features and ideas.
10
4
8
u/armando_rod Pixel 10 Pro XL Feb 19 '20 edited Feb 19 '20
Waiting OTA files and the beta program to be opened https://www.google.com/android/beta
Edit: OTA files available here https://developer.android.com/preview/download-ota
Beta program will be opened in a few weeks
2
0
3
u/WhyAlwaysMe1991 Feb 19 '20
Is this different than the beta program. This is before that?
3
u/s00prtr00pr Pixel Feb 20 '20
Yes, this is for developers to try out their apps and try apis that are added or changed. This is not meant to be run on a daily driver.
3
u/Tinbits Feb 19 '20
Meanwhile here over in Sony world my xperia had its 10 rollout halted due to bugs they created. Awesome haha
3
u/not-enough-failures Feb 20 '20
Bubbles was an experimental feature in Android 10 that was enabled through a developer option -- in Android 11 this is no longer necessary.
Finally, those can be standardized, instead of every app using them looking differently ...
1
u/janusz_chytrus Google Pixel 3A - Android 10 Feb 20 '20
Does any app even use them? It's such a weird concept to put this as an os level feature.
1
u/not-enough-failures Feb 20 '20
Facebook Messenger, some screen recorders, google dialer did in the Android 10 betas, and google messages in the latest DP off the top of my head.
4
u/theephie Feb 20 '20
Just give us native call recording for all phones, or restore APIs to allow using third party call recorders.
1
u/Stanzilla Feb 20 '20
How often do you record calls?
5
u/theephie Feb 20 '20
Often. There are a lot of legitimate use cases for call recording, especially in jurisdictions like Finland where spoken words are as good as written contracts.
1
u/armando_rod Pixel 10 Pro XL Feb 20 '20
From 10 forward your OEM has to provide that, not third parties
1
u/theephie Feb 20 '20
Android 9 actually. And I'm hoping Google will fix this on platform level, like so many others.
2
2
u/garretts228 Feb 19 '20
Is there a way to flash this without wipe? I know this has been possible in the past, but that was a long time ago.
2
5
6
u/Tight_Tumbleweed Galaxy S8 Feb 19 '20
And nothing to re-enable clipboard managers. Thanks, Google, for breaking basic functionality we had since Windows 98.
→ More replies (3)2
u/JFMatos RN9 Pro, MIUI 11 Feb 19 '20
Clip Stack works well on Android 10 using some adb permissions.
4
u/simplefilmreviews Black Feb 19 '20 edited Feb 19 '20
Only cool feature I see is "Bubbles" is coming to Android 11.
EDIT - Read thru some more info, good stuff!!
11
u/armando_rod Pixel 10 Pro XL Feb 19 '20
One time location permission is huge
2
Feb 19 '20
[removed] — view removed comment
1
u/armando_rod Pixel 10 Pro XL Feb 19 '20
You guve the permission just one time, when you leave the app it gets reset to no permission granted and it'll ask you again the next time you open it
0
2
u/simplefilmreviews Black Feb 19 '20
Not a single mention about RCS :(
8
6
u/CapitalQ Feb 19 '20
What were you looking for?
15
u/superm1 Pixel 3XL Feb 19 '20
Moving it into system, APIs that allow other apps to use it probably.
13
u/simplefilmreviews Black Feb 19 '20
Public API's for 3rd party apps. OSomething along those lines.
→ More replies (1)7
u/cadtek Pixel 9 Pro Obsidian 128GB Feb 19 '20
We're 4-5 months away from final APIs relax.
5
u/simplefilmreviews Black Feb 19 '20
Im not familiar with this concept (android updates). So I assumed everything listed here is what we got, and they're tweaked over a few months to work better or prettier UI. My mistake mate
2
u/cadtek Pixel 9 Pro Obsidian 128GB Feb 19 '20
All good, and it might be, we don't even know. They could bring it up at I/O in a beta release instead.
1
1
u/tso Feb 20 '20
I really do miss the days when we could actually browse the directory tree of an Android device.
More and more Android reminds me of HAL, though at least it still can't decide to kill me to maintain its mission...
1
1
1
u/Chaoticmind91 Apr 24 '20
Hello I don't know if I'm posting this in the correct place but is anyone face this error after using Android 11 DP 2.1 storage media keeps stopping can't access any of my files tried clearing cache and storage for media storage app updating to DP 3 didn't solve the problem also any help please
1
u/cortmorton Feb 20 '20
At this point, no new really 'must have' features are being introduced. And, what would they be anyway? Android 11 won't be either.
1
u/wickedplayer494 Pixel 7 Pro + 2 XL + iPhone 11 Pro Max + Nexus 6 + Samsung GS4 Feb 20 '20
Which is why calling it 11 is pointless. Might as well just call it 10.1.
1
u/armando_rod Pixel 10 Pro XL Feb 20 '20
10.1 or 11 is still a major update, the number doesn't change that
1
0
u/pdimri Feb 19 '20
Where is battery saving improvements ?
3
u/s00prtr00pr Pixel Feb 20 '20
If there are no gigantic bugs causing battery drain it's more or less impossible to keep improving this feature. Most likely at this point, it's not necessarily the "battery saving" feature making battery saver not work correctly or good enough. Developers who mistakenly (or not) build apps that do weird shit will cause battery to drain. They even cancel out background tasks forcefully because developers can't do it properly. Without concrete "heres what's wrong" it's impossible to improve this.
-1
Feb 19 '20
Does Google Pay still work on DP?
13
u/Ashanmaril Feb 19 '20
Don't put this thing on a device you rely on for regular usage. Just don't, not now and not in future releases.
2
u/el_smurfo Feb 19 '20
Release notes say safetynet not approved for a little while. I can open and access Pay, but haven't tried using it. I never had any problems with previous DPs.
497
u/markouka Pixels: 10 Pro, Watch 2, 8 Pro, 4a 5G, 1 XL Feb 19 '20 edited Feb 19 '20
Folks, if you're not a developer, temper your expectations. It's unlikely we'll see any radical user-facing features in this release. Google usually saves the good stuff for I/O nowadays.
That said... I'll try and pick out the neat bits I can find.
I'm a fan. It's a natural extension of what they did in 10.
This could be cool!
I like this.
I also like this.
Interested to see where this goes. Thanks to u/HSX610 for the pointer!
Edit: adding whatever I can find from the accompanying blog post: