Cheatography
https://cheatography.com
Describes the changes in Android 5.0
This is a draft cheat sheet. It is a work in progress and is not finished yet.
Android Runtime (ART)
1.) ART replaces Dalvik
2.) Improved Garbage Collection
3.) Improved Debug support |
WebView
If your app target API level >= 21
1.) Mixed content and third party cookies blocked by default.
2.) To allow use : setMixedContentMode() and setAcceptThirdPartyCookies()
3.) Efficient drawing of HTML document.
If your app target API level < 21
1.) Mixed content and third party cookies allowed.
2.) HTML document rendered at once. |
Notifications
1.) Visual changes as per new Material design
2.) Available on device lock screen
3.) Cloud Synced :- Dismiss notification on one device and it reflects every where |
|
|
Other Changes
1.) Do not use Ringtone, MediaPlayer, or Vibrator classes for adding sounds to your Notification instead use Notification.Builder()
2.) Master Volume stream for both Phone and Tablet can be controlled using STREAM_RING or STREAM_NOTIFICATION
3.) The RemoteControlClient class is now deprecated. Switch to the new MediaSession API
4.) Set notification's visibility to VISIBILITY_PUBLIC to mark notification as safe to show on any lock screen.
5.) Android 5.0 introduces support for 64-bit systems.
6.) The Context.bindService() method now requires an explicit Intent
7.) TLSv1.2 and TLSv1.1 protocols are now enabled
8.) AES-GCM (AEAD) cipher suites are now enabled |
|