150363 Commits

Author SHA1 Message Date
Craig Mautner
ff56885db3 Merge "Relax requirements on Activity.requestVisibleBehind" into lmp-dev 2014-09-08 20:12:35 +00:00
RoboErik
9ff7dda93e Possible fix for dead handler in Music button event sending
I'm still attempting to root cause, but this is a potential fix. I
suspect the callback is getting registerd on a looper that isn't the
main looper which is then getting killed at some point. This change
will make all legacy callbacks happen on the main looper, which should
prevent the state.

bug:17420281
Change-Id: Ia78e694b32b24398d3c09f49d12632755ef45597
2014-09-08 13:11:55 -07:00
Winson Chung
19d62382d0 Ensuring that the start delay matches the transition delay. (Bug 16987565)
- Also ensure that the empty text is normal weight

Change-Id: I3227a62fcb39910a402b13f42a6cb9e418f992aa
2014-09-08 20:08:01 +00:00
Andreas Gampe
6b0ed64fb8 Frameworks/base: Add native bridge post-fork initialization
(cherry picked from commit d7746a8b65ee4690427ed798816f970218578fa3)

Change-Id: I5a20de1cb68dd1802937b369b14c50c9c1031c67
2014-09-08 13:07:59 -07:00
Kenny Guy
48f0b48555 Merge "Revert "Ensure ApplicationInfo is for correct user for system/android package." Cache in ActivityThread means this still doesn't make sure we will get an ApplicationInfo for the user being requested. So reverting." into lmp-dev 2014-09-08 20:02:10 +00:00
Tom Taylor
02dc08834b DO NOT MERGE - Hide new SmsManager API's dealing with SubId
Bug 17422049

Change-Id: I8acc4448e1c5ed665f6df48282afa71fcec54f33
2014-09-08 20:00:03 +00:00
Jorim Jaggi
f98fbb710b Merge "Restrict line count for BigTextStyle" into lmp-dev 2014-09-08 19:46:45 +00:00
Jorim Jaggi
a3bb226b08 Merge "Fix invisible low prio notifications in SHADE_LOCKED" into lmp-dev 2014-09-08 19:34:44 +00:00
Jason Monk
0c37ba3188 Add user-specific playSoundEffect and use in NavBar
Add a hidden version of playSoundEffect that takes a userId to
get the correct setting as to whether sound effects should play
or not.

Bug: 15106706
Change-Id: I5c0b74081fd00732a43fe42a76d33d05197333d0
2014-09-08 15:34:23 -04:00
Tom O'Neill
9f8c80df1d Merge "Fix a STOPSHIP" into lmp-dev 2014-09-08 19:29:57 +00:00
vandwalle
171575266c Merge "add more info to WifiConfiguration.toString: - add the noInternetAccess field - add stats about user triggered wifi state disabling requests - Wifi SSID can change even though we don't loose connection, hence it must be looked at with each Network State Change" into lmp-dev 2014-09-08 19:22:15 +00:00
Andrew Lee
3085a6c739 Rename methods/variables on PhoneAccount for API cleanup.
+ Rename from Handle to Address.
+ Rename from SubscriptionNumber to SubscriptionAddress.
+ Store the subscription address as a Uri.

Bug: 17390175
Bug: 17329632
Change-Id: I67514d89f0e7c81f74bef352df7a55cc422d1c71
2014-09-08 12:00:05 -07:00
Kenny Guy
c2a4060005 Revert "Ensure ApplicationInfo is for correct user for system/android package."
Cache in ActivityThread means this still doesn't make sure we will
get an ApplicationInfo for the user being requested. So reverting.

This reverts commit 4a3b8aa08d743b28d53b327597abf03a925641f2.

Bug:17002733
Change-Id: Ie40eb31c4074cea09de3d6a41fe38b14e00eb059
2014-09-08 18:53:56 +00:00
David Friedman
c6142d97d7 NDKr10b changes to be published to DAC NDK page.
Staged at: http://boku.mtv.corp.google.com:9190/tools/sdk/ndk/index.html

Change-Id: I559068eb1567bc03f69cadade5073f419635ad69
2014-09-08 11:45:27 -07:00
Svet Ganov
2bb02c799c Merge "Clicking on partially coverd views by other views or windows." into lmp-dev 2014-09-08 18:45:04 +00:00
Dharmesh Mokani
2b02f88737 Merge "Remove old methods : AlwaysOnHotwordDetector" into lmp-dev 2014-09-08 18:43:14 +00:00
Jason Monk
100d9471ab Merge "Update downtime to handle TimeZone change" into lmp-dev 2014-09-08 18:33:09 +00:00
Craig Mautner
d2a38c7854 Merge "Ignore finishing activities when fetching the top" into lmp-dev 2014-09-08 18:32:01 +00:00
George Mount
214e7ad175 Merge "Use Alpha instead of TransitionAlpha for Activity Transitions." into lmp-dev 2014-09-08 18:25:03 +00:00
Jason Monk
95e71085e2 Merge "Add VPN Key to signal icons" into lmp-dev 2014-09-08 18:15:38 +00:00
Nancy Chen
6faad7e5b6 Merge "Make changes to Telecomm API per review guidelines." into lmp-dev 2014-09-08 17:38:58 +00:00
Nicolas Prevot
6e412adaa7 Allowing a ContentProvider to have a null authority.
In this case, it will not be possible to query it with any uri.

BUG: 17414813

Change-Id: I76e8ad91539904f3c52b5a3436b2f1bd5e4d0fdf
2014-09-08 18:28:43 +01:00
Adrian Roos
b60d47ccef Initilize LockPatternUtils with the current user
Prevents us from ending up with the wrong user in case
of SystemUI restarts.

Bug: 17343537
Change-Id: I40282380740f8b58adc72d24cb01d1018f07cfe7
2014-09-08 19:23:00 +02:00
Tom O'Neill
bc3095139e Fix a STOPSHIP
Change-Id: I3714f1645c0a847e912cb79515fe3991960c1698
2014-09-08 10:14:33 -07:00
Adrian Roos
0c6763a19f Show confirmation dialog when adding user from QS
Bug: 17392352
Change-Id: I522b0427dbb594d5e8ce33e928dfdc896dc961c7
2014-09-08 19:11:00 +02:00
Chris Craik
5f5df97df9 Merge "Fix save count offsetting within DisplayList chunks" into lmp-dev 2014-09-08 17:09:01 +00:00
Zoltan Szatmary-Ban
f0ae135049 Extend IKeyChainService AIDL with CACert retrieval
Bug:16029580
Change-Id: I41a3bd2f3bd95550e59f1d0d0acd0e765d7b62d7
2014-09-08 17:59:42 +01:00
Adam Connors
19ccb5fd75 Add feature flags for verified boot and securely remove users.
Bug: 17405636
Change-Id: I5e81cf02f8b3d5b98957019c76844875b491181c
2014-09-08 17:42:04 +01:00
Jeff Sharkey
e016605981 Merge "Delayed ASEC allocation, refine progress handling." into lmp-dev 2014-09-08 16:38:42 +00:00
Jeff Sharkey
77d218e186 Delayed ASEC allocation, refine progress handling.
For restore use-case, session creation needs to complete quickly, so
delay ASEC allocation until session is opened.  When preflighting
size checks, only consider external when we have a known size for the
container.  Also relax size checks when using MODE_INHERIT_EXISTING
on external, since we don't know how much of existing app will be
copied over.

Consider session as "active" while commit is ongoing, until we're
either finished or pending user interaction.

Always publish first client needle movement away from 0.  Use 25% of
internal progress to reflect ASEC allocation.

Avoid CloseGuard messages about leaking PFDs.

Bug: 17405741, 17402982
Change-Id: I6247a1d335d26621549c701c4c4575a8d16ef8c2
2014-09-08 09:31:49 -07:00
Jorim Jaggi
457a10d29c Restrict line count for BigTextStyle
Also fixes paddings for the first line for InboxStyle notifications.

Bug: 17161340
Change-Id: I00a92f256d9ccad7cfbcecb591e84bb0d68ba635
2014-09-08 18:31:03 +02:00
Dharmesh Mokani
50c290406a Remove old methods : AlwaysOnHotwordDetector
Bug: 17389896
Change-Id: I47d0ae3ecad0ce8a74ed65a73309faa541b74a06
2014-09-08 09:22:16 -07:00
Nicolas Prevot
97e75e1da9 Merge "Marking two flags as final." into lmp-dev 2014-09-08 16:06:30 +00:00
Adrian Roos
d4e3fe4f7f Don't draw system bar backgrounds if FLAG_FULLSCREEN is set
Bug: 17367264
Change-Id: Id43fc182505e66c2794a76d74e2ac9a6d4f9d569
2014-09-08 17:20:51 +02:00
Jorim Jaggi
85dc23cc69 Start all resolver activities after keyguard is gone
Bug: 17417099
Change-Id: I30b154067b1c4cbca09af49a4763f9cf5fdc19e6
2014-09-08 16:53:11 +02:00
George Mount
a740b2bf9a Merge "Only call setHasTransientState in captureHierarchy." into lmp-dev 2014-09-08 14:52:34 +00:00
George Mount
24e08d0692 Merge "Improve Visibility parent value check." into lmp-dev 2014-09-08 13:59:40 +00:00
Selim Cinek
62ea340af4 Announcing the stream type when the volume panel comes up
Bug: 17299985
Change-Id: I5f71f1ca63223d0a039a5b92dc9521b6dc1e2da5
2014-09-08 15:54:41 +02:00
Kenny Guy
6a28a8d55c Merge "Ensure ApplicationInfo is for correct user for system/android package." into lmp-dev 2014-09-08 13:25:02 +00:00
Adrian Roos
1e4ecf8e7b Don't crash if there's no QS panel
Bug: 17408080
Change-Id: I4632f3b1f484e2e0870f128031ab23db9c520837
2014-09-08 15:20:07 +02:00
Jorim Jaggi
9261b3b778 Fix invisible low prio notifications in SHADE_LOCKED
Bug: 17403672
Change-Id: Iaee27d839f30cf13bfa7b10186c0f52f811fdc62
2014-09-08 14:02:07 +02:00
Selim Cinek
cb2b6737ae Fixed a bug with the anti-falsing logic with dismissing
Bug: 15433087
Change-Id: I48b96c1b8e081d6790d4cd9f5866f699b64e61fc
2014-09-08 13:56:18 +02:00
Nicolas Prevot
86a967312a Marking two flags as final.
Marking FLAG_PARENT_CAN_ACCESS_MANAGED and FLAG_MANAGED_CAN_ACCESS_PARENT
as final.

BUG:17387998

Change-Id: I1562b8638e7cce5706df4517493d1732f19ece8f
2014-09-08 12:15:35 +01:00
Przemyslaw Szczepaniak
2dbf3eac53 Merge "API review requests for the TTS package." into lmp-dev 2014-09-08 10:23:25 +00:00
Przemyslaw Szczepaniak
35c7698a1b API review requests for the TTS package.
- New TextToSpeechService methods are no longer protected.
- s/getRequiresNetworkConnection/isNetworkConnectionRequired
- New TextToSpeec#play.. methods use a Bundle instead of a HashMap
- New synthesizeToFile(), addSpeech(), addEarcon() methods
take a File instead of a String with filepath.
- TextToSpeechService#s/isValidVoiceName/onIsValidVoiceName

Bug:17389935,17253934
Change-Id: Iec76f59015c34104683c050fe1ff1ceccd604134
2014-09-08 11:04:19 +01:00
Yohei Yukawa
a41c4bcc3d Follow up API signature changes of CursorAnchorInfo
This is a follow up CL for Ia8cbb9f6b41cd9509fc0147fd68763dfde
and Ic8c6fab58c01206872a34e7ee604cdda1581364d.

BUG: 17365414
BUG: 17200900
Change-Id: Ib2371849d32bb44da9ef59f05e648a476e03699a
2014-09-08 18:00:15 +09:00
Tsuwei Chen
3324e95412 Manually merge QC's change for SUPL_ES.
Original CL: https://android-review.googlesource.com/#/c/105431

Emergency SUPL

Added emergency SUPL when UE is
in emergency mode.

Bug: 17118312


Change-Id: Id9b77add9bbab139b983a84d5a4c798c9c94df43
2014-09-08 07:11:02 +00:00
Svet Ganov
7498efdc5e Clicking on partially coverd views by other views or windows.
In touch exploration mode an accessibility service can move
accessibility focus in response to user gestures. In this case
when the user double-taps the system is sending down and up
events at the center of the acessibility focused view. This
works fine until the clicked view's center is covered by another
clickable view. In such a scenario the user thinks he is clicking
on one view but the click is handled by another. Terrible.

This change solves the problem of clicking on the wrong view
and also solves the problem of clicking on the wrong window.
The key idea is that when the system detects a double tap or
a double tap and hold it asks the accessibility focused node
(if such) to compute a point at which a click can be performed.
In respinse to that the node is asking the source view to
compute this.

If a view is partially covered by siblings or siblings of
predecessors that are clickable, the click point will be
properly computed to ensure the click occurs on the desired
view. The click point is also bounded in the interactive
part of the host window.

The current approach has rare edge cases that may produce false
positives or false negatives. For example, a portion of the
view may be covered by an interactive descendant of a
predecessor, which we do not compute (we check only siblings of
predecessors). Also a view may be handling raw touch events
instead of registering click listeners, which we cannot compute.
Despite these limitations this approach will work most of the
time and it is a huge improvement over just blindly sending
the down and up events in the center of the view.

Note that the additional computational complexity is incurred
only when the user wants to click on the accessibility focused
view which is very a rare event and this is a good tradeoff.

bug:15696993

Change-Id: I85927a77d6c24f7550b0d5f9f762722a8230830f
2014-09-07 23:36:20 -07:00
vandwalle
448e208b0a add more info to WifiConfiguration.toString:
- add the noInternetAccess field
- add stats about user triggered wifi state disabling requests
- Wifi SSID can change even though we don't loose connection, hence it must be looked at with each Network State Change

Bug:17348200

Change-Id: Ic956e11e7d61faf472a7332f84a46a746922455a
2014-09-07 21:43:25 -07:00
Yohei Yukawa
5f183f0671 L API proposal: Introduce IS_RTL flag
This CL introduces CursorAnchorInfo.FLAG_IS_RTL for better
RTL support. This CL also renames *CharacterRect() with
*CharacterBounds() so that they can look more consistent
with other existing APIs.

Rationale:

CursorAnchorInfo.FLAG_IS_RTL addresses following issues.
1. There is no way to associate the RTL information with
   the insertion marker.
2. Returning mirrored (right < left) RectF for RTL in
   CursorAnchorInfo#getCharacterRect() is turned out
   to be bug-prone. Such usage of RectF is not fully
   supported. For example, RectF#isEmpty() always returns
   false when right < left.
3. There is no reliable to provide the RTL information
   when CursorAnchorInfo#getCharacterRect() returns an
   empty (right == left) RectF. Perhaps we could use +0.0
   and -0.0, but I'm afraid that it is also bug-prone.

BUG: 17365414
BUG: 17335734
Change-Id: Ic8c6fab58c01206872a34e7ee604cdda1581364d
2014-09-08 02:17:54 +00:00