The most obvious change in JB2 is the addition of support for multiple accounts. In order to figure out the impact of the Multi-account function on each apk, I mainly tested the IME and Calendar functions, now the test results of both are recorded as follows: IME: 1. enter the language set for the input & language option of settings. If multiple users exist, the dialog box "this change affects all users" appears, indicating that the language is shared by all users, if user A sets the language to English, the language of user B also changes to English after logon. This is caused by \ packages \ apps \ Settings \ src \ com \ android \ settings \ LocalePicker. the following code in the java file is controlled: public voidonLocaleSelected (final Locale locale) {if (Utils. hasMultipleUsers (getActivity () {mTargetLocale = locale; showDialog (DLG_SHOW_GLOBAL_WARNING);} else {getActivity (). onBackPressed (); LocalePicker. updateLocale (locale);} the red part is newly added in 4.2. The multi-user judgment is added. If there are multiple users, the dialog box just mentioned is displayed. All users use the same locale. The specific logic is as follows: \ frameworks \ base \ core \ java \ com \ android \ internal \ app \ LocalePicker. java, updateLocale, and other functions call functions in this class. 2. the default input method is LatinIME of Android. When I log on as user A, the "Google PinYin Input Method" is installed. In settings of A, this input method can be selected, however, if you log out and then Log On As B, the settings of B does not have the "Valley Pinyin input method. That is, the third-party apk installed by the user takes effect only for the modified User and does not affect other users. Calendar: log in with user A to create event a, and then log in with user B to create event B. User A cannot see Event B, and user B cannot see event, each user is relatively independent. The implementation of Calendar is in packages \ apps \ Calendar. The specific interface display and other controls can be found in this directory. Its ContentProvider controls and accesses the data related to Calendar. It can be seen that packages \ providers \ CalendarProvider. Currently, only these items are tested. If other changes are found, they will be supplemented later.