Commit Graph

245370 Commits

Author SHA1 Message Date
Wei Jia
838a4ed101 android_media_MediaSync: Do not pass NULL to AString ctor.
Bug: 28643582
Change-Id: I75eaf61007adffdd7e3b07aebb37c12a8e71cf75
2016-05-16 17:40:02 -07: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
Andrii Kulian
eb1d322d1c Clear mResizedWhileNotDragResizing flag after reporting
Currently mResizedWhileNotDragResizing flag is not cleared after
reporting resize to client, which causes sending lots of resize
messages and relayouts on app side.
This CL introduces another flag to track reporting to app.

Bug: 28696195
Change-Id: Ib5b6ea3e5f499c96057182f4b20583734dea56c4
2016-05-16 17:10:13 -07: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
Baligh Uddin
e7aaa15999 Import translations. DO NOT MERGE
Change-Id: Ie4b463f075328928d4abc99fb47e1b02a1ac598d
Auto-generated-cl: translation import
2016-05-16 15:46:14 -07:00
Hans Boehm
53c33d9701 Merge "Clear more native pointers in finalizers" into nyc-dev 2016-05-16 22:45:04 +00:00
Selim Cinek
01e4019830 Fixed a screen flickering on tablets
The background bounds were not correctly applied
when an animation was running, leading to flickers
of the scrim. Left and right should always be applied
immediately.

Change-Id: Iff9979d6e1c472a1dec20e76436a19a44c170cad
Fixed: 28000150
2016-05-16 15:44:05 -07:00
Selim Cinek
36b02233fa Fixed a bug with auto cancelling
When clicking on a suppressed child and the child is autocancelled
we need to cancel the summary as well for them if it also has
the flag to auto cancel.

Change-Id: I25bfa7ad79afd406cc647ad6683d0b49c949f909
Fixes: 28642637
2016-05-16 15:42:52 -07: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
Baligh Uddin
a3b6b364c6 Import translations. DO NOT MERGE
Change-Id: Ic96958132725f1af9e842dbab5158628e51dea73
Auto-generated-cl: translation import
2016-05-16 15:22:14 -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
Baligh Uddin
474bbe75c6 Import translations. DO NOT MERGE
Change-Id: Ie2093912a314d30d88818d983c34d77925ec7051
Auto-generated-cl: translation import
2016-05-16 15:13:35 -07: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
Sid Soundararajan
165410d445 Add an extra to HOME intent to indicate it comes form recents.
This allows the launcher to know how to handle HOME press properly
when a video is playing in the background. Without this, the Launcher
dismisses it's UI.

Launcher CL: https://googleplex-android-review.git.corp.google.com/#/c/1043435/

BUG: 28173127
Change-Id: Iab0c5013fc41f79a6fd45f49904edd0d0f9c17ff
2016-05-16 14:59:53 -07: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
Jorim Jaggi
1e630c0829 Fix transition delay tracking when starting activity from recents
- Move logic to determine app switch etc. into ActivityMetricsLogger.
- Make sure the notify the tracker in startActivityFromRecentsInner

Bug: 27295491
Change-Id: Ic68058c88917e3f37183dded2f13cb35055323ee
2016-05-16 21:18:04 +00:00
Andrew Solovay
8804495bff docs: Minor permissions phrasing tweak am: 9acd851ee6
am: 072b6fb839

* commit '072b6fb83928120de268a1e59ebabb7f2a5c724a':
  docs: Minor permissions phrasing tweak

Change-Id: I90d66b9c745bb6f313a074c9d4b4c94a8319dbc3
2016-05-16 21:16:06 +00:00
Andrew Solovay
072b6fb839 docs: Minor permissions phrasing tweak
am: 9acd851ee6

* commit '9acd851ee6071fa82a725a69d75c59bf4068a83a':
  docs: Minor permissions phrasing tweak

Change-Id: I823cc460ffbf71fce9013967046076f937af3168
2016-05-16 21:13:13 +00:00
TreeHugger Robot
8c60dbe3ca Merge "Update doc of ACTION_SET_RADIO_CAPABILITY_DONE intent." into nyc-dev 2016-05-16 21:13:05 +00:00
Andrew Solovay
be2b224d80 docs: Removed note that GET_ACCOUNTS was deprecated am: cc80393d94
am: af9dc9292b

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

Change-Id: Id5866a8ce27407924508703292a223a4f0399cb3
2016-05-16 21:11:04 +00:00