Commit Graph

44709 Commits

Author SHA1 Message Date
Nicolas Prevot
7068faf4ce am b329d04e: am de896104: am 09286405: Merge "Marking two flags as final." into lmp-dev
* commit 'b329d04ec7ab0818d9deeb644d363151d278a48d':
  Marking two flags as final.
2014-09-08 16:33:00 +00:00
Nicolas Prevot
1d793d1e53 am de896104: am 09286405: Merge "Marking two flags as final." into lmp-dev
* commit 'de89610479d59f55de4ef3cbeca62ec27a1c9031':
  Marking two flags as final.
2014-09-08 16:23:15 +00:00
Nicolas Prevot
97e75e1da9 Merge "Marking two flags as final." into lmp-dev 2014-09-08 16:06:30 +00:00
George Mount
7aeb663cee am eada4f05: am 2c84e65e: am 850bca01: Merge "Only call setHasTransientState in captureHierarchy." into lmp-dev
* commit 'eada4f0565a1d6311bba2112feae90ca80fcca41':
  Only call setHasTransientState in captureHierarchy.
2014-09-08 15:21:00 +00:00
George Mount
d6ccafaf3f am 2c84e65e: am 850bca01: Merge "Only call setHasTransientState in captureHierarchy." into lmp-dev
* commit '2c84e65e87d266a7d9b15a9e6719b9f14137fd45':
  Only call setHasTransientState in captureHierarchy.
2014-09-08 15:10:54 +00:00
George Mount
a740b2bf9a Merge "Only call setHasTransientState in captureHierarchy." into lmp-dev 2014-09-08 14:52:34 +00:00
George Mount
cfdfb2262c am baf19d8c: am 27858e18: am c452d4c9: Merge "Improve Visibility parent value check." into lmp-dev
* commit 'baf19d8ceadf195c1ea2cc6201b016a6430db455':
  Improve Visibility parent value check.
2014-09-08 14:29:27 +00:00
George Mount
d652526fbe am 27858e18: am c452d4c9: Merge "Improve Visibility parent value check." into lmp-dev
* commit '27858e18146c867e7328ea45f461a4e54ed4b33d':
  Improve Visibility parent value check.
2014-09-08 14:18:58 +00:00
George Mount
24e08d0692 Merge "Improve Visibility parent value check." into lmp-dev 2014-09-08 13:59:40 +00:00
Kenny Guy
b7451e4923 am 444c3a9e: am f919288d: am b78a0a11: Merge "Ensure ApplicationInfo is for correct user for system/android package." into lmp-dev
* commit '444c3a9eb36e5a2fa9e19c0aed2691503ace43e4':
  Ensure ApplicationInfo is for correct user for system/android package.
2014-09-08 13:57:09 +00:00
Kenny Guy
1cc7212086 am f919288d: am b78a0a11: Merge "Ensure ApplicationInfo is for correct user for system/android package." into lmp-dev
* commit 'f919288dc7c7fc0d7e1897fe107508b46ce5838c':
  Ensure ApplicationInfo is for correct user for system/android package.
2014-09-08 13:46:36 +00: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
Robin Lee
2c22d1920f Merge "Revert DevicePolicyManager PrivateKey APIs" 2014-09-08 11:18:24 +00: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
eb6e3e5ade am 1e95f1df: am 8d4ecfbf: am 4dc1f927: Merge "API review requests for the TTS package." into lmp-dev
* commit '1e95f1df440ef1c8b4fcc11c1b27f33976ecf967':
  API review requests for the TTS package.
2014-09-08 10:54:59 +00:00
Przemyslaw Szczepaniak
4577511570 am 8d4ecfbf: am 4dc1f927: Merge "API review requests for the TTS package." into lmp-dev
* commit '8d4ecfbf0b78bc6eb6f16df2e6d409f350b14532':
  API review requests for the TTS package.
2014-09-08 10:44:44 +00: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
5285ee7aa0 am d4a6a75a: am 7d413caf: am 888edbfe: L API proposal: Introduce IS_RTL flag
* commit 'd4a6a75abf83d1749316018381864615bcad1627':
  L API proposal: Introduce IS_RTL flag
2014-09-08 03:51:39 +00:00
Yohei Yukawa
bb97c8a6a3 am 7d413caf: am 888edbfe: L API proposal: Introduce IS_RTL flag
* commit '7d413caf7b2a85bfbb46050410771267db6bdd8f':
  L API proposal: Introduce IS_RTL flag
2014-09-08 03:43:33 +00: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
Alan Viverette
bc9e3b701d am f1c3a704: am 7332e1f9: am d8bbf4cd: Merge "Add first day of week API to date picker" into lmp-dev
* commit 'f1c3a7046c385053edfbde2ab9c48ff7eb895e8f':
  Add first day of week API to date picker
2014-09-07 23:39:59 +00:00
Alan Viverette
b0465be3f5 am 7332e1f9: am d8bbf4cd: Merge "Add first day of week API to date picker" into lmp-dev
* commit '7332e1f9ba1c217cacfd5986e4722e4698d3b08d':
  Add first day of week API to date picker
2014-09-07 23:29:30 +00:00
Amith Yamasani
755d7a5877 am c0c51adc: am 630dfb41: am 081ba853: Merge "Use correct API for badging" into lmp-dev
* commit 'c0c51adc77aca5fcdb7cd08f0fa3b73395848eb0':
  Use correct API for badging
2014-09-07 23:25:20 +00:00
Amith Yamasani
bcc8ac2ce9 am 630dfb41: am 081ba853: Merge "Use correct API for badging" into lmp-dev
* commit '630dfb410afd44c9db401a1679d12aa1edcfcdea':
  Use correct API for badging
2014-09-07 23:15:17 +00:00
Alan Viverette
a3ca5a31a5 Merge "Add first day of week API to date picker" into lmp-dev 2014-09-07 23:13:46 +00:00
Amith Yamasani
d28665b3c8 Merge "Use correct API for badging" into lmp-dev 2014-09-07 22:56:19 +00:00
Amith Yamasani
fdf169cbea Use correct API for badging
Bug: 17414778
Change-Id: I7c0321d9435b0787a90cd62be80862069ba2d790
2014-09-07 15:45:57 -07:00
George Mount
9f1ac3976e 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
2014-09-07 15:04:03 -07:00
Winson Chung
2604908350 am df52495c: am 3004eee6: am 04682c2f: Removing unnecessary delays, ensuring transition thumbnail is the size of the header. (Bug. 16987565)
* commit 'df52495ccc0b655031bb92b4961d7298076f2a72':
  Removing unnecessary delays, ensuring transition thumbnail is the size of the header. (Bug. 16987565)
2014-09-07 20:35:10 +00:00
Winson Chung
2e29a6dc03 am 3004eee6: am 04682c2f: Removing unnecessary delays, ensuring transition thumbnail is the size of the header. (Bug. 16987565)
* commit '3004eee618c3fad547768210f9252bad5abb0f69':
  Removing unnecessary delays, ensuring transition thumbnail is the size of the header. (Bug. 16987565)
2014-09-07 20:25:59 +00:00
Winson Chung
2e7f3bdcc9 Removing unnecessary delays, ensuring transition thumbnail is the size of the header. (Bug. 16987565)
Change-Id: Ic104876c5fe16997eca00e0a2b3d8644c927120c
2014-09-07 20:08:40 +00:00
Eric Laurent
38088d9419 am 5a8793f6: am 987ce7dc: am 2ff0e25f: Merge "SoundTrigger: fix capture format in recognition event" into lmp-dev
* commit '5a8793f6d5d6cb28cc6548aa2e3bfca598f9059e':
  SoundTrigger: fix capture format in recognition event
2014-09-07 19:40:43 +00:00
Dianne Hackborn
963ed62ba5 am f307a884: am 459f3911: am 9a77bddd: Merge "Fix issue #17391969: Only exception on Message.recycle() when target-sdk > 20" into lmp-dev
* commit 'f307a8847ec546401a5d5e1aaecb7f29a097cf66':
  Fix issue #17391969: Only exception on Message.recycle() when target-sdk > 20
2014-09-07 19:31:03 +00:00
Dianne Hackborn
432fa09116 am 7c021a1b: am 8c7be259: am 6a83e4d1: Merge "Work on issue #17357238: Recents is often slow if not used in a while" into lmp-dev
* commit '7c021a1b46ca076ec911daf7d515101fa7d61453':
  Work on issue #17357238: Recents is often slow if not used in a while
2014-09-07 19:30:57 +00:00
Eric Laurent
b8a8f33602 am 987ce7dc: am 2ff0e25f: Merge "SoundTrigger: fix capture format in recognition event" into lmp-dev
* commit '987ce7dcb5485e3c593f6384eda91bfbb3f12969':
  SoundTrigger: fix capture format in recognition event
2014-09-07 19:29:51 +00:00
Dianne Hackborn
b30ea42a8d am 459f3911: am 9a77bddd: Merge "Fix issue #17391969: Only exception on Message.recycle() when target-sdk > 20" into lmp-dev
* commit '459f391177dd796d25d68184a0844a0420a1f33a':
  Fix issue #17391969: Only exception on Message.recycle() when target-sdk > 20
2014-09-07 19:20:06 +00:00
Dianne Hackborn
7bc4c08323 am 8c7be259: am 6a83e4d1: Merge "Work on issue #17357238: Recents is often slow if not used in a while" into lmp-dev
* commit '8c7be25983e44e8e1bfcb721f50ae23ca7aabf32':
  Work on issue #17357238: Recents is often slow if not used in a while
2014-09-07 19:20:00 +00:00
Eric Laurent
8232d822aa Merge "SoundTrigger: fix capture format in recognition event" into lmp-dev 2014-09-07 19:10:07 +00:00
Dianne Hackborn
b30c9920df Merge "Fix issue #17391969: Only exception on Message.recycle() when target-sdk > 20" into lmp-dev 2014-09-07 19:04:05 +00:00
Dianne Hackborn
66d557875d Merge "Work on issue #17357238: Recents is often slow if not used in a while" into lmp-dev 2014-09-07 19:03:20 +00:00
Unsuk Jung
56ec4055c4 am 06031917: am 4944eb87: am 2ba17d31: Merge "Add a hardware feature definition corresponding to audio output support." into lmp-dev
* commit '0603191734032d3f89003f08e116ec9e232ac99b':
  Add a hardware feature definition corresponding to audio output support.
2014-09-07 09:39:27 +00:00
Unsuk Jung
4bd791a017 am 4944eb87: am 2ba17d31: Merge "Add a hardware feature definition corresponding to audio output support." into lmp-dev
* commit '4944eb87ea07d8ef54eab4810213e2c3b8d737e6':
  Add a hardware feature definition corresponding to audio output support.
2014-09-07 09:25:15 +00:00
Unsuk Jung
68c936f77d Merge "Add a hardware feature definition corresponding to audio output support." into lmp-dev 2014-09-07 01:54:13 +00:00
Robin Lee
6902e8eb7b Revert DevicePolicyManager PrivateKey APIs
These were committed to the wrong branch and left some debug
statements in.

Bug: 15065444
Change-Id: Idc25774c9ab1a61080290bebd6f5c4f24e6ee2e0
2014-09-06 21:07:14 +01:00
Eric Laurent
39fcca0a50 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
2014-09-05 18:56:33 -07:00
Dianne Hackborn
a4e102ee58 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
2014-09-05 18:43:43 -07:00
Dianne Hackborn
b8c7e76f07 am 507f1db0: am 80cb4a01: am 8c7605b1: Merge "Fix issue #17397177: BatteryStats reporting error on job start/stop" into lmp-dev
* commit '507f1db0ba538d924282ed8e701c5fad352e11a3':
  Fix issue #17397177: BatteryStats reporting error on job start/stop
2014-09-06 01:26:26 +00:00
Dianne Hackborn
95ccfd9950 am 80cb4a01: am 8c7605b1: Merge "Fix issue #17397177: BatteryStats reporting error on job start/stop" into lmp-dev
* commit '80cb4a012b57110246a17e4110ccadb5bd232c55':
  Fix issue #17397177: BatteryStats reporting error on job start/stop
2014-09-06 01:09:57 +00:00
Dianne Hackborn
7895bc2e63 Fix issue #17391969: Only exception on Message.recycle() when target-sdk > 20
Change-Id: Iaf271c96901c5dba15831681269a49ad4aaa57fd
2014-09-05 17:50:47 -07:00