Chris Wren
8a963babe2
log visibility of views
...
Depends-On: I5b1dccb5d103ece3112acf38889bae16273b092f
Change-Id: I116aed2bb805f723a5bf2ec9eb94257de0b4a7b5
2015-03-27 13:39:07 -04:00
John Spurlock
9a23adf69d
Settings: Remove all unused imports.
...
Change-Id: Iebfa52cb849d69974c94902b0b020893cf5618a3
2015-03-18 15:51:15 -04:00
Fyodor Kupolov
dbbd4fca44
Show confirmation when turning on "Phone calls/sms"
...
Added confirmation dialog, when turning on "Phone calls and sms" setting for
secondary users and guests.
Bug:15761405
Change-Id: I39b2181f0b5460db9a964c6883f053a6c6336622
2015-01-08 11:21:26 -08:00
Alexandra Gherghina
7e50b12fde
Remove call to deprecated getBackgroundDataSetting()
...
It seems that the setting is now enforced at the network level (see
NetworkPolicyManagerService).
Bug: 15848128
Change-Id: Ie7d178bab8ebb133f78cb5356ee1c27fbe61ba05
2015-01-06 11:01:50 +00:00
Alexandra Gherghina
3c00e18ba7
Merge "Modify account settings for better locale resolution" into lmp-mr1-dev
2014-12-03 12:15:39 +00:00
Alexandra Gherghina
62464b819e
Modify account settings for better locale resolution
...
Bug: 16282173
Change-Id: I2ab861464cdbbb1c1b0a5a7231f960d8ed9e90c6
2014-12-03 10:50:54 +00:00
Simranjit Singh Kohli
7df0b799a8
[New RemoveAccount API in Settings App]:
...
Modify Settings app to use the new account remove API
Bug: 18292092
Change-Id: I5f02d71bc0c7ca3e38157d38dea077c6fe6eb34e
2014-11-19 17:01:32 -08:00
Alexandra Gherghina
2a3d649766
Fix NPE caused by status update outside activity lifecycle
...
Bug: 18373656
Change-Id: I3c7db15df7c47b65a42a13fc7a3a077c3ad48f77
2014-11-17 12:12:11 +00:00
Alexandra Gherghina
b2d9795cda
Reorganize sync state menu options for accounts settings
...
Fixes inverted condition for displaying the buttons, updates
at the right time and removes the useless dependence on mFirstAccount
Bug: 18310988
Change-Id: Id55e11a210aa58a10ee9613891470862d42b65ad
2014-11-11 14:36:09 +00:00
Alexandra Gherghina
6002ff8dce
Update sync state immediately after accounts are shown
...
Bug: 18251114
Change-Id: I13791ff3979ce862e11989a3819f2356be32a0f4
2014-11-07 15:24:28 +00:00
Alexandra Gherghina
6911af1cbe
Save missing state in ConfirmAutoSyncChangeFragment
...
Bug: 18117345
Change-Id: I5f176f330e51b23fe0935d435aa8bc3904e42d36
2014-11-04 23:00:34 +00:00
Alexandra Gherghina
14819b0d3d
Close account settings if there's no account to show
...
This makes sure we don't keep the Settings screen on when there are no
accounts left to show.
Bug: 17713957
Change-Id: I6e1d6819477f051e3a521360aa3138b18fdd3fe2
2014-10-24 17:00:38 +01:00
Fabrice Di Meglio
27c0b548ab
Merge "Fix bug #15730311 Checkboxes on R side should update to Quantum/Material on/off switch" into lmp-mr1-dev
2014-10-17 20:46:32 +00:00
Fabrice Di Meglio
1bc996532c
Fix bug #15730311 Checkboxes on R side should update to Quantum/Material on/off switch
...
Per UX request, convert Account Sync feeds CheckBoxes to Switches
Change-Id: I7017020700b4214a16ca119a6992e6c7a484db0b
2014-10-16 17:16:26 -07:00
Alan Viverette
0ba89bd54c
Update Settings to use themed Context.getDrawable()
...
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
2014-10-10 10:58:58 -07:00
Alexandra Gherghina
7f279cef11
Add null check for sync authorities of an account type
...
This protects against a potential NPE if there are no sync authorities for
an account of a given type.
Bug: 17612697
Change-Id: Ifd34b5b7692cbcc8de78d353eedd284e499f954e
2014-09-24 12:33:39 +01:00
Kenny Guy
7b72e2835b
Fix crash when showing accounts.
...
Accounts page crashed when showing a disabled
manged profile.
Bug: 17486462
Change-Id: Iaaef23e135ee723bcf0d3101d85f9f0422b64c33
2014-09-12 19:49:11 +01:00
Carlos Valdivia
92f7615502
SECURITY: Prevent preference intents from exploiting settings.
...
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
2014-09-09 11:17:19 -07:00
Carlos Valdivia
690ce1b325
Merge "SECURITY: Don't pass a usable Pending Intent to 3rd parties." into lmp-dev
2014-09-08 18:21:03 +00:00
Alexandra Gherghina
dc3193ca63
Merge "Obeying Settings.EXTRA_AUTHORITIES extra for SYNC_SETTINGS" into lmp-dev
2014-09-08 08:03:40 +00:00
Carlos Valdivia
f5d3e74ecc
SECURITY: Don't pass a usable Pending Intent to 3rd parties.
...
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
2014-09-07 17:45:58 -07:00
Amith Yamasani
30c50b15d0
Use correct API for badging
...
Bug: 17414778
Change-Id: Ieb9890751c3071088b9f5aab48053e767f78bfe5
2014-09-07 15:38:09 -07:00
Alexandra Gherghina
af0d9540c2
Obeying Settings.EXTRA_AUTHORITIES extra for SYNC_SETTINGS
...
Bug: 17188306
Change-Id: I00481c6c4f346b6f4037554296735f4323cbbcfb
2014-09-05 16:46:54 +01:00
Svetoslav
39f82a7c98
Update Settings due to API changes.
...
bug:17390424
Change-Id: I25dfa40cc5109260d48dbe5f33274b162912d059
2014-09-04 18:00:23 -07:00
Alexandra Gherghina
e529bb9841
Code clean-ups following moving the managed profile under accounts
...
Bug: 16234745
Change-Id: I7b4799157394a85a27610de7e059c846f77dda02
2014-09-03 11:01:45 +01:00
Alexandra Gherghina
cd88c2f7c3
Fix Account Settings crash
...
Bug: 17020198
Change-Id: I9d4a18381ebb0f57a0e9917c3b7579b0a7feeaf4
2014-08-18 14:34:13 +01:00
Alexandra Gherghina
ad54ba7030
Merge "Show managed profile under accounts rather than users" into lmp-dev
2014-08-08 20:34:05 +00:00
Alexandra Gherghina
83adb564de
Show managed profile under accounts rather than users
...
Also fixes overflow menu to update on remove/add managed profile.
Bug: 16234745
Bug: 16727076
Change-Id: I3283a8fa0096edfce5aad633e09ba3eed6d2174c
2014-08-11 10:02:13 +01:00
Alexandra Gherghina
d4353db21c
Fix updating view flow of Account Sync Settings
...
Bug: 16785070 Account sync settings page doesn't refresh after removing account
Change-Id: Iddbe9d73f4d6fcb55829f8bb6ab2fe6ffa147cf3
2014-08-08 18:14:34 +01:00
Alexandra Gherghina
5ceddfaaf5
Move global sync settings dialogs to the right screen
...
Bug: 16076571
Change-Id: I4ba01ece6e5054d699342ff2c1270fc2fc51c5a9
2014-07-29 16:19:26 +01:00
Alexandra Gherghina
11b8bda93c
Refactors listening logic in AccountSettings
...
This is required to make sure that we do not leak broadcast receivers.
No user-visible changes are present.
Bug: 15466880
Change-Id: I90fcf9f8281a786948d862f48a3d7e7ac2bbe6ba
2014-07-29 11:19:15 +01:00
Amith Yamasani
247520c369
More User Settings improvements
...
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
2014-07-26 14:09:43 +00:00
Alexandra Gherghina
e82d0f2f8e
Checks if the right user has a restriction
...
Bug: 15466880
Change-Id: I9199c6054e9955a90958fd3a751f321cf6fa9990
2014-07-23 22:09:07 +01:00
Alexandra Gherghina
6d839875b7
Revert "Revert "Move global sync settings to AccountSettings.""
...
This reverts commit 4869faf465
.
Change-Id: I58df9b8161d711a9c0187af1f1a1dc279fb9d9ab
2014-07-22 20:25:24 +00:00
Alexandra Gherghina
4869faf465
Revert "Move global sync settings to AccountSettings."
...
This reverts commit 64fde6f4e9
.
Change-Id: I61940b6e2936c7c7f048af222602226e5588c268
2014-07-22 12:01:54 +00:00
Alexandra Gherghina
64fde6f4e9
Move global sync settings to AccountSettings.
...
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
2014-07-22 12:00:10 +00:00
Alexandra Gherghina
9ce0da9cf1
Add account for managed user
...
Bug: 16056552
Change-Id: I225a1b447d9b4024703b82be8a1fa66359d9e9a1
2014-07-17 21:18:34 +01:00
Alexandra Gherghina
c42d4059b5
Remove account for a managed user
...
Bug: 16056552
Change-Id: Iad24856cab908ed40c32af799ca2c41fe85b6b45
2014-07-17 19:57:43 +00:00
Alexandra Gherghina
7c81c1d1af
Handle managing accounts for a managed profile
...
Bug: 15466880
Change-Id: Icf0e06c954269426b500f0e5fbcdf3346c59eb9d
2014-07-17 19:42:46 +00:00
Alexandra Gherghina
7d748c0267
Handle choosing and adding accounts for a managed profile
...
The user id can now be passed through the app as a fragment argument.
Bug: 15466880
Change-Id: I0e2be20551b4ec8c9226640ac74ea74115156ccd
2014-07-17 19:05:57 +00:00
Alexandra Gherghina
defdfc54bb
Only show AccountSyncSettings when we have an account
...
Also removes useless list of accounts
Bug: 16295803
Change-Id: Ida3c1846327874af9f97695a485b12ec689fd343
2014-07-16 13:27:26 +01:00
Alexandra Gherghina
cfc7f9d960
Remove old accounts tile, replaced by a separate screen
...
Bug: 15815948
Bug: 15819268
Change-Id: I3b6978cff346c73cca1d6a2c209ffe4c71808244
2014-07-14 10:02:14 +01:00
Alexandra Gherghina
a5df250698
Merge "Retrieve resources from the corresponding profile"
2014-07-09 20:06:40 +00:00
Alexandra Gherghina
024ba5e4d9
Adds missing per-user calls for displaying and syncing accounts
...
Bug: 15466880
Change-Id: Ifa96af782adc8485f925dc45d5c71b1c28a075d2
2014-07-01 16:03:06 +01:00
Alexandra Gherghina
ce0b22cf90
Retrieve resources from the corresponding profile
...
This handles the case where the authenticator does not exist in the primary profile.
Bug: 15466880
Change-Id: I9f6311397456b8bf210f50df82b6be605c1140f0
2014-06-30 18:10:56 +01:00
Alexandra Gherghina
1eb3f316bd
Handle forwarded intents from a managed user in AccountSyncSettings
...
Bug: 15466880
Change-Id: I4041b69f237033dbe5b78c8eb52f5e6ebb6ff7f7
2014-06-30 11:38:04 +01:00
Alexandra Gherghina
3939cd70b1
Add work account settings.
...
Bug: 15467756
Change-Id: I13b5a0bb3967611d0d24b575bfc15d9bfaad4cfa
2014-06-26 10:01:29 +01:00
Adrian Roos
07d036a5b2
Fix master build
...
Change-Id: Iaad9a63c5971b506cf8052aba48364979ec69c78
2014-06-10 16:48:07 +02:00
Alan Viverette
7385ad9ac2
am 1eb52831
: Fix theme resolution in account preferences
...
* commit '1eb528318cdeb5c5ff1be469435538dad133882b':
Fix theme resolution in account preferences
2014-06-04 18:44:39 +00:00
Alexandra Gherghina
ba63597d5a
Move personal account settings to a new screen.
...
This does not include work account settings.
Bug: 13656853
Change-Id: I105044f8261b1c656ed5053b3c02c02cfaae90d1
2014-06-04 08:44:39 +01:00