Commit Graph

255075 Commits

Author SHA1 Message Date
Andrew Solovay
8febcd4df7 docs: Update N release notes for DP4
Archived the DP3 release notes, and set up the skeletal DP4 notes.
Also added information about changes to multi-window mode.

(Began this CL on mnc-io-docs, but CPing it to nyc-dev since that's
where we'll be doing the DP4 docs.)

See first comment for doc stage location.

bug: 28982873
bug: 28982952
Change-Id: I9dd8579db8b88788a89f046fe6cf2052390aade4
2016-06-02 14:43:04 -07:00
Kevin Hufnagle
16d013b47d docs: Edited "Promote with Ads" page; created "Nearby" feature page.
The Nearby feature appears in the "Engage & retain" section of DAC.

Bug: 28436589
Change-Id: I2250ac79d1b568eaa535fcbe05187811c90b6ea3
2016-06-02 14:27:17 -07:00
Philip P. Moltmann
55d86c761a Merge "Move Xerox recommendation plugin to service." into nyc-dev
am: e509dcb43f

* commit 'e509dcb43fdbd949b18622a1dee7b9d7373dbabf':
  Move Xerox recommendation plugin to service.

Change-Id: I255f9f21bdcc97b2a53fddd276ae71233b8d3193
2016-06-02 21:25:33 +00:00
Eino-Ville Talvala
c62cea89ce Camera2: Update lensShadingMap documentation
Revert added language about shading map being the full flat-field
correction; it's actually the same correction as applied to camera
device-processed data.

Also fix a few other wording issues in the lens shading documentation.

Bug: 18175853
Change-Id: I27691925e6496afe18f3506084d89f2523b5555d
2016-06-02 14:21:27 -07:00
Philip P. Moltmann
e509dcb43f Merge "Move Xerox recommendation plugin to service." into nyc-dev 2016-06-02 21:18:08 +00:00
Julia Reynolds
480cb05866 Merge "Fix memory leak via ZenModeController callbacks." into nyc-dev
am: 30e434a996

* commit '30e434a996e0053eeeeb41f6a198f3945055445b':
  Fix memory leak via ZenModeController callbacks.

Change-Id: I7d8702f3761ed71b1c06f1eedaa5740cfc2e799e
2016-06-02 21:14:34 +00:00
Chong Zhang
2f2af39911 Merge "Fix scroll amount calculation in ViewRootImpl" into nyc-dev
am: b1e24209f1

* commit 'b1e24209f16621fd095dacb615364bfd15dfe721':
  Fix scroll amount calculation in ViewRootImpl

Change-Id: Idb326fa8e459aaf3a97d841c91b3ccefc48dad81
2016-06-02 21:06:00 +00:00
TreeHugger Robot
30e434a996 Merge "Fix memory leak via ZenModeController callbacks." into nyc-dev 2016-06-02 21:05:56 +00:00
Chong Zhang
b1e24209f1 Merge "Fix scroll amount calculation in ViewRootImpl" into nyc-dev 2016-06-02 20:58:06 +00:00
Phil Weaver
a4b32b963b Stop magnifying surface insets.
Apparently magnification never should have touched the insets, but
the effects were small so we got away with it before. Now messing
with them disrupts the size of pop-up windows when magnification is
enabled.

Bug: 29048161
Change-Id: I4ab84f4f14cb92ca29b9085aaba7b854580f2c48
2016-06-02 13:55:39 -07:00
Philip P. Moltmann
cd7b1b7cdf Do not rotate PDFPrinter pages.
- applyPrintAttributes is only used by PDFPrinter

Fixes: 29057330
Change-Id: I883cc64039f4ca2c93810e99d758f2dceec67a8b
2016-06-02 20:53:53 +00:00
Jeremy Joslin
967b5815fb Fix #29073394: Need to bind to scorer after user is unlocked.
Scoring apps aren't required to be encryption aware so they may not
be discovered and bound to when the PM is queried during bootup.
To fix this we perform discovery after ACTION_USER_UNLOCKED is seen.

BUG: 29073394
Change-Id: Ic423f3f06f42932724e5f7cc53ede3be1c4f2f13
2016-06-02 13:50:40 -07:00
Christopher Tate
4872e3df96 Merge "Don\'t back up/restore the "automatically restore app data" setting" into nyc-dev
am: 453951d077

* commit '453951d0777b1421e95bbcac501fb8b091c0f6a3':
  Don't back up/restore the "automatically restore app data" setting

Change-Id: Ia04215f6597dc3221bda438feb4921d53c1725fc
2016-06-02 20:49:27 +00:00
Chris Tate
453951d077 Merge "Don't back up/restore the "automatically restore app data" setting" into nyc-dev 2016-06-02 20:45:16 +00:00
Chong Zhang
6725472329 Fix scroll amount calculation in ViewRootImpl
When calculating scroll amount, we should check whehter focus
is visible using before-scrolling position.

It's possible that the view is already scrolled, then visible
insets changes (eg. IME went away). Previous scroll position
still makes the focus visible, but it will leave the focus
in a bad position when it should be scrolled back.

bug: 29025892
Change-Id: I091f16bebc4c1e5ba831616c51ab2ac75d4c4b3c
2016-06-02 13:33:40 -07:00
Adrian Roos
237ffa48d0 Fix BigText transitions
Fixes a bug where BigText would never transition
between the expanded and collapsed version because
padding was wrongly taken into account when checking
the view height.

Change-Id: I4df242b4133dacdff77b78cc2d4ff3954b75b8a7
Fixes: 29042222
2016-06-02 13:16:30 -07:00
Billy Lamberta
9fec73a47c docs: work minisite post-launch fixes
* Localization for table of contents.

* Replace occurrences of 'app restrictions' with the preferred
term 'managed configurations' (see go/afw-words). Update resource
card titles and add page redirects.

* In guide, update language for SSO with Chrome Custom Tabs.
(Cherry-picked from 1056063.)

* Add resource card for 'Your Apps at Work' video.

bug: 28378252, 27744376
Change-Id: I8bc2e87d0486159bdd6680600b783af7334c3a58
2016-06-02 13:04:57 -07:00
Hall Liu
209414015c DO NOT MERGE Disable app pinning when emergency call button pressed
Also disables app pinning when the "return to call" button is pressed
and brings up the in-call screen when app pinning is stopped if there is
an existing call.

Combination of ag/1091397 and ag/1085584 adapted for MNC.

Bug: 28558307
Bug: 28761672
Change-Id: I82ec4042bff387c845ce571b197a4a86e1dd5ec8
2016-06-02 12:58:01 -07:00
Jorim Jaggi
8524697351 Merge "Also update setMinLines" into nyc-dev
am: 79c0b2bcbb

* commit '79c0b2bcbbf2677de9a05c4baaa07c6796ea1583':
  Also update setMinLines

Change-Id: I34792f349b421e20849ad1db2a28d2751c994189
2016-06-02 19:45:09 +00:00
Jorim Jaggi
79c0b2bcbb Merge "Also update setMinLines" into nyc-dev 2016-06-02 19:34:57 +00:00
Julia Reynolds
f584b1d96d Merge "Fix leak on density change." into nyc-dev
am: a31ac7ddfb

* commit 'a31ac7ddfbccdb602aebb05686fcdb582ba74752':
  Fix leak on density change.

Change-Id: I8c474e29100543668a2348baca5f34b868cf8893
2016-06-02 19:31:11 +00:00
Julia Reynolds
9548013287 Merge "Hide alarm condition if there\'s no alarm." into nyc-dev
am: 62716a9197

* commit '62716a9197ba77b349d74770e6cd3b114e5f5de7':
  Hide alarm condition if there's no alarm.

Change-Id: Ib6c339aa3d00639fcad3bc15791787a52010a84f
2016-06-02 19:30:52 +00:00
Julia Reynolds
b44ef7eb43 Fix memory leak via ZenModeController callbacks.
Bug: 29064258
Change-Id: Ie817ec50206ce23561775fc0ac178754b946f030
2016-06-02 19:30:50 +00:00
TreeHugger Robot
a31ac7ddfb Merge "Fix leak on density change." into nyc-dev 2016-06-02 19:24:16 +00:00
Julia Reynolds
62716a9197 Merge "Hide alarm condition if there's no alarm." into nyc-dev 2016-06-02 19:22:37 +00:00
Jorim Jaggi
6afd156414 Fix unminimizing dock stack for AppTask.moveToFront
Some apps call AppTask.moveToFront instead of startActivity from
their trampoline activity. We need to handle this case also and
need to do all the post processing after starting an activity
so the docked stack gets unminimized.

Change-Id: I8400995bf1d1a4a4467d01fd55fca7e5800b4645
Fixes: 28722017
2016-06-02 19:14:06 +00:00
Dianne Hackborn
c9aaec43a6 Merge "Work on issue #29042642: Watchdog going off" into nyc-dev
am: 5a6cf3ac9a

* commit '5a6cf3ac9a3945c2d1f0e5e28ffda9e52124eb15':
  Work on issue #29042642: Watchdog going off

Change-Id: Ic0c08c2ab1c0e7b1cc195928492ab4c0eaef782f
2016-06-02 18:49:29 +00:00
Dianne Hackborn
5a6cf3ac9a Merge "Work on issue #29042642: Watchdog going off" into nyc-dev 2016-06-02 18:31:16 +00:00
Julia Reynolds
c3960f66be Hide alarm condition if there's no alarm.
Change-Id: Iba8c9eb2bd3033683c25c5cf145fc52f9ac0f0d2
Fixes: 27698976
2016-06-02 18:06:01 +00:00
songjinshi
0655edd611 Fixes the system server crash issues caused by null pointer in
NetworkPolicyManagerService.

if the multi user occurs switch and remove then to getPackagesForUid 
the return value will got null,because the user remove is not synced
with the getPackagesForUid,so we must check the return value for 
getPackagesForUid to avoid the crash.

https://code.google.com/p/android/issues/detail?id=211972

Change-Id: If921582da86dbe862f2dad337b0a8d1f20593c99
Signed-off-by: songjinshi <songjinshi@xiaomi.com>
2016-06-02 17:56:09 +00:00
James Hawkins
899608a83f am/UserController: Log system uptime at two 'boot complete' markers.
ACTION_LOCKED_BOOT_COMPLETED and ACTION_BOOT_COMPLETED.

Bug: 28070626
Change-Id: I6ff8e840a1c1faf804d6889ac0c3ad96cca8d6f3
(cherry picked from commit 64ce4e7e81)
2016-06-02 10:52:23 -07:00
David Brazdil
7397e80504 Merge "Do not update packages in encrypted state" into nyc-dev
am: c4f1bc4032

* commit 'c4f1bc40326c10fde55f07230e3fe3067d70fbfa':
  Do not update packages in encrypted state

Change-Id: Icdba2e72de1dbc284780df7f59cbdc56ff061ba1
2016-06-02 16:21:27 +00:00
David Brazdil
c4f1bc4032 Merge "Do not update packages in encrypted state" into nyc-dev 2016-06-02 16:16:27 +00:00
Mady Mellor
ece7cd7120 Merge "Parent notifications should always be normal notification color" into nyc-dev
am: 09ca7e73c0

* commit '09ca7e73c0e3384a57e4e4fc7c25fd52ca540d98':
  Parent notifications should always be normal notification color

Change-Id: I581aed7e42200d5b78a5e7ac396c76eed883450c
2016-06-02 16:14:53 +00:00
Mady Mellor
09ca7e73c0 Merge "Parent notifications should always be normal notification color" into nyc-dev 2016-06-02 16:09:16 +00:00
Zoltan Szatmary-Ban
6b9371ceef Merge "Only reset global restriction owner on DO->PO for the right user" into nyc-dev
am: 2002061f34

* commit '2002061f349edfbf583b115af647f0ca34cf749e':
  Only reset global restriction owner on DO->PO for the right user

Change-Id: Ifb8b333ff367cbcd24333e3b46aa060060b384ed
2016-06-02 16:02:56 +00:00
TreeHugger Robot
2002061f34 Merge "Only reset global restriction owner on DO->PO for the right user" into nyc-dev 2016-06-02 15:59:25 +00:00
Selim Cinek
5df763e177 Merge "Fixed that volume buttons were not working on the pin input" into nyc-dev
am: 8e2a2fa98c

* commit '8e2a2fa98c9ca077681acf13abfb6252c3859e0f':
  Fixed that volume buttons were not working on the pin input

Change-Id: I6deb8c3a706c69bebeb29f46aab10c32f8f705af
2016-06-02 15:47:45 +00:00
Selim Cinek
bf11142c36 Merge "Fixed a crash with notification groups" into nyc-dev
am: c152dacc37

* commit 'c152dacc37bd850b06a37e18fba77308e8c9f939':
  Fixed a crash with notification groups

Change-Id: I6b76008e357e6459abc2775f992d95bd6a706e68
2016-06-02 15:47:41 +00:00
TreeHugger Robot
8e2a2fa98c Merge "Fixed that volume buttons were not working on the pin input" into nyc-dev 2016-06-02 15:41:20 +00:00
TreeHugger Robot
c152dacc37 Merge "Fixed a crash with notification groups" into nyc-dev 2016-06-02 15:41:10 +00:00
Chris Wren
35f49c5968 Merge "make the notification enqueue rate threshold a setting" into nyc-dev
am: 43c3a7e5a7

* commit '43c3a7e5a781640b862cf6f51805b3823f46fd02':
  make the notification enqueue rate threshold a setting

Change-Id: I3e8c37aead7e1f2d5dc9fc89b72f82294bd16cfe
2016-06-02 15:13:43 +00:00
TreeHugger Robot
43c3a7e5a7 Merge "make the notification enqueue rate threshold a setting" into nyc-dev 2016-06-02 15:08:03 +00:00
Ricky Wai
140fe982df Merge "Do not use cached tile specs value in QSTileHost.addTile()" into nyc-dev
am: 390a0ca025

* commit '390a0ca025ce9b0849150a0c87641c33b292cc35':
  Do not use cached tile specs value in QSTileHost.addTile()

Change-Id: I5933bba5ef093cb9593673d708030de275797539
2016-06-02 15:08:03 +00:00
Chris Wren
763a9bb095 make the notification enqueue rate threshold a setting
Bug: 28693065
Change-Id: I08bd2ed342d5347c0075183b239558c50ada4a0a
2016-06-02 15:07:20 +00:00
Julia Reynolds
f4d803d463 Fix leak on density change.
Bug: 29064258
Change-Id: I9d579cc17fe4554a6a4aa57c409cef72bdee74bd
2016-06-02 10:57:02 -04:00
Ricky Wai
390a0ca025 Merge "Do not use cached tile specs value in QSTileHost.addTile()" into nyc-dev 2016-06-02 14:56:51 +00:00
David Brazdil
89c80bb631 Do not update packages in encrypted state
SystemServer used to run PMS.updatePackagesIfNeeded even when the
device is booting in encrypted state only with core packages
available. This is redundant because the packages are prebuilts
(OAT files always up to date) and the data partition is not mounted
yet, so we are only wasting time opening the OAT files and testing
checksums. Additionally, the attempt to update these packages gets
reported to TRON stats as time spent in the Optimizing Apps dialog
and skews the results.

This patch does not call updatePackagesIfNeeded when in the device
is in encrypted state.

Bug: 28833829
Change-Id: I8641d07a8840948ffe261dfb8f99f70de7341972
2016-06-02 15:45:03 +01:00
Shubham Ajmera
85a5fa0e76 Track lilbcore change 3ad0f67b98b61cc3f047e3cf6fe8f94d5f2ef5e5
Bug: 27331465
(cherry-picked from commit 0652d1c024)
Change-Id: I1a3dd1a550b081535eb8bf79b43edff46da58d6b
2016-06-02 12:34:04 +00:00
Shubham Ajmera
99296c2100 Merge "Track lilbcore change 3ad0f67b98b61cc3f047e3cf6fe8f94d5f2ef5e5" am: 4d14e9d461
am: 4b44cb24b4

* commit '4b44cb24b4d8bb938451321d26216bc2a01d6411':
  Track lilbcore change 3ad0f67b98b61cc3f047e3cf6fe8f94d5f2ef5e5

Change-Id: I08c901400757ca6cd3525083bb43840947306039
2016-06-02 10:55:04 +00:00