75979 Commits

Author SHA1 Message Date
Gilles Debunne
57e6136ce7 Merge "Hide TextDirectionHeuristics" into jb-dev 2012-05-03 11:00:49 -07:00
Adam Powell
f27ba974d5 Merge "JB API cleanup; ActionMode and View docs" into jb-dev 2012-05-03 10:58:48 -07:00
Adam Powell
1f2077c3a0 Merge "Fix AlertDialog positioning for dialogs spawned from DialogWhenLarge activities" into jb-dev 2012-05-03 10:57:22 -07:00
Wink Saville
1d7c1f1117 Rename isTimeZoneFixNeeded to shouldFixTimeZoneNow.
Change-Id: I01c73a0afaa17793f9dea1b78c9fe49fa138f787
2012-05-03 10:34:57 -07:00
Amith Yamasani
c793d62613 Merge "On first boot and NTP lookup, set the time even if it's not off by 5+ secs." into jb-dev 2012-05-03 10:19:40 -07:00
Wu-cheng Li
f05c1d63d1 Avoid deadlocks when calling autoFocus from onAutoFocus callback.
Applicatons may use different threads for calling autoFocus and
onAutoFocus callback.

bug:6026574

Change-Id: I114a60240e22af15ca469b591e080121367db8e2
2012-05-04 01:01:46 +08:00
John Reck
eaca069aff Merge "Fix clicking on a fake element (address, phone number, etc..)" into jb-dev 2012-05-03 09:59:46 -07:00
John Reck
9155cbac78 Fix clicking on a fake element (address, phone number, etc..)
Bug: 6426909

Change-Id: Ic45deea2423dbeb2bcb4ecbcaac32ec194f7511e
2012-05-03 09:51:32 -07:00
Irfan Sheriff
531522c7fe Merge "Report open networks without saved networks" into jb-dev 2012-05-03 09:42:06 -07:00
George Mount
aac5066dbf Merge "Add intercept path for UI touch handling." into jb-dev 2012-05-03 09:37:18 -07:00
Wink Saville
9a992450cb Merge "Time can become incorrect when no sim is present or mcc changes." into jb-dev 2012-05-03 09:35:27 -07:00
Wink Saville
f0f43227a7 Time can become incorrect when no sim is present or mcc changes.
bug: 6393147
Change-Id: I07ad74998b03af532ccf704a8a7e4844f5829b14
2012-05-03 09:26:25 -07:00
John Reck
d4796461ee Fix accessibility drawing
Bug: 6407623
 If script injection is disabled, the accessibility injector works
 by modifying the text selection. However, this would cause WebView
 to go into text selection mode, showing the CAB and such, which
 we don't want. Add a flag saying WHY text selection is being changed
 so that we can respond accordingly in WebViewClassic.

Change-Id: Ia509def3fcdb022b93fbbc7ed89bc9558663afd3
2012-05-03 09:07:11 -07:00
George Mount
7a33acf123 Add intercept path for UI touch handling.
Bug 6410164

Change-Id: Ia3907a9a57321d0f25763c88fd0c0a7617d5da48
2012-05-03 09:02:14 -07:00
Daniel Sandler
5380cdc2e1 Merge "Hide icons for low-priority notifications." into jb-dev 2012-05-03 08:28:25 -07:00
Daniel Sandler
58b173b1ca Hide icons for low-priority notifications.
Anything below PRIORITY_LOW will usually be hidden (unless
the NotificationManagerService has a compelling reason to
adjust the priority).

Bug: 6357857
Change-Id: Ic8a806a6db87b0473014a5d006279991272a44ea
2012-05-03 11:25:29 -04:00
Daniel Sandler
c5d76e041a Merge "Move bar panels above the system bar window layer." into jb-dev 2012-05-03 08:02:56 -07:00
Daniel Sandler
4ce64fb364 Move bar panels above the system bar window layer.
We use the new TYPE_NAVIGATION_BAR_PANEL for this instead of
TYPE_STATUS_BAR_PANEL (which is indeed above the status bar,
but far below the navigation bar, which is the window type
used for the system bar now.)

Bug: 6319161 (ticker underneath system bar)
Bug: 6437342 (missing clear all button on system bar)
Change-Id: Ib58c0003c4c81db64edca2c1bbc2d764c3237ed0
2012-05-03 10:53:10 -04:00
Chris Wren
1243b96759 Merge "rework big text to handle gmail use case" into jb-dev 2012-05-03 07:46:00 -07:00
Chris Wren
719646454a Merge "Allow the Notification.Builder to carry around a Style to apply at build" into jb-dev 2012-05-03 07:45:43 -07:00
Daniel Sandler
115f48a222 Merge "Large-screen notification panel size + positioning." into jb-dev 2012-05-03 07:30:50 -07:00
Chris Wren
e4a2a4f142 rework big text to handle gmail use case
Change-Id: I3175e198bd6f39025f4257454b43c459ed1e38f5
2012-05-03 09:40:02 -04:00
Chris Wren
fbd96ba9ba Allow the Notification.Builder to carry around a Style to apply at build
Change-Id: I5e848504b6d0444ee349ecea893ceae571dda796
2012-05-03 09:40:02 -04:00
Mike Cleron
841a37aa5b Merge "Clarify documentation about when Activity#onCreateNavigateUpTaskStack will be called." into jb-dev 2012-05-02 23:56:08 -07:00
Kenny Root
03f22533a7 Merge "Fix some problems with ASECs" into jb-dev 2012-05-02 22:46:55 -07:00
Adam Powell
b3e02c44d5 Fix nested cross-scrolling for ScrollView/HorizontalScrollView
Bug 6429006

Disallow intercepting touch events for parents of
ScrollView/HorizontalScrollView when scrolling begins. Properly
respect touch slop when the child of a ScrollView does not accept
touch events.

Change-Id: I2ce503ad5104d450829ed58cd2748c9163e020d3
2012-05-02 22:14:13 -07:00
Daniel Sandler
21b274e8a0 Large-screen notification panel size + positioning.
On sw600 devices we show the notification panel in a smaller
rectangle, centered in portrait and left-aligned in
landscape.

Also remove a bunch of -large resources that shouldn't be
used anymore.

Bug: 6297838
Change-Id: I8ed3445ccb7df16e30870a4322d89786467c54df
2012-05-03 01:14:07 -04:00
Adam Powell
f019595151 Clarify documentation about when Activity#onCreateNavigateUpTaskStack
will be called.

Bug 6427237

Change-Id: I5c41e4a694b39c03fd642586472838e2f9a0281d
2012-05-02 21:39:31 -07:00
Adam Powell
785c447b2b JB API cleanup; ActionMode and View docs
Bugs 6435315, 6434937

Add ActionMode#getTitleOptionalHint() and extend documentation for
View#hasTransientState/setHasTransientState

Change-Id: I2049fb79864c33b34e3bbd13df32861e308c99ad
2012-05-02 21:27:15 -07:00
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