Android
aosp
Lollipop
5.1.0

aospでLollipop MR1のソースが公開されました(8)

More than 3 years have passed since last update.

続きです。

次は/packageにいきましょう。

脈略無くてすいません。

まずは重要なSettingsから。


project packages/apps/Settings/

7e21fa5 Data Usage tab title should say "Cellular" with only 1 sim and wifi tab.

ffd9655 Remove SimDialogActivity from recents app list.

2e75203 Use getDefaultAdapter instead of getNfcAdapter

1e4cf06 Change to fit color name text on color selection spinner in settings.

9d2cbee Remove sim status and imei for secondary user.

a46c723 Change to fit color name text on color selection spinner in settings.

635426b Repair broken keychain wifi_uid logic

ab84518 Remove sim status and imei for secondary user.

dbfec00 Add button in "hidden" settings to flip "VoLTE Provisioned" flag

b5ad15a Import translations. DO NOT MERGE

f11f9f4 Added a check if a custom activity can be started

e8e7b9b Added a check if a custom activity can be started

09c9e5e [DS] Correct the access method for telephony system property

9c167e9 Fix secondary data usage color regression.

26a3e94 Import translations. DO NOT MERGE

a7f21a3 Hide APNs with type="ia" and apn=""

cb267a6 Add button in "hidden" settings to flip "VoLTE Provisioned" flag

75c5298 Import translations. DO NOT MERGE

766ab60 Fixed data connection toggle crash in Settings.

69b87f7 Import translations. DO NOT MERGE

77c1d36 Show removed user's data usage under its correct item

98f2450 [WifiSetup] Don't pan the window for IME

63e0f16 Do not perform SDP during pairing

2478420 Fixed missing sim card lock setup in Security Settings.

d819270 Fixed data connection toggle UI issue due to local cache maintained.

c51cfe3 Import translations. DO NOT MERGE

6cfe799 Settings not showing print jobs for a managed profile.

9fe89bb [Settings] Wifi Setup responds to other connection state change

718c4d9 Rename reg/unreg OnSubscriptionsChangedListener.

2631077 Import translations. DO NOT MERGE

4201391 Display Voice nw type if Data nw is Unknown for Sprout.

24f834d Fixed Cellular data toggling issue in settings for multisim

1dcc3e5 Import translations. DO NOT MERGE

bd47e07 Fixed crash caused by non-integer phoneAccountId in SimDialogActivity.

71ef80e Add an item to "Legal information" screen for WebView license

4d902bc Fixed crash caused by non-integer phoneAccountId in SimDialogActivity.

64c7429 Don't display Write NFC option if no NFC

fb1bdf0 Check DISALLOW_CONFIG_CREDENTIALS on Settings > Trusted Credentials

7e669a0 Import translations. DO NOT MERGE

0fe3ed5 Block BluetoothPermissionRequest notification on managed profiles.

c3068f0 Import translations. DO NOT MERGE

79d5da7 Fixed settings crash issue while recovering from phone crash.

e957cb4 Import translations. DO NOT MERGE

b413c52 [WifiSetup] Fix text colors in dark theme

a68bdb6 Removed extraneous slot information on single SIM devices.

58f7eaf SIM Status now shows data connection instead of voice.

19627ca Getting mcc/mnc from system prop instead of subInfoRecord.

39fb062 Fix theme for empty activity

673e1d9 Change tests against INVALID_SUBSCRIPTION_ID to use isValidSubscriptionId.

4be06d9 Revert "Getting mcc/mnc from system prop instead of subInfoRecord."

d6efcbf Getting mcc/mnc from system prop instead of subInfoRecord.

579b66f Getting mcc/mnc from system prop instead of subInfoRecord.

3b08bde Import translations. DO NOT MERGE

f92e368 IMEI information will show without a SIM.

9b566a0 Prevent sim notify popup after upgrade from k to LMR1.

c47f8db Use getLIn1NumberForSubscriber to get phone number.

592545b Made the WPS icon visisble.

c8bcf29 IMEI information will show without a SIM.

d3affe4 Import translations. DO NOT MERGE

a886d69 Fixed then icons of SIMs in the call dialog.

b4805e3 Settings: Allow more lines of saver feature description text.

56e6cf5 [FRP] Open the lock setup screens in same task

47811fe [FRP] Notification screen slides in wrong direction

9235e67 Clearing junk layout for add wifi dialog in settings.

75e0082 Exiting activity on clicking outside dialog acitivity.

37832d6 Add a periodic check of the tethering provisioning

d72c062 Change tests against INVALID_SUBSCRIPTION_ID to use isValidSubscriptionId.

5b3da0c Disabled SIM notifications while provisioning.

b3dd601 Show toast when cellular data option is changing.

f0d84e2 Fixed a Data Usage crash

26b0476 Import translations. DO NOT MERGE

f43aa81 Fix NPE in Running Processes view in Apps Settings

50ac12e Listen for CONNECTIVITY_ACTION broadcasts in WifiSetupActivity

d80e127 Bring up correct app for Recent location list items

a49c7c5 [FRP] Shrink lock screen when keyboard pops up

0b8788a Fixed a SIM Lock UI issue

c29c583 Fixed a SIM Cards crash.

aaaa54e Settings: Rebind to volume sliders after returning from stopped.

6f341b2 Added Multi-SIM capability to Access Point Names

4e2d16c Offer to "merge" subscribers for data usage.

f68bc64 Settings: Hide downtime settings if not supported.

838d6dc Import translations. DO NOT MERGE

df8566a [FRP] Remove None and Swipe from screen lock options

36ec274 [FRP] Screen Lock for Setup Wizard shows wrong title

a4f4d18 Add debug dataEnable.

b339920 Removed the application SIM Cards from application list

0973c31 [FRP] Use Lock type as header instead of "Encryption"

86c877e Make Location Settings multiprofile aware

4170f0e [FRP] Don't extract IME for PIN / Password during setup

5ead6b9 Final platform settings UX for ephemeral networks.

16809b1 Fix race leading to spuriously disabled trust agents

3c72c81 Change default sim selection text in sim settings ui.

67f105b [FRP] Give pattern lock colors

487abad Fixed a Settings crash when entering SIM status

62297ea Removed the application SIM Cards from application list

af103b4 [FRP] Use setup wizard nav bar buttons

232b0e4 Removing checks from EnableWifiTether which are done in SystemUI

dbd0382 SIM cards in Setting will only show on Multi-SIM devices

7fa2415 Fixed a Settings crash when entering SIM status

1227a19 [FRP] Add illustration to lock screen setup

dd4443a Settings app - read phone number from TelephonyManager.

784f027 [FRP] Transitions for lock screen setup

3b72ead Removed unnecessary heading in Sim settings

f3db021 Fix padding in user type selection dialog

dfa34df Import translations. DO NOT MERGE

45893e6 Settings: Don't lose the switch bar returning to saver settings.

e514652 Fixed a SimSettings issue

62464b8 Modify account settings for better locale resolution

cfae855 Update list on ACTION_DEVICE_POLICY_MANAGER_STATE_CHANGED

fcec91f Change initMobileTabTag to use subInfoList

ebb6463 Import translations. DO NOT MERGE

ffef98b Add SIM notification pop-ups.

a04d07c Fixing "SMS Messages" to "SMS messages" as per UX requirement.

6fc9207 Bug Fix: SIM Status will display the proper network type

e06387f Fixed crash in sim settings due to wrong toString() call.

bcbe980 New activity for enabling tethering using Quick Settings

546790c Show account icons for managed profiles on Settings > Factory Reset

ecd2b7b [FRP] Theme interstitials for lock screen setup

3bcea02 [FRP] Show FRP warning when disabling secure unlock

6b19fa9 [FRP] Theming for Pattern and Password screens

ab4fb49 [WifiSetup] Swap buttons position in Skip dialog

7666b54 Fixed improper capitalization related to trademark term in BT

c868f70 Settings: Improve inline volume sliders.

8098650 Import translations. DO NOT MERGE

2d93f36 Add string for "Connected via Wi-Fi assistant".

7de119c Check remote device uuids for phone book access permission

04b2e79 Settings: Restart volumizers explicitly on resume.

645cf17 Import translations. DO NOT MERGE

52c75ba [Setup] Theme ChooseLockGeneric for setup wizard

21dba1f IllegalStateException fixed in print service settings

256d83d Remove extraneous SIM status information

ae680e3 Fixed a Wi-Fi dialog crash

c80b761 Added color to Data Usage graph

faf1dd2 Import translations. DO NOT MERGE

90d6c56 Don't show RedactionInterstitial when changing password

334bd70 Fixed build breakage due to api change.

ac5c081 Changed SIM lock toggle to a switch

0183fb5 Additional changes to SubscriptionManager API as per API council.

c3245a0 Reword NuPlayer developer settings to say AwesomePlayer

39eb663 [WifiSetup] Wifi setup text wrapping problem

26b4688 Update enable oem unlock warning

01aab29 [WifiSetup] Update title string

9152792 [SetupWizard] Warn user of missing FRP if skipping wi-fi

b85025d Strings for multiprofile Location Settings.

13b8b56 Reduce number of attempts before factory reset to 30.

45f8623 Watch out for deleted user when exiting async task

9aa0dd6 Revert "Additional changes to SubscriptionManager API as per API council."

876a21b Remove backup preferences if backup service is inactive

7df0b79 [New RemoveAccount API in Settings App]: Modify Settings app to use the new account remove API

d0c0a47 Changing hint string inside sim name editor dialog in settings.

13b2a28 Final strings for Wi-Fi Assistant in platform settings.

36d2656 Import translations. DO NOT MERGE

79e44da Changing sim selection dialog in Settings to use phoneAccount

1285f74 Additional changes to SubscriptionManager API as per API council.

8fca3fc Prevent factory reset for short passwords in CryptKeeper

07ab95c Added a check if a custom activity can be started

cfe521e Stop background processes if TrustedCredentialSettings fragment gets detached

f045033 Import translations. DO NOT MERGE

1244b64 Import translations. DO NOT MERGE

a8bd025 Adding icons to sim color selection in settings UI.

02c4c51 Remove vestigial "Choose date format" option.

2a3d649 Fix NPE caused by status update outside activity lifecycle

ce32b21 Final UX for Wi-Fi assistant platform settings.

fdebfc3 Settings: Add effects suppression text to Ring volume.

1d891b4 Added tabs for Multi-SIM SIM Lock.

0ee68fa Fix Sim Setting OOB error.

e16e44f Migrate license display to HTMLViewer.

63f7bc8 Created Multi-SIM notifications.

ace318c Adding Sim Status menu to Settings.

51e0811 Force power cycle on cooldown.

8823c3e Forward wifi cert install intents to primary user

32505ac Don't show SMS app settings for restricted profiles

76b0801 Adding Sim Status menu to Settings.

c9e7209 Import translations. DO NOT MERGE

0381f6c UI changes for icons in sim settings

9ae3bf2 Import translations. DO NOT MERGE

cdbba04 Import translations. DO NOT MERGE

7cc1b9e Show managed profile accounts on Settings > Factory Reset

ceceb2a Fix a regression in enabling unknown sources toggle

0193911 Settings: Tweak doze settings description.

ca75661 Update SubscriptionManager API as per API council.

b2d9795 Reorganize sync state menu options for accounts settings

c66a878 Fix bug #18104271 Tapping name of service in Voice input services does not fill in radio button

cafcb70 Import translations. DO NOT MERGE

c0c56ca Import translations. DO NOT MERGE

49300d1 Settings: Update preference summary per new downtime behavior.

8be7ee3 dont blacklist wifi config that have had validated internet status in the past

2555e5f Prevent factory reset for short passwords in CryptKeeper

a8c7606 Use the right message for pattern/password.

4d1a016 Update SubInfoRecord usage

e7ed656 Fix bug #18289076 Storage graph colors don't match Material design spec

0a0daca Migrated search for SubInfoRecord to Utils.

739ae97 Don't allow secondary users to change Wi-Fi assistants.

d21b45e Set default sim name and carrier name from subinforecord object.

d570e98 Screen pinning: fix strings and add scrollview

6002ff8 Update sync state immediately after accounts are shown

51ea7cf Disable app notifications checkbox for uninstalled apps

d9ed843 Update text for apps installed for other users

fe144d7 Fix bug #17526111 Keyboard should dismiss when Settings search query is submitted

d34dd4f Update synonyms and fix some issues related to them

b81e793 Fix bug #17936169 subsettings activity crashes on emulator for android-21

75cf41c Fix NPE when parceling SubInfoRecord

99f191f Remove the Wi-Fi Assistant card.

960c98f Import translations. DO NOT MERGE

039b456 Import translations. DO NOT MERGE

529834d Add a new flow for decryption checking.

7928cd8 Fix NPE when parceling SubInfoRecord

b46a919 Show accurate connection status for ephemeral networks.

645cc5c Settings: Allow user to configure "None" for downtime.

8942c62 Change for setting transparency of sim colors.

c9f823e Sim name doesn't persist on reboot

01fbd9f Don't show a pattern-specific prompt at encryption time.

6911af1 Save missing state in ConfirmAutoSyncChangeFragment

b153181 Use CharSequence for DisplayName

b245731 sanitize strings and error messages in wiFi picker

48b0b24 Confirm enabling OEM unlock with warning dialog

73bbd4c Request PIN confirmation to enable OEM unlock

3ada2ec Clean up public API of SubInfoRecord.

f6b6098 Import translations. DO NOT MERGE

e15da20 Import translations. DO NOT MERGE

da90d68 Update class name for FdnList.

78121d9 Bring screen lock setting back to screen pinning

c41d613 Hide managed profile entry in secondary users

0f5440f Apply predefined icon and label to managed profiles

a7b5d2b Changed SIM calls to use PhoneAccount instead of SubInfoRecord.

de33844 Added cellular data popup in DataUsage

4c79a9e Import translations. DO NOT MERGE

15d1b34 Import translations. DO NOT MERGE

98523c8 Added Cellular Data for Multi-Sim Data Usage

abc505a Add sim color selection in settings

f41aaa2 Added IMEI status activity.

59717ad Make emergency button right size

36760c1 Allow QS to launch adding network dialog

24791ab Settings: Follow update to common conditions call.

c7df50c Import translations. DO NOT MERGE

40f84ca Import translations. DO NOT MERGE

30ac117 prettify debug informations

59864d2 Minor cleanup in EncryptionInterstitial

b003a85 Change subId to int from long

f7a5017 Skip Misc/Overcounted battery stats in release builds.

745046c Default sim name set to carrier name in sim settings

22eb414 Set subscription id for "ask everytime" in sim settings

0f596b9 WIP support icon

14819b0 Close account settings if there's no account to show

8d7fdc6 Import translations. DO NOT MERGE

82454b4 Import translations. DO NOT MERGE

d503260 Import translations. DO NOT MERGE

4339a47 Disable factory reset for secondary users

59dc8d1 SIM settings display name changes

2ae9086 Settings: Remove obsolete string: heads_up_enabled_title.

285fb04 Adjust caption preset picker items dimens for Material

a501137 Commit with dialog box but using subinfo records

aadc070 Move up spinner in apps screen

d335d4f Import translations. DO NOT MERGE

0019c6a Import translations. DO NOT MERGE

9d276ca Changing settings UI changes related to strings to be displayed

9a940cb Settings: Display 'Calls' category on non-voice devices.

d96c5fc Launch browser directly when user selects "Mobile Plan".

44db45a Fix bug #15730311 Checkboxes on R side should update to Quantum/Material on/off switch

440e245 Fix bug #18024258 Crash in Settings observed after tap on Usage statistics

27334db Settings: Fix hotspot switch state issue.

ea2810a Prevent NPE when no accessibility services are enabled

1bc9965 Fix bug #15730311 Checkboxes on R side should update to Quantum/Material on/off switch

63af7fc Remove excess whitespace from the factory reset screen

06cd501 Reset spinner selection

c94382e Fix bug #18017952 It does not search all possible "USB" results that can be found in the settings

daef2e2 Fix bug #15730311 Checkboxes on R side should update to Quantum/Material on/off switch

3ef104e Import translations. DO NOT MERGE

c85ca8a Import translations. DO NOT MERGE

8863873 Fix bug #15730311 Checkboxes on R side should update to Quantum/Material on/off switch

acd2106 Fix user spinner anchor following system ui changes

d8ae35e Fix bug #15730311 Checkboxes on R side should update to Quantum/Material on/off switch

b98c406 Fix bug #15730311 Checkboxes on R side should update to Quantum/Material on/off switch

af05fda Settings: Restart existing volumizers in volume prefs.

2f1272a Import translations. DO NOT MERGE

77c6794 Import translations. DO NOT MERGE

0ba89bd Update Settings to use themed Context.getDrawable()

770bdd7 Removing display number format from SIM UI

17fd600 Update accessibility service toggle switch when resuming.

c3cd6d9 Import translations. DO NOT MERGE

78fb957 Import translations. DO NOT MERGE

4aed423 Import translations. DO NOT MERGE

f6a4f3e Import translations. DO NOT MERGE

83f013c Fix percentage formatting throughout Settings.

50e6eca [DS] DSDS support for Settings

dbd052e Enable Sim Settings

f9d6d29 Use the StorageManager constant for the PatternVisible key.

29514ca Import translations. DO NOT MERGE

8202c7f Import translations. DO NOT MERGE

b4d0d4d Import translations. DO NOT MERGE

9ca34e9 Import translations. DO NOT MERGE

422deeb Import translations. DO NOT MERGE

ce59f5c Import translations. DO NOT MERGE

19083a1 Import translations. DO NOT MERGE

9ee2bff Import translations. DO NOT MERGE

9836586 ksd to lmp-sprout-dev