Commit Graph

245370 Commits

Author SHA1 Message Date
TreeHugger Robot
87a18d9e2b Merge "Don't remove all app token windows when window client dies" into nyc-dev 2016-05-03 01:46:57 +00:00
Svetoslav Ganov
d4d1512b64 Merge "Disable unused features" into nyc-dev 2016-05-03 01:37:01 +00:00
Svet Ganov
a7532cfa46 Disable unused features
The multi-package APKs feature was not validated and is now disabled.
Also the ephemeral work was postponed which requires disabling of the
ephemeral cookie APIs.

bug:28514747

Change-Id: Iab7f11c503a76bcc414408dfebdf200843db814e
2016-05-02 18:36:13 -07:00
smain@google.com
d587bec813 delete outdated translated versions of sdk/tools pages.
cherrypicking to mnc-docs because it's also relevant to the live site as per...
bug: 28431831
We must translate the new page to properly resolve this

Change-Id: Id81461f30f638734470ab9880509e76e4df68ce1
(cherry picked from commit 251a0650a8)
2016-05-03 01:19:14 +00:00
smain@google.com
19a8d9e6e7 add new redirects for migration of sdk/ and tools/ docs to studio/
bug:28447530

Change-Id: I0805c7272d8dc326694e2be0bf0ebafe0c140972
2016-05-02 18:13:07 -07:00
Daichi Hirono
30506508fe Merge "Remove "don't disconnect the device" description." into nyc-dev 2016-05-03 01:08:06 +00:00
smain@google.com
bb4f1b4d75 Merge "delete outdated translated versions of sdk/tools pages bug: 28425669 bug: 28471385" into mnc-mr-docs am: 3b789de28b am: adf240dd2c
am: 7d1245d36b

* commit '7d1245d36b368772a6ada82a453bcd86075787c5':
  delete outdated translated versions of sdk/tools pages bug: 28425669 bug: 28471385

Change-Id: Ie39cceea449782a9877d4faea1e3a13d14ec150f
2016-05-03 00:34:52 +00:00
Scott Main
7d1245d36b Merge "delete outdated translated versions of sdk/tools pages bug: 28425669 bug: 28471385" into mnc-mr-docs am: 3b789de28b
am: adf240dd2c

* commit 'adf240dd2c01678b0ce9fe9db9fcc9f79a04862b':
  delete outdated translated versions of sdk/tools pages bug: 28425669 bug: 28471385

Change-Id: I6f61c6063b8717336edd9ebae05223d7f4ad78ac
2016-05-03 00:31:44 +00:00
smain@google.com
adf240dd2c Merge "delete outdated translated versions of sdk/tools pages bug: 28425669 bug: 28471385" into mnc-mr-docs
am: 3b789de28b

* commit '3b789de28bba077ff469e87bd95506b2f7385d40':
  delete outdated translated versions of sdk/tools pages bug: 28425669 bug: 28471385

Change-Id: I9aa92f250c6499344764fea0e35efeb50442a86a
2016-05-03 00:28:51 +00:00
Eric Schmidt
c5553c338a Merge "Merge "docs: Added virtual files to preview doc" into mnc-docs am: 15eb965696" into mnc-mr-docs am: 4ccb1bc19b am: 785787f983
am: b7b6aaaee5

* commit 'b7b6aaaee5bc1b3a1fabbea699a43e24ec90cb80':
  docs: Added virtual files to preview doc

Change-Id: I420bacbc6d80b43815938e1fc1389e7b80637267
2016-05-03 00:26:33 +00:00
Andrew Solovay
d62f5db1f5 Merge "docs: Fixing redirects for DAC-on-devsite" into mnc-mr-docs am: b234feadab am: 176c75f378
am: 91088b1652

* commit '91088b1652e905f967f553f7e259fe4ec0107312':
  docs: Fixing redirects for DAC-on-devsite

Change-Id: Ia796b0b58972bab7f00da15617928965f3c74be4
2016-05-03 00:26:27 +00:00
Eric Schmidt
b7b6aaaee5 Merge "Merge "docs: Added virtual files to preview doc" into mnc-docs am: 15eb965696" into mnc-mr-docs am: 4ccb1bc19b
am: 785787f983

* commit '785787f9837774e245c6bd03a89115730cfa0ff8':
  docs: Added virtual files to preview doc

Change-Id: I470b704f67fd290c16ef6af7d81f02b84bff34dc
2016-05-03 00:23:48 +00:00
Andrew Solovay
91088b1652 Merge "docs: Fixing redirects for DAC-on-devsite" into mnc-mr-docs am: b234feadab
am: 176c75f378

* commit '176c75f378942b611c3cfb46bf5162d5c0eeba8d':
  docs: Fixing redirects for DAC-on-devsite

Change-Id: Ia57f2ac610e6a6fa5bf8fbe68616df9b8268c8b8
2016-05-03 00:23:44 +00:00
Scott Main
3b789de28b Merge "delete outdated translated versions of sdk/tools pages bug: 28425669 bug: 28471385" into mnc-mr-docs 2016-05-03 00:19:42 +00:00
Eric Schmidt
785787f983 Merge "Merge "docs: Added virtual files to preview doc" into mnc-docs am: 15eb965696" into mnc-mr-docs
am: 4ccb1bc19b

* commit '4ccb1bc19b96776d545adadea27100b9992652a6':
  docs: Added virtual files to preview doc

Change-Id: I80caca69088ff0148d2c06d5148eb3084830cf58
2016-05-03 00:16:20 +00:00
Andrew Solovay
176c75f378 Merge "docs: Fixing redirects for DAC-on-devsite" into mnc-mr-docs
am: b234feadab

* commit 'b234feadab89e4ac65b71194e2a8c86cfb9ca7e9':
  docs: Fixing redirects for DAC-on-devsite

Change-Id: Ie60b8ed8bc7a2682a8400966fc67d16809b19d7d
2016-05-03 00:16:19 +00:00
Winson
61560f065a Fixes several animation issues related to a dismissing task.
- Previously we did not properly cancel the animations when the user 
  interacted with the stack while a task was being dismissed.  Now, on 
  touch down, we only cancel the non-dismissing tasks, and in doing so,
  set their task override if there is a dismissing task (so that the 
  stack can scroll correctly), and update the surrounding task views
  if the dismiss update comes from the currently dismissing task.  
  (or in other words, the surrounding task animations will only be a 
  function of the current task being dismissed)

Bug: 28448670
Change-Id: If7b8ed3f1fe342114ae0f6dd9dbff0d48204f31e
2016-05-02 17:16:17 -07:00
Christopher Tate
722d27f99c Full-data restore path needs to pass along the widget metadata
The engine itself knows about it, but that's at one remove from the
code that needs to consume it.  Make sure it gets passed up the chain.

Bug 28346706

Change-Id: Ib94c9fbc512d92039bb7db5cd6b0b088a4a66027
2016-05-02 17:16:05 -07:00
TreeHugger Robot
37634aefb6 Merge "Fixed some issues with resuming already resumed activity" into nyc-dev 2016-05-03 00:15:50 +00:00
Raph Levien
4d826831b5 Merge "Make LocaleList constructor non-nullable" into nyc-dev 2016-05-03 00:15:24 +00:00
Eino-Ville Talvala
ef1513b038 Merge "ImageReader/Writer: Only register 1 buffer for native allocation" into nyc-dev 2016-05-03 00:14:57 +00:00
Android Build Merger (Role)
4ccb1bc19b Merge "Merge "docs: Added virtual files to preview doc" into mnc-docs am: 15eb965696" into mnc-mr-docs 2016-05-03 00:09:43 +00:00
Eric Schmidt
06feab3abc Merge "docs: Added virtual files to preview doc" into mnc-docs
am: 15eb965696

* commit '15eb965696806c5f18d2521bf9ad6065b1400a48':
  docs: Added virtual files to preview doc

Change-Id: Iff00a19c8e88f3e32be238ba60edb5da957d90c2
2016-05-03 00:09:18 +00:00
TreeHugger Robot
b234feadab Merge "docs: Fixing redirects for DAC-on-devsite" into mnc-mr-docs 2016-05-03 00:05:51 +00:00
Eric Schmidt
15eb965696 Merge "docs: Added virtual files to preview doc" into mnc-docs 2016-05-02 23:59:59 +00:00
TreeHugger Robot
e877d2d791 Merge "Multi-user Data Saver fixes:" into nyc-dev 2016-05-02 23:51:39 +00:00
Wale Ogunwale
e42d0e102d Don't remove all app token windows when window client dies
AppWindowToken can contain windows from multiple clients (Processes)
If one of the client dies we shouldn't remove all windows in the app
token. We should only remove dea windows.

Bug: 28467642
Change-Id: I8be6a98e0acc79719158567114f4902066069c1b
2016-05-02 16:50:46 -07:00
Andrew Solovay
2748f89096 docs: Fixing redirects for DAC-on-devsite
On Devsite, the redirect parser doesn't understand regular
expressions, which breaks ~ 10% of our existing redirects; fixing
them now. Also fixing a few other redirect-related bugs while I've got
the hood open.

See first comment for doc stage location.

bug: 28447522
bug: 28467616

Change-Id: I5f315fd54cb9353a56674b5aac4dcd53875263c9
2016-05-02 16:49:21 -07:00
Winson
aa0dea7a4a Pipe the dismiss button logic through the touch handler.
- This ensures that we perform the same dismiss animation when 
  dismissing via the button or via swipe.

Bug: 28443410
Change-Id: I309c38253e9c2dc78a5882dc663eec84a11619dd
2016-05-02 16:40:12 -07:00
Winson
95ee8736da Skip scroll-to animation when undocking and there are no tasks.
Bug: 28367678
Change-Id: Iafd064196cae43f60ff6d356843d1e431d15daea
2016-05-02 16:40:07 -07:00
Winson
9832f8f463 Fixing issue with docking being disallowed for secondary user.
- When a task is docked, the context is not correct for the given user.

Bug: 28195260
Change-Id: I59f73caf818d294c146d215c2bd31dbe1d4c7c5a
2016-05-02 16:40:00 -07:00
Chong Zhang
d127c6d461 Fix bad animation when pressing Home with translucent activity
Force a setAppVisibility if the previous app was translucent, so that
the resumed app is added to the opening app list. Otherwise opening
app list is empty and the transition can't be set up correctly.

bug: 28463843
Change-Id: I7f8e28d0f804c799a429743df6fc501c06d62f21
2016-05-02 16:38:33 -07:00
Philip P. Moltmann
f8a765bce2 Merge "Check if records is inited before removing items" into nyc-dev 2016-05-02 23:32:39 +00:00
John Reck
ded1d3c45b Remove high-overhead low-signal trace section
Bug: 28519669

This trace tag makes shadows look way more expensive
than they actually are, particularly troublesome
when tracing things with large number of shadows.

Change-Id: Ib6558b1388edd4b006ec15127470cb9ab563f954
2016-05-02 16:24:28 -07:00
TreeHugger Robot
6a3948bc12 Merge "use 'int' for min sdk version" into nyc-dev 2016-05-02 23:19:44 +00:00
Ben Lin
d88030fe9e Merge "Add ability to rename a downloaded file." into nyc-dev 2016-05-02 22:54:23 +00:00
Todd Kennedy
5a7abbc3a2 Merge "use prebuilt for the shim" into nyc-dev 2016-05-02 22:49:55 +00:00
Jaewan Kim
28194523a4 Merge "PIP: Show background scrim for PIP controls in Recents" into nyc-dev 2016-05-02 22:34:57 +00:00
Doris Liu
f8d131cc8d Count native allocation for VD against Java heap
There are two parts to VD's native allocation:
1) VD's internal data structure (i.e. groups, paths, etc that make
   up of the VD tree). This structure can change, when a VD is used
   to load a different drawable resource.
2) Two bitmap caches, not both of which will necessarily be allocated
   The size of the bitmap cache depends on canvas matrix and drawable
   bounds, and therefore can often change.

We need to count the native allocation from the above against Java heap.

Bug: 26269056
Change-Id: If833aedcf7f3efe00ea73a41ddccb1b48066ffd8
2016-05-02 15:34:40 -07:00
Jaewan Kim
bfa0f48407 Merge "Fix crash when device doesn't support picture-in-picture" into nyc-dev 2016-05-02 22:27:54 +00:00
TreeHugger Robot
33f39a96cb Merge "Fixed a bug where the image and the text were overlapping" into nyc-dev 2016-05-02 22:26:40 +00:00
Jeff Sharkey
599de361cb Merge "Apply non-FBE migration early during boot." into nyc-dev 2016-05-02 22:23:27 +00:00
Eino-Ville Talvala
04a935162c ImageReader/Writer: Only register 1 buffer for native allocation
Registering with the maximum potential memory made by visible by an
ImageReader/Writer can cause the VM to try to heavily garbage-collect
the rest of the application. This can have significant impact on camera
applications, since they often have large ImageReader/Writer queues.

Bug: 28454727
Change-Id: I2ba43635f93da66655be024165a15631b3b421d3
2016-05-02 15:20:31 -07:00
Jaewan Kim
d98dcab679 Fix crash when device doesn't support picture-in-picture
Bug: 28512987
Change-Id: Ic8287d70fed491d7493d443ba7d9633b7d9aaea9
2016-05-03 07:13:28 +09:00
Eric Schmidt
186fada46b docs: Added virtual files to preview doc
Bug: 28297470
Change-Id: I393ba4083ce5d2ca43a815e61e962761b08a8194
2016-05-02 22:13:01 +00:00
Jeff Sharkey
f10640adef Merge "When fork() fails, clean up data structures." into nyc-dev 2016-05-02 22:12:34 +00:00
TreeHugger Robot
dba83f1289 Merge "Yell when no home app was found." into nyc-dev 2016-05-02 22:11:33 +00:00
Todd Kennedy
6e2e7f585b use 'int' for min sdk version
per api council

Change-Id: Id3c1191534f61a0d511a6e9932f50ee613830999
2016-05-02 15:07:32 -07:00
Felipe Leme
a110eec77f Multi-user Data Saver fixes:
- When adding a new user, adds its default whitelist apps.
- When removing an user, clears its revoked default whitelist apps.

BUG: 28451218

Change-Id: Ic30a3d6d30c7575620edd3ad32c3221203626f8d
2016-05-02 15:03:20 -07:00
Jeff Sharkey
f0143cc1c6 Apply non-FBE migration early during boot.
On non-FBE devices, we offer to migrate CE/DE storage of certain
system apps during boot.  However, if this migration happens after
app code has started to run, we end up clobbering open files such
as databases.

The right way to solve this is to apply all migration early during
boot (in the PMS constructor) before any app code can start.

Bug: 28512897, 28525109
Change-Id: I17eb9a09e5862d873b86c05ce35874a34386e433
2016-05-02 15:59:12 -06:00