241859 Commits

Author SHA1 Message Date
Wale Ogunwale
a4d92a0152 Don’t relaunch activity in fullscreen stack when entering split screen mode
When entering split-screen mode by long pressing the recents button, the
top task in the fullscreen stack is moved to the docked stack and the new
top task is the fullscreen stack is considered visible for a short amount
of time until sys-ui launches the recents activity. This causes the new
top activity in the fullscreen stack to be relaunched due to configuration
change.
To fix this sys-ui now sends an hint to activity manager to move the home
stack forward so that it can be on-top of the fullscreen stack and makes
it invisible before recent is launched and animated in.

Bug: 28470261
Change-Id: Icfd85e932fe913dfb498752b5878cc7c690fd559
2016-05-01 16:02:16 -07:00
Abodunrinwa Toki
d971a9d5f2 Merge "Ensure FloatingToolbar is not rendered at negative x, y coordinates." into nyc-dev 2016-04-29 14:04:06 +00:00
Tony Mak
7a5b17bb98 Add metric for managed profile setting
Bug: 28281560
Change-Id: I6ec0a8dbfea179476335b9d624020b80e51e97a8
2016-04-29 13:36:46 +00:00
TreeHugger Robot
ecd73f48fe Merge "Frameworks/base: Use holder in FileUtils" into nyc-dev 2016-04-29 07:09:28 +00:00
Jaewan Kim
cbb128a5d8 Merge "PIP: Prevent PIP icons in Recents from blinking when PIP is closed" into nyc-dev 2016-04-29 05:57:42 +00:00
Andreas Gampe
0693fd85f6 Frameworks/base: Use holder in FileUtils
Use a holder for an uncommon Pattern instance in FileUtils.

Allows to compile-time initialize:
* android.os.FileUtils

Bug: 28174137
Change-Id: I4a7a388795a96678b4b26e4f2c02b1117d6a67f6
2016-04-28 19:33:05 -07:00
TreeHugger Robot
71619aa437 Merge "Another intent sent by both system and apps." into nyc-dev 2016-04-29 01:21:10 +00:00
Rohit Agrawal
ab45664130 Merge "AAPT: ProGuard config for components in main dex." into nyc-dev 2016-04-29 01:19:08 +00:00
Amith Yamasani
ec6faca007 Merge "Stop user faster and clear stale broadcasts" into nyc-dev 2016-04-29 00:51:32 +00:00
Adam Lesinski
98a418758d Merge "Add Complex XML Resources guide to docs" into nyc-dev 2016-04-29 00:13:42 +00:00
TreeHugger Robot
05be517fb7 Merge "ImageWallpaper: Only draw on valid surfaces" into nyc-dev 2016-04-29 00:13:23 +00:00
TreeHugger Robot
4d33455c4f Merge "Fixed wrong loop variable (AKA: I, Y U NO J?)" into nyc-dev 2016-04-29 00:11:42 +00:00
Jim Miller
8d38894d1f Merge "Clean up fingerprint enrollment API" into nyc-dev 2016-04-28 23:48:42 +00:00
Chong Zhang
c56ca11611 Merge "Fix restoring surface for child windows" into nyc-dev 2016-04-28 23:18:29 +00:00
Chong Zhang
b7b4a56a6e Fix restoring surface for child windows
Use allAppWindows instead of windows, as windows doesn't contain
any child windows, it causes the child windows to be not restored
until the child window does relayout.

bug: 28296945

Change-Id: I7d272e660752002c08349128c3958aa041979c34
2016-04-28 15:44:50 -07:00
Felipe Leme
6173185432 Fixed wrong loop variable (AKA: I, Y U NO J?)
BUG: 27366993
BUG: 28451218
Change-Id: I8455ada4194e7fc44ae7448e5cd763d22065fd2e
2016-04-28 15:37:20 -07:00
Adrian Roos
53560f1c8b ImageWallpaper: Only draw on valid surfaces
Previously, the wallpaper would draw even when
the surface had been destroyed, leading to
crashes.

Change-Id: I6465e832abb3bfd92495bca9b60dac474b35f6d6
Fixes: 28329816
2016-04-28 15:22:51 -07:00
Jean-Michel Trivi
b97fdfa39a Merge "Additional alarm sounds for N" into nyc-dev 2016-04-28 22:14:02 +00:00
Jim Miller
c12eca8b59 Clean up fingerprint enrollment API
The enrollment API was using userId and groupId interchangeably.
This cleanes up the interface to consistently use userId.

Partial fix for bug 28268635

Change-Id: I678e4b17a25f82c5cf17db49cd23f862be11667b
2016-04-28 15:12:53 -07:00
Andrew Solovay
ce2dae9c16 docs: Updated support library overview, CPd from mnc-mr-docs am: dd3b48de2f am: 04893309eb am: f31c9f4e8c
am: 6a5ce2914a

* commit '6a5ce2914a0360cf08c6b49a9f3ef66ad9fe6a1c':
  docs: Updated support library overview, CPd from mnc-mr-docs

Change-Id: I0874460d818d6c86fa95acf5075c46402c94b935
2016-04-28 21:23:06 +00:00
Andrew Solovay
6a5ce2914a docs: Updated support library overview, CPd from mnc-mr-docs am: dd3b48de2f am: 04893309eb
am: f31c9f4e8c

* commit 'f31c9f4e8c606dcabad6eb63ac7801b77d1de328':
  docs: Updated support library overview, CPd from mnc-mr-docs

Change-Id: Iff6598a73fcffdfc8d576d2722b4c434d0f0ce3f
2016-04-28 21:20:43 +00:00
Andrew Solovay
f31c9f4e8c docs: Updated support library overview, CPd from mnc-mr-docs am: dd3b48de2f
am: 04893309eb

* commit '04893309eb8abeb331fbc1fadac6d141dc2a4d63':
  docs: Updated support library overview, CPd from mnc-mr-docs

Change-Id: I3b8c7eb3dc4d4761aba349b7dbecc1039ae5eb65
2016-04-28 21:18:19 +00:00
Dongwon Kang
ddf44fc7ef Merge "TIF: Change invalid error code to RECORDING_ERROR_UNKNOWN" into nyc-dev 2016-04-28 21:17:32 +00:00
Andrew Solovay
04893309eb docs: Updated support library overview, CPd from mnc-mr-docs
am: dd3b48de2f

* commit 'dd3b48de2fd4c47d0e225f6fd5b81b73fafd3643':
  docs: Updated support library overview, CPd from mnc-mr-docs

Change-Id: I33fe9708e9d34bba1720f7f210d89518ad39de0c
2016-04-28 21:16:02 +00:00
Android Build Merger (Role)
37911f9954 Merge "docs: Moving library docs out of /tools/ am: 7877f69ddd am: 6bbce8db4f am: 4290ad19e2" into nyc-dev 2016-04-28 21:00:25 +00:00
Andrew Solovay
bc0b8ca0df docs: Moving library docs out of /tools/ am: 7877f69ddd am: 6bbce8db4f
am: 4290ad19e2

* commit '4290ad19e2b96887b88a08e8e39629b34d4d4117':
  docs: Moving library docs out of /tools/

Change-Id: I3f42ace3cce49c0d66cc51607c6b7bf182a445c2
2016-04-28 20:59:50 +00:00
Adrian Roos
f76b15057e Merge "Show lockscreen wallpaper on SIM screens" into nyc-dev 2016-04-28 20:57:27 +00:00
Andrew Solovay
4290ad19e2 docs: Moving library docs out of /tools/ am: 7877f69ddd
am: 6bbce8db4f

* commit '6bbce8db4fd9d4fe5d56fb7eb17793f0c8ac7294':
  docs: Moving library docs out of /tools/

Change-Id: I89594b6fc16e8d14aac5825f7f05b7cf928ffb69
2016-04-28 20:57:26 +00:00
Andrew Solovay
6bbce8db4f docs: Moving library docs out of /tools/
am: 7877f69ddd

* commit '7877f69ddd5f195829a54df256a0f1215cf124ec':
  docs: Moving library docs out of /tools/

Change-Id: Ia8e45a30547accfcdcfe00e5ad8e9454ac13929c
2016-04-28 20:52:41 +00:00
Justin Klaassen
1fe7ed557d Merge "Support view transformations when positioning floating CAB" into nyc-dev 2016-04-28 20:49:37 +00:00
Andrew Solovay
7877f69ddd docs: Moving library docs out of /tools/
The /tools/ top-level directory is going away when we move to devsite
(and the Android Studio docs get their own home) so I'm moving the
non-AS docs out of there. Also adding redirects (and fixing redirects
that pointed to the old locations).

For the time being, I'm also adding these libraries in to the
"API Guides" TOC, just so they're discoverable from somewhere; I'm
expecting this to change post-redesign.

See first comment for doc stage location.

bug: 28270787
Change-Id: I07488251384fbd22d2512a797793cf98654f54e7
2016-04-28 13:36:06 -07:00
Android Build Merger (Role)
42eebfab6b Merge "Merge "docs: Updated support library overview" into mnc-mr-docs am: a872460fd3 am: 1e5295a37b am: 37b8afbbc2" into nyc-dev 2016-04-28 20:33:33 +00:00
Jorim Jaggi
b72b265c85 Merge "Fix issues with docked stack not un-minimizing" into nyc-dev 2016-04-28 20:33:28 +00:00
Andrew Solovay
0bb679a279 Merge "docs: Updated support library overview" into mnc-mr-docs am: a872460fd3 am: 1e5295a37b
am: 37b8afbbc2

* commit '37b8afbbc238ea115a2642d9826fdc6f8f3100c9':
  docs: Updated support library overview

Change-Id: I5b27d52f40069abb9a03b5eef0a64fa237efc530
2016-04-28 20:33:03 +00:00
Andrew Solovay
37b8afbbc2 Merge "docs: Updated support library overview" into mnc-mr-docs am: a872460fd3
am: 1e5295a37b

* commit '1e5295a37bdcb8f374de6e8f2c7199042af0b503':
  docs: Updated support library overview

Change-Id: I034f8948fa95241f6fefdf608294631adffecd93
2016-04-28 20:30:18 +00:00
Jorim Jaggi
df551dda12 Merge "Remove optimization to report config change" into nyc-dev 2016-04-28 20:28:38 +00:00
Andrew Solovay
1e5295a37b Merge "docs: Updated support library overview" into mnc-mr-docs
am: a872460fd3

* commit 'a872460fd31c2cffde6ed467a43099590ad8aa7f':
  docs: Updated support library overview

Change-Id: I6d88be4d71d72d4223f9d0ec435d2e3abf8012b7
2016-04-28 20:27:35 +00:00
TreeHugger Robot
76d985f1df Merge "Whitelist Downloads Manager for Data Saver." into nyc-dev 2016-04-28 20:24:24 +00:00
Andrew Solovay
dd3b48de2f docs: Updated support library overview, CPd from mnc-mr-docs
Started this CL when mnc-mr-docs was the active branch, but now
the production builds come from mnc-docs.

Per feedback from the support library team, updated the support
library overview page to better explain what the libraries are
and what they're for. This is the beginning of a big overhaul of the
support library docs.

The "overview" section has been rewritten and expanded in this CL.
The "revisions" section hasn't been touched, except that the heading
was changed to "Support Library Revision History". (I'd like to
move "Revision History" to a separate page, but I'll do it in a
follow-on CL.)

See first comment for doc stage location.

bug: 27274455
Change-Id: I12ce21c948421e1bd0be5d3151845f900750e7b1
(cherry picked from commit 06ba3db93849a45df571c4730aa7a67e247c0afe)
2016-04-28 20:23:41 +00:00
TreeHugger Robot
a872460fd3 Merge "docs: Updated support library overview" into mnc-mr-docs 2016-04-28 20:22:11 +00:00
Adam Lesinski
1bfe7f6c65 Add Complex XML Resources guide to docs
Bug:27101564
Change-Id: I701230a242e0ec6c4cea2808556f9b1054866612
2016-04-28 13:21:23 -07:00
Makoto Onuki
d1c30db548 Merge "ShortcutManager: When app's data is cleared, remove all shortcuts," into nyc-dev 2016-04-28 20:11:06 +00:00
Adam Lesinski
28d6c1e493 Merge "AAPT2: Accept a file with arguments when argument list is too long" into nyc-dev 2016-04-28 19:34:31 +00:00
TreeHugger Robot
8c2fb9edae Merge "Introduce "unlocking" vs "unlocked" nuance." into nyc-dev 2016-04-28 19:06:28 +00:00
Abodunrinwa Toki
51a8af680b Ensure FloatingToolbar is not rendered at negative x, y coordinates.
Bug: 28343540
Change-Id: I550a1a2389a6f90525498962709f0c82e8e310ab
2016-04-28 19:59:57 +01:00
Elliot Waite
72403f1daa Merge "Change custom_link_attributes to path_attributes format." into mnc-mr-docs am: 14fd7d5 am: 5b4f351
am: 26d957c

* commit '26d957c9c1903fc4f520de8b56cc57539ac33b3a':
  Change custom_link_attributes to path_attributes format.

Change-Id: I5dfd8ee64fbf6502e29d639d454d6b637ecf2e12
2016-04-28 18:50:37 +00:00
Elliot Waite
26d957c9c1 Merge "Change custom_link_attributes to path_attributes format." into mnc-mr-docs am: 14fd7d5
am: 5b4f351

* commit '5b4f351e43cc50bc263ff30099fa7733093e63c6':
  Change custom_link_attributes to path_attributes format.

Change-Id: Ica8216729362289cc7ccc14c1290d8be9f05fb01
2016-04-28 18:46:52 +00:00
Elliot Waite
5b4f351e43 Merge "Change custom_link_attributes to path_attributes format." into mnc-mr-docs
am: 14fd7d5

* commit '14fd7d5df759f0ec2828bb77f9582f0473f21f19':
  Change custom_link_attributes to path_attributes format.

Change-Id: I1ed2cb82af666df5ecd846b6031210cd369bea73
2016-04-28 18:42:49 +00:00
Elliot Waite
14fd7d5df7 Merge "Change custom_link_attributes to path_attributes format." into mnc-mr-docs 2016-04-28 18:35:35 +00:00
Rob Carr
08c4dfba82 Merge "Delay pinned animation finish during app transition." into nyc-dev 2016-04-28 18:33:33 +00:00