Commit Graph

246497 Commits

Author SHA1 Message Date
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
Todd Kennedy
09bad50ef4 Merge "use \'int\' for min sdk version" into nyc-dev
am: 6a3948bc12

* commit '6a3948bc1268f84faac81d65f43670c30f83746a':
  use 'int' for min sdk version

Change-Id: I45b0c39b901e8ae9e5ccbf42f92e193a2ee9ec2a
2016-05-02 23:35:24 +00: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
acb3f6022c Merge "Add ability to rename a downloaded file." into nyc-dev
am: d88030fe9e

* commit 'd88030fe9e070a433120ba2bcf442e271c3ce2df':
  Add ability to rename a downloaded file.

Change-Id: Idc355db364a11e64f9f81f50b5d4b8c7535c92cd
2016-05-02 23:00:31 +00:00
Todd Kennedy
2da937e0af Merge "use prebuilt for the shim" into nyc-dev
am: 5a7abbc3a2

* commit '5a7abbc3a2f3ad316f1108980bb0f3bc2ce70280':
  use prebuilt for the shim

Change-Id: I0d663728828aab166554ab6171838bd36309df5f
2016-05-02 23:00:27 +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
41506933a3 Merge "PIP: Show background scrim for PIP controls in Recents" into nyc-dev
am: 28194523a4

* commit '28194523a4f52fd50ce7f6e3d7d39c74f80b7bbf':
  PIP: Show background scrim for PIP controls in Recents

Change-Id: Ib42ba2b696fcd5834acd9c3a3c611d67eb4b4329
2016-05-02 22:45:56 +00:00
Jaewan Kim
550533dc29 Merge "Fix crash when device doesn\'t support picture-in-picture" into nyc-dev
am: bfa0f48407

* commit 'bfa0f48407e70099c2558983b19163c1d92d063b':
  Fix crash when device doesn't support picture-in-picture

Change-Id: I5ae37793fdaa389163f2c410bc20570d074ce9fb
2016-05-02 22:36:27 +00:00
Selim Cinek
93492ed116 Merge "Fixed a bug where the image and the text were overlapping" into nyc-dev
am: 33f39a96cb

* commit '33f39a96cb40850b645833528d275c455898f4d2':
  Fixed a bug where the image and the text were overlapping

Change-Id: Ic6953d52b62a2a533f2dd35cf2f83db5db292bb3
2016-05-02 22:36:24 +00:00
Jeff Sharkey
a65e7a6dd7 Merge "Apply non-FBE migration early during boot." into nyc-dev
am: 599de361cb

* commit '599de361cb7832fec18a51a62cbf44af4df27020':
  Apply non-FBE migration early during boot.

Change-Id: Ie6823d6211ee9851d30f53f47204ac6a063d0aae
2016-05-02 22:36:20 +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
Jeff Sharkey
54659d5f8b Merge "When fork() fails, clean up data structures." into nyc-dev
am: f10640adef

* commit 'f10640adef2ca62204d802029e65f12d61908e7b':
  When fork() fails, clean up data structures.

Change-Id: I9ff64d4a91123660ea11fc762dfcd4b04164d7cf
2016-05-02 22:17:15 +00:00
Jeff Sharkey
9bfdfb379a Merge "Yell when no home app was found." into nyc-dev
am: dba83f1289

* commit 'dba83f128999708d15a3172cdfaf0b596e4e7048':
  Yell when no home app was found.

Change-Id: I34e9253173c304c2c5d2de6718cb8dc35c255a63
2016-05-02 22:17:12 +00: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
Jaewan Kim
dded3aa8bd PIP: Show background scrim for PIP controls in Recents
Scrim will fade in after the PIP control's focus losing animation,
and will be gone immediately when PIP control gets focus.

Bug: 28041690
Change-Id: Ibb7fa0ce15ba1af13781a1bd5e87609fefa95cc0
2016-05-03 06:55:27 +09:00
Cheryl Potter
ba2cbf300c docs: Polish Android Monitor pages b/26279420 am: b843741489 -s ours am: 0f57c62e84 am: 8c3ab87f81 am: 5a164da26c
am: 582666365b

* commit '582666365bde26662601caa73b9783106973b190':
  docs: Polish Android Monitor pages b/26279420

Change-Id: I84262f9840260bd04678e6959c43531b8fab5829
2016-05-02 21:52:49 +00:00
Cheryl Potter
582666365b docs: Polish Android Monitor pages b/26279420 am: b843741489 -s ours am: 0f57c62e84 am: 8c3ab87f81
am: 5a164da26c

* commit '5a164da26cb016f43ca6e97197c6db0570747e5b':
  docs: Polish Android Monitor pages b/26279420

Change-Id: I88f45803148a8a3523bb3c1dfbfb3f3e32ce5313
2016-05-02 21:48:16 +00:00
Amit Mahajan
dbb0028be0 Merge "Change to return phone count as 0 if voice, sms, data not supported." into nyc-dev
am: fc6a3ad85b

* commit 'fc6a3ad85bcac1df6b0fc1f79ec65f1a23eb8f71':
  Change to return phone count as 0 if voice, sms, data not supported.

Change-Id: Ideaaec05272ecee36504e7207d1187a7d2cdcd5f
2016-05-02 21:47:50 +00:00
Amit Mahajan
a895559a41 Marking @SystemApi permissions @hide too.
Bug: 28287631
Change-Id: Ie0375620689263ebafd6850f2261e090f09521b1
2016-05-02 14:45:46 -07:00
Cheryl Potter
5a164da26c docs: Polish Android Monitor pages b/26279420 am: b843741489 -s ours am: 0f57c62e84
am: 8c3ab87f81

* commit '8c3ab87f813873c388d8fa04e0e5af972ef4d787':
  docs: Polish Android Monitor pages b/26279420

Change-Id: I51b4d802ef422ba1100704018e4a6525ea85517d
2016-05-02 21:42:13 +00:00
Adam Powell
b76fa59731 Merge "Backport ChooserTarget package source check from N am: 82b9565bd1 am: 6d5f80d13b am: 7ac638702d am: e7e49b48b2" into nyc-dev
am: c99febc3e3

* commit 'c99febc3e346e4b24fce4bcb52d71732695c10fb':
  Backport ChooserTarget package source check from N

Change-Id: I3a0dff11ebe6b4301914b2faf25b8bf65400c4ba
2016-05-02 21:37:32 +00:00
Glenn Kasten
2d48ee3a9e Merge "Improve documentation for AudioTrack buffer sizes" into nyc-dev
am: 2baa1e9ba1

* commit '2baa1e9ba1437b586ed1923f811b8ff9985995e2':
  Improve documentation for AudioTrack buffer sizes

Change-Id: Ibc7fca5dfd11a5821b42476850a9ca07aa78ca15
2016-05-02 21:37:28 +00:00
Cheryl Potter
8c3ab87f81 docs: Polish Android Monitor pages b/26279420 am: b843741489 -s ours
am: 0f57c62e84

* commit '0f57c62e8475a85467c5e7d6b1eab2ba834625ad':
  docs: Polish Android Monitor pages b/26279420

Change-Id: I6a926f1209d150c95e17ee0f9281dba8c1cbe985
2016-05-02 21:37:12 +00:00
Amit Mahajan
fc6a3ad85b Merge "Change to return phone count as 0 if voice, sms, data not supported." into nyc-dev 2016-05-02 21:37:07 +00:00
Android Build Merger (Role)
c99febc3e3 Merge "Backport ChooserTarget package source check from N am: 82b9565bd1 am: 6d5f80d13b am: 7ac638702d am: e7e49b48b2" into nyc-dev 2016-05-02 21:32:34 +00:00
Adam Powell
ddeb6dc42f Backport ChooserTarget package source check from N am: 82b9565bd1 am: 6d5f80d13b am: 7ac638702d
am: e7e49b48b2

* commit 'e7e49b48b295b4f81ad8a9f5c1d9f16370b06437':
  Backport ChooserTarget package source check from N

Change-Id: I8f735dc92aafba50b3724a1c53390333735012d5
2016-05-02 21:32:08 +00:00
Cheryl Potter
0f57c62e84 docs: Polish Android Monitor pages b/26279420
am: b843741489  -s ours

* commit 'b843741489fea6f489023ed7a2ce15d3e530e78c':
  docs: Polish Android Monitor pages b/26279420

Change-Id: If41fc379f585c1669b3823e217d6214ee70f5964
2016-05-02 21:31:27 +00:00
Glenn Kasten
2baa1e9ba1 Merge "Improve documentation for AudioTrack buffer sizes" into nyc-dev 2016-05-02 21:28:38 +00:00
smain@google.com
05199b6eaf Merge "resolve merge conflicts of 7829131 to nyc-dev" into nyc-dev
am: 388d575893

* commit '388d575893631e778447b6ac1decff12277946d3':
  Delete all of the tools/ directory, but save the adk files by moving them up. Redirects for all the tools/ files are already in Piper's site-android/en/_redirects.yaml file. The new adk redirects are in this cl: https://critique.corp.google.com/#review/121302608

Change-Id: I9ab3833eaaf22919312af1e90c51b787ed33d578
2016-05-02 21:26:30 +00:00
Adam Powell
e7e49b48b2 Backport ChooserTarget package source check from N am: 82b9565bd1 am: 6d5f80d13b
am: 7ac638702d

* commit '7ac638702de3b8af0a02db764adb95f2d10d1524':
  Backport ChooserTarget package source check from N

Change-Id: I9d936089af04cc32a54245d91c17a23569c5fd1c
2016-05-02 21:26:29 +00:00
Todd Kennedy
20047d74d5 use prebuilt for the shim
The testing shim should be included as a prebuilt. This allows
us to destroy the signing key. This means that the shim can never
be upgraded in the field; aside from its intended purpose in
a CTS test.

Bug: 28398205
Change-Id: I033835d227416ff8aa6602abfc8b977c74cb666d
2016-05-02 14:24:00 -07:00
Adam Powell
7ac638702d Backport ChooserTarget package source check from N am: 82b9565bd1
am: 6d5f80d13b

* commit '6d5f80d13b06d439db08fcd5d25490edb322f923':
  Backport ChooserTarget package source check from N

Change-Id: Iec7902498e2cfe53ce16dc9faf2d91340f416799
2016-05-02 21:21:11 +00:00
Wale Ogunwale
6044f8dfed Merge "Use existing bounds when pinning an activity if there is already pinned stack" into nyc-dev
am: b420612696

* commit 'b42061269617b3ad84882749031413c223d6cb8c':
  Use existing bounds when pinning an activity if there is already pinned stack

Change-Id: Id6f6c7b2b4eb8262e5344d914d3024996191d87d
2016-05-02 21:16:04 +00:00