Commit Graph

6264 Commits

Author SHA1 Message Date
Michael Jurka
c9029d99a3 New API to allow third-party apps to bind widgets
Change-Id: Ieec9f247fdbfc02c2ad8f5bb7f6b9efe0669af84
2012-04-24 18:52:53 -07:00
Eric Fischer
17f67ad967 Merge "Import translations. DO NOT MERGE" 2012-04-24 13:55:56 -07:00
Eric Fischer
335c8c86b7 Import translations. DO NOT MERGE
Change-Id: Iaccf544def97f82cc295a845a90961dae92c1116
2012-04-24 13:44:08 -07:00
Amith Yamasani
3ec1cd0771 Merge "Make home-as-up work in UserDictionarySettings" 2012-04-24 13:23:12 -07:00
Amith Yamasani
432fafe200 Make home-as-up work in UserDictionarySettings
Since the home-as-up icon is delivered through onOptionsItemSelected,
need to check the ID.

Bug: 6388649
Change-Id: I00041b1a15e102826d05a40fdd288a9d8712dc48
2012-04-24 13:06:39 -07:00
Amith Yamasani
5132e5d815 Merge "Fix NPE due to delayed event handling." 2012-04-24 11:53:31 -07:00
Jeff Sharkey
a20ec538e5 Merge "Fix data usage settings button visibility." 2012-04-24 11:36:38 -07:00
Jeff Sharkey
d92e0419b1 Fix data usage settings button visibility.
Also check that fragment is attached before launching intent.

Bug: 6385040
Change-Id: If857758acbf6fe17c8ffbd75226114346ffe6c62
2012-04-24 11:35:43 -07:00
Amith Yamasani
9da80a90be Fix NPE due to delayed event handling.
a.k.a., annoying monkeys.

Bug: 6336430
Change-Id: Ie038a71d0ae66b3f30ccd704529f767fa2058542
2012-04-24 11:35:38 -07:00
Dianne Hackborn
3e9263a972 Merge "Deal correctly with an unset brightness adjustment." 2012-04-23 18:55:32 -07:00
Dianne Hackborn
704cc2f600 Deal correctly with an unset brightness adjustment.
Change-Id: I191051989bad68f31210bbc717fbabd59d4585a1
2012-04-23 18:22:13 -07:00
Amith Yamasani
b3a593eb76 Delay calling setHasOptionsMenu() to avoid a crash in Wifi Settings
If it is called in onCreate(), it's too early for Wifi Settings,
which does its initialization in onActivityCreated().

Change-Id: I3d9b49f63d342e724fd4795fbca48d08faa3c3cc
2012-04-23 18:03:52 -07:00
Amith Yamasani
e2b3370876 Merge "Help menus for several screens." 2012-04-23 15:38:50 -07:00
Amith Yamasani
b0b37ae21c Help menus for several screens.
Bug: 5144896
Change-Id: Ib2f5146f6f62f2a33261bb165c3bf1bf13b22f38
2012-04-23 15:35:36 -07:00
Eric Fischer
f1e26a1bb3 Merge "Import translations. DO NOT MERGE" 2012-04-23 13:56:20 -07:00
Amith Yamasani
3fd8051a89 Don't let monkeys launch storage management activities.
Guard against monkeys in two places where intents to other activities are
launched.

Bug: 5415988
Change-Id: Ia3c5514c02423f7b249f655296bb02e279789dfd
2012-04-23 13:46:10 -07:00
Eric Fischer
5d8a801590 Import translations. DO NOT MERGE
Change-Id: Ibf98cce0aba64bd356fffb7de80ca13bbab3cacd
2012-04-23 13:29:34 -07:00
Jeff Sharkey
c1da7b105a Merge "Use statfs() in IMediaContainerService." 2012-04-23 10:08:06 -07:00
Daniel Sandler
4a824be44c Add notification shutoff switch to app details page.
Requires change Ieccac574.

Bug: 5547401
Change-Id: I9856658cc638723414a5c2c3c6807241c3ce6166
2012-04-23 04:53:14 -07:00
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
Jeff Sharkey
d4260682b7 Fix menu string lengths.
Bug: 5497620
Change-Id: I0b4c2cbae8a5cc83ba67355c465c30e5177e8a01
2012-04-22 16:06:22 -07: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
Eric Fischer
7c90578385 Merge "Import translations. DO NOT MERGE" 2012-04-20 14:27:19 -07:00
Eric Fischer
b3e458a3da Import translations. DO NOT MERGE
Change-Id: I03e7d4c13f555abb9d97b420ceb7cf0dfe345089
2012-04-20 13:56:13 -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
Eric Fischer
fcc5063e4d Import translations. DO NOT MERGE
Change-Id: Ie819b67b4146aac858ccaf31aa9630a2745aec30
2012-04-19 13:49:46 -07:00
Irfan Sheriff
8addf86c3c Merge "Add Nsd settings checkbox" 2012-04-19 09:57:33 -07:00
Irfan Sheriff
536c3d7651 Add Nsd settings checkbox
Change-Id: I58e54a8bed02ed7bd99b0f284279b6c799e3369f
2012-04-18 16:14:20 -07:00
Eric Fischer
b11b9abf95 Restore deleted string still referenced from XML.
Change-Id: I2a1384db53b5670815503076f28b89712b8c9c00
2012-04-18 15:26:18 -07:00
Eric Fischer
7046d96bcb Import translations. DO NOT MERGE
Change-Id: I1f5bf9b21d66376e163cb4a32fb0a55ebba66cb3
2012-04-18 14:42:42 -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
bae78c609a Merge "Remove "Searching/Tap To Pair" text from Bluetooth Settings." 2012-04-16 18:10:33 -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
Eric Fischer
f2dedc0f27 Import translations. DO NOT MERGE
Change-Id: I58fdf383ccd986cb56187d098365dab7b1ec4462
2012-04-16 14:40:19 -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
7482e7e4cb Merge "Show data restricted apps, unify strings." 2012-04-13 20:16:00 -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
Eric Fischer
b2b9312b70 am dad12ddb: (-s ours) am 6ce339f6: Import translations. DO NOT MERGE
* commit 'dad12ddbe6425b031002c2f2e646f78789de36ac':
  Import translations. DO NOT MERGE
2012-04-13 17:29:02 -07:00
Eric Fischer
dad12ddbe6 am 6ce339f6: Import translations. DO NOT MERGE
* commit '6ce339f6788a8e95c6e412e1704499b4ba15dcf2':
  Import translations. DO NOT MERGE
2012-04-13 17:26:34 -07:00