125525 Commits

Author SHA1 Message Date
Craig Mautner
81481fc201 Defer removal of activity until animation complete.
Do not remove an AppWindowToken or its Task if it is running an
animation. Doing so leaves windows orphaned and bad things happen
when the system tries to retrieve the task assoicated with the
windows during layout.

Fixes the ugly output associated with bug 13440426.

Change-Id: I9d5fc50a7cb6189160d51cee3c82f7813baee715
2014-03-18 14:35:04 -07:00
Craig Mautner
a002fab7c7 Merge "Show the keyguard if unsecure window on top" 2014-03-14 23:24:54 +00:00
Craig Mautner
da09ae385a Show the keyguard if unsecure window on top
When traversing windows save the fact that windows above the topmost
fullscreen window do not hide the lockscreen. If there is such a
window don't show it.

(cherry picked from commit ab55e524b89c13082193940a5bf8480a2c2522d9)

Fixes bug 13225149.

Change-Id: Ib6f33cbcfb2f60d8957a9184729ecdec80c6a236
2014-03-14 16:20:00 -07:00
Yohei Yukawa
8959ad36c4 am 43bfed54: (-s ours) am c05362b8: am 77943308: am fd2f8d43: am 51b921d0: DO NOT MERGE - Preserve the order of InputMethodManager method calls
* commit '43bfed5430f8c0b042ad229370a9d1fe95eb6156':
  DO NOT MERGE - Preserve the order of InputMethodManager method calls
2014-03-14 22:23:05 +00:00
Craig Mautner
e5aefea0d7 am ce805c7c: am 8a6ab821: am c6103803: am a921d8b6: am 3217cc6f: Merge "Fix activities appearing behind launcher icons" into klp-dev
* commit 'ce805c7ce475eead0e4e3326070d7dc2983d4e70':
  Fix activities appearing behind launcher icons
2014-03-14 22:23:02 +00:00
Yohei Yukawa
43bfed5430 am c05362b8: am 77943308: am fd2f8d43: am 51b921d0: DO NOT MERGE - Preserve the order of InputMethodManager method calls
* commit 'c05362b84cd55f6bac20a373b74f66a79577109d':
  DO NOT MERGE - Preserve the order of InputMethodManager method calls
2014-03-14 22:03:03 +00:00
Craig Mautner
ce805c7ce4 am 8a6ab821: am c6103803: am a921d8b6: am 3217cc6f: Merge "Fix activities appearing behind launcher icons" into klp-dev
* commit '8a6ab82114058eedc6aeb29902f0f3926a33a0c6':
  Fix activities appearing behind launcher icons
2014-03-14 22:03:00 +00:00
Yohei Yukawa
c05362b84c am 77943308: am fd2f8d43: am 51b921d0: DO NOT MERGE - Preserve the order of InputMethodManager method calls
* commit '77943308f5661636d85cb5e78188dbbc8f0e329e':
  DO NOT MERGE - Preserve the order of InputMethodManager method calls
2014-03-14 21:59:35 +00:00
Craig Mautner
8a6ab82114 am c6103803: am a921d8b6: am 3217cc6f: Merge "Fix activities appearing behind launcher icons" into klp-dev
* commit 'c6103803cb24dafd2cb056dbac040a046b7ed12d':
  Fix activities appearing behind launcher icons
2014-03-14 21:59:33 +00:00
Yohei Yukawa
77943308f5 am fd2f8d43: am 51b921d0: DO NOT MERGE - Preserve the order of InputMethodManager method calls
* commit 'fd2f8d43419d1f25ced8b2bac96407925dd4c471':
  DO NOT MERGE - Preserve the order of InputMethodManager method calls
2014-03-14 21:54:49 +00:00
Craig Mautner
c6103803cb am a921d8b6: am 3217cc6f: Merge "Fix activities appearing behind launcher icons" into klp-dev
* commit 'a921d8b6b1a3478f258b9999ed909907216edbae':
  Fix activities appearing behind launcher icons
2014-03-14 21:54:45 +00:00
Mike Lockwood
9428eb82c0 am c5353ce3: am 685831bf: am f9b90434: am ff64f5ed: am 381374b3: Merge "UsbDeviceManager: Fix race condition between accessory start and USB configured uevents" into klp-dev
* commit 'c5353ce373f02b549ed9e63aa23f94ca1a726f7e':
  UsbDeviceManager: Fix race condition between accessory start and USB configured uevents
2014-03-14 21:54:13 +00:00
Mike Lockwood
c5353ce373 am 685831bf: am f9b90434: am ff64f5ed: am 381374b3: Merge "UsbDeviceManager: Fix race condition between accessory start and USB configured uevents" into klp-dev
* commit '685831bf8da4f89366ce16c1852f25efad046261':
  UsbDeviceManager: Fix race condition between accessory start and USB configured uevents
2014-03-14 21:50:44 +00:00
Mike Lockwood
685831bf8d am f9b90434: am ff64f5ed: am 381374b3: Merge "UsbDeviceManager: Fix race condition between accessory start and USB configured uevents" into klp-dev
* commit 'f9b90434ef04b509c7dcb868d50aa53a66b97809':
  UsbDeviceManager: Fix race condition between accessory start and USB configured uevents
2014-03-14 21:47:37 +00:00
Craig Mautner
421a1dd197 Merge "Launch new tasks with Doc Centric flag." 2014-03-14 21:43:28 +00:00
Mike Lockwood
f9b90434ef am ff64f5ed: am 381374b3: Merge "UsbDeviceManager: Fix race condition between accessory start and USB configured uevents" into klp-dev
* commit 'ff64f5ed7c2b55878d149d546092e029cba15465':
  UsbDeviceManager: Fix race condition between accessory start and USB configured uevents
2014-03-14 21:42:58 +00:00
Craig Mautner
d00f47402c Launch new tasks with Doc Centric flag.
Introduction of new Intent flag FLAG_ACTIVITY_NEW_DOCUMENT. When
this flag is set the target activity will be launched in its own
task. This is the start of the new Doc Centric mode of working.

Change-Id: I719168532134ab2c5ea3300df676c2b2a0e81795
2014-03-14 14:42:23 -07:00
Dave Allison
dbcd5b70ca am 273fe6a3: am 4a02e071: am 788fb96d: am 47653f2d: Merge "Move options buffers to top scope"
* commit '273fe6a327de8051ac075855ceb7b33a9422c7a7':
  Move options buffers to top scope
2014-03-14 21:35:51 +00:00
Dave Allison
273fe6a327 am 4a02e071: am 788fb96d: am 47653f2d: Merge "Move options buffers to top scope"
* commit '4a02e0716d43bd2bf9b96a8b1dae181f9c35dcbf':
  Move options buffers to top scope
2014-03-14 21:26:09 +00:00
Dave Allison
4a02e0716d am 788fb96d: am 47653f2d: Merge "Move options buffers to top scope"
* commit '788fb96d7f1cfe27cf8dd56a053258964427286f':
  Move options buffers to top scope
2014-03-14 21:21:50 +00:00
Dave Allison
788fb96d7f am 47653f2d: Merge "Move options buffers to top scope"
* commit '47653f2d0823bcebefc23cc2441db1f8d9e55b4c':
  Move options buffers to top scope
2014-03-14 14:18:40 -07:00
Deepanshu Gupta
a72da3aec6 Merge "Add native method delegates to layoutlib" 2014-03-14 21:16:22 +00:00
Dave Allison
47653f2d08 Merge "Move options buffers to top scope" 2014-03-14 21:15:25 +00:00
Dave Allison
07a1e2323b Move options buffers to top scope
It is important that the char buffers for options do
not go out of scope as the mOptions.add() does not copy
the buffer.  This moves all the buffers to the top
level scope of the function to prevent accidental
overwriting when they go out of scope.

Bug: 13448497
Change-Id: I5a97ddd32ff34f237915927906e1e1f833ff036e
2014-03-14 21:15:08 +00:00
Tim Kilbourn
9b18001ab5 am ec033943: am 9873e099: am 55740325: Merge "Add leanback device features." into klp-modular-dev
* commit 'ec0339437869ebb42a67a2811dc6de31239d5d62':
  Add leanback device features.
2014-03-14 20:50:40 +00:00
Tim Kilbourn
ec03394378 am 9873e099: am 55740325: Merge "Add leanback device features." into klp-modular-dev
* commit '9873e099c32513cdb28c3ffb8c2306ad87f0b052':
  Add leanback device features.
2014-03-14 20:47:03 +00:00
Tim Kilbourn
9873e099c3 am 55740325: Merge "Add leanback device features." into klp-modular-dev
* commit '557403250b9accf4f17ab87f636f1722949960a3':
  Add leanback device features.
2014-03-14 20:42:18 +00:00
Tim Kilbourn
557403250b Merge "Add leanback device features." into klp-modular-dev 2014-03-14 20:38:51 +00:00
Winson Chung
050b39bd5f Merge "Fixing memory leaks related to Tasks holding onto their callbacks." 2014-03-14 20:34:27 +00:00
Deepanshu Gupta
103d40960d Add native method delegates to layoutlib
Add delegates for Path.native_isConvex and ICU.getCurrencyNumericCode.
The original methods were added in
5be83edd15e11420287cc0af93a95d5a6dfae68f and
d627bd4525e41b0503f94c2887c3e01618c73105 respectively.

TODO: Implement Path_Delegate.native_isConvex

Change-Id: If1046467d3950ab6955c6b81383a60fd6bd03fd2
2014-03-14 13:31:12 -07:00
Christopher Tate
5e0e7b56a9 Merge "Make RegisteredServicesCache understand ASEC-based updates" 2014-03-14 19:16:07 +00:00
Victoria Lease
09d47bbb43 am c2d934d7: am f8ce43ea: am 1365d982: am 4cde7734: Merge "remove unnecessary switchUser call"
* commit 'c2d934d7e87b9eb8cbb15ccc0c39b13ad32de460':
  remove unnecessary switchUser call
2014-03-14 18:01:38 +00:00
Victoria Lease
c2d934d7e8 am f8ce43ea: am 1365d982: am 4cde7734: Merge "remove unnecessary switchUser call"
* commit 'f8ce43ea146cace780cb4f75348d4eca4526660a':
  remove unnecessary switchUser call
2014-03-14 17:57:32 +00:00
Victoria Lease
f8ce43ea14 am 1365d982: am 4cde7734: Merge "remove unnecessary switchUser call"
* commit '1365d98270e0a0a61d10743820e923aeff974b39':
  remove unnecessary switchUser call
2014-03-14 17:54:32 +00:00
Ricardo Cervera
4656ac9fe6 am d387206a: am 7890eeff: am 882ba89b: am 50694917: am 7e566239: Merge "docs: Updated Building your First App tutorial. Bug: 13429905" into klp-docs
* commit 'd387206a84a35b86663adb5bf00671cafbf6aee4':
  docs: Updated Building your First App tutorial. Bug: 13429905
2014-03-14 17:54:11 +00:00
Joe Fernandez
cfa561cad8 am 53edba8d: am 571c171e: am 58f019a6: am 8bb11153: am f7267c8b: Merge "Doc change: Update developer video on home page carousel." into klp-docs
* commit '53edba8d5cae3ea385f64ee980399278bb5a76fd':
  Doc change: Update developer video on home page carousel.
2014-03-14 17:54:07 +00:00
John Spurlock
e418c77e8d am 88f65e01: am 4108431b: am 28ac0c10: am ad66c27b: am 6d9b034c: Fix typo in public logcat page.
* commit '88f65e01d28c8f22d77624d1c8b264c761f3ac2a':
  Fix typo in public logcat page.
2014-03-14 17:54:03 +00:00
Ricardo Cervera
281f208245 am b063df4d: am c12c92bb: am 784aab78: am 8714a343: am ef6c9470: Merge "docs: Added step to get JDK to the Android Studio install instructions." into klp-docs
* commit 'b063df4d27772aa9d71805acbb70b4473ad4b58d':
  docs: Added step to get JDK to the Android Studio install instructions.
2014-03-14 17:54:00 +00:00
Katie McCormick
89da4c8aeb am e612874b: am 9c5c5a87: am 8e142bbb: am b681794d: am 07c0ad97: Merge "Doc update: new doc studio layout editor" into klp-docs
* commit 'e612874b4c684f3d466d76a2e1a75fec066108f5':
  Doc update: new doc studio layout editor
2014-03-14 17:53:56 +00:00
John Spurlock
30672787d2 am dc28dc63: am 399cac5b: am 75985bbe: am 62826f55: am f6228d95: Merge "Fix doc typos in AppOpsManager.java" into klp-docs
* commit 'dc28dc63a7c04dcb87e257700a1d7aea40de0ce3':
  Fix doc typos in AppOpsManager.java
2014-03-14 17:53:53 +00:00
JP Abgrall
b0a3bf935d am d47dc7c3: am 7238585e: am 4f261396: am 4ecd833e: am 7baa7c80: Merge "ConnectivityService: add support to set TCP initial rwnd" into klp-dev
* commit 'd47dc7c3bd1cf9fbc549141512bc75c43454ef7c':
  ConnectivityService: add support to set TCP initial rwnd
2014-03-14 17:53:49 +00:00
Chad Brubaker
d92eb82647 am ff9da494: am 4b59883a: am 7c2b1625: am 78f204ae: am 8e240af5: Merge "Remove SO_BINDTODEVICE from VPN protect" into klp-dev
* commit 'ff9da494622a7f9358979509849ab94364d17706':
  Remove SO_BINDTODEVICE from VPN protect
2014-03-14 17:53:45 +00:00
Svetoslav
353e0cf718 am 78a06696: am 90119082: am 358eaa78: am fc1d0471: am 11b7d9fa: Merge "PrintSpooler crash if printer is reported to have only one color mode." into klp-dev
* commit '78a06696b714dd97076b98a415aadcc174fe3af0':
  PrintSpooler crash if printer is reported to have only one color mode.
2014-03-14 17:53:41 +00:00
Adrian Roos
5313f2c783 am 1b2a09d4: (-s ours) am d590516b: am 70a0ea0e: am 16858164: am cd0d8cb2: Merge "DO NOT MERGE - Fix keyguard pattern lockout bug" into klp-dev
* commit '1b2a09d4d42e7a2406ac9c25b7cedd8880f25643':
  DO NOT MERGE - Fix keyguard pattern lockout bug
2014-03-14 17:53:36 +00:00
Baligh Uddin
9cd1e9da9c am 40716d95: (-s ours) am 63492522: (-s ours) am 46bfaa1b: (-s ours) am a5a921e3: (-s ours) am 4545b1d2: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit '40716d95ad377a76f14a89b90319e4e9650b5963':
  Import translations. DO NOT MERGE
2014-03-14 17:53:33 +00:00
Dianne Hackborn
c9519fcd38 am 32a9180a: am f29a4981: am d4981014: am e5191aab: am a796168d: Merge "Fix issue #11965706: Calls using IntentChooser are now Broken in 4.3 and 4.4" into klp-dev
* commit '32a9180a6c1ac12503aaf0d123c2bfff73349508':
  Fix issue #11965706: Calls using IntentChooser are now Broken in 4.3 and 4.4
2014-03-14 17:53:30 +00:00
Jeff Brown
7aaf04a54d am 5988ea8c: (-s ours) am 88768cc3: am 6adc9602: am 825dd9dd: am 73bd57f7: Merge "Retain display when creating specialized contexts. (DO NOT MERGE)" into klp-dev
* commit '5988ea8c2278fb2d042d2ad2459fb647d962f71f':
  Retain display when creating specialized contexts. (DO NOT MERGE)
2014-03-14 17:53:28 +00:00
Zhihai Xu
bb25d32514 am 86dbccae: (-s ours) am 6d3d6c4a: am 57080be9: am bdd4c31a: am 60d7c995: Merge "DO NOT MERGE setAvrcpAbsoluteVolume is passed wrong unit parameter from AudioManager" into klp-dev
* commit '86dbccae5e3481892e0b9ea5de8d5d042d5cb1ba':
  DO NOT MERGE setAvrcpAbsoluteVolume is passed wrong unit parameter from AudioManager
2014-03-14 17:53:16 +00:00
Narayan Kamath
ceb2e0a605 am 1abb7e0f: am 63938750: am c0232642: am 629daddd: Merge "Fix layoutlib build."
* commit '1abb7e0f3920b31cf216b99fc83231d80dfa7ca4':
  Fix layoutlib build.
2014-03-14 17:53:05 +00:00
Victoria Lease
1365d98270 am 4cde7734: Merge "remove unnecessary switchUser call"
* commit '4cde773435074809672f9de6a47b26de902a83d1':
  remove unnecessary switchUser call
2014-03-14 10:51:45 -07:00