Commit Graph

3389 Commits

Author SHA1 Message Date
Jeff Sharkey
44dda2d7f5 Use statfs() in IMediaContainerService.
Since Settings runs in system UID, it needs to export statfs()
operations to IMediaContainerService.

Bug: 6346248
Change-Id: I5801948211f0e55040da4850e3dd55b93f80798f
2012-04-22 18:58:34 -07:00
Shuhrat Dehkanov
7dc567af05 Corrected return value for updatePreferenceToSpecificActivityOrRemove method
Returned value should be false if preference is removed or was already deleted/missing.

Change-Id: I2a48bd8e0f5a82b76b60b2d11fac2305f0e27eed
Signed-off-by: Shuhrat Dehkanov <uzbmaster@gmail.com>
2012-04-23 01:59:56 +09:00
Jeff Sharkey
34e964dcff Hide tab when disabled, metered strings, fixes.
Hide "Data usage" item when kernel support isn't available and
enabled.  Change "restrict background" strings to reflect metered
status.  Hide app settings button when no package found.  Always
start limit sweep above any warning.  Imply metered state for
networks with limits.

Bug: 6303364, 5465643, 5379686, 6376276, 6368329, 6376276
Change-Id: I4faccc9a50f2f741fd937bb8c361a3ca055135e2
2012-04-21 15:41:48 -07:00
Jeff Sharkey
1833d181f3 Merge "Leave unmetered Wi-Fi network policies intact." 2012-04-20 16:03:31 -07:00
Dianne Hackborn
a04dccb5aa Merge "Update to follow API change." 2012-04-20 13:44:51 -07:00
Gilles Debunne
012c137d06 Merge "Data usage limit label font size fixed" 2012-04-20 11:15:45 -07:00
Dianne Hackborn
0c2cd20d53 Update to follow API change.
Change-Id: Ife399fb336016cfa8faadf655d887ae611c6ad9b
2012-04-20 10:37:42 -07:00
Jeff Sharkey
bf60154a45 Leave unmetered Wi-Fi network policies intact.
They are now removed when the WifiConfiguration is deleted.

Bug: 6344821, 6369307
Change-Id: Id411fa06cec10435501ef03c56d0bcb96ed229db
2012-04-19 23:02:09 -07:00
Irfan Sheriff
536c3d7651 Add Nsd settings checkbox
Change-Id: I58e54a8bed02ed7bd99b0f284279b6c799e3369f
2012-04-18 16:14:20 -07:00
Gilles Debunne
58a904ad2e Data usage limit label font size fixed
Bug 6326750

The font size around the text was removed when its content is replaced.
This is WAI since the spans created from <font> html tags have a
SPAN_EXCLUSIVE_EXCLUSIVE flag. These are removed when their length
becomes 0. The bug came from a recent enforcement of this constraint.

The fix is to change the flags of these AbsoluteSizeSpan spans.

This CL also changes the code to avoid the creation of the int[] array.

Change-Id: Ib58270bb9d1cf0c7609ba1e36d6c0cca841300db
2012-04-17 18:39:26 -07:00
Jeff Brown
aae7f693ea Merge "Add label for default keyboard layout." 2012-04-17 14:29:29 -07:00
Jeff Brown
512d0cb3eb Add label for default keyboard layout.
Bug: 6110399
Change-Id: I2431b99884cbd01de32f8cd6c14a3afbd18b5020
2012-04-17 13:55:15 -07:00
Jake Hamby
494f646a30 Remove "Searching/Tap To Pair" text from Bluetooth Settings.
The second text field next to "Available devices" in the Bluetooth
Settings device list creates a cluttered heading that wraps to multiple
lines in some locales. It's unnecessary because there's a graphical
progress spinner when searching for devices, and "Touch to pair" is
easily discoverable. Remove the second text field and the "Searching"
and "Touch to pair" string resources.

Bug: 5496221
Change-Id: I7b71222415152014426cf54fc112fe5379d350dc
2012-04-16 16:34:01 -07:00
Irfan Sheriff
afdadec674 Merge "Wifi: Update message when scan result is empty" 2012-04-13 22:12:57 -07:00
Vishal Mahaveer
6243e8e466 Wifi: Update message when scan result is empty
Handle case when Wi-Fi scan result is empty

Change-Id: I03ccbf2603367efa3c6dfe20514e8c7c5a68b5d9
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
2012-04-13 21:45:38 -07:00
Jeff Brown
08c9dcc083 Merge "Add setting to redirect vibrator to game controller." 2012-04-13 20:40:06 -07:00
Jeff Brown
d350f8556e Merge "Use new input device listener API to refresh keyboards." 2012-04-13 20:31:37 -07:00
Jeff Brown
f8fb0e5b24 Add setting to redirect vibrator to game controller.
Bug: 6334179
Change-Id: I62c9c163aa4ee2c88286daee77641418869a1dab
2012-04-13 20:27:45 -07:00
Jeff Sharkey
e557c3349e Show data restricted apps, unify strings.
Always show apps with background data restricted, even when not
used in selected time period.  Combine measurement disclaimer into
single string, and only show for mobile networks.  Unify limit
dialog string.

Bug: 6007276, 5505010, 5495020, 5456087
Change-Id: I0ec307b330838dc9528d7e63e0ac1edd14ba122c
2012-04-13 19:45:02 -07:00
Jeff Brown
96cdcd80a8 Use new input device listener API to refresh keyboards.
Bug: 6110399
Change-Id: Ibb0bbeb40af2ee7204e4682bc7493262407fd83f
2012-04-13 18:25:51 -07:00
Jeff Sharkey
78a534af1b Handle READ_EXTERNAL enforced by default.
Bug: 6131916
Change-Id: Icbdaf6c7febfb8f93992a1f32732d104c8c1848c
2012-04-12 23:27:59 -07:00
Eddie Ringle
70e4a652f8 Remove title bar background drawable from running app detail view
The use of this drawable made the view look out of place on the new Holo theme,
so removing it makes things look a bit more consistent.

Change-Id: Id12ad9c7d13b7a9813f656b0a3e4ac51fcc988cd
Signed-off-by: Eddie Ringle <eddie.ringle@gmail.com>
2012-04-12 18:24:52 -04:00
Jeff Sharkey
27dcb8d7b6 Merge "Hide body immediately when no tabs." 2012-04-11 11:04:00 -07:00
Jeff Sharkey
ad17de32bc Hide body immediately when no tabs.
Also check for valid SIM card when checking 4G radio status.

Bug: 6311752
Change-Id: Ic148f052429cc66bb51237bdc93c09f7c8ba3df1
2012-04-11 11:03:25 -07:00
Jeff Brown
4397f406a3 Update use of input manager API in settings.
Change-Id: I7aa033df8b5eec69cc6002b0bcc20b1d9902e4e0
2012-04-10 18:23:59 -07:00
Daniel Sandler
47c991f78c Update Settings for new Dreams architecture.
Additionally, hide all Dreams settings if the feature is
disabled (R.bool.config_enableDreams).

(Depends on change Idfe9d430)

Change-Id: Ifa05f125e411ca58605c33481de26cd29a926807
2012-04-10 04:15:21 -04:00
Irfan Sheriff
d723367a6b Merge "Add support for cancelling connection" 2012-04-09 14:29:14 -07:00
Jeff Sharkey
76c5ed4f35 Migrate to @Override to remove warnings.
Bug: 6303344

Change-Id: I8f17edc3b12d50cedab2c5f555c63bc07d85bca2
2012-04-09 10:57:29 -07:00
Vishal Mahaveer
df7627d0dd Wifi: Update message when scan result is empty
Handle case when Wi-Fi scan result is empty

Change-Id: Ib09f030dbc0b71055a7aacf0848b97bd6c33af70
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
2012-04-09 11:40:40 -05:00
Irfan Sheriff
c08caf7a33 Add support for cancelling connection
Change-Id: Iba4a002ab86e62d87ae1175b75c203d3a86ad7c6
2012-04-06 15:28:57 -07:00
Jeff Sharkey
08ce99e224 Move to INetworkStatsSession with lifecycle.
Explicitly communicate lifecycle, enabling system_server to cache
stats when actively being used.

Bug: 6236498
Change-Id: Ieecc4b1d4fd46aeb5207c4ba9b450e04e9438d00
2012-04-06 11:47:25 -07:00
Jeff Brown
11ca81e1f0 Merge "Use new input manager API." 2012-04-05 19:34:58 -07:00
Jeff Brown
b4765ac70d Use new input manager API.
Bug: 6110399
Change-Id: I13f23b5d0aa5dc461a135303fc47432a6d57cbb4
2012-04-05 18:50:14 -07:00
Adam Powell
c48bf55b28 Merge "Specify up navigation behavior" 2012-04-05 16:24:19 -07:00
Jeff Sharkey
f35dd41da2 Merge "Controls to set expensive (metered) networks." 2012-04-05 16:18:00 -07:00
Adam Powell
faba7e4d9f Specify up navigation behavior
Don't use the split action bar for manage apps

Change-Id: I5587b8efe63858c4cb38197391245740c2a055ac
2012-04-05 16:11:49 -07:00
Jeff Brown
d92ebd183f Merge "Add new settings UI to select keyboard layout." 2012-04-05 15:29:37 -07:00
Amith Yamasani
3deeeb74c4 Enable lockscreen configuration for secondary users.
Change-Id: Ifa67583ceaeb0739b448e5be93889c3f6f9474ed
2012-04-05 14:44:48 -07:00
Jeff Brown
e46c5f30ca Add new settings UI to select keyboard layout.
Bug: 6110399
Change-Id: Ib2758bdcdd6b271be402f46c56d41619dc7aecb9
2012-04-05 14:41:41 -07:00
Jeff Sharkey
313f7d8c57 Controls to set expensive (metered) networks.
Add UI to change metered flag on NetworkPolicy, and support Wi-Fi
policies per-SSID.  Create Wi-Fi policies as needed, but leave cycle
undefined.

Only show and mutate mobile policies when SIM state is ready.

Bug: 3001465, 3291052
Change-Id: I481a202fe0e68fc2f5adfd3b3a6f40347d2b168c
2012-04-05 14:31:43 -07:00
Vikram Aggarwal
9f55ae2878 Fix crash due to lost activity.
Change-Id: I9d0c2941bf3d725c506b15a738e6ab41678d76d1
2012-04-02 13:36:35 -07:00
Vikram Aggarwal
bfa3a64310 Minor changes to improve CryptKeeper readability
Change-Id: I8a056216edf7f557c32bdec9387b0d31de7aa6c6
2012-03-30 13:11:44 -07:00
Irfan Sheriff
93345aefa8 Merge "Fix discovery state tracking" 2012-03-29 08:41:25 -07:00
Amith Yamasani
9cc3e6fdd8 Merge "Only enable multi-user settings if a secure settings flag is set" 2012-03-28 16:12:59 -07:00
Irfan Sheriff
3a14bafcf6 Fix discovery state tracking
Use the new intent to track if we are in discovery state

Change-Id: I9e07c3ccfcf62c3c33195d23c94de60d4248670c
2012-03-28 15:55:20 -07:00
Amith Yamasani
fa3eea59e8 Only enable multi-user settings if a secure settings flag is set
Use a secure settings key of "multiuser_enabled" that can be
set to "1" to enable the multiuser panel in Settings.

Change-Id: I37d96f6055bc7f87ef271ebdc58f16e7dcecca7b
2012-03-28 10:25:08 -07:00
Kenny Root
d0c186dde0 Merge "Convert to new KeyStore format" 2012-03-27 20:41:49 -07:00
Kenny Root
66ada107ef Merge "Update Wifi to use new keystore function" 2012-03-27 20:41:40 -07:00
Kenny Root
8ce45a6ccc Merge "Switch VPN to use keystore ENGINE" 2012-03-27 20:41:34 -07:00
Amith Yamasani
b810a0ddf9 User management screens
Customized Settings for restricted users
- Only some top-level settings panels available

User management
- Primary user can add and remove users
- User details screen to change name and list of enabled apps

Change-Id: Ia6beb991b427197a4ec2724ca3c9222073f6cf7d
2012-03-27 12:06:29 -07:00