243256 Commits

Author SHA1 Message Date
Phil Weaver
43141e33f7 Merge "Content description for FloatingToobar overflow." into nyc-dev 2016-05-17 17:08:29 +00:00
Zoltan Szatmary-Ban
690c2ea117 Merge "Introduce system API to get source of user restriction" into nyc-dev 2016-05-17 15:16:56 +00:00
Sergio Giro
5a68af3840 Merge "ZygoteInit: warm up JCA providers during preload" into nyc-dev 2016-05-17 11:02:20 +00:00
Sergio Giro
6cb7b1c476 ZygoteInit: warm up JCA providers during preload
This makes the time spent in the first call of an app to
SSLSocketFactory.getDefault() drop from ~240 ms to ~50 ms. In M
it was around ~6ms. This is due to the fact that, while instantiating
the default factory, all providers are initialized.

In order to obtain the timings above, I created an app calling
SSLSocketFactory.getDefault in onCreate and timed it
with System.currentTimeMillis() .

Bug: 28545496

Change-Id: I650d4b0435e67e481a41e02b0b538ce5cc993fa3
2016-05-17 10:02:09 +00:00
Robin Lee
bc73347152 Merge "Skip 'network may be monitored' if dying or locked" into nyc-dev 2016-05-17 09:17:21 +00:00
Clara Bayarri
bee2648027 Merge "Remove "if it succeeds" wording from requestShowKeyboardShortcuts" into nyc-dev 2016-05-17 09:12:36 +00:00
Narayan Kamath
a8b4f75978 Merge "PackageManager: Clear foreign-dex markers when the app is uninstalled." into nyc-dev 2016-05-17 08:31:44 +00:00
David Friedman
c19cf44966 Merge "Docs: CL for continuing work on tactically merged N-DP3 docs." into mnc-io-docs am: bf56921d35
am: 86b5f72636

* commit '86b5f726368c873c8503ed7a8042cfa954f5e1a0':
  Docs: CL for continuing work on tactically merged N-DP3 docs.

Change-Id: I83923831a50a94f46d05e18cfc4d69c68b2e58ed
2016-05-17 03:29:11 +00:00
David Friedman
86b5f72636 Merge "Docs: CL for continuing work on tactically merged N-DP3 docs." into mnc-io-docs
am: bf56921d35

* commit 'bf56921d3527ad0652f4224b422dd611ec1a6fee':
  Docs: CL for continuing work on tactically merged N-DP3 docs.

Change-Id: I8150c709818232cf24e4d967de45aeb1bd4c2956
2016-05-17 03:23:46 +00:00
David Friedman
bf56921d35 Merge "Docs: CL for continuing work on tactically merged N-DP3 docs." into mnc-io-docs 2016-05-17 03:17:41 +00:00
David Friedman
182e8b53ea Docs: CL for continuing work on tactically merged N-DP3 docs.
This CL continues the work from ag/1036623 and ag/1036124.

Change-Id: Ic1e026ed9f53a389a0435c2b8e21edfe9ef635c4
2016-05-16 19:39:08 -07:00
Chris Tate
11d9586117 Merge "Sysconfig define a whitelist of permitted backup transports" into nyc-dev 2016-05-17 00:56:49 +00:00
TreeHugger Robot
b406dd20ee Merge "Fixed bugs with starting windows when displayng forcedResized activity" into nyc-dev 2016-05-17 00:51:41 +00:00
TreeHugger Robot
fc932b9d69 Merge "Update configuration of all visible activities in a stack when resizing" into nyc-dev 2016-05-17 00:29:04 +00:00
Amith Yamasani
19b34eccfe Merge "Allow Shell to change component enabled state" into nyc-dev 2016-05-17 00:27:55 +00:00
TreeHugger Robot
189e3e5ec5 Merge "Fix hw layer overdraw/update visualization" into nyc-dev 2016-05-16 23:58:28 +00:00
Wale Ogunwale
3b23239d6e Fixed bugs with starting windows when displayng forcedResized activity
- Added ActivityOption to mark a starting activity as a taskOverlay
activity. That is the activity will always be the top activity of the
task and doesn't cause the task to be moved to the front when it is added.
- Only set the starting window state of the ActivityRecord to shown if
window manager actually showed the starting window for the activity.
Avoids incorrectly trying to remove starting window for an activity that
didn't show any.
- When starting additional activity in a task, transfer the starting
window from the top most activity with a starting window. It is possible
the top most window does have a starting window like in the case of the
forcedResized activity.
- Only ensure visiblity of an activity we are starting in a task whose top
activity is a task overlay. They need to start in the visible-paused state
and not the resumed state which just causes extra churn in the system.
- Always add additional starting activities in a task with an overlay
activity below the overlay activity.

Bug: 28751186
Change-Id: I3624a4313ae9c406d42c67a3537f67ad685791af
2016-05-16 16:27:01 -07:00
Jorim Jaggi
23bf5462f0 Handle multi-window for inset hint
We need to incorporate task bounds when calculating the inset hint
so we don't specify something wrong to the client which we correct
immediately after.

Bug: 28697105
Change-Id: I23cec7d6cc62a4d982e0796a867e803d4cce0803
2016-05-16 23:18:14 +00:00
Wale Ogunwale
db0fa12b73 Update configuration of all visible activities in a stack when resizing
Previously we were only updating configuration for the top activity in
the stack during resizing. This caused an activity behind the top
translucent activity to continue to display in the old configuration
and also get relaunched without window preservation when the top
translucent activity is finished.
We now make sure all activities at all below a translucent activity
have their configuration updated during resizing.

Bug: 28762547
Change-Id: I0926ac6db088cdf3f6a225c552dbfbe944830f68
2016-05-16 16:14:33 -07:00
TreeHugger Robot
29af3cab29 Merge "Make persistent apps become top correctly." into nyc-dev 2016-05-16 23:13:25 +00:00
Hans Boehm
53c33d9701 Merge "Clear more native pointers in finalizers" into nyc-dev 2016-05-16 22:45:04 +00:00
Svetoslav Ganov
008d73bd5b Merge "Ensure app op restrictions reset when the app that set them dies." into nyc-dev 2016-05-16 22:42:49 +00:00
Dirk Dougherty
de84a27872 Merge "Update default image for n preview docs. Update tools resources." into mnc-mr-docs am: 0a957d5aa2 am: b33f36497d
am: a4101e6693

* commit 'a4101e66933fd5acb882bfc0311f3f4b5cbd5b11':
  Update default image for n preview docs. Update tools resources.

Change-Id: I859659905ab0bdd7e16a2406542c0cac69e1f4d7
2016-05-16 22:41:55 +00:00
smain@google.com
1d145e7d2b Merge "Avoid weird line wrapping by removing columns and forcing line breaks between the links" into mnc-mr-docs am: a0acf474e9 am: 592b36a326
am: 0b019a3d02

* commit '0b019a3d028990a9832188d3ef2c9540e5d37f40':
  Avoid weird line wrapping by removing columns and forcing line breaks between the links

Change-Id: Ifba667194d2e2f04a9824945d5100cdea01a9c77
2016-05-16 22:41:44 +00:00
Jaewan Kim
174aa3346c Merge "Workaround that Recents is shown again after an activity is PIPed" into nyc-dev 2016-05-16 22:38:23 +00:00
Dirk Dougherty
a4101e6693 Merge "Update default image for n preview docs. Update tools resources." into mnc-mr-docs am: 0a957d5aa2
am: b33f36497d

* commit 'b33f36497dbc7265ee16323ee6c0281690ca3221':
  Update default image for n preview docs. Update tools resources.

Change-Id: I1ed7ac4ecf30538252d4b277b1baf93ec61e4835
2016-05-16 22:35:33 +00:00
Scott Main
0b019a3d02 Merge "Avoid weird line wrapping by removing columns and forcing line breaks between the links" into mnc-mr-docs am: a0acf474e9
am: 592b36a326

* commit '592b36a326216cd2442c47da9608ca2afd7e4d16':
  Avoid weird line wrapping by removing columns and forcing line breaks between the links

Change-Id: I54b1282f6ef2d92251a4624c8f439499831af1a6
2016-05-16 22:35:30 +00:00
Svetoslav Ganov
a8bbd76d9b Ensure app op restrictions reset when the app that set them dies.
We were not keeping track when an app that set an app op restriction
dies to clean up after that. As a result we may end up with stale
restrictions that will be there until the device reoots - not cool.
This change adds remote binder death tracking and simplifies the
code as adding the formed would have made more complex.

bug:28770536

Change-Id: I7dcaafba2354843a0cdf0206ab1f96625edc5120
2016-05-16 15:34:34 -07:00
Dirk Dougherty
b33f36497d Merge "Update default image for n preview docs. Update tools resources." into mnc-mr-docs
am: 0a957d5aa2

* commit '0a957d5aa28920f8854070676955f941e3ae6726':
  Update default image for n preview docs. Update tools resources.

Change-Id: I3fa206d3bfc74d20cb74e19f0d084d62fb47c0e2
2016-05-16 22:31:30 +00:00
smain@google.com
592b36a326 Merge "Avoid weird line wrapping by removing columns and forcing line breaks between the links" into mnc-mr-docs
am: a0acf474e9

* commit 'a0acf474e9db6e1a444d7e48b520b48ded8fcdce':
  Avoid weird line wrapping by removing columns and forcing line breaks between the links

Change-Id: I337e5167eb9191f674c6cc397d61925c334c3b72
2016-05-16 22:31:22 +00:00
Dirk Dougherty
0a957d5aa2 Merge "Update default image for n preview docs. Update tools resources." into mnc-mr-docs 2016-05-16 22:27:48 +00:00
TreeHugger Robot
8e30eb3a7f Merge "Fix transition delay tracking when starting activity from recents" into nyc-dev 2016-05-16 22:27:39 +00:00
Dianne Hackborn
0cb1cc74b8 Merge "Fix issue #28794831: meminfo considers cached processes to be services" into nyc-dev 2016-05-16 22:26:13 +00:00
Scott Main
a0acf474e9 Merge "Avoid weird line wrapping by removing columns and forcing line breaks between the links" into mnc-mr-docs 2016-05-16 22:25:51 +00:00
smain@google.com
d078d20ac6 Avoid weird line wrapping by removing columns and forcing line breaks between the links
Change-Id: I797b46d75643ce2491d47c95599164022ce451a7
2016-05-16 15:22:17 -07:00
Billy Lamberta
a0a34f6017 Merge "docs: work minisite" into mnc-io-docs am: 8f740bea13
am: 51ceb1bad1

* commit '51ceb1bad18c39a5281fc2cbd6d9c234c2e7f14a':
  docs: work minisite

Change-Id: Ieac1a9a571bfe6ef94663623f5715d1b205dd242
2016-05-16 22:19:41 +00:00
Amith Yamasani
bf12565276 Allow Shell to change component enabled state
But make sure that we don't allow Shell or other apps
to disable an active profile or device owner.

Also limit exactly what states Shell can switch apps
between, similar to Settings UI.

This is required for some CTS tests

Bug: 27924655
Change-Id: I958f0d1de7f0bc1f5a0cbf853d57dfdeb2f9ad59
2016-05-16 15:17:50 -07:00
TreeHugger Robot
522787f39a Merge "Documented return value of getRestrictBackgroundStatus()." into nyc-dev 2016-05-16 22:17:42 +00:00
Billy Lamberta
51ceb1bad1 Merge "docs: work minisite" into mnc-io-docs
am: 8f740bea13

* commit '8f740bea131ca0234fee9dce273f23c6f21ddf2f':
  docs: work minisite

Change-Id: Id0a4c1be427a131f1766f3452bca1b2f90365981
2016-05-16 22:12:37 +00:00
Billy Lamberta
8f740bea13 Merge "docs: work minisite" into mnc-io-docs 2016-05-16 22:06:01 +00:00
Philip P. Moltmann
5bfaa9c128 Merge "Adjust PrintRecommendationService for Konica Minolta." into nyc-dev 2016-05-16 22:02:47 +00:00
TreeHugger Robot
6eb923cb64 Merge "Delay grantDefaultPermissions until user's first start" into nyc-dev 2016-05-16 22:01:15 +00:00
Tim Murray
666212b75c Make persistent apps become top correctly.
Sometimes, a persistent app should be the top app (recents). Make sure
such an app can use the top-app cpuset.

bug 28317812
bug 28794389

Change-Id: I756cec3fbab8cc552a6d90c007aa2e07f6b78dbc
2016-05-16 14:53:29 -07:00
Philip P. Moltmann
11e215bc45 Merge "Clear state when ProgressMessageCtrl. is canceled" into nyc-dev 2016-05-16 21:43:13 +00:00
Jorim Jaggi
ed0e1a68a4 Don't throw away wallpaper bitmap just because we are hidden.
TRIM_MEMORY_UI_HIDDEN > TRIM_MEMORY_RUNNING constants, so we only
need to throw away the wallpaper if we are actually running low on
memory.

Bug: 28769940
Change-Id: I8aa27d081bbcc2eff553e9420b2b9b0920f3781f
2016-05-16 21:37:59 +00:00
Julia Reynolds
45626c448d Merge "Adjust spacing." into nyc-dev 2016-05-16 21:34:15 +00:00
Andrew Solovay
3228255e77 docs: Minor permissions phrasing tweak am: 9acd851ee6 am: 072b6fb839
am: 8804495bff

* commit '8804495bffbbffa0abe8cd148ba1ea3c58e20be0':
  docs: Minor permissions phrasing tweak

Change-Id: I348ecb4cbe9301eccd78c6e2f87b1eb016627d5d
2016-05-16 21:26:07 +00:00
Android Build Merger (Role)
a586b078b3 Merge "docs: Removed note that GET_ACCOUNTS was deprecated am: cc80393d94 am: af9dc9292b am: be2b224d80" into nyc-dev 2016-05-16 21:23:22 +00:00
Andrew Solovay
d65f0c9eed docs: Removed note that GET_ACCOUNTS was deprecated am: cc80393d94 am: af9dc9292b
am: be2b224d80

* commit 'be2b224d80554906aa03c57f6096fa51afb48fdf':
  docs: Removed note that GET_ACCOUNTS was deprecated

Change-Id: Ic6ffde061f37bd74e45a3f60de8a5bb6aa241c58
2016-05-16 21:22:55 +00:00
TreeHugger Robot
a423ec52ac Merge "Fix inconsistencies in DragEvent.getX/getY behavior and JavaDoc." into nyc-dev 2016-05-16 21:21:58 +00:00