Commit Graph

246497 Commits

Author SHA1 Message Date
Chong Zhang
132b269bd5 Merge "Fixes for restoring more than one child surfaces" into nyc-dev
am: 7e7449f18a

* commit '7e7449f18af5485fd49d9401fb887435224ebde2':
  Fixes for restoring more than one child surfaces

Change-Id: I28a7688752c8e90887002d0be0c7bed0523ce433
2016-05-10 21:36:51 +00:00
Adam Powell
56e2aeba8f Merge "Move Activity multi-window event logic out of the public methods" into nyc-dev 2016-05-10 21:34:29 +00:00
Chong Zhang
44aabe4b72 Disable keep_screen_on traces
bug: 28692100
bug: 27522448

Change-Id: Ic077e8985f1f21bc111287813fb2992ed01df909
2016-05-10 21:34:01 +00:00
Winson Chung
9e935820b5 Merge "Reducing the number of recent tasks we keep." into nyc-dev 2016-05-10 21:33:33 +00:00
Chong Zhang
7e7449f18a Merge "Fixes for restoring more than one child surfaces" into nyc-dev 2016-05-10 21:30:40 +00:00
Makoto Onuki
c51b2876ec Refactoring ShortcutManager + bug fixes.
- Don't pass the ShortcutService instance as an argument.  This tiny
optimization is no longer meaningful now that PackageShortcut and
PackageLauncher have reference to ShortcutUser.

- Rename mLauncherComponent to mDefaultLauncherComponent for clarity.

- Don't instantiate ShortcutPackage instances when not needed.

- Don't allow intents with a null action.

- Also improve javadoc.

Bug 28592642
Bug 28474517
Bug 28557169

Change-Id: I8790d3494bf3b92c143c02824b0ed0e514504baa
2016-05-10 14:28:31 -07:00
Mary Yanchar
27f5e091d0 Merge "Updating redirects to correct Studio Tips and Tricks am: 8e2431513f am: 908a8703f0 am: c712fdcc45" into nyc-dev
am: 79e28a53ea

* commit '79e28a53ea133cff6d031528cefea72dee9b0817':

Change-Id: I701857e4e461f1d7ec86fd0227f22a7bd319d6e4
2016-05-10 21:28:29 +00:00
Doug Felt
f6858e5f2d Merge "Remove rifle (1F946) from emoji font." into nyc-dev
am: 0a9c387847

* commit '0a9c387847db52dfcfbb134916f51211560a290c':
  Remove rifle (1F946) from emoji font.

Change-Id: I0489385d7e578715613be1a0b6e3c8e087cd9119
2016-05-10 21:28:25 +00:00
Mary Yanchar
92c35129ef Merge "Updating redirects to correct Studio Tips and Tricks am: 8e2431513f am: 908a8703f0 am: c712fdcc45" into nyc-dev
am: ad9765e5e6

* commit 'ad9765e5e62f6c989159b916a25b04eb2fe6adaf':
  Updating redirects to correct Studio Tips and Tricks

Change-Id: I279d47e516143bc1593d7e3096877410b7718484
2016-05-10 21:28:21 +00:00
Android Build Merger (Role)
79e28a53ea Merge "Updating redirects to correct Studio Tips and Tricks am: 8e2431513f am: 908a8703f0 am: c712fdcc45" into nyc-dev 2016-05-10 21:25:17 +00:00
Keisuke Kuroyanagi
61e162e0e9 Merge "Sum up character widths to get the last line width for ellipsis." into nyc-dev
am: f2cbf95b6b

* commit 'f2cbf95b6b48d0c5dea14db4edbd255ff751beaa':
  Sum up character widths to get the last line width for ellipsis.

Change-Id: I28193273103bf68fbd778048540c35dbf9a51170
2016-05-10 21:25:13 +00:00
Mary Yanchar
2162bc8cf6 Updating redirects to correct Studio Tips and Tricks am: 8e2431513f am: 908a8703f0
am: c712fdcc45

* commit 'c712fdcc4524face58cec7afd711a4d66db80e8d':
  Updating redirects to correct Studio Tips and Tricks

Change-Id: I04d4614b395e74e058b6b727f254612fa5d62d98
2016-05-10 21:24:50 +00:00
Doug Felt
0a9c387847 Merge "Remove rifle (1F946) from emoji font." into nyc-dev 2016-05-10 21:24:36 +00:00
Android Build Merger (Role)
ad9765e5e6 Merge "Updating redirects to correct Studio Tips and Tricks am: 8e2431513f am: 908a8703f0 am: c712fdcc45" into nyc-dev 2016-05-10 21:22:57 +00:00
Mary Yanchar
555ed25cff Updating redirects to correct Studio Tips and Tricks am: 8e2431513f am: 908a8703f0
am: c712fdcc45

* commit 'c712fdcc4524face58cec7afd711a4d66db80e8d':
  Updating redirects to correct Studio Tips and Tricks

Change-Id: Iecda302c587733e8cd8f741aa8af52cb1cf8975c
2016-05-10 21:22:33 +00:00
Sid Soundararajan
724971bac7 Remove Graphic from No Recents Screen on TV.
BUG: 28054169
Change-Id: I5fb60276eed587614409ac7e054315f256015796
2016-05-10 14:22:22 -07:00
Mary Yanchar
c712fdcc45 Updating redirects to correct Studio Tips and Tricks am: 8e2431513f
am: 908a8703f0

* commit '908a8703f0119367255d1d1a184f2f9b9b9c074a':
  Updating redirects to correct Studio Tips and Tricks

Change-Id: I4425c56a5e44b9c4426fab180ebcfbce702e660d
2016-05-10 21:19:54 +00:00
Adarsh Fernando
2ba8e2a120 Docs: Added new Whitelist feature to Data Saver for DP3
Bug: 28447739
Change-Id: I064d927435b1b71d13b8728493060019f84805c1
2016-05-10 14:19:07 -07:00
Keisuke Kuroyanagi
f2cbf95b6b Merge "Sum up character widths to get the last line width for ellipsis." into nyc-dev 2016-05-10 21:16:02 +00:00
Mary Yanchar
908a8703f0 Updating redirects to correct Studio Tips and Tricks
am: 8e2431513f

* commit '8e2431513fbc32b64e240b9b39995b1217111bc6':
  Updating redirects to correct Studio Tips and Tricks

Change-Id: I16c631bb7ec38fba7ba11132c85e90cb205ff26d
2016-05-10 21:13:51 +00:00
Paul Crowley
dd05d2d150 Merge "Revert "Two phases to set the password for disk encryption"" into nyc-dev
am: f829c1463b

* commit 'f829c1463b4805545d15924ad6243b9405eb83d6':
  Revert "Two phases to set the password for disk encryption"

Change-Id: Ia2d8b2e751a42771cfa5fedbf47b73be6491820c
2016-05-10 21:13:51 +00:00
Selim Cinek
6ac3fa8ebd Fixed a bug where the content wasn't transforming in a group
Too many booleans.

Change-Id: I1451484b1abcae3880448db60cff18ad97e9505f
Fixes: 28677158
2016-05-10 17:11:54 -04:00
Paul Crowley
f829c1463b Merge "Revert "Two phases to set the password for disk encryption"" into nyc-dev 2016-05-10 21:07:59 +00:00
Antonio Cansado
de224ba451 Merge "Addressing API council comments on NetworkStatsManager." into nyc-dev
am: dc5f558640

* commit 'dc5f558640da8785fabc274167ec37a0fda30cd6':
  Addressing API council comments on NetworkStatsManager.

Change-Id: I9d884ed999b507ab172418f068c10483422643d3
2016-05-10 21:05:16 +00:00
Adrian Roos
d390b893ea Fix density change bugs in SystemUI
- Reinflate KeyguardUserSwitcher on density changes.
- Update size of UserAvatar on Keyguard.
- Fix brightness slider width in quick settings.
- Refetch and rescale user icons on density changes.

Change-Id: I961c59b8b224d6ac22cbbb8e115b8a12547a04b9
Fixes: 28535987
Fixes: 28454340
2016-05-10 21:01:43 +00:00
Winson
7c40291b0a Reducing the number of recent tasks we keep.
- This should decrease the time it takes to fetch the recent task list,
  and also reduce the number of tasks we store on-disk.
- Since a user can still open a fair number of tasks within the 
  time-window, and this list includes tasks that are excluded from the 
  UI, we are just reducing it to about half for the time being.

Bug: 28318359
Change-Id: Ie21b3d3d09a567007015fbbecaf914123c71cc06
2016-05-10 21:01:33 +00:00
Adam Lesinski
991357fe25 BluetoothManager: Make requestControllerActivityInfo one call
Instead of making multiple calls into the Bluetooth service,
make one call that can timeout. This helps prevent cases
when the Bluetooth process hangs and the system_server is calling into
it and causes a WATCHDOG restart.

Bug:28658141
Change-Id: I37778b7b6e508be420a21bdf23593ae89b38f5b8
2016-05-10 14:00:03 -07:00
Antonio Cansado
dc5f558640 Merge "Addressing API council comments on NetworkStatsManager." into nyc-dev 2016-05-10 20:58:33 +00:00
Makoto Onuki
3ff4120047 Merge "Clean up dangling bitmaps." into nyc-mr1-dev 2016-05-10 20:57:04 +00:00
Robert Carr
bf9e17b181 PopupWindow: Be more careful with FLAG_LAYOUT_NO_LIMITS
If we intend to clip to the screen we can't pass NO_LIMITS.
Luckily the default behavior for LAYOUT_IN_PARENT_FRAME is to not
clip to the parent frame, so we don't have to do anything except
update our local flag we use for explicit size calculations.

Bug: 28194524
Change-Id: I1465efce7f5412cf646bccd83e23a4b049f4dbc4
2016-05-10 13:56:21 -07:00
Wang Le
43347149dc Merge "Fix the issue that App crash on startForeground" into nyc-dev
am: 0df1ca8ab3

* commit '0df1ca8ab34e543b74ed8170bf12c2d5b6eda3a6':
  Fix the issue that App crash on startForeground

Change-Id: Id900ecfa8cef9cd0135edd8f9ece9e0fac89ab3b
2016-05-10 20:39:01 +00:00
Paul Crowley
a1eb750e75 Revert "Two phases to set the password for disk encryption"
This reverts commit 17e5dce511.

Bug: 28694324
Change-Id: I6d89bc26cb429b195c9bcf640666c495617257b7
2016-05-10 20:36:56 +00:00
Sudheer Shanka
00886746cb Merge "Update docs for DELETE_PACKAGES permission." into nyc-dev
am: 0e351a945b

* commit '0e351a945b55e106d26b1d32659358617eff0be5':
  Update docs for DELETE_PACKAGES permission.

Change-Id: I265e166f1e599ac5281fb73a897be8ab7095570d
2016-05-10 20:33:25 +00:00
Amith Yamasani
0df1ca8ab3 Merge "Fix the issue that App crash on startForeground" into nyc-dev 2016-05-10 20:31:47 +00:00
Winson
dfd7be012b Fixing issue with excluded task showing when docking.
- On multi-window state changes, we should not include the front most 
  excluded task when fetching the task list.  This CL also clarifies 
  which tasks are included and excluded.

Bug: 28452689

Change-Id: Ia30eaf75382286a9d4ee5a5b11013dddf8e4ac82
2016-05-10 13:30:48 -07:00
Sudheer Shanka
0e351a945b Merge "Update docs for DELETE_PACKAGES permission." into nyc-dev 2016-05-10 20:28:37 +00:00
Phil Weaver
cb09c126d8 Merge "Reduce cost of a11y services with magnification." into nyc-dev
am: cdaaaaad90

* commit 'cdaaaaad905396e4f0f2ebd9b37240095182d1d7':
  Reduce cost of a11y services with magnification.

Change-Id: I1eb037c3094d99fcf648fcdd0d15edf78346f7fa
2016-05-10 20:25:28 +00:00
Selim Cinek
fa760d4636 Fixed a bug where the positioning on the lockscreen was wrong
Because of a circular dependancy of calculating the notification
heights and setting them to GONE, the views could be laid out in a
wrong fashion. Another issue was that ambient notifications would
still be taken into account as well as removed notifications.

This also lead to a bug where the removal of notifications could
lead to unnecessary add animations when swiping them away.

Change-Id: If9ad81237a520b14dc6851df3af52406d192a7a7
Fixes: 28441832
2016-05-10 16:24:19 -04:00
Antonio Cansado
6965c1869a Addressing API council comments on NetworkStatsManager.
Callbacks
 - DataUsageCallback renamed to UsageCallback
 - DataUsagePolicy removed; passing in params directly to register method
 - making it an abstract class
 - passing in (networkType, subscriberId) that reached its threshold
 - renaming onLimitReached to onThresholdReached to match existing naming
 - only monitor single network,subscriberId
 - no monitoring of specific uids; using device or user wide instead

Tags
 - only owner uid can read its tags
 - exposing only TAG_NONE to match service side

BUG: 27530098

Change-Id: I2b2664da71806868a1e937d2bf4d1f234637509b
2016-05-10 13:24:16 -07:00
Ricky Wai
0cb5577ded Merge "Hide notification before tie managed profile lock" into nyc-dev
am: fcc38e6c35

* commit 'fcc38e6c35be0dd68d722b7398cf2fb66c1c0d92':
  Hide notification before tie managed profile lock

Change-Id: I57c3917ef0ccff555b340085bb1176a7d4ef6e0b
2016-05-10 20:19:29 +00:00
Phil Weaver
cdaaaaad90 Merge "Reduce cost of a11y services with magnification." into nyc-dev 2016-05-10 20:18:12 +00:00
Paul Crowley
fcc38e6c35 Merge "Hide notification before tie managed profile lock" into nyc-dev 2016-05-10 20:12:41 +00:00
Chong Zhang
9214704eac Fixes for restoring more than one child surfaces
App may have more than one windows and subwindows. Remember which ones
are visible at the last setAppVisibility time, and restore only those
that was visible then. If the app itself requested to hide a window
before that, we don't want to use the window for early animation.

Also move mAnimatingWithSavedSurface into WindowState as it needs to
be tracked per window.

bug: 27455025
bug: 28296945

Change-Id: I3ed1879634fa7709de699d4518d8fcfc91a85554
2016-05-10 13:10:40 -07:00
Andreas Gampe
95ac395662 Merge "Frameworks/base: Shorten system property" into nyc-dev
am: a8f51e3e46

* commit 'a8f51e3e46c705b0477bf20a8e417ab57e09afee':
  Frameworks/base: Shorten system property

Change-Id: I863f60e821dcdd0290e0e7197c69aa0eabda2691
2016-05-10 20:02:41 +00:00
Mary Yanchar
8e2431513f Updating redirects to correct Studio Tips and Tricks
Updating the _redirects.yaml to correct the Studio Tips and Tricks
redirect, to match the CL already submitted in Piper (121956464).

Bug: 28680261
Change-Id: I7fc075d26061c37a7b2ba20d91b6deca4dae6557
2016-05-10 12:58:42 -07:00
Andreas Gampe
a8f51e3e46 Merge "Frameworks/base: Shorten system property" into nyc-dev 2016-05-10 19:55:43 +00:00
Andreas Gampe
eff0639345 Frameworks/base: Shorten system property
Otherwise it's too long.

Bug: 26877591
Change-Id: I741186a9fbea6ee50df6cef58d528ec58662c772
2016-05-10 12:52:53 -07:00
Android Build Merger (Role)
cea2ff78b4 Merge "Merge "Don\'t even try adjusting when dock is minimized" into nyc-dev am: 4b8ab89eca" into nyc-mr1-dev 2016-05-10 19:52:25 +00:00
Jorim Jaggi
2b4ba62ed1 Merge "Don\'t even try adjusting when dock is minimized" into nyc-dev
am: 4b8ab89eca

* commit '4b8ab89ecad86353259454f92fd8f2bf1913b21b':
  Don't even try adjusting when dock is minimized

Change-Id: I7ebc731cf6e6e5de9b723892443c76c2a9e425b6
2016-05-10 19:52:01 +00:00
Doug Felt
3a64f8140c Remove rifle (1F946) from emoji font.
Bug: 28678310
Change-Id: I60097cd78f28764d83abe0d12b53e2a7e6c974dc
2016-05-10 12:50:25 -07:00