Following yesterday's Android 4.2.2 OTAs to various Nexus devices, Google today followed up with the push of all 4.2.2 open source code changes to AOSP. There is a lot here to parse through this time around compared to the minor 4.2.1_r1.2 commit from 10 days ago.

We've already identified some obvious user-facing changes, which we'll post about separately soon to keep it clean and organized. The purpose of this post is, as before, to find the low-level changes that may not be obvious. So move the beard out of the way and dig in.

Update: Ron detailed some new things here: New Android 4.2.2 Features: Toggle From Quick Settings, Better App Download Notifications, and Some New Sounds!

What's New?

Things we've discovered so far, in brief:

Here is the list of developer commits in 4.2.2 (AOSP tag android-4.2.2_r1, JDQ39) compared to 4.2.1's latest revision (AOSP tag android-4.2.1_r1.2, JOP40G).

Note: For whatever reason, some of these we may have seen before - perhaps someone who understands the intricacies of AOSP's git structure can explain why they're getting included in the diff, but for the most part, this is all new stuff.

Compact Changelog

Detailed Changelog

If you spot anything interesting, feel free to drop a note in the comments.

Source: AOSP and various script

Artem Russakovskii
Artem is a die-hard Android fan, passionate tech blogger, obsessive-compulsive editor, bug hunting programmer, and the founder of Android Police.
Most of the time, you will find Artem either hacking away at code or thinking of the next 15 blog posts.

  • quiro91

    Waiting here for someone to find something interesting

    • http://www.m-e-s-h.it/ Nico


      • quiro91

        @5f44cb7a3a3dcec4d0bb7585fef3a9d2:disqus AndroidWorld @ AndroidPolice

  • PalmerAdam

    so does this fix the random reboots on the nexus 10? hoping!

    • http://www.facebook.com/duckofdeath Hans Pedersen

      Yup. All random reboots on all Android devices, no matter what caused them, has apparently been fixed with a magic master solution in 4.2.2.

      • http://www.twitter.com/andrewpalozzo Andrew Palozzo

        Lol, whilst i agree with your sentiments, there is a pretty big bug that's seems to affect all N10s causing them to reboot.

        If you owned one, you wouldn't of commented sarcastically.

        It's also disappointing none of the reviewers commented on it. It's a very serious and annoying bug.

        • blix247

          Yep, happens to mine and its obnoxious. You'll be reading a web page, then suddenly you're staring at the x boot animation. Or even worse, the whole system just becomes unresponsive and you have to restart it yourself.

          • PalmerAdam

            I swear I was just making a general observation based on the stock Nexus 10 and others have the same problem. I was not trolling, just speaking up for the others who have the problem. If you dont have the problem then you are lucky. Please don't attack the ones who do. I put up with the problems because I like android.

      • PalmerAdam

        I shouldn't have to flash a custom rom to make my nexus 10 usable. Please don't use sarcasm.

      • Stylus_XL

        You've clearly never owned a Nexus 10. Mine has randomly rebooted five times in one day. That's not a bug that people should be expected to tolerate.

    • http://www.facebook.com/juha.louhiranta Juha Louhiranta

      I'm "pretty sure" that the reason (at least one of them) for random reboots has been fixed.


      As far as I know, most reboots on my Galaxy Nexus were because of that bug mentioned in the commit. At least there should now be one problem less to worry about. :D

    • http://www.facebook.com/ivan.kalev.9 Ivan Kalev

      According to the change log, it seems so:

      commit 6c5406acd72eed31f2b4e12f5eddc0e2d2a951e2
      Author: Dianne Hackborn
      Date: Thu Nov 29 16:18:01 2012 -0800

      Maybe fix issue #7596986: Frequent runtime restarts; IAE at...

      ...android.os.Parcel.nativeAppendFrom(Native Method)

  • RedPandaAlex

    Yeah... I know some of these words

    • helnice


  • http://profiles.google.com/pbooker117 Phillip Booker

    I was hoping to see something about the battery recharging a little faster :-/ maybe next time.

    • http://www.androidpolice.com/ Artem Russakovskii

      You mean the Nexus 7 bug where it started charging slowly in 4.2?

  • Justin

    6ead941 Fix infinite recursive loop DO NOT MERGE

    7018cfd Revert "NumberPicker should adjust min and max when displayed values are set." (a.k.a. Santa is back)


    • http://www.androidpolice.com/ Artem Russakovskii

      See, the Santa one is from 4.2.1 - that's the one that brought December back.

      • http://k3rnel.net Juan Rodriguez

        Maybe, just maybe they had been working "4.2.2" before "4.2.1" was out, and they rushed "4.2.1" in time for Santa to deliver presents, then was forward-ported to "4.2.2".

      • Justin

        Yup, they decided to fix it proper.

  • power_pizza

    I have a weird bug in my build of CM 10.1 where opening the camera causes the gallery to open. has anyone else experienced this? Not sure if it's caused by CM or Jelly Bean 4.2.

    Hopefully it gets resolved when this update makes its way to CM.

  • http://www.facebook.com/shai.ungar Shai Ungar

    What about the Nexus 4?

    • Carlos

      Sorry! Nexus is better and deserves update before nexus 4!

      • This is a name

        Everyone's just forgetting the runt of the litter. :c Granted that runt is powered by 2GB of RAM and a quadcore processor so it's like Super Runt but still! It likes jelly beans too..

  • http://www.androidradar.de/ Leif

    Had serious bluetooth bugs with 4.2.1 (sound was stuttering every few seconds in my bluetooth speakers) which got fixed with 4.2.2. Everything works fine now.

  • Klugschwaetzer

    "Some network operators will detach after a timeout period, isDataAllowed() will not allow a data connection because mAutoAttachOnCreation is false and gprsState is not STATE_IN_SERVICE. This change toggles mAutoAttachOnCreation based on attach/detach events and data will be allowed if gprsState == STATE_IN_SERVICE or mAutoAttachOnCreation."

    Does this have anything to do with the 3g-data-disconnect-after-wifi-bug? That sure was annoying.

    • JordanMcRae

      Yes seems to be. In my unprofessional opinion.

      • Klugschwaetzer

        Let's hope so. ;-)

  • Justin Winker

    Can you re-word this in english? Thanks :)

    • http://www.androidpolice.com/ Artem Russakovskii

      As I said, a more user-friendly version is coming later, once we figure out all the new things.

  • http://www.facebook.com/duckofdeath Hans Pedersen

    The low amount of changes in 4.2, 4.2.1 and 4.2.2 is hopefully an indication that they are mostly hard at work with Android 5.

    • brkshr

      I'm betting it will be 4.3, since they are most likely not redoing just about everything like they did on ICS 4.0

      • Steve Williamson

        either way it should be a good 6months of work put into it

    • patapongirl

      Key Lime Pie is better.

  • Jason Banich

    Neat, if the battery isnt actually charging, it won't show as charging, even if its plugged in.


  • http://twitter.com/mikewadsten Mike Wadsten

    "Make action bar title a valid touch target for up when relevant."

    Sounds useful. Now to see it in action...

    • Razormike

      What does that mean?

      • Josh

        Based on that description, I'm assuming it will scroll to the top when you touch the action bar.

        • http://twitter.com/mikewadsten Mike Wadsten

          It means that if you click the action bar text, like say in Gmail when you're looking at an email and the action bar displays the email subject, you can press that text and it does the same as pressing the icon to go back "up" a screen.

          • http://twitter.com/snalty bad wolf

            This is a much better explanation than mine. Here is a screenshot to show what we are talking about

        • http://twitter.com/snalty bad wolf

          nope, it means that you can now press the action bar title to go up when you used to have to press the app icons with the left facing caret.

    • XBIRDIE98

      This might be what we see in the new 4.2.2 Gmail app, with the whole message title acting as the up button in the message view.

      • http://twitter.com/mikewadsten Mike Wadsten

        Except that everywhere that uses the standard action bar has this behavior now.

  • cy_n_ic

    My neck beard is not worthy....

  • chris-t-an

    Reduce the gpu load by fading the recents thumbnail to an alpha of
    0.0 before the remaining animations are completed. When alpha hits
    0 the gpu treats the layer as hidden and can merge the remaining
    layers in time.

    • Tomi Golob

      Yes,exactly... Also I don't understand what that means

  • chris-t-an

    Fix performance when reading or writing large buffers.

    Blur intrinsic which uses ~25mb of data would spill the
    L2 cache when a smarter walking pattern could reduce this
    hit. We now vary the chunk size on both the processor
    count and data size.

  • http://shanked.me/ Shank

    My Nexus 7 can now add lock screen widgets with a PIN unlock, and my Nexus 4 on 4.2.1 can't.

    Edit: Scrap that, that's the "remove + if we've reached maximum number of widgets" change.

  • chris-t-an

    •Mathias Agopian - fix an out-of-bounds memory access

  • Alexander Procter

    It's kind of sad when you recognize the names attributed to these commits. "Oooo! Chet Haase! Adam Koch!


    The Launcher2 changes are interesting. It appears the app and widget tabs now have a slight delay and fade animation to help with jank. The delay makes it feel a bit laggy though. No complaints about the new wallpaper picker icons. :-)

  • http://twitter.com/mikewadsten Mike Wadsten

    Also fixed: being able to change the volume from the lockscreen (without bringing up the power options menu).


    • http://www.androidpolice.com/ Artem Russakovskii

      I'm not sure it does what you said it does because it doesn't seem to be working for me on the N7.

      • http://twitter.com/mikewadsten Mike Wadsten

        Since 4.2 rolled around I've been able to change the volume on the lockscreen. Updated my N7 to 4.2.2 and that's no longer the case.

        • mikeym0p

          I was so happy they let you do that :(

        • sachin_goral

          That was a good feature actually.

  • Steve Williamson

    "Long-pressing Wi-Fi and BT now toggles them in the notification Quick Settings." <<< Best part of the update (assuming your not plaged by any of the bugs)

    Waiting for this for my N4

  • Floss

    "Stop caching stream duration, it might change (increase) dynamically"

    I hope this is in reference to the MediaPlayer, as this bug has been driving me (and my users) nuts on JB devices

  • shamu11

    volume fixes and notification delay is fixed!

  • Sobrado

    Nice to see that battery life has been improved in this release. See commits:

    commit e0fa1b387f6ae3d347d76860eefff7a0d149cdba
    Author: Victoria Lease
    Date: Tue Dec 4 15:04:43 2012 -0800

    DO NOT MERGE Notify provider when disposing last UpdateRecord

    Cherry-pick of Id48151eb7de40164258cde7da220a4d6bb34b89a

    Location providers were not being notified of the change in status
    when the last UpdateRecord was removed due to numUpdates exhaustion
    or request expiry. Oops! Enjoy some free battery life!

    Bug: 7611837
    Change-Id: I66303b355be4e4a56a81efb5406c9353b2588595


    commit 5959bf2d3c7fcfa4058cbcf81c3dc376c962d25e
    Author: Victoria Lease
    Date: Wed Dec 5 09:57:40 2012 -0800

    DO NOT MERGE Adjust update interval when expiring location requests.

    Cherry-pick I88b419c92940b7e536d48b26e5fc0f72f3c9e73d

    This is a more complete solution for this issue that disables
    location providers when expiring their last request *and* adjusts
    update intervals when expiring any request. This should help
    further limit battery drain when a high-frequency-update app
    exits, as it allows the system to throttle the update interval
    back down to something appropriate for the remaining listeners.

    Bug: 7611837
    Change-Id: I7629a90f4c693be4bf96d662bd3a8b06dae0b089

  • bond

    I just got the update and can now add Google now cards to the lock screen widget after updating Google search. Try it.

  • CC2 reccomndations

    Nexus 7 random reboots, battery taking 5 hours to charge leaving only a day of use, laggggg, wifi bar issue is it fixed

  • Daniel Carr

    That transparency bug I reported on the Nexus 7 back in November?


    Looks like it is fixed now... fantastic!

    •Dianne Hackborn - Fix issue #7649590: Background windows sometimes not being hidden for secondary users

  • http://www.facebook.com/people/Matt-Messner/100002058990062 Matt Messner

    They finally got rid of that disastrous lock screen. Back to simplicity

  • Bryan

    Fantastic, my wifi was forever dropping out on 4.2.1, and refused to connect, or even see my AP. Now on 4.2.2 it seems to have been fixed, can't make it drop, however hard I try.

  • Michael

    Now Videos load direct in Chrome.

  • Thorfinn_Hausakljuv

    Did they fix that idiotic repeating volume warning? Yes, I know it was EU mandated, but most of the world isn't subject to their nanny laws, and there is no reason to cripple the functionality for the rest of the world.

  • Michael Lowe

    I received the update during school, but when I was going to update it on my Nexus 7 but the battery showed 0℅ at the end of my last class. Then I went to put the battery in and fix it. After I did that I let it reboot and nothing changed! It still says 4.2.1. How can I make the update show again? Please answer :/

  • MooseKnuckles

    I miss my Nokia 5150 with the smooth electric blue faceplate and lighted antanae. []D [] []V[] []D

  • http://www.facebook.com/wadfmradio Lee Broadhurst

    hi guys can you tell me how to disable the mobile broadcast notification , its really annoying and it keeps popping up and telling me the area code of a town or city grrrrrrr android 4.2.2 cyanogenmod 10.1

  • Mark

    Wow I thought they were gonna change the interface to something nicer and shiny looking. What a waste. Changing my HTC One to Iphone 5S. Bye Android RIP.