summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/accounts
Commit message (Collapse)AuthorAgeFilesLines
* Use settings' theme when inflating account prefsd34d2016-02-051-1/+7
| | | | | | | | | | | | | | When inflating account specific preferences, the settings style is set so the inflated preferences have the same style. If a different theme, than the rest of the system, is set for Settings it is possible for the inflated preference to try and reference a theme specific item which won't be part of that apps resources, resulting in an InflateException. To avoid this we attach the themed resources that are applied to settings to the newly created package context so that those resources can be properly resolved. Change-Id: I0cf0430db379b146fe80ce3173f050e5b120bbbb TICKET: OPO-437
* Talkback improvements for Settings screens.Julia Reynolds2015-07-092-2/+22
| | | | | Bug: 21164141 Change-Id: I7444261ccf967f6db70c9fe44a00bd3f19ceb975
* Fix accessibility for account syncJason Monk2015-06-252-7/+6
| | | | | | | | Needed to get views recycling so that feedback could occur during switch turning off. Bug: 20020216 Change-Id: Ib7b1cdca78f5ac5064cdf521122ff7a5ee49f572
* Merge "Defensively load untrusted icons from account authenticator" into mnc-devRubin Xu2015-06-122-5/+9
|\
| * Defensively load untrusted icons from account authenticatorRubin Xu2015-06-082-5/+9
| | | | | | | | | | | | | | | | | | Catch Resources.NotFoundException which should cover all parsing errors from loadDrawables(); also substitute a default icon if parsing returns null. Bug: 17760671 Change-Id: Ia0ec25e34974ed85b6ffe6882d5bce003d64e9d6
* | Fix some dark theme issues (Take 2)Jason Monk2015-06-041-1/+1
|/ | | | | | | | | | Now with visible lock patterns! Both light and dark! Bug: 21117509 Bug: 21077345 Bug: 21480587 Bug: 21621900 Change-Id: Ibcf822faf7cbc83be43d757e0a6a9432ef3346af
* Add MDM app name under "Work" in Accounts section of Settings.Sudheer Shanka2015-05-011-5/+20
| | | | | Bug: 20024761 Change-Id: I3fe3fd6be8a2d96b36c402ea9bde8cc782797262
* log visibility of viewsChris Wren2015-03-275-2/+27
| | | | | Depends-On: I5b1dccb5d103ece3112acf38889bae16273b092f Change-Id: I116aed2bb805f723a5bf2ec9eb94257de0b4a7b5
* Settings: Remove all unused imports.John Spurlock2015-03-181-4/+0
| | | | Change-Id: Iebfa52cb849d69974c94902b0b020893cf5618a3
* Show confirmation when turning on "Phone calls/sms"Fyodor Kupolov2015-01-081-1/+2
| | | | | | | | Added confirmation dialog, when turning on "Phone calls and sms" setting for secondary users and guests. Bug:15761405 Change-Id: I39b2181f0b5460db9a964c6883f053a6c6336622
* Remove call to deprecated getBackgroundDataSetting()Alexandra Gherghina2015-01-061-7/+2
| | | | | | | | It seems that the setting is now enforced at the network level (see NetworkPolicyManagerService). Bug: 15848128 Change-Id: Ie7d178bab8ebb133f78cb5356ee1c27fbe61ba05
* Merge "Modify account settings for better locale resolution" into lmp-mr1-devAlexandra Gherghina2014-12-032-6/+52
|\
| * Modify account settings for better locale resolutionAlexandra Gherghina2014-12-032-6/+52
| | | | | | | | | | Bug: 16282173 Change-Id: I2ab861464cdbbb1c1b0a5a7231f960d8ed9e90c6
* | [New RemoveAccount API in Settings App]:Simranjit Singh Kohli2014-11-191-7/+7
|/ | | | | | | Modify Settings app to use the new account remove API Bug: 18292092 Change-Id: I5f02d71bc0c7ca3e38157d38dea077c6fe6eb34e
* Fix NPE caused by status update outside activity lifecycleAlexandra Gherghina2014-11-172-5/+18
| | | | | Bug: 18373656 Change-Id: I3c7db15df7c47b65a42a13fc7a3a077c3ad48f77
* Reorganize sync state menu options for accounts settingsAlexandra Gherghina2014-11-112-10/+9
| | | | | | | | Fixes inverted condition for displaying the buttons, updates at the right time and removes the useless dependence on mFirstAccount Bug: 18310988 Change-Id: Id55e11a210aa58a10ee9613891470862d42b65ad
* Update sync state immediately after accounts are shownAlexandra Gherghina2014-11-071-0/+5
| | | | | Bug: 18251114 Change-Id: I13791ff3979ce862e11989a3819f2356be32a0f4
* Save missing state in ConfirmAutoSyncChangeFragmentAlexandra Gherghina2014-11-041-0/+3
| | | | | Bug: 18117345 Change-Id: I5f176f330e51b23fe0935d435aa8bc3904e42d36
* Close account settings if there's no account to showAlexandra Gherghina2014-10-241-8/+11
| | | | | | | | This makes sure we don't keep the Settings screen on when there are no accounts left to show. Bug: 17713957 Change-Id: I6e1d6819477f051e3a521360aa3138b18fdd3fe2
* Merge "Fix bug #15730311 Checkboxes on R side should update to ↵Fabrice Di Meglio2014-10-172-32/+32
|\ | | | | | | Quantum/Material on/off switch" into lmp-mr1-dev
| * Fix bug #15730311 Checkboxes on R side should update to Quantum/Material ↵Fabrice Di Meglio2014-10-162-32/+32
| | | | | | | | | | | | | | | | on/off switch Per UX request, convert Account Sync feeds CheckBoxes to Switches Change-Id: I7017020700b4214a16ca119a6992e6c7a484db0b
* | Update Settings to use themed Context.getDrawable()Alan Viverette2014-10-102-2/+2
|/ | | | | | | | | | Explicit null theme is passed when using Resources.getDrawable() and no theme is available, e.g. when using getResourcesForApplication(). This fixes an issue with ic_text_dot theming and helps avoid similar issues in the future. BUG: 17648301 Change-Id: I3e97c3490b6f2a55744f567b21284f2935ae9af7
* Add null check for sync authorities of an account typeAlexandra Gherghina2014-09-242-15/+24
| | | | | | | | This protects against a potential NPE if there are no sync authorities for an account of a given type. Bug: 17612697 Change-Id: Ifd34b5b7692cbcc8de78d353eedd284e499f954e
* Fix crash when showing accounts.Kenny Guy2014-09-121-0/+1
| | | | | | | | Accounts page crashed when showing a disabled manged profile. Bug: 17486462 Change-Id: Iaaef23e135ee723bcf0d3101d85f9f0422b64c33
* SECURITY: Prevent preference intents from exploiting settings.Carlos Valdivia2014-09-091-3/+48
| | | | | | | | | | | | Settings has super powers because it shares the system uid. We prevent those powers from being exploited by malicious authenticators by checking the intents those authenticators provide. We will only launch intents that resolve to Activities that are exported=true or owned by the same UID as the authenticator. Bug: 14408627 Change-Id: Ia179df8561d29745767dac0f3c97eb0f68083f59
* Merge "SECURITY: Don't pass a usable Pending Intent to 3rd parties." into ↵Carlos Valdivia2014-09-081-2/+17
|\ | | | | | | lmp-dev
| * SECURITY: Don't pass a usable Pending Intent to 3rd parties.Carlos Valdivia2014-09-071-2/+17
| | | | | | | | | | | | | | | | | | | | | | Unfortunately the Settings app has super powers. We shouldn't let untrusted 3rd party authenticators re-purpose those powers to their own nefarious ends. This means that we shouldn't pass along PendingIntents that can have addressing information (component, action, category) filled in by third parties. Bug: 17356824 Change-Id: I397d26c5f465ddfb0e58bbc66cd44756e58cc507
* | Merge "Obeying Settings.EXTRA_AUTHORITIES extra for SYNC_SETTINGS" into lmp-devAlexandra Gherghina2014-09-083-28/+55
|\ \ | |/ |/|
| * Obeying Settings.EXTRA_AUTHORITIES extra for SYNC_SETTINGSAlexandra Gherghina2014-09-053-28/+55
| | | | | | | | | | Bug: 17188306 Change-Id: I00481c6c4f346b6f4037554296735f4323cbbcfb
* | Use correct API for badgingAmith Yamasani2014-09-072-4/+4
| | | | | | | | | | Bug: 17414778 Change-Id: Ieb9890751c3071088b9f5aab48053e767f78bfe5
* | Update Settings due to API changes.Svetoslav2014-09-042-5/+4
|/ | | | | | bug:17390424 Change-Id: I25dfa40cc5109260d48dbe5f33274b162912d059
* Code clean-ups following moving the managed profile under accountsAlexandra Gherghina2014-09-031-13/+6
| | | | | Bug: 16234745 Change-Id: I7b4799157394a85a27610de7e059c846f77dda02
* Fix Account Settings crashAlexandra Gherghina2014-08-181-1/+3
| | | | | Bug: 17020198 Change-Id: I9d4a18381ebb0f57a0e9917c3b7579b0a7feeaf4
* Merge "Show managed profile under accounts rather than users" into lmp-devAlexandra Gherghina2014-08-081-90/+148
|\
| * Show managed profile under accounts rather than usersAlexandra Gherghina2014-08-111-90/+148
| | | | | | | | | | | | | | | | Also fixes overflow menu to update on remove/add managed profile. Bug: 16234745 Bug: 16727076 Change-Id: I3283a8fa0096edfce5aad633e09ba3eed6d2174c
* | Fix updating view flow of Account Sync SettingsAlexandra Gherghina2014-08-081-2/+2
|/ | | | | Bug: 16785070 Account sync settings page doesn't refresh after removing account Change-Id: Iddbe9d73f4d6fcb55829f8bb6ab2fe6ffa147cf3
* Move global sync settings dialogs to the right screenAlexandra Gherghina2014-07-291-6/+62
| | | | | Bug: 16076571 Change-Id: I4ba01ece6e5054d699342ff2c1270fc2fc51c5a9
* Refactors listening logic in AccountSettingsAlexandra Gherghina2014-07-291-40/+64
| | | | | | | | This is required to make sure that we do not leak broadcast receivers. No user-visible changes are present. Bug: 15466880 Change-Id: I90fcf9f8281a786948d862f48a3d7e7ac2bbe6ba
* More User Settings improvementsAmith Yamasani2014-07-261-1/+1
| | | | | | | | | | | | | Add a menu checkbox to allow creation of users from lockscreen. Add a delete icon in restricted profiles settings. Other little fixes to icons. Update some strings based on feedback. Bug: 15761405 Bug: 16550371 Bug: 16298824 Change-Id: Ib876bd57f15c6ce2d71856f72571c6b8b0e3102d
* Checks if the right user has a restrictionAlexandra Gherghina2014-07-231-1/+1
| | | | | Bug: 15466880 Change-Id: I9199c6054e9955a90958fd3a751f321cf6fa9990
* Revert "Revert "Move global sync settings to AccountSettings.""Alexandra Gherghina2014-07-223-227/+81
| | | | | | This reverts commit 4869faf46559c54a34b969b5ae5391a208e723af. Change-Id: I58df9b8161d711a9c0187af1f1a1dc279fb9d9ab
* Revert "Move global sync settings to AccountSettings."Alexandra Gherghina2014-07-223-81/+227
| | | | | | This reverts commit 64fde6f4e9404a363f577a9fda424affcb5138e4. Change-Id: I61940b6e2936c7c7f048af222602226e5588c268
* Move global sync settings to AccountSettings.Alexandra Gherghina2014-07-223-227/+81
| | | | | | | | It also makes AccountSettings respond to the SYNC_SETTINGS intent, which it is currently triggered by Calendar and could be triggered by Gmail. Bug: 16076571 Change-Id: I2c55262a87e46ba88f36a90a2f8f27d08f88e851
* Add account for managed userAlexandra Gherghina2014-07-171-11/+4
| | | | | Bug: 16056552 Change-Id: I225a1b447d9b4024703b82be8a1fa66359d9e9a1
* Remove account for a managed userAlexandra Gherghina2014-07-171-2/+2
| | | | | Bug: 16056552 Change-Id: Iad24856cab908ed40c32af799ca2c41fe85b6b45
* Handle managing accounts for a managed profileAlexandra Gherghina2014-07-172-24/+69
| | | | | Bug: 15466880 Change-Id: Icf0e06c954269426b500f0e5fbcdf3346c59eb9d
* Handle choosing and adding accounts for a managed profileAlexandra Gherghina2014-07-175-22/+73
| | | | | | | The user id can now be passed through the app as a fragment argument. Bug: 15466880 Change-Id: I0e2be20551b4ec8c9226640ac74ea74115156ccd
* Only show AccountSyncSettings when we have an accountAlexandra Gherghina2014-07-161-44/+48
| | | | | | | Also removes useless list of accounts Bug: 16295803 Change-Id: Ida3c1846327874af9f97695a485b12ec689fd343
* Remove old accounts tile, replaced by a separate screenAlexandra Gherghina2014-07-141-3/+2
| | | | | | Bug: 15815948 Bug: 15819268 Change-Id: I3b6978cff346c73cca1d6a2c209ffe4c71808244
* Merge "Retrieve resources from the corresponding profile"Alexandra Gherghina2014-07-091-2/+4
|\