OSDN Git Service

android-x86/frameworks-base.git
9 years agoMerge "Add FEATURE_GAMEPAD." into lmp-dev
Michael Wright [Mon, 8 Sep 2014 23:21:48 +0000 (23:21 +0000)]
Merge "Add FEATURE_GAMEPAD." into lmp-dev

9 years agoMerge "Allow wake keys to wake dozing device." into lmp-dev
Michael Wright [Mon, 8 Sep 2014 23:14:08 +0000 (23:14 +0000)]
Merge "Allow wake keys to wake dozing device." into lmp-dev

9 years agoMerge "Remove unused variables from UsbHostManager." into lmp-dev
Michael Wright [Mon, 8 Sep 2014 23:13:42 +0000 (23:13 +0000)]
Merge "Remove unused variables from UsbHostManager." into lmp-dev

9 years agoAdd FEATURE_GAMEPAD.
Michael Wright [Sat, 6 Sep 2014 00:57:44 +0000 (17:57 -0700)]
Add FEATURE_GAMEPAD.

This allows micro-consoles or other devices to signify that there's a
game controller in the box, even if the user hasn't connected it.

Change-Id: Ie5e2cf69f777ebe84abb83f34c9ed63d9555deff

9 years agoMerge "Enable (@hidden) video connection support for RemoteConnections" into lmp-dev
Ihab Awad [Mon, 8 Sep 2014 23:05:45 +0000 (23:05 +0000)]
Merge "Enable (@hidden) video connection support for RemoteConnections" into lmp-dev

9 years agoam 718803f5: am aa19f1fc: am b5a21ad3: Revert "Revert "NDKr10b changes to be publishe...
Robert Ly [Mon, 8 Sep 2014 22:57:17 +0000 (22:57 +0000)]
am 718803f5: am aa19f1fc: am b5a21ad3: Revert "Revert "NDKr10b changes to be published to DAC NDK page. Staged at: boku.mtv.corp.google.com:9190/tools/sdk/ndk/index.html""

* commit '718803f52e7311af2500c0e4ee9aacc2c43882e2':
  Revert "Revert "NDKr10b changes to be published to DAC NDK page. Staged at: http://boku.mtv.corp.google.com:9190/tools/sdk/ndk/index.html""

9 years agoam aa19f1fc: am b5a21ad3: Revert "Revert "NDKr10b changes to be published to DAC...
Robert Ly [Mon, 8 Sep 2014 22:51:20 +0000 (22:51 +0000)]
am aa19f1fc: am b5a21ad3: Revert "Revert "NDKr10b changes to be published to DAC NDK page. Staged at: boku.mtv.corp.google.com:9190/tools/sdk/ndk/index.html""

* commit 'aa19f1fccb12eb141af92837aded0478006ab935':
  Revert "Revert "NDKr10b changes to be published to DAC NDK page. Staged at: http://boku.mtv.corp.google.com:9190/tools/sdk/ndk/index.html""

9 years agoam 7eabd92a: am 32079484: am 4186379a: Revert "NDKr10b changes to be published to...
David Friedman [Mon, 8 Sep 2014 22:50:16 +0000 (22:50 +0000)]
am 7eabd92a: am 32079484: am 4186379a: Revert "NDKr10b changes to be published to DAC NDK page. Staged at: boku.mtv.corp.google.com:9190/tools/sdk/ndk/index.html"

* commit '7eabd92a14d8804092ffdef8235ecfdae72abef9':
  Revert "NDKr10b changes to be published to DAC NDK page. Staged at: http://boku.mtv.corp.google.com:9190/tools/sdk/ndk/index.html"

9 years agoam a4c038a7: am 7e8786d9: am c6142d97: NDKr10b changes to be published to DAC NDK...
David Friedman [Mon, 8 Sep 2014 22:49:58 +0000 (22:49 +0000)]
am a4c038a7: am 7e8786d9: am c6142d97: NDKr10b changes to be published to DAC NDK page. Staged at: boku.mtv.corp.google.com:9190/tools/sdk/ndk/index.html

* commit 'a4c038a72ad28511f359667cb4ffab31fc0375b2':
  NDKr10b changes to be published to DAC NDK page. Staged at: http://boku.mtv.corp.google.com:9190/tools/sdk/ndk/index.html

9 years agoam b5a21ad3: Revert "Revert "NDKr10b changes to be published to DAC NDK page. Staged...
Robert Ly [Mon, 8 Sep 2014 22:43:42 +0000 (22:43 +0000)]
am b5a21ad3: Revert "Revert "NDKr10b changes to be published to DAC NDK page. Staged at: boku.mtv.corp.google.com:9190/tools/sdk/ndk/index.html""

* commit 'b5a21ad3fba1d8d3b096a0d685d71c148fefa11b':
  Revert "Revert "NDKr10b changes to be published to DAC NDK page. Staged at: http://boku.mtv.corp.google.com:9190/tools/sdk/ndk/index.html""

9 years agoMerge "Possible fix for dead handler in Music button event sending" into lmp-dev
RoboErik [Mon, 8 Sep 2014 22:35:31 +0000 (22:35 +0000)]
Merge "Possible fix for dead handler in Music button event sending" into lmp-dev

9 years agoRevert "Revert "NDKr10b changes to be published to DAC NDK page. Staged at: http...
Robert Ly [Mon, 8 Sep 2014 22:30:09 +0000 (22:30 +0000)]
Revert "Revert "NDKr10b changes to be published to DAC NDK page. Staged at: boku.mtv.corp.google.com:9190/tools/sdk/ndk/index.html""

This reverts commit 4186379a2a37123d31ce5d1aff1facc8e7dfbfd3.

Change-Id: I34a7b8689362053c0ad8124eaa3f40a5c282bc80

9 years agoRemove unused variables from UsbHostManager.
Michael Wright [Mon, 8 Sep 2014 22:27:42 +0000 (15:27 -0700)]
Remove unused variables from UsbHostManager.

Change-Id: I68067b69de077667482633cc6ecd97ee94ecb699

9 years agoam 32079484: am 4186379a: Revert "NDKr10b changes to be published to DAC NDK page...
David Friedman [Mon, 8 Sep 2014 22:26:59 +0000 (22:26 +0000)]
am 32079484: am 4186379a: Revert "NDKr10b changes to be published to DAC NDK page. Staged at: boku.mtv.corp.google.com:9190/tools/sdk/ndk/index.html"

* commit '3207948444ed39b867c14cfc314b8caaf60fe571':
  Revert "NDKr10b changes to be published to DAC NDK page. Staged at: http://boku.mtv.corp.google.com:9190/tools/sdk/ndk/index.html"

9 years agoam 7e8786d9: am c6142d97: NDKr10b changes to be published to DAC NDK page. Staged...
David Friedman [Mon, 8 Sep 2014 22:26:53 +0000 (22:26 +0000)]
am 7e8786d9: am c6142d97: NDKr10b changes to be published to DAC NDK page. Staged at: boku.mtv.corp.google.com:9190/tools/sdk/ndk/index.html

* commit '7e8786d9755526a2d29c10c60759eb1c290afa38':
  NDKr10b changes to be published to DAC NDK page. Staged at: http://boku.mtv.corp.google.com:9190/tools/sdk/ndk/index.html

9 years agoMerge "Manually merge QC's change for SUPL_ES." into lmp-dev
Tsuwei Chen [Mon, 8 Sep 2014 22:15:31 +0000 (22:15 +0000)]
Merge "Manually merge QC's change for SUPL_ES." into lmp-dev

9 years agoam 4186379a: Revert "NDKr10b changes to be published to DAC NDK page. Staged at:...
David Friedman [Mon, 8 Sep 2014 22:13:09 +0000 (22:13 +0000)]
am 4186379a: Revert "NDKr10b changes to be published to DAC NDK page. Staged at: boku.mtv.corp.google.com:9190/tools/sdk/ndk/index.html"

* commit '4186379a2a37123d31ce5d1aff1facc8e7dfbfd3':
  Revert "NDKr10b changes to be published to DAC NDK page. Staged at: http://boku.mtv.corp.google.com:9190/tools/sdk/ndk/index.html"

9 years agoam c6142d97: NDKr10b changes to be published to DAC NDK page. Staged at: http://boku...
David Friedman [Mon, 8 Sep 2014 22:13:05 +0000 (22:13 +0000)]
am c6142d97: NDKr10b changes to be published to DAC NDK page. Staged at: boku.mtv.corp.google.com:9190/tools/sdk/ndk/index.html

* commit 'c6142d97d79bc6a5ce2bb77fce9ae5d988f49542':
  NDKr10b changes to be published to DAC NDK page. Staged at: http://boku.mtv.corp.google.com:9190/tools/sdk/ndk/index.html

9 years agoEnable (@hidden) video connection support for RemoteConnections
Ihab Awad [Wed, 20 Aug 2014 16:36:40 +0000 (09:36 -0700)]
Enable (@hidden) video connection support for RemoteConnections

Bug: 16958934

Change-Id: I2c618743a689303f1bec190da53a1ec42d759370

9 years agoRevert "NDKr10b changes to be published to DAC NDK page. Staged at: http://boku.mtv...
David Friedman [Mon, 8 Sep 2014 21:58:22 +0000 (21:58 +0000)]
Revert "NDKr10b changes to be published to DAC NDK page. Staged at: boku.mtv.corp.google.com:9190/tools/sdk/ndk/index.html"

This reverts commit c6142d97d79bc6a5ce2bb77fce9ae5d988f49542.

Change-Id: Idc6fde822bf42300897d96fc934a94e6b9418d76

9 years agoMerge "Rename methods/variables on PhoneAccount for API cleanup." into lmp-dev
Andrew Lee [Mon, 8 Sep 2014 21:45:40 +0000 (21:45 +0000)]
Merge "Rename methods/variables on PhoneAccount for API cleanup." into lmp-dev

9 years agoMerge "Replace Calls.FEATURES_NONE with 0 (1/4)" into lmp-dev
Yorke Lee [Mon, 8 Sep 2014 21:43:29 +0000 (21:43 +0000)]
Merge "Replace Calls.FEATURES_NONE with 0 (1/4)" into lmp-dev

9 years agoMerge "NoMan: Fix speedbump with multiple package priorities" into lmp-dev
Christoph Studer [Mon, 8 Sep 2014 21:26:28 +0000 (21:26 +0000)]
Merge "NoMan: Fix speedbump with multiple package priorities" into lmp-dev

9 years agoMerge "DO NOT MERGE - Hide new SmsManager API's dealing with SubId" into lmp-dev
Tom Taylor [Mon, 8 Sep 2014 21:17:20 +0000 (21:17 +0000)]
Merge "DO NOT MERGE - Hide new SmsManager API's dealing with SubId" into lmp-dev

9 years agoAllow wake keys to wake dozing device.
Michael Wright [Mon, 8 Sep 2014 21:12:24 +0000 (14:12 -0700)]
Allow wake keys to wake dozing device.

The new key interception policy removed the wake status from key
presses while in the device was dozing.  Since we still want to wake
from these keys by going from doze -> fully interactive, just don't
remove the wake status and allow the device to be woken up as normal.

Bug: 17422475
Change-Id: I835e51cc9c557d8ce2e8f8502d84f04aae138e79

9 years agoMerge "Bring consistency to FLAG_ONLY_ALERT_ONCE semantics." into lmp-dev
Chris Wren [Mon, 8 Sep 2014 20:47:06 +0000 (20:47 +0000)]
Merge "Bring consistency to FLAG_ONLY_ALERT_ONCE semantics." into lmp-dev

9 years agoMerge "Renaming of LauncherApps apis" into lmp-dev
Kenny Guy [Mon, 8 Sep 2014 20:43:22 +0000 (20:43 +0000)]
Merge "Renaming of LauncherApps apis" into lmp-dev

9 years agoMerge "Zen: Remove suppression of untagged vibrations in zen mode." into lmp-dev
John Spurlock [Mon, 8 Sep 2014 20:40:45 +0000 (20:40 +0000)]
Merge "Zen: Remove suppression of untagged vibrations in zen mode." into lmp-dev

9 years agoBring consistency to FLAG_ONLY_ALERT_ONCE semantics.
Chris Wren [Mon, 8 Sep 2014 20:34:03 +0000 (16:34 -0400)]
Bring consistency to FLAG_ONLY_ALERT_ONCE semantics.

For updates, the sounds layer checks for existence of the flag on the
new version while the heads up was checking for the flag on the
old version.

Both now agree to check the new version.

Bug: 14255617
Change-Id: Ib617df11f0dea17b5dfdf2ef6330bdbd18032ac6

9 years agoMerge "Start all resolver activities after keyguard is gone" into lmp-dev
Jorim Jaggi [Mon, 8 Sep 2014 20:38:34 +0000 (20:38 +0000)]
Merge "Start all resolver activities after keyguard is gone" into lmp-dev

9 years agoReplace Calls.FEATURES_NONE with 0 (1/4)
Yorke Lee [Mon, 8 Sep 2014 20:33:51 +0000 (13:33 -0700)]
Replace Calls.FEATURES_NONE with 0 (1/4)

Bug: 17253963
Change-Id: I9e9e56cdf4c9a60ac1e047bef0eba2ba0c8f10fb

9 years agoZen: Remove suppression of untagged vibrations in zen mode.
John Spurlock [Mon, 8 Sep 2014 20:15:17 +0000 (16:15 -0400)]
Zen: Remove suppression of untagged vibrations in zen mode.

Bug:17313184
Change-Id: I07d24a7d9ce15160a4990391c53d7d6309a13c3e

9 years agoMerge "Relax requirements on Activity.requestVisibleBehind" into lmp-dev
Craig Mautner [Mon, 8 Sep 2014 20:12:34 +0000 (20:12 +0000)]
Merge "Relax requirements on Activity.requestVisibleBehind" into lmp-dev

9 years agoPossible fix for dead handler in Music button event sending
RoboErik [Mon, 8 Sep 2014 20:08:20 +0000 (13:08 -0700)]
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

9 years agoEnsuring that the start delay matches the transition delay. (Bug 16987565)
Winson Chung [Mon, 8 Sep 2014 09:38:54 +0000 (11:38 +0200)]
Ensuring that the start delay matches the transition delay. (Bug 16987565)

- Also ensure that the empty text is normal weight

Change-Id: I3227a62fcb39910a402b13f42a6cb9e418f992aa

9 years agoMerge "Revert "Ensure ApplicationInfo is for correct user for system/android package...
Kenny Guy [Mon, 8 Sep 2014 20:02:08 +0000 (20:02 +0000)]
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

9 years agoDO NOT MERGE - Hide new SmsManager API's dealing with SubId
Tom Taylor [Mon, 8 Sep 2014 19:01:28 +0000 (12:01 -0700)]
DO NOT MERGE - Hide new SmsManager API's dealing with SubId

Bug 17422049

Change-Id: I8acc4448e1c5ed665f6df48282afa71fcec54f33

9 years agoMerge "Restrict line count for BigTextStyle" into lmp-dev
Jorim Jaggi [Mon, 8 Sep 2014 19:46:42 +0000 (19:46 +0000)]
Merge "Restrict line count for BigTextStyle" into lmp-dev

9 years agoMerge "Fix invisible low prio notifications in SHADE_LOCKED" into lmp-dev
Jorim Jaggi [Mon, 8 Sep 2014 19:34:42 +0000 (19:34 +0000)]
Merge "Fix invisible low prio notifications in SHADE_LOCKED" into lmp-dev

9 years agoMerge "Fix a STOPSHIP" into lmp-dev
Tom O'Neill [Mon, 8 Sep 2014 19:29:55 +0000 (19:29 +0000)]
Merge "Fix a STOPSHIP" into lmp-dev

9 years agoMerge "add more info to WifiConfiguration.toString: - add the noInternetAccess field...
vandwalle [Mon, 8 Sep 2014 19:22:14 +0000 (19:22 +0000)]
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

9 years agoRename methods/variables on PhoneAccount for API cleanup.
Andrew Lee [Thu, 4 Sep 2014 17:59:13 +0000 (10:59 -0700)]
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

9 years agoRevert "Ensure ApplicationInfo is for correct user for system/android package."
Kenny Guy [Mon, 8 Sep 2014 18:51:15 +0000 (18:51 +0000)]
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

9 years agoNDKr10b changes to be published to DAC NDK page.
David Friedman [Tue, 26 Aug 2014 20:53:15 +0000 (13:53 -0700)]
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

9 years agoMerge "Clicking on partially coverd views by other views or windows." into lmp-dev
Svet Ganov [Mon, 8 Sep 2014 18:45:02 +0000 (18:45 +0000)]
Merge "Clicking on partially coverd views by other views or windows." into lmp-dev

9 years agoMerge "Remove old methods : AlwaysOnHotwordDetector" into lmp-dev
Dharmesh Mokani [Mon, 8 Sep 2014 18:43:13 +0000 (18:43 +0000)]
Merge "Remove old methods : AlwaysOnHotwordDetector" into lmp-dev

9 years agoMerge "Update downtime to handle TimeZone change" into lmp-dev
Jason Monk [Mon, 8 Sep 2014 18:33:08 +0000 (18:33 +0000)]
Merge "Update downtime to handle TimeZone change" into lmp-dev

9 years agoMerge "Ignore finishing activities when fetching the top" into lmp-dev
Craig Mautner [Mon, 8 Sep 2014 18:32:00 +0000 (18:32 +0000)]
Merge "Ignore finishing activities when fetching the top" into lmp-dev

9 years agoMerge "Use Alpha instead of TransitionAlpha for Activity Transitions." into lmp-dev
George Mount [Mon, 8 Sep 2014 18:25:02 +0000 (18:25 +0000)]
Merge "Use Alpha instead of TransitionAlpha for Activity Transitions." into lmp-dev

9 years agoMerge "Add VPN Key to signal icons" into lmp-dev
Jason Monk [Mon, 8 Sep 2014 18:15:37 +0000 (18:15 +0000)]
Merge "Add VPN Key to signal icons" into lmp-dev

9 years agoMerge "Make changes to Telecomm API per review guidelines." into lmp-dev
Nancy Chen [Mon, 8 Sep 2014 17:38:56 +0000 (17:38 +0000)]
Merge "Make changes to Telecomm API per review guidelines." into lmp-dev

9 years agoFix a STOPSHIP
Tom O'Neill [Mon, 8 Sep 2014 17:06:34 +0000 (10:06 -0700)]
Fix a STOPSHIP

Change-Id: I3714f1645c0a847e912cb79515fe3991960c1698

9 years agoMerge "Fix save count offsetting within DisplayList chunks" into lmp-dev
Chris Craik [Mon, 8 Sep 2014 17:09:00 +0000 (17:09 +0000)]
Merge "Fix save count offsetting within DisplayList chunks" into lmp-dev

9 years agoMerge "Delayed ASEC allocation, refine progress handling." into lmp-dev
Jeff Sharkey [Mon, 8 Sep 2014 16:38:41 +0000 (16:38 +0000)]
Merge "Delayed ASEC allocation, refine progress handling." into lmp-dev

9 years agoDelayed ASEC allocation, refine progress handling.
Jeff Sharkey [Sat, 6 Sep 2014 19:20:37 +0000 (12:20 -0700)]
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: 1740574117402982
Change-Id: I6247a1d335d26621549c701c4c4575a8d16ef8c2

9 years agoRestrict line count for BigTextStyle
Jorim Jaggi [Mon, 8 Sep 2014 14:18:23 +0000 (16:18 +0200)]
Restrict line count for BigTextStyle

Also fixes paddings for the first line for InboxStyle notifications.

Bug: 17161340
Change-Id: I00a92f256d9ccad7cfbcecb591e84bb0d68ba635

9 years agoRemove old methods : AlwaysOnHotwordDetector
Dharmesh Mokani [Mon, 8 Sep 2014 16:22:16 +0000 (09:22 -0700)]
Remove old methods : AlwaysOnHotwordDetector

Bug: 17389896
Change-Id: I47d0ae3ecad0ce8a74ed65a73309faa541b74a06

9 years agoMerge "Marking two flags as final." into lmp-dev
Nicolas Prevot [Mon, 8 Sep 2014 16:06:28 +0000 (16:06 +0000)]
Merge "Marking two flags as final." into lmp-dev

9 years agoStart all resolver activities after keyguard is gone
Jorim Jaggi [Mon, 8 Sep 2014 12:42:29 +0000 (14:42 +0200)]
Start all resolver activities after keyguard is gone

Bug: 17417099
Change-Id: I30b154067b1c4cbca09af49a4763f9cf5fdc19e6

9 years agoMerge "Only call setHasTransientState in captureHierarchy." into lmp-dev
George Mount [Mon, 8 Sep 2014 14:52:32 +0000 (14:52 +0000)]
Merge "Only call setHasTransientState in captureHierarchy." into lmp-dev

9 years agoMerge "Improve Visibility parent value check." into lmp-dev
George Mount [Mon, 8 Sep 2014 13:59:38 +0000 (13:59 +0000)]
Merge "Improve Visibility parent value check." into lmp-dev

9 years agoMerge "Ensure ApplicationInfo is for correct user for system/android package." into...
Kenny Guy [Mon, 8 Sep 2014 13:25:01 +0000 (13:25 +0000)]
Merge "Ensure ApplicationInfo is for correct user for system/android package." into lmp-dev

9 years agoFix invisible low prio notifications in SHADE_LOCKED
Jorim Jaggi [Mon, 8 Sep 2014 12:02:07 +0000 (14:02 +0200)]
Fix invisible low prio notifications in SHADE_LOCKED

Bug: 17403672
Change-Id: Iaee27d839f30cf13bfa7b10186c0f52f811fdc62

9 years agoMarking two flags as final.
Nicolas Prevot [Mon, 8 Sep 2014 11:13:05 +0000 (12:13 +0100)]
Marking two flags as final.

Marking FLAG_PARENT_CAN_ACCESS_MANAGED and FLAG_MANAGED_CAN_ACCESS_PARENT
as final.

BUG:17387998

Change-Id: I1562b8638e7cce5706df4517493d1732f19ece8f

9 years agoMerge "API review requests for the TTS package." into lmp-dev
Przemyslaw Szczepaniak [Mon, 8 Sep 2014 10:23:24 +0000 (10:23 +0000)]
Merge "API review requests for the TTS package." into lmp-dev

9 years agoAPI review requests for the TTS package.
Przemyslaw Szczepaniak [Fri, 5 Sep 2014 14:36:49 +0000 (15:36 +0100)]
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

9 years agoFollow up API signature changes of CursorAnchorInfo
Yohei Yukawa [Mon, 8 Sep 2014 06:56:20 +0000 (15:56 +0900)]
Follow up API signature changes of CursorAnchorInfo

This is a follow up CL for Ia8cbb9f6b41cd9509fc0147fd68763dfde
and Ic8c6fab58c01206872a34e7ee604cdda1581364d.

BUG: 17365414
BUG: 17200900
Change-Id: Ib2371849d32bb44da9ef59f05e648a476e03699a

9 years agoManually merge QC's change for SUPL_ES.
Tsuwei Chen [Sun, 7 Sep 2014 08:30:42 +0000 (01:30 -0700)]
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

9 years agoClicking on partially coverd views by other views or windows.
Svet Ganov [Thu, 4 Sep 2014 04:33:00 +0000 (21:33 -0700)]
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

9 years agoadd more info to WifiConfiguration.toString:
vandwalle [Fri, 5 Sep 2014 07:01:24 +0000 (00:01 -0700)]
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

9 years agoL API proposal: Introduce IS_RTL flag
Yohei Yukawa [Tue, 2 Sep 2014 21:18:40 +0000 (14:18 -0700)]
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

9 years agoIgnore finishing activities when fetching the top
Craig Mautner [Mon, 8 Sep 2014 01:05:31 +0000 (18:05 -0700)]
Ignore finishing activities when fetching the top

When the top activity is finishing we don't want to be comparing
it for matches to launching activities. This was keeping curTop
from matching itself when launching a lower task.

Fixes bug 17383648.

Change-Id: I837ac087ef965d99d12c98ab1c779de46716e204

9 years agoRelax requirements on Activity.requestVisibleBehind
Craig Mautner [Mon, 8 Sep 2014 00:08:39 +0000 (17:08 -0700)]
Relax requirements on Activity.requestVisibleBehind

The requirement that the top app be resumed in order to request
background visibility was too strict. In particular when the
background app is pausing the top app will be stopped waiting for
pause to complete. This is an appropriate time for the background
app to request visibility but we were rejecting that request.

Also, there is no need for the top app to have an active thread
except to notify it of the changed state.

Fixes bug 17383876.

Change-Id: I52f910baf6c109565694e053445516e1e5fd1c48

9 years agoMerge "Add first day of week API to date picker" into lmp-dev
Alan Viverette [Sun, 7 Sep 2014 23:13:45 +0000 (23:13 +0000)]
Merge "Add first day of week API to date picker" into lmp-dev

9 years agoMerge "Use correct API for badging" into lmp-dev
Amith Yamasani [Sun, 7 Sep 2014 22:56:18 +0000 (22:56 +0000)]
Merge "Use correct API for badging" into lmp-dev

9 years agoUse correct API for badging
Amith Yamasani [Sun, 7 Sep 2014 22:45:57 +0000 (15:45 -0700)]
Use correct API for badging

Bug: 17414778
Change-Id: I7c0321d9435b0787a90cd62be80862069ba2d790

9 years agoMerge "Lock down window manager while changing opacity" into lmp-dev
Craig Mautner [Sun, 7 Sep 2014 22:15:41 +0000 (22:15 +0000)]
Merge "Lock down window manager while changing opacity" into lmp-dev

9 years agoImprove Visibility parent value check.
George Mount [Sun, 7 Sep 2014 22:04:03 +0000 (15:04 -0700)]
Improve Visibility parent value check.

Bug 17412818
Bug 16398271

The Visibility Transition must not run against children that
are already disappearing or there will be, for example, a double
fade-out effect. Before this change, if a parent matched another
view, it would prevent its child from disappearing.

This change also removes using the overlay for children that have
been removed from the view hierarchy indirectly. This prevents
ListView and RecyclerView children from being added to the overlay.

Change-Id: Iac0610f0939da8643b98812ee1ec1c8d1d70a215

9 years agoMerge "TIF: Update Java doc for notifyVideoAvailable/notifyVideoUnavailable" into...
Jae Seo [Sun, 7 Sep 2014 20:43:56 +0000 (20:43 +0000)]
Merge "TIF: Update Java doc for notifyVideoAvailable/notifyVideoUnavailable" into lmp-dev

9 years agoTIF: Update Java doc for notifyVideoAvailable/notifyVideoUnavailable
Jae Seo [Sun, 7 Sep 2014 20:39:17 +0000 (13:39 -0700)]
TIF: Update Java doc for notifyVideoAvailable/notifyVideoUnavailable

TV input services are now required to call these methods to
unblock/block the screen.

Bug: 17364845
Change-Id: Ifb435900d7f61785198dba2e255a2d24dbf44dc6

9 years agoUse Alpha instead of TransitionAlpha for Activity Transitions.
George Mount [Fri, 5 Sep 2014 20:47:47 +0000 (13:47 -0700)]
Use Alpha instead of TransitionAlpha for Activity Transitions.

Bug 17406204

Chrome needs to be notified when the shared element
should be hidden. The alpha setter can be overridden,
but setTransitionAlpha cannot. By setting alpha as
well as transitionAlpha, we get the immediate effect
from transitionAlpha along with enabling a trigger
for Chrome's shared element to hide.

Change-Id: I6ecb44872fd237afe89dbb36e43aa50c98693b52

9 years agoLock down window manager while changing opacity
Craig Mautner [Sun, 7 Sep 2014 20:13:23 +0000 (13:13 -0700)]
Lock down window manager while changing opacity

Surfaces were being modified after destroy(). The check for mSurface
being null was not done while holding window the window manager lock.
This change adds locking to the surface modification methods.

Fixes bug 17383628.

Change-Id: I12ebbddc0f2cd7b43659370fac2c4fb053999bb5

9 years agoEnsuring that we retry if the callback for animation started comes before the Recents...
Winson Chung [Sat, 6 Sep 2014 15:07:51 +0000 (17:07 +0200)]
Ensuring that we retry if the callback for animation started comes before the Recents activity starts. (Bug 17316671)

Change-Id: I8e50e2cd9ba6a47dda21f21afbe14bb9d3eda979

9 years agoRemoving unnecessary delays, ensuring transition thumbnail is the size of the header...
Winson Chung [Fri, 5 Sep 2014 11:17:22 +0000 (13:17 +0200)]
Removing unnecessary delays, ensuring transition thumbnail is the size of the header. (Bug. 16987565)

Change-Id: Ic104876c5fe16997eca00e0a2b3d8644c927120c

9 years agoRevert "Delay in app transition until home animation completes. (Bug 17012456)"
Winson Chung [Fri, 5 Sep 2014 14:58:20 +0000 (14:58 +0000)]
Revert "Delay in app transition until home animation completes. (Bug 17012456)"

This reverts commit e9883b8a92d72a3cfd947b3ce835bc8e4da2f1b2.

Change-Id: I61664e2a2589d09e5a93a776cf3c391049e7b284

9 years agoMerge "SoundTrigger: fix capture format in recognition event" into lmp-dev
Eric Laurent [Sun, 7 Sep 2014 19:10:06 +0000 (19:10 +0000)]
Merge "SoundTrigger: fix capture format in recognition event" into lmp-dev

9 years agoMerge "Fix issue #17391969: Only exception on Message.recycle() when target-sdk ...
Dianne Hackborn [Sun, 7 Sep 2014 19:04:04 +0000 (19:04 +0000)]
Merge "Fix issue #17391969: Only exception on Message.recycle() when target-sdk > 20" into lmp-dev

9 years agoMerge "Work on issue #17357238: Recents is often slow if not used in a while" into...
Dianne Hackborn [Sun, 7 Sep 2014 19:03:19 +0000 (19:03 +0000)]
Merge "Work on issue #17357238: Recents is often slow if not used in a while" into lmp-dev

9 years agoMerge "Add a hardware feature definition corresponding to audio output support."...
Unsuk Jung [Sun, 7 Sep 2014 01:54:12 +0000 (01:54 +0000)]
Merge "Add a hardware feature definition corresponding to audio output support." into lmp-dev

9 years agoMake changes to Telecomm API per review guidelines.
Nancy Chen [Fri, 5 Sep 2014 23:38:49 +0000 (16:38 -0700)]
Make changes to Telecomm API per review guidelines.

Make changes to Telecomm API per review guidelines in bug:
* Rename componentName to packageName and getComponentName to
  getPackageName in StatusHints
* Hide "ROUTE_ALL" and fix misspelling in AudioState
* Change getHandle to getAddress and remove getHandlePresentation in
  ConnectionRequest

Bug: 17329632

Change-Id: I8b3666cc22d24f470c940825c77a7b4d0701dc16

9 years agoFix save count offsetting within DisplayList chunks
Chris Craik [Sat, 6 Sep 2014 02:55:30 +0000 (19:55 -0700)]
Fix save count offsetting within DisplayList chunks

bug:17388541
Change-Id: I7cb1139b8cd30f72ae7c6de2074c3c5865b8f309

9 years agoModified VoLTE configuration: separate device and carrier configs.
Etan Cohen [Fri, 5 Sep 2014 05:33:18 +0000 (22:33 -0700)]
Modified VoLTE configuration: separate device and carrier configs.

Default device and carrier disabled.
Device to be overlayed in device/<xxx> dirs.
Carrier overlayed in this project.

Bug: 17365969
Change-Id: I95d58e934fc85506287069ddd71af4a5b7594bfb

9 years agoSoundTrigger: fix capture format in recognition event
Eric Laurent [Fri, 5 Sep 2014 23:44:19 +0000 (16:44 -0700)]
SoundTrigger: fix capture format in recognition event

Also include capture format in recognition event
if capture is available for streaming. It was only
included if trigger was contained in event.

Bug: 17409062
Bug: 16731718
Change-Id: I5bf566e6bda57f23c870b4a1293e9b6d15d51e5a

9 years agoWork on issue #17357238: Recents is often slow if not used in a while
Dianne Hackborn [Fri, 5 Sep 2014 05:52:27 +0000 (22:52 -0700)]
Work on issue #17357238: Recents is often slow if not used in a while

Add a new activity attribute, resumeWhilePausing, that allows an
activity specifying it to immediately start running without waiting
for the previous activity to pause.  The recents activity is updated
to use this.

The implementation of this is ultimately fairly simple -- if we are
in the path of resuming such an activity, and find that we first need
to pause the existing activity, then within the activity manager we
do the regular pause flow but act like it has immediately finished
pausing right then so that we can immediately go on to the resume.
To make this clean, we tell the activity when asking it to pause that
it should not come back and tell us it is done, because we aren't in
any way waiting for it.

One potentially important change I needed to make here is the pause
callback no longer provides the saved persistent state, because we
now can't count on that callback happening.  I don't think there was
really any utility in this anyway -- all modern apps will have their
save state flow happen as part of stopping, not pausing, so we'll
only capture that saved state when the stop is reported back anyway.
And since we do send the saved state back when stopping, it would
always blow away whatever we had gotten at the pause.

Finally, update the documentation for AppTask.startActivity(), and
fix the implementation handling that to be cleaner -- we need to
deal with inTask first before getting in to "oh noes add NEW_TASK
if this isn't coming from a calling activity" flow.

Change-Id: Ia1da0fac90d7bdbaafdda2e34850d795ce17a39f

9 years agoMerge "Increase long timeout to 2 minutes" into lmp-dev
Eric Rowe [Sat, 6 Sep 2014 01:28:22 +0000 (01:28 +0000)]
Merge "Increase long timeout to 2 minutes" into lmp-dev

9 years agoMerge "Fix binder identity use when clearing wallpapers" into lmp-dev
Christopher Tate [Sat, 6 Sep 2014 01:01:25 +0000 (01:01 +0000)]
Merge "Fix binder identity use when clearing wallpapers" into lmp-dev

9 years agoFix binder identity use when clearing wallpapers
Christopher Tate [Sat, 6 Sep 2014 00:42:34 +0000 (17:42 -0700)]
Fix binder identity use when clearing wallpapers

Don't restore it too soon, because the rarely-needed fallback path
will need to be executed as system, too.

Bug 17394246

Change-Id: Ic5e662d4eae331b016fc91ffd08647bd8d4d6ff3

9 years agoMerge "Hide APIs for simplified network settings." into lmp-dev
Junda Liu [Sat, 6 Sep 2014 00:55:29 +0000 (00:55 +0000)]
Merge "Hide APIs for simplified network settings." into lmp-dev

9 years agoFix issue #17391969: Only exception on Message.recycle() when target-sdk > 20
Dianne Hackborn [Fri, 5 Sep 2014 22:09:03 +0000 (15:09 -0700)]
Fix issue #17391969: Only exception on Message.recycle() when target-sdk > 20

Change-Id: Iaf271c96901c5dba15831681269a49ad4aaa57fd

9 years agoMerge "Fix issue #17397177: BatteryStats reporting error on job start/stop" into...
Dianne Hackborn [Sat, 6 Sep 2014 00:49:27 +0000 (00:49 +0000)]
Merge "Fix issue #17397177: BatteryStats reporting error on job start/stop" into lmp-dev