Commit Graph

255075 Commits

Author SHA1 Message Date
Jorim Jaggi
3c5d0f1041 Close IME when attaching dock stack
So we don't end up with animation weirdness.

Bug: 28905720
Change-Id: I04124995dd99fa26d2e9be467c5976d7b20810a7
2016-05-27 21:08:39 +00:00
Selim Cinek
fb9d25e14a Merge "Added strings for translation with the expand affordance" into nyc-dev
am: 08c46581a2

* commit '08c46581a28a90c108e6a548f39a829446464d4d':
  Added strings for translation with the expand affordance

Change-Id: Iedf280b61c678bd97054e07acae7466760aed5dd
2016-05-27 20:53:17 +00:00
Selim Cinek
0d33e08779 Merge "Fixed a bug where a notification could be stuck in the overlay" into nyc-dev
am: 2fba229166

* commit '2fba229166213fe755ce9d1c982ff191e885c854':
  Fixed a bug where a notification could be stuck in the overlay

Change-Id: I139233be3769760c0b7b9730a246cc6358dbd21f
2016-05-27 20:53:10 +00:00
Selim Cinek
08c46581a2 Merge "Added strings for translation with the expand affordance" into nyc-dev 2016-05-27 20:47:22 +00:00
Selim Cinek
2fba229166 Merge "Fixed a bug where a notification could be stuck in the overlay" into nyc-dev 2016-05-27 20:47:07 +00:00
Hall Liu
7dac366a7f 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.

Bug: 28558307
Change-Id: I7672123bfa6ba6b5e960bd5166876c50425d3f76
2016-05-27 13:46:27 -07:00
Daniel Yu
0cc7c69bf7 docs: Updating GuidedStepFragment for 23.2, new action types
Adding docs for some updates for GuidedStepFragment and GuidedAction
done in support lib v23.2. Includes docs on date picker actions,
subactions (new subsection), button actions (new subsection).
Adding docs for popBackStackToGuidedStepFragment and
finishGuidedStepFragments convenience methods.
Also updating page keywords so this page has better search
discoverability.

Staged: https://android-dot-devsite.googleplex.com/training/tv/playback/guided-step.html

Bug: 26902886
Original SHA1: I792bbe6696cd144dbb6319b3c4eb44e67390217d

Change-Id: I57aeb9deb59bb2cdf5a062b24916b625e1553cf0
2016-05-27 13:44:04 -07:00
Felipe Leme
feaa8982fc Merge "Allow apps to bypass Power Save restrictions when launched from a Notification\'s PendingIntent." into nyc-dev
am: efa291a860

* commit 'efa291a8605e91d775faf46ada349ec7f81fcdb9':
  Allow apps to bypass Power Save restrictions when launched from a Notification's PendingIntent.

Change-Id: I11bf96280ac5e143d5260cb20238da38b4e0eaa3
2016-05-27 20:04:25 +00:00
Chong Zhang
741c0ba8aa Revert commits related to wallpaper cropping
bug: 28763785
related-to: 27989717
related-to: 28887408

Revert "Fix wallpaper crop during unlock animation"

This reverts commit 616c7c10b9.

Revert "Fix wallpaper cropped too soon when unminimizing dock"

This reverts commit f0b76b071c.

Revert "Set final crop on wallpaper instead of intersect clip with stack bounds"

This reverts commit dcf0183cea.

Revert "Crop wallpaper windows to their current target stack bounds"

This reverts commit e6cb450b0d.
2016-05-27 13:01:48 -07:00
TreeHugger Robot
efa291a860 Merge "Allow apps to bypass Power Save restrictions when launched from a Notification's PendingIntent." into nyc-dev 2016-05-27 19:58:24 +00:00
Greg Hackmann
f68cdb9cb4 AlarmManagerService: remove legacy /dev/alarm support
We've removed the Android alarm driver from our supported kernels.  It's
time to remove the userspace callers too: they make the native side of
AlarmManagerService more complex, and send the wrong signal about
/dev/alarm still being supported.

Bug: 28357356

Change-Id: I225d76c3f4e695a831d4419e050e8e178e1224b5
Signed-off-by: Greg Hackmann <ghackmann@google.com>
2016-05-27 12:55:02 -07:00
Adrian Roos
0533dfb2ca Change app crash dialog strings
Change the reopen option and remove unreferenced reset string.

Change-Id: Ie0a5a5615a7d7e8d01927743ffa13f1ab1099774
Fixes: 28813950
2016-05-27 12:37:32 -07:00
Adrian Roos
ad028c1616 Simplify crash dialog
Remove "Reopen app" for background crashes, remove "Close"
for foreground crashes.

Make crash dialog cancelable with back / tapping outside.

Remove reset option for repeating crashes.

Change-Id: I3773ee6b6986efa35da30830fec223300cda5d75
Fixes: 28768481
Fixes: 28740658
2016-05-27 12:23:42 -07:00
Selim Cinek
9d84d9ee51 Added strings for translation with the expand affordance
Bug: 28069681
Change-Id: Ifebc146ed249e6133625607cfc361957e4491882
2016-05-27 12:14:20 -07:00
Adrian Roos
5e47645f6d Fix status bar autohide with DirectReply
If a touch outside the status bar window is detected
we schedule autohiding the status bar - which is wrong
when that touch is due to touching the IME for DirectReply.

Bug: 28914905
Change-Id: Ic86612192368181f195fa54ac4f20edaf02af685
2016-05-27 12:07:37 -07:00
Selim Cinek
077ba466d4 Merge "Fixed a few memory leaks in SystemUI" into nyc-dev
am: 4f401f24c7

* commit '4f401f24c79c26a0554331bf13948e402c611015':
  Fixed a few memory leaks in SystemUI

Change-Id: Ief7f5bd3a0386ec2187ec4adf9c23463a9375bd7
2016-05-27 19:05:57 +00:00
Selim Cinek
4f401f24c7 Merge "Fixed a few memory leaks in SystemUI" into nyc-dev 2016-05-27 18:58:56 +00:00
Siyamed Sinir
6fe1ab7f21 Merge "Revert "Fix TextView layout reuse when maxLines is set"" into nyc-dev
am: 990e26118d

* commit '990e26118d5b6cad2d34483b1908ba6f8334a764':
  Revert "Fix TextView layout reuse when maxLines is set"

Change-Id: I543c1944fafb920b697eb87c92cf0d4ae8339e54
2016-05-27 18:50:51 +00:00
Adrian Roos
dd654eaf40 Fix IME and NavBar overlap with Direct Reply
In phone landscape, when the navigation bar is on the right,
and when the status bar is forcing the IME and NavBar, make
sure that the nav bar and IME don't overlap, even if the
NavBar is only transient.

Bug: 28914905
Change-Id: I22921f1aca7970c2d02dfd88408eb15c5b17151f
2016-05-27 11:46:15 -07:00
Siyamed Sinir
361f03c4e2 Merge "Set StaticLayout.maxLines only when ellipsize is set" into nyc-dev
am: 92d0316d28

* commit '92d0316d2837baceffb22e1a7eb0e5da50f0a025':
  Set StaticLayout.maxLines only when ellipsize is set

Change-Id: I2b0281da1d8aba5f84da01c00f31d79af901db35
2016-05-27 18:45:20 +00:00
Felipe Leme
a1b79bfd7a Allow apps to bypass Power Save restrictions when launched from a Notification's PendingIntent.
This scenario typically happens when the device is on Doze Mode and a
notification action is triggered from a Wear device.

In a nutshell, the workflow is:

- ProcessRecord has a flag telling whether a process has "whitelist
  management" privileges.
- When NotificationManager binds a new NotificationListenerService, it
  sets the BIND_ALLOW_WHITELIST_MANAGEMENT flag.
- On bind(), ActiveService asserts that only system apps can set that
  flag.
- On computeOomAdjLocked(), ActivityManagerService sets the
  ProcessRecord flag if necessary.
- Upon creating a notification, NotificationManager calls AM to mark its
  PendingIntents as coming from a notification.
- When PendingIntentRecord sends it to the target, it checks if it's
  from a notification and if so calls AM to do the temp whitelist.
- On unbind(), ActiveService removes the ProcessRecord flag if necessary.

Fixes: 28818704

Change-Id: I00d46036a2cbb73f7f733fd35bf0b743a02807a1
2016-05-27 11:45:09 -07:00
Siyamed Sinir
990e26118d Merge "Revert "Fix TextView layout reuse when maxLines is set"" into nyc-dev 2016-05-27 18:34:30 +00:00
Siyamed Sinir
92d0316d28 Merge "Set StaticLayout.maxLines only when ellipsize is set" into nyc-dev 2016-05-27 18:34:30 +00:00
Selim Cinek
f55f1bcb94 Fixed a bug where a notification could be stuck in the overlay
Change-Id: Idf07b1948b9baeff095fbeccd417cdad1e81e7f8
Fixes: 28992452
2016-05-27 11:19:11 -07:00
Chih-hung Hsieh
86f5b560af Merge "Fix misc-macro-parentheses warnings in DngCreator." am: d439efc361
am: cfae35a400

* commit 'cfae35a4007316cdff280ecce3d71d8d6074bccc':
  Fix misc-macro-parentheses warnings in DngCreator.

Change-Id: I0e6297b1e2182d4209bf6744e9d35e574883d7da
2016-05-27 18:16:02 +00:00
Mark Goldstein
90045710ca Merge "Doc change: Fix broken link." into mnc-io-docs am: d643ab1ddb am: f9d8f6c5f3
am: 7f1330358a

* commit '7f1330358ac8037e440f0a66f9abed0f5db0481f':
  Doc change: Fix broken link.

Change-Id: I539b08283eee0c0d00fb5c04a97fd01c02780dd4
2016-05-27 18:09:54 +00:00
Chih-Hung Hsieh
cfae35a400 Merge "Fix misc-macro-parentheses warnings in DngCreator."
am: d439efc361

* commit 'd439efc361535701f6d2d0b82cfa22b9d4a5898b':
  Fix misc-macro-parentheses warnings in DngCreator.

Change-Id: I5fd1127ff3efde3b44ac6d358d48665f89d54e01
2016-05-27 18:09:49 +00:00
Mark Goldstein
7f1330358a Merge "Doc change: Fix broken link." into mnc-io-docs am: d643ab1ddb
am: f9d8f6c5f3

* commit 'f9d8f6c5f36b07961f2d38b43c991ed679022f7e':
  Doc change: Fix broken link.

Change-Id: Iee76c1e357f2c67362d951f567bc3498c208fb35
2016-05-27 17:57:50 +00:00
Chih-hung Hsieh
d439efc361 Merge "Fix misc-macro-parentheses warnings in DngCreator." 2016-05-27 17:56:46 +00:00
Doris Liu
028029730b Copy native tree's property when mutate vector drawable
When mutating vector drawables, we need to not only copy over
the VD tree structure, but also the properties of the VD tree,
such as alpha.

Bug: 28974071
Change-Id: I265e7e3cb92455b876cae248bcb9811230cb34f9
2016-05-27 10:54:55 -07:00
Mark Goldstein
f9d8f6c5f3 Merge "Doc change: Fix broken link." into mnc-io-docs
am: d643ab1ddb

* commit 'd643ab1ddb737aeb6636c61839cb64bdc7348c04':
  Doc change: Fix broken link.

Change-Id: Ia1a9fdd18486ecf34d4a577f0e7f9d9570f748a3
2016-05-27 17:46:38 +00:00
Mark Goldstein
d643ab1ddb Merge "Doc change: Fix broken link." into mnc-io-docs 2016-05-27 17:37:37 +00:00
Mady Mellor
c7d65b4e9c Adds alpha to dimmed backgrounds
If you're on the lock screen and a child background needs
to be shown (e.g. custom background and user expanding) the
background should fade in from 0 alpha otherwise looks odd
visually.

Bug: 27591195
Change-Id: I1f46831fd8b46eca5b54e7bd964af35752c4fa2f
2016-05-27 10:36:55 -07:00
Jeremy Joslin
1ec8cd9542 Fix issue #28930592: Scoring service binding is not reestablished.
Force stopping the bound scoring service would not automatically
reestablished the binding.

Replaced the custom BroadcastReceiver with a more standard
PackageMonitor implementation that handles the same actions in
addition to force stop.

Also added a few more debug log statements as they were helpful
during my development.

BUG: 28930592
Change-Id: Ic36ea77deb5e2117edc201e97d71be63bdd4230d
2016-05-27 10:34:29 -07:00
Jaewan Kim
cac5be859f Merge "PIP: Improve PIP control row\'s focus change animation in Recents" into nyc-dev
am: f8c504db7f

* commit 'f8c504db7f2e0e35c5fa19cad46681dc17db7488':
  PIP: Improve PIP control row's focus change animation in Recents

Change-Id: Ic1633d3a1f03fbb000a70743b13a8b4483c3279a
2016-05-27 17:33:48 +00:00
Jae Seo
f8c504db7f Merge "PIP: Improve PIP control row's focus change animation in Recents" into nyc-dev 2016-05-27 17:23:58 +00:00
Jason Monk
582ee3eb65 Merge "QS: Handle detail scroll properly" into nyc-dev
am: 4f620d423f

* commit '4f620d423f82dd43ed79178e0091132dd49ca2a9':
  QS: Handle detail scroll properly

Change-Id: I4614a2999aba2f5bc836f7fab21912fb75be1f65
2016-05-27 17:02:49 +00:00
Chris Wren
14c87a5f3f Merge "add metrics for gestural notification expansions" into nyc-dev
am: cd9ea74659

* commit 'cd9ea74659be1f831eb160dd14648de046c75073':
  add metrics for gestural notification expansions

Change-Id: I7594a6cbe91fe4a0c51193d24cc6e72f58d4fb02
2016-05-27 16:57:49 +00:00
Julia Reynolds
0a5b17a1dc Merge "Announce upcoming tile state on click." into nyc-dev
am: 293c967667

* commit '293c96766727517b5a94008a43d308a6d990faea':
  Announce upcoming tile state on click.

Change-Id: I41a5cb30a677bc80dd50a8ae2dc7560019fd16ce
2016-05-27 16:57:40 +00:00
Zoltan Szatmary-Ban
8a5536d53e Only reset global restriction owner on DO->PO for the right user
Bug:28972648
Change-Id: I4ef727205bbd8ec319672480bac7b519b33d2a58
2016-05-27 17:56:44 +01:00
Jason Monk
4f620d423f Merge "QS: Handle detail scroll properly" into nyc-dev 2016-05-27 16:51:48 +00:00
TreeHugger Robot
cd9ea74659 Merge "add metrics for gestural notification expansions" into nyc-dev 2016-05-27 16:49:58 +00:00
Julia Reynolds
293c967667 Merge "Announce upcoming tile state on click." into nyc-dev 2016-05-27 16:48:25 +00:00
Toni Barzic
6c8187282e Clear calling identity before calling mountService
Change I8106bfba28da401b9fd38349c6a9fa9a24f54712 unwittingly
reintroduced requirement for apps that change password to have
STORAGE_INTERNAL permission.
This fixes the problem by clearing calling identity before
calling mountServce in fixateNewestUserKeyAuth, like it's done
in addUserKeyAuth.

BUG=28154455
BUG=27600227

Change-Id: I1bcd9f6eefa892b021d93df2638c8dba4d4b5400
2016-05-27 09:28:57 -07:00
Ruchi Kandoi
cea28a3935 Merge "PowerManager: Adds Documentation to isSustainedPerformanceModeSupported()" into nyc-dev
am: 7730e57dc6

* commit '7730e57dc6624a66cdc35260f855a467fadc7b04':
  PowerManager: Adds Documentation to isSustainedPerformanceModeSupported()

Change-Id: I49a0d514677a513aa85c98031a1a111657c6398b
2016-05-27 16:28:03 +00:00
Ruchi Kandoi
7730e57dc6 Merge "PowerManager: Adds Documentation to isSustainedPerformanceModeSupported()" into nyc-dev 2016-05-27 16:20:43 +00:00
Alan Viverette
9ab249bef2 Merge "resolve merge conflicts of f118700 to nyc-dev-plus-aosp" into nyc-dev-plus-aosp 2016-05-27 15:09:19 +00:00
Alan Viverette
99de597c71 resolve merge conflicts of f118700 to nyc-dev-plus-aosp
Change-Id: I6fc2b3d279318c5c34a1f4b2921d3c1eff8ac627
2016-05-27 11:04:59 -04:00
Paul Jensen
ae8f345d15 Merge "Don\'t drop IPv4 broadcast packets when WiFi multicast lock is held" into nyc-dev
am: 83e50327fc

* commit '83e50327fcf24e4d17a341cc2efaafc95046a8f9':
  Don't drop IPv4 broadcast packets when WiFi multicast lock is held

Change-Id: I1cae052945f3366c2d1669cd37118851239d0f07
2016-05-27 15:03:53 +00:00
Julia Reynolds
d8834773eb Announce upcoming tile state on click.
Change-Id: Ib804b5db13bbee07c6d45e8aa077cac60e28efb2
Fixes: 28964765
2016-05-27 11:01:55 -04:00