summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/accounts
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge "Retrieve resources from the corresponding profile"Alexandra Gherghina2014-07-091-2/+4
|\
| * Retrieve resources from the corresponding profileAlexandra Gherghina2014-06-301-2/+4
| | | | | | | | | | | | | | This handles the case where the authenticator does not exist in the primary profile. Bug: 15466880 Change-Id: I9f6311397456b8bf210f50df82b6be605c1140f0
* | Adds missing per-user calls for displaying and syncing accountsAlexandra Gherghina2014-07-012-4/+6
|/ | | | | Bug: 15466880 Change-Id: Ifa96af782adc8485f925dc45d5c71b1c28a075d2
* Handle forwarded intents from a managed user in AccountSyncSettingsAlexandra Gherghina2014-06-302-17/+33
| | | | | Bug: 15466880 Change-Id: I4041b69f237033dbe5b78c8eb52f5e6ebb6ff7f7
* Add work account settings.Alexandra Gherghina2014-06-264-131/+301
| | | | | Bug: 15467756 Change-Id: I13b5a0bb3967611d0d24b575bfc15d9bfaad4cfa
* Fix master buildAdrian Roos2014-06-101-1/+1
| | | | Change-Id: Iaad9a63c5971b506cf8052aba48364979ec69c78
* am 1eb52831: Fix theme resolution in account preferencesAlan Viverette2014-06-041-2/+16
|\ | | | | | | | | * commit '1eb528318cdeb5c5ff1be469435538dad133882b': Fix theme resolution in account preferences
| * Fix theme resolution in account preferencesAlan Viverette2014-06-031-2/+16
| | | | | | | | | | BUG: 13341461 Change-Id: Idb42ad4026d63900b62f911782e07092216d906e
* | Move personal account settings to a new screen.Alexandra Gherghina2014-06-041-0/+249
|/ | | | | | | This does not include work account settings. Bug: 13656853 Change-Id: I105044f8261b1c656ed5053b3c02c02cfaae90d1
* Mode code cleaning: remove obsolete references to EXTRA_NO_HEADERSFabrice Di Meglio2014-05-131-1/+0
| | | | | | | | - the EXTRA_NO_HEADERS flag as no more meaning as we are showing the Tiles (previously named "Headers") only in the Dashboard (which is the main Settings screen) Change-Id: I55656de0d28ca9c84adbe6647d870838b4ac230b
* Fix bug #13058470 Cannot add account -- Settings app crashesFabrice Di Meglio2014-02-202-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | - revert back to an Activity instead of a fragment. This is a straight reverse of the changes introduced for trying to have a Fragment. Basically ChooseAccountActivity was previously an Activity for choosing an account type. If the list of account types was containing only one item, then the ChooseAccountActivity was just a pass thru and was falling back to the only account authority available. In the current reported bug, this was happening by disabling the Email app and thus having only the GoogleAuthenticator as an Authority. Then in the onCreate() the ChooseAccountFragment was seeing that there was only one account authenticator and issuing a BACK button press. Too bad, this was done into a non finished Fragment transaction and leading to a crash. All in all, we NEED to have an Activity and cannot use a Fragment in that case. Change-Id: I4a867a25fe9580929ec50a6775105adac1f88c52
* Fix bug #12903673 Stability: 47 ANRs in com.android.settingsFabrice Di Meglio2014-02-051-1/+1
| | | | | | - fix the recursive call (probably introduced by some search/replace) Change-Id: I563a68c2cc141a59ef8bb9dd64cd67a62dbfcd4a
* Use Drawer in Settings appFabrice Di Meglio2014-02-035-25/+23
| | | | | | | | | | | | | | | | | | | | - get rid of PreferenceActivity as much as we can and use fragments instead - add Drawer widget - add Dashboard high level entry into the Drawer (but this is work in progress and would be done in another CL) - add bypass of fragment's Header validation when launched from the Drawer but *force* validation if external call thru an Intent Be aware that WifiPickerActivity should remain for now a PreferenceActivity. It is used by SetupWizard and should not trigger running the SettingsActivity's header building code. SetupWizard is a Home during the provisionnig process and then deactivate itself as a Home but would make the Home header to appear in the Drawer (because momentarily we would have two Home). Also, verified that: - the WiFi settings still work when called from SetupWizard - when you have multiple Launchers, the Home header will appear in the list of Headers in the Drawer Change-Id: I407a5e0fdd843ad7615d3d511c416a44e3d97c90
* Shows LGAAYL when launching Location SettingsLifu Tang2013-11-041-1/+12
| | | | | | - Partial fix of b/10897468 Change-Id: Iec96909b87e71869c5a020ce848c6cf4fada3616
* Load account type icons in a background thread before scrolling downAmith Yamasani2013-10-021-3/+18
| | | | | | | | | | | | This reduces the jank when scrolling down in top-level Settings if you happen to have several account types like Google, Twitter, Facebook, etc. In the process of doing this, discovered that headers get built even when they're not showing (SubSettings). Skip setting up the headers, which can be expensive when there are several accounts. Bug: 11006601 Change-Id: I8b4eafdcc2fc2beecac01317c3c8f07a82febcc0
* Launches the Location setting as fragmentLifu Tang2013-08-191-16/+62
| | | | Change-Id: I0fb04a346236676ce9483a0c4d1fc3b2b590b08c
* Whitelist fragments appropriate for an activityAmith Yamasani2013-07-301-0/+9
| | | | Change-Id: If4f8c4e9d9949b652946cffe0ebb09b587e5a042
* am 91b5fab9: Merge "Check if the Activity is finishing before showDialog()"Amith Yamasani2013-04-161-1/+2
|\ | | | | | | | | * commit '91b5fab9b0e8338850fe2838311a0801fddf31d4': Check if the Activity is finishing before showDialog()
| * Merge "Check if the Activity is finishing before showDialog()"Amith Yamasani2013-04-161-1/+2
| |\
| | * Check if the Activity is finishing before showDialog()Tony Guo2013-01-291-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | Check if the Activity is going through its finishing phase before displaying the Dialog, because Showing dialog once the activity is no longer in context will cause BadTokenException. Change-Id: I58940e694f61cd79536abe2df60a0b745a7b806f
* | | Don't show developer options to secondary usersAmith Yamasani2013-04-132-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Show just a message that developer options are not available for the user. Also fix silent exit of AddAccount operation by showing a toast that user cannot add accounts. Bug: 7409523 Bug: 8519646 Bug: 7304007 Change-Id: Id3f430d568d6b7151ac55f86dbc0ef91803fa10c
* | | Respect user restrictions about adding/removing accounts, sideloadingMaggie Benthall2013-03-272-9/+19
|/ / | | | | | | | | | | | | | | | | | | | | | | Hide or disable options in the settings app when the user is restricted from making changes. Remove "Add account" button from Settings menu, and "remove account" option from menu in AccountSyncSettings. Remove sideloading checkbox in SecuritySettings. Also handle replacement of UserManager.isShareLocationToggleAllowed() with hasUserRestriction, which takes a restriction key string. Change-Id: I34c74fd5aed8956ba00f92e3d3c657b608454dfe
* / Push scrollbars to screen edges.Jeff Sharkey2012-11-302-1/+10
|/ | | | | | | | Push scrollbar to screen edges on custom ListView and ScrollViews to match Preferences framework behavior. Bug: 7633165 Change-Id: Ideecd0e243c7de7bf977caef2b1585e707a00ca4
* Prevent sync state changes when user is a monkeyGuang Zhu2012-10-222-2/+13
| | | | | | Bug: 7385019 Change-Id: Icf305683e57b83b3260f2587ae0a3d1a6dc3c21d
* Launch account addition activity from Settings instead of from AccountManagerAmith Yamasani2012-10-101-7/+30
| | | | | | | | This enables us to watch for failure cases from certain authenticators that misbehave. Bug: 7318390 Change-Id: I43398e7622214cabd1d1bf171502c6a988af00a3
* Revert "Show warning dialog in a multiuser system when adding a new account."Amith Yamasani2012-10-051-65/+5
| | | | | | This reverts commit eb71f2689785bd43560afb04f8b2281c3f67f695 Change-Id: Iad4a6656e922c0d2dbd3dd349d1c24d597eab7f5
* Pass flag to indicate multiple users on deviceRussell Brenner2012-10-021-1/+5
| | | | | | | | | | | When creating a new account, some informational text changes when more than one user exists on the device. Because GLS is built with the SDK and because there is no public API to indicate this state, a flag is added to the bundle passed to the AccountManager, which then funnels down to GLS. Bug: 7255673 Change-Id: Ida2aa5f70ab308958de510a95194463c2a089182
* Show warning dialog in a multiuser system when adding a new account.Amith Yamasani2012-09-261-5/+67
| | | | | | Bug: 7207092 Change-Id: I95ac107dbc867490dd2e492291501fd3630d267c
* am 450c4c86: Merge "Exit to Settings when removing the only account for a ↵Amith Yamasani2012-06-082-2/+6
|\ | | | | | | | | | | | | type." into jb-dev * commit '450c4c86ca6583abc27520174d0f51b8f171f4a3': Exit to Settings when removing the only account for a type.
| * Exit to Settings when removing the only account for a type.Amith Yamasani2012-06-082-2/+6
| | | | | | | | | | | | | | | | | | | | | | Skip over the ManageAccounts screen which shows the list of accounts for a particular type, if there are no accounts there. Bug: 6630827 Also fix text alignment in top-level of settings. Change-Id: Icd446babc131e7052fc9e95514214fffe6e6e113
* | am 5a0b3230: Merge "Add account type check for invisible sync adapters."Jean-Baptiste Queru2012-06-081-4/+7
|\ \ | |/ |/| | | | | * commit '5a0b3230e2a70c5837b35753fdd2ffd7536946f4': Add account type check for invisible sync adapters.
| * Add account type check for invisible sync adapters.Zhenguo Fu2012-06-071-4/+7
| | | | | | | | | | | | | | | | | | | | The invisible sync adapters array is modified to store the sync adapters instead of their authorities, so that "Sync now" function will only synchronize those with the same account type as the current account. Change-Id: If9b0b32db9828d8671f57a0d7a2f64712a7ebabf
* | Directly go to account sync screen if there's only one account for that type.Amith Yamasani2012-06-071-0/+10
| | | | | | | | | | Bug: 6629330 Change-Id: Ieb2bad131b1580a6b75d970c9a0ea9980580f66d
* | Add back a SYNC_SETTINGS screenAmith Yamasani2012-06-063-10/+218
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revive the old Accounts&Sync screen as a dialog with the auto-sync checkbox and a list of accounts. This will be launched when Apps request a SYNC_SETTINGS page for controlling account and master sync. Auto-sync data checkbox will also continue to exist in Data Usage. Minor fixes to account list and account update monitoring. Bug: 6614013 Bug: 6622995 Bug: 6610247 Change-Id: I35c0919a29c6bc7e5edf64f2734a3ef4f5ae5e7a
* | Update headers when accounts are changed.Amith Yamasani2012-06-051-0/+8
| | | | | | | | | | | | | | Also pass an account to authenticator settings to avoid Email settings crash. Bug: 6610990 Change-Id: I42884619728dd97446de65cc77e1729f3e143efa
* | Account types at toplevel of SettingsAmith Yamasani2012-06-044-160/+310
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reorganized Account settings to show account types at the top-level of Settings. Only account types that have accounts added are visible here. There is an Add account button to add a new account. Master sync toggle has moved to Data Usage screen in the overflow menu. It shows additional detail of the function of the auto-sync toggle when it is toggled by the user. Account type screen (ManageAccountsSettings) shows list of accounts of that type and any available authenticator settings. It additionally verifies any Intents can be resolved before showing the corresponding entry. This screen now shows last synced time for each account. You can now sync all accounts of a type by selecting Sync now in the Account type screen. Account Sync screen that shows the list of syncable items has minor tweaks: - "Last synced...", "Sync is OFF" - Doesn't show the authenticator settings here anymore. Bug: 6579937 Change-Id: I8139a4c992b525a3e1efc24d2d223c3f5caddc76
* | Fix crash when removing an account.Amith Yamasani2012-05-231-0/+4
| | | | | | | | | | Bug: 6494527 Change-Id: I9ab3b54ac4e4d679fd9ec22ab438b9e1ea0be2b1
* | Occlude syncs without provider info.Carlos Valdivia2012-05-081-3/+5
| | | | | | | | | | Bug: 934147 Change-Id: Ib3413efda07432cfc52cb5b1a20350ed5c7655a8
* | Help menus for several screens.Amith Yamasani2012-04-231-0/+6
|/ | | | | Bug: 5144896 Change-Id: Ib2f5146f6f62f2a33261bb165c3bf1bf13b22f38
* Kill the Switch on top-right after exiting Accounts & sync.Amith Yamasani2011-11-151-8/+12
| | | | | | | | | | | Bug: 5564377 - Bluetooth screen showing a Switch that doesn't follow the bluetooth setting. This seems to have been the Switch in Accounts & sync being set as a custom view for the Settings activity and not removed on changing fragments. Change-Id: I4575a769fbf5482048dbc4e912c6b6f782f505a0
* Bug 5353255: use a switch to toggle accounts & syncGilles Debunne2011-09-281-12/+28
| | | | Change-Id: I00821ba63651d713a148021f64bb95e7f69e6b88
* Bug 5092721: Accounts & sync settings, auto sync in overflow menu.Gilles Debunne2011-09-141-42/+25
| | | | | | | | Was usually "Make auto-sync an on/off switch in the action bar" Changed to a check box in the overflow menu as per the comment in the bug. Change-Id: I5a722ec1c743232c019fe89144a0a9463431747a
* Sync asset drop and smoother animation.Jeff Sharkey2011-08-303-39/+13
| | | | | Bug: 5233703 Change-Id: I3fa52da71b78dcfa7842047b427c5121d3ac7e68
* Remove "background data" from accounts settings.Jeff Sharkey2011-08-161-66/+5
| | | | | | | This has been replaced by setting in data usage panel. Bug: 4979025 Change-Id: I4e3011233aa2522c05b1497abc54fd421f4a25fb
* Text instead of icons in account settings optionsGilles Debunne2011-07-252-8/+10
| | | | | | Also changed the default style to remove the opaque title background. Change-Id: I948d9a15961223c3703bb607e2e5a6bf41e0ff5e
* Add an extra parameter to identify the caller application. Fix the handling ↵Costin Manolache2011-07-211-1/+43
| | | | | | of 'suspend' - the callback will not be visible. Change-Id: Ide8b841b6b57e31ac082678b27c314b9eeff8846
* Merge "Fixed intents to start Settings activities"Gilles Debunne2011-07-071-10/+18
|\
| * Fixed intents to start Settings activitiesGilles Debunne2011-07-071-10/+18
| | | | | | | | | | | | All tested, on tablet and on phone. Change-Id: I8ab206b9db61c7c3800fe9bff175e87baf97ed7c
* | VpnSettings: switch to the new user interface.Chia-chi Yeh2011-07-021-1/+0
|/ | | | Change-Id: I7158cd8f146677b2823cfa936792fd232a37ae28
* am 80cc0ffa: am e7f7643c: am 6ef6f183: Stability fixes for Settings. ↵Amith Yamasani2011-06-141-0/+2
|\ | | | | | | | | | | | | Asynchronous callbacks causing NPEs. * commit '80cc0ffa2b284aee595c45f8f4142f615486f797': Stability fixes for Settings. Asynchronous callbacks causing NPEs.