76250 Commits

Author SHA1 Message Date
satok
5b927c431f Reset the default system ime to the proper one when the system locale is changed
The framework automatically enables only valid system default IMEs and IMEs that have at least one English subtype at the initial boot and system locale changes.

Settings: I9af4065e4b9f933

Bug: 6422666
Bug: 6422390
Change-Id: I0b86ddba692144521f30e0b9086ddd67bfb9a793
2012-05-03 12:38:34 +09:00
Jeff Sharkey
b829f09737 Merge "Allow adding of completed empty files." into jb-dev 2012-05-02 19:37:51 -07:00
Jeff Sharkey
3b5a7089c7 Merge "Support full 32 bits for socket tags." into jb-dev 2012-05-02 19:37:29 -07:00
Adam Powell
8877cc3e6e Fix AlertDialog positioning for dialogs spawned from DialogWhenLarge
activities

Bug 6413342

Clear extra attributes in the base theme so that they properly overlay
a ContextThemeWrapper over a fixed-size dialog theme.

Change-Id: Ia0d49f0746ca01516afa1eaea7091e5da60d14ae
2012-05-02 18:35:23 -07:00
Svetoslav Ganov
6aa3138587 Merge "Remove accessibility gestures for clockwise and counter clock wise circle." into jb-dev 2012-05-02 18:27:40 -07:00
Gilles Debunne
cefb4bc011 Hide TextDirectionHeuristics
Bug 6435363

Change-Id: I9ba0a3c057af67e2876e64fd8c18adbb8f4d0860
2012-05-02 18:20:25 -07:00
Svetoslav Ganov
65d98ad5b3 Remove accessibility gestures for clockwise and counter clock wise circle.
1. The clockwise and counter clockwise circle gestures are difficult to
   perform for a blind user. Some user studies have shown that so nuke them.

bug:6435260

Change-Id: I81d23bd3c450239fe17b4b8c60bafab00daa480a
2012-05-02 17:57:13 -07:00
Irfan Sheriff
027828bff7 Report open networks without saved networks
The supplicant stops periodic scans when there are no saved networks.
The framework needs to have a periodic scan to handle this scenario.

We do have an infrequent wake up scan (15 mins), but thats way too
slow to report an open network.

Setup a scan by the supplicant interval when there are no saved
networks

Bug: 5420656
Change-Id: Id3708ecc874b42971643cc747bb9e7f2efc7d1dd
2012-05-02 17:51:26 -07:00
Svetoslav Ganov
fb58a6d93c Merge "Adding title for the date picker dialog if the calendar is not shown." into jb-dev 2012-05-02 17:46:34 -07:00
Svetoslav Ganov
7a5f3e4048 Merge "Virtual nodes are always important for accessibility." into jb-dev 2012-05-02 17:45:58 -07:00
John Wang
28d9911ada Merge "Enable restart in getSpnFsm()." into jb-dev 2012-05-02 17:40:37 -07:00
Daniel Sandler
f32c8e4365 Merge "Add MASTER_CLEAR perm to SystemUI for SD card formatting." into jb-dev 2012-05-02 17:39:04 -07:00
John Wang
22930da77f Merge "Add unusable SIM message." into jb-dev 2012-05-02 17:37:44 -07:00
Chris Craik
3421f9fd68 Merge "Add temporary functor lifetime logging" into jb-dev 2012-05-02 17:26:57 -07:00
Craig Mautner
232301b027 Merge "Fix flashy transition in QuickContacts" into jb-dev 2012-05-02 17:23:44 -07:00
John Wang
82b2cd0fe9 Add unusable SIM message.
Inform user "Unusable SIM card." when SIM is permanently disabled
due to too many wrong PUK inputs.

bug:5548405

Change-Id: Id82c7681f58f09709c630b4bc455facb549938ed
2012-05-02 17:14:50 -07:00
John Wang
6ac0471da7 Enable restart in getSpnFsm().
If the FSM gets restart while waiting for one of
SPN EFs results (i.e. a SIM refresh occurs after issuing
read EF_CPHS_SPN), it will re-initialize only after
receiving and discarding the unfinished SPN EF result.

bug:5499225

Change-Id: I715fc2feabdd03435903f7dcb785c8f0154619bc
2012-05-02 17:10:51 -07:00
Kenny Root
bf023589b3 Fix some problems with ASECs
On devices that had external storage, permissions weren't set correctly
on non-forward-locked applications. Also, moving forward locked
applications didn't work since DefaultContainerService wasn't able to
read it.

Fixed some faulty unit tests as well.

Bug: 6427212
Change-Id: I5c1f0bf5278549069c78939f0708c4c43a7d4006
2012-05-02 17:09:57 -07:00
Craig Mautner
94ef9df22c Fix flashy transition in QuickContacts
Calls to relayout were forcing outgoing app reported visibility to
false. Because there was a DummyAnimation in the outgoing app the
stepAnimation was forcing the app Transformation alpha value to 0
based on the most recent reportedVisibile value. This was causing the
outgoing app to disappear for an instant.  Moving the visibility test
to the time at which the DummyAnimation is set fixes this problem.

Fixes bug 5908102.

Change-Id: Ib574728a007a0af759990816db42e23ba315b468
2012-05-02 17:08:39 -07:00
Jeff Sharkey
33f95eda3d Allow adding of completed empty files.
Bug: 5281354
Change-Id: I375c3c7ff4ccbb554204ad53a90d35ff4790af6c
2012-05-02 17:07:54 -07:00
Jeff Sharkey
5f4dafb48e Block metered APNs when app is restricted.
When an app is restricted in the background, don't allow them to
start using metered network features. With this change they can
still use network features when in foreground. This avoids situation
where apps can bring up APNs which they are unable to use.

Bug: 5838267
Change-Id: I3ac96f2a545f67cba1ef12b8536cfd0da769d955
2012-05-02 16:52:43 -07:00
Jeff Brown
1064a50dc8 hasVibrator() should only report presence of built-in vibrator.
Bug: 6430585
Change-Id: Ia8d8656a2f0467b83f22a1dd747fbd17575573b3
2012-05-02 16:51:37 -07:00
Ruei-sung Lin
1c82345211 Merge "Fix b/5974247" into jb-dev 2012-05-02 16:41:13 -07:00
Chris Craik
2fe99801e8 Add temporary functor lifetime logging
bug:6405861

Note: revert once the above bug is verified fixed

Change-Id: Iae04ec6ffa73a2711f96e128d60011bcb5864b5c
2012-05-02 16:37:24 -07:00
Jeff Brown
93de746e55 Separate the internal and external display rotations.
When attached to an HDMI touch screen, the input system needs
to know the size and rotation of the external display independent
of the internal display.  The size was already being reported
separately but not the rotation.  The inconsistency can cause problems
if the internal display's natural rotation is portrait but
the external display's natural rotation is landscape.

Change-Id: Id344f04c1ba032625f6265766be66f9ddaa2cc0b
2012-05-02 16:29:42 -07:00
Irfan Sheriff
04e83d3952 Merge "Fix reference counting of wifi locks" into jb-dev 2012-05-02 16:25:34 -07:00
Matthew Xie
d69c367577 Merge "Always move Bluetooth Adapter to cold state when turn off Bluetooth." into jb-dev 2012-05-02 16:20:55 -07:00
Craig Mautner
be4f5bb7fc Merge "Fix Home key causes wrong animation" into jb-dev 2012-05-02 16:17:24 -07:00
Amith Yamasani
708d5d444b On first boot and NTP lookup, set the time even if it's not off by 5+ secs.
This enables SetupWizard to get an ACTION_TIME_CHANGED event.

Bug: 6432127

Change-Id: I42b8d6672372dc1aa4aa43128b5d801875ccf057
2012-05-02 16:16:56 -07:00
John Reck
9a793c91b6 Merge "Add missing null check" into jb-dev 2012-05-02 16:15:51 -07:00
Jeff Sharkey
9a671137dc Merge "Set tmpdir to application cache directory." into jb-dev 2012-05-02 16:12:49 -07:00
John Reck
2f612bdfbd Merge "Rewrite PictureSet" into jb-dev 2012-05-02 16:11:17 -07:00
Jeff Sharkey
2d6c580262 Support full 32 bits for socket tags.
Bug: 5321184
Change-Id: Iadb3a4ad541ef012cea35b70ad440eca4c879f42
2012-05-02 16:01:14 -07:00
Jim Miller
1771ee34d1 Merge "Revert "Fix for layout parameter validation bug in GridLayout."" into jb-dev 2012-05-02 15:59:27 -07:00
Jim Miller
782c04b864 Revert "Fix for layout parameter validation bug in GridLayout."
This reverts commit 8a36e05443f13edde1eae0cf6ea01b3b2da6e637 which was causing
keyguard_screen_tab_unlock.xml to have a bad layout.

Change-Id: I50bdc6dbdf8d7b98ef77eae532860d375574213e
2012-05-02 15:50:30 -07:00
Adam Powell
fbbdbc2d23 Merge "Fix setting action bar home-as-up from AB style" into jb-dev 2012-05-02 15:42:23 -07:00
Ruei-sung Lin
f4b403159f Fix b/5974247
Change-Id: I8c5cf035f195142607875739604d163c7a43e305
2012-05-02 15:16:57 -07:00
Brian Colonna
3018997534 Fix 6396479: Made FUL unlock layout look good on nakasi
For the portrait layouts, the size of the unlock view was reduced
because it was outside the bottom bounds of the screen, making it
look much wider than it was high.  The fix makes it look square.

For the landscape layouts, the size of the unlock view was increased
because it was leaving only thin slivers of background space on the
top and bottom.  It now fills the entire right half of the screen.

This was also tested on the Xoom to make sure it looks reasonable on
10 inch tablets, even though FUL doesn't ship on the Xoom.

Change-Id: I969912a944d20560d31729806273dec47aaa6ecb
2012-05-02 17:58:25 -04:00
Winson Chung
3e1cf5b423 Merge "Updating task and fragment transitions. (Bug 5285022)" into jb-dev 2012-05-02 14:51:08 -07:00
Winson Chung
bd127f0966 Updating task and fragment transitions. (Bug 5285022)
Change-Id: Iae7cc88d7b608360455956488562a40cbdb725f9
2012-05-02 14:49:28 -07:00
Eric Fischer
46bba66318 Merge "Import translations. DO NOT MERGE" into jb-dev 2012-05-02 14:43:45 -07:00
Irfan Sheriff
2c02da2bc6 Fix reference counting of wifi locks
Bug: 6105898
Change-Id: I7368de91fa4aa63fd97dda0ee91d810aaaa53d8b
2012-05-02 14:40:16 -07:00
Svetoslav Ganov
52a623700f Virtual nodes are always important for accessibility.
1. Virtual nodes should be made important since the implementer of
   the tree represented by the nodes decides which node to report.
   In the case with native widgets we decide in the framework but
   in the case of the node provider, the implementer of the latter
   makes the call. Hence, if a node in not important the provider
   should not report it in the first place. The issue this patch
   solves is to allow events from virtual nodes to be propagated
   to the accessibility services.

bug:6432588

Change-Id: Ie01f84e9e0ef2280da934b98283962a5db38abc2
2012-05-02 14:19:41 -07:00
Matthew Xie
7f58b36fec Always move Bluetooth Adapter to cold state when turn off Bluetooth.
quick switch feature introduced in ICS does not work very well. Reported
logs indicate the Bluez stack cannot sustain the long time ON/hotoff state.
This change will always move the adapter to code but move it to hotoff
to be able to turn on quickly.
bug 5792792

Change-Id: I41c39d4bf11bb5eb3cd83279e8ec81e01774e008
2012-05-02 14:15:10 -07:00
Adam Powell
d40423a7ad Fix setting action bar home-as-up from AB style
Bug 6427860

Change-Id: I0052417a2c97560ade768509781b27b5e064660d
2012-05-02 14:06:03 -07:00
Jeff Sharkey
6f28f9ef31 Merge "Push existing rules when netd reconnects." into jb-dev 2012-05-02 13:48:30 -07:00
Jeff Sharkey
e1d330a071 Set tmpdir to application cache directory.
Otherwise File.createTempFile() uses /sdcard which most apps don't
have write access to.

Bug: 6347289
Change-Id: Ibde191a63e4dbb9b03437406f8c999f192bcfa21
2012-05-02 13:47:37 -07:00
Eric Fischer
ef3e44f69a Import translations. DO NOT MERGE
Change-Id: I5ae8fc8c95a47a3b981a10bf2218c774de71627f
2012-05-02 12:58:28 -07:00
Raph Levien
1637dcd16c Use paint typeface for shaping when it supports the requested script.
This is a hackish but workable fix for bug 6415796.

Change-Id: Iaba91e1e53e688a3ee05a1fdb68fd05102e369f2
2012-05-02 12:00:12 -07:00
Adam Powell
0cd4f6718b Merge "Fix documentation of Activity#navigateUpTo() to describe its actual behavior." into jb-dev 2012-05-02 11:59:55 -07:00