Commit Graph

246497 Commits

Author SHA1 Message Date
Jorim Jaggi
ce83dcf4f7 Merge "Fix black flicker when closing IME" into nyc-dev 2016-04-22 22:08:58 +00:00
Carlos Valdivia
714bbd8539 Rename GET_PASSWORD_PRIVILEGED and make it signature.
Now named GET_PASSWORD. Now it is just a signature, not privileged.

Bug: 28295831
Change-Id: Ice93b527edced9546639b6c7096aad933c517548
2016-04-22 15:04:01 -07:00
Adam Powell
15626af414 Merge "Remove dependencies on Activity from common Fragment superclasses" into nyc-dev
am: d2285b1

* commit 'd2285b1f40a714a49602dab5645c194af0eac880':
  Remove dependencies on Activity from common Fragment superclasses

Change-Id: Iabdf356a16290686e84d3f335e61955069355d07
2016-04-22 21:49:28 +00:00
Adam Lesinski
757c6eacc8 BatteryStats: Fix up semantics of SamplingTimer
SamplingTimer has been losing some data, as well as not correctly handling
entries that have gone away and come back with less data (reset).

This change correctly ends a SamplingTimer sample by adding the accumulated amount
to the total, then reseting the running counter to accept new values.

This is also triggered automatically when the incoming data is less than what is currently
recorded.

Bug:25695597
Change-Id: I6b540906e6be527578d1003485384a75ba211b52
2016-04-22 14:48:18 -07:00
Adam Powell
d2285b1f40 Merge "Remove dependencies on Activity from common Fragment superclasses" into nyc-dev 2016-04-22 21:43:16 +00:00
Wale Ogunwale
6d8c8e3c35 Merge "Fixed NPE during boot animation on fugu." into nyc-dev
am: a1e7be3

* commit 'a1e7be375e618544e22287d0ee59f517536f95e1':
  Fixed NPE during boot animation on fugu.

Change-Id: I9eeeb0eaf1f77e122549ce3fa86f19e9cbe03897
2016-04-22 21:30:48 +00:00
Winson
3f32e7eba7 Tweaks to make overview animations to match spec.
- Fixing incompatible app message text color
- Fixing drag target hover color
- Fixing final frame jank when animating home from overview
- Adding animation prop setter for initial play time

Bug: 27154882
Change-Id: Ia8a90434da2174d3c78a353b881509a8b1d525ba
2016-04-22 14:24:16 -07:00
TreeHugger Robot
a1e7be375e Merge "Fixed NPE during boot animation on fugu." into nyc-dev 2016-04-22 21:23:54 +00:00
Svet Ganov
ae0e03a9e0 Cleanup of the PackageInstaller API - Frameworks
The PackageInstaller app manages side-loading apps as well
as permission management. It should be updatable, hence
should rely on system APIs to talk to the platform. This
is the first step of defining an API boundary.

Change-Id: I9814eafd0b22ae03b4b847a7007cdbf14c9e5466
2016-04-22 14:18:32 -07:00
Jorim Jaggi
4c753d52cd Fix black flicker when closing IME
When closing the IME in docked adjusted mode, we still need to pass
in the IME window so we can still execute the logic to delay starting
the animation, so we don't see a black hole before the animation is
started.

Bug: 28175599
Change-Id: I606d30bd63b5e909fdebd78b0aa4968bd9f26c24
2016-04-22 14:13:49 -07:00
Svetoslav Ganov
50d08f81d7 Merge "Disallow disable of the system shared libs." into nyc-dev
am: 5a91b61

* commit '5a91b615232374084a45752d7c09c25265e263ed':
  Disallow disable of the system shared libs.

Change-Id: I7edae9e8cbeefd4f20ffb2b708f68f6f04e79326
2016-04-22 21:07:09 +00:00
Svetoslav Ganov
5a91b61523 Merge "Disallow disable of the system shared libs." into nyc-dev 2016-04-22 21:03:30 +00:00
Sujith Ramakrishnan
a2262b3bb1 Merge "Unbundle RemoteService on TV - part 3" into nyc-dev
am: 7981e8f

* commit '7981e8ff6509769a590f15b440f989437d732be5':
  Unbundle RemoteService on TV - part 3

Change-Id: I6f7dcde634bf841243c34a59d569e84e271b2326
2016-04-22 21:02:01 +00:00
Sudheer Shanka
9a4711af86 Merge "Remove debug flag for some important logs." into nyc-dev
am: b7ba766

* commit 'b7ba766352ca78784831e7332dd59aa2f0e2a314':
  Remove debug flag for some important logs.

Change-Id: Icac7aa3a9cad9dd0e3c107fbfbb54f94168b59c1
2016-04-22 21:02:00 +00:00
Sujith Ramakrishnan
7981e8ff65 Merge "Unbundle RemoteService on TV - part 3" into nyc-dev 2016-04-22 20:59:07 +00:00
Sudheer Shanka
b7ba766352 Merge "Remove debug flag for some important logs." into nyc-dev 2016-04-22 20:56:46 +00:00
Bo Liu
d443f36957 Revert "Expose setDrawGLFunctionDetachedCallback to webview"
This reverts commit ee34ef1633.

This API is no longer needed by webview since 51.0.2704.22.
So remove this API. Note that this system API has never shipped
so it's ok to simply remove it.

Original description:
> Expose setDrawGLFunctionDetachedCallback to webview
>
> Add WebViewDelegate.setDrawGLFunctionDetachedCallback system API that's
> used for webview to receive the functor detach callback.
>
> BUG: 27709981
> Change-Id: Ie6b5e445c0090a181f94fcd2ec1ea77095c9cb03

BUG: 27709981
Change-Id: I9920dbedc6a280b4a19a8715832c4d2f64a7a7be
2016-04-22 13:32:23 -07:00
Adrian Roos
d065af80bf Merge "Fix IME for status bar in docked mode" into nyc-dev
am: 93536af

* commit '93536af56d70c516760a796a1731237acce14f54':
  Fix IME for status bar in docked mode

Change-Id: I9af5c7dcece0b6b018c8d6f64b103332bbbc5a16
2016-04-22 20:30:00 +00:00
TreeHugger Robot
93536af56d Merge "Fix IME for status bar in docked mode" into nyc-dev 2016-04-22 20:22:23 +00:00
Yang Ni
47c662491c Merge "Fixed BaseObj finalizer and destroy()" into nyc-dev
am: 8ca7638

* commit '8ca763803d8960ddc9f6c498c3294e69aac0f7cf':
  Fixed BaseObj finalizer and destroy()

Change-Id: I62a717ec2063ef5dc030830570820232aec1035e
2016-04-22 19:52:18 +00:00
Wale Ogunwale
3f4ffe7f77 Merge "Reconfigure display info. after configuration changes." into nyc-dev
am: 10f4f44

* commit '10f4f44efe0eeb47ea63471c221d7a765f55e3ae':
  Reconfigure display info. after configuration changes.

Change-Id: I09ead4808ee6055d42594cad00b5519e97d581cd
2016-04-22 19:52:16 +00:00
Yang Ni
8ca763803d Merge "Fixed BaseObj finalizer and destroy()" into nyc-dev 2016-04-22 19:48:33 +00:00
Wale Ogunwale
20ec11b4e6 Fixed NPE during boot animation on fugu.
- Don't set a dim layer in the docked controller if we are not dimming.
- Check to make sure the docked divider window isn't null before trying
to use its layer for dimming.

Bug: 28339915
Change-Id: I33d49d26ffcaec63d135f82a6208e127ba0f0570
2016-04-22 12:44:34 -07:00
TreeHugger Robot
10f4f44efe Merge "Reconfigure display info. after configuration changes." into nyc-dev 2016-04-22 19:42:52 +00:00
Robert Carr
9e76d3292b Touch region fixes for dialogs and overlapping tasks.
There were two errors. First the function assumes that there are only
overlapping tasks in the case of freeform, and so otherwise it is not
necessary to union the focused task back at the end (and we can just
subtract all the non focused tasks). This won't work though, as there
can be for example dialogs over the launcher from another task. We
need to always add back the focused task. Secondly, we were requiring a
task to have a top visible "main app window" e.g. TYPE_APPLICATION or
TYPE_APPLICATION_STARTING. For tasks whose only presence on screen
is a dialog this will skip them and we will ignore them one way
or another.

Bug: 26962445
Change-Id: Idd5c54082409e7c34d9fc7480908c88fb12b378b
2016-04-22 12:37:57 -07:00
Cheryl Potter
b558743ca3 docs: Update SDK Manager for 2.0 changes
b/26385384

Change-Id: Ib343c46bbfb6d07aea418a43ec03e992a4883980
2016-04-22 12:32:09 -07:00
Sujith Ramakrishnan
b5b86c1100 Unbundle RemoteService on TV - part 3
- New service TVRemoteService triggered by SystemServer
- Provider service proxy and watcher for maintaining connections to unbundled
  services which have the BIND_TV_REMOTE_SERVICE permission.
- Shared library to facilitate connections between unbundled service and
  TVRemoteService.
- Unbundled service needs TV_VIRTUAL_REMOTE_CONTROLLER
  permission to be fully functional.

b/23792608

Change-Id: Ief5c6995883d1f7268a73bdd0c920c4c3f42cddb
2016-04-22 12:21:34 -07:00
Robert Carr
f649dc3507 Merge "Force pinned windows to always be scaleable." into nyc-dev
am: e67960e

* commit 'e67960ecae2ba008a7d1d364b5fdb1b95a179e52':
  Force pinned windows to always be scaleable.

Change-Id: If99e495251dee1ff6f52f214448154a396f5e9d3
2016-04-22 19:18:45 +00:00
Junda Liu
060e8f9dc5 Merge "Add comments to apptype and authtype constants." into nyc-dev
am: cc69bed

* commit 'cc69bed61fadd99627751b6e04e99f2c42ef3025':
  Add comments to apptype and authtype constants.

Change-Id: I0e30f5907051dd0f9c4d3256588a4726620e3f17
2016-04-22 19:18:44 +00:00
Chong Zhang
ccd0458f8b Merge "Fix black frame in finishing transition" into nyc-dev
am: cffe389

* commit 'cffe389a22cf3f3d63ec37a591b0d6226e1db99e':
  Fix black frame in finishing transition

Change-Id: I182036d46c9551bc7def42af9190ef5dd25d7b59
2016-04-22 19:18:43 +00:00
Michael Wright
35ba569a78 Merge "Add ambient light ring buffer for initial data gathering period." into nyc-dev
am: ea999ac

* commit 'ea999ac8e4d1e89eb79c11a76f30a4b25260b243':
  Add ambient light ring buffer for initial data gathering period.

Change-Id: Iad611209a10caf082361ff7a9de0c8b7ec04a7bb
2016-04-22 19:18:40 +00:00
Sudheer Shanka
514316e76c Remove debug flag for some important logs.
Bug: 27689631
Change-Id: I23c1396f3b29093e6d23ec06f90a382b6ce458d3
2016-04-22 12:13:30 -07:00
TreeHugger Robot
e67960ecae Merge "Force pinned windows to always be scaleable." into nyc-dev 2016-04-22 19:13:23 +00:00
Adam Powell
31479e33e6 Remove dependencies on Activity from common Fragment superclasses
Allow common Fragments to be used in non-Activity hosts.

Bug 28337394

Change-Id: Id3baa3ef19ea41ff43ca76be89ced7530fbadfab
2016-04-22 12:11:28 -07:00
Junda Liu
cc69bed61f Merge "Add comments to apptype and authtype constants." into nyc-dev 2016-04-22 19:05:35 +00:00
Chong Zhang
cffe389a22 Merge "Fix black frame in finishing transition" into nyc-dev 2016-04-22 19:01:58 +00:00
Alex Hills
a90c40b302 Merge "Changes Message from using parcels to bundles" into nyc-dev
am: 9ef0ce1

* commit '9ef0ce1749e626a47d669a3f4b059ba748d2e69e':
  Changes Message from using parcels to bundles

Change-Id: I1c5146b037cab8c5afb3d6b97a9533c3fea8cf0d
2016-04-22 19:01:14 +00:00
TreeHugger Robot
ea999ac8e4 Merge "Add ambient light ring buffer for initial data gathering period." into nyc-dev 2016-04-22 19:00:25 +00:00
Adrian Roos
ae712e5708 Fix IME for status bar in docked mode
If the dock divider is visible, window manager raises the IME from the
app's layer on top of the divider. However if the IME was targeting the
status bar, it would also remove it from the status bar's layer and
move it atop the divider (but below the status bar).

To fix this, we now only perform the adjustment to the IME's layer if
that moves the IME up, but never down.

Change-Id: I1308f51b98fffee64a5075c49697f5bc177ea32e
Fixes: 28024606
2016-04-22 18:52:40 +00:00
Chong Zhang
4c5f7ff42e Fix black frame in finishing transition
If either visible or nowVisible is true we need to wait for next
activity to become visible before we destroy the previous activity.

In some code path (eg. clear task top), when starting a new activity,
old activity is first paused and visible set to false with a dummy
transition set. Then finish activity is requested. At this point visible
is already false, but nowVisible is true. We still need to wait for
next app become visible to avoid a black frame shown in between.

bug: 27796252

Change-Id: Ief3d5fc8f11c51a729c424f996ab2597c815e4dd
2016-04-22 18:50:28 +00:00
Winson
d24df16230 Merge changes I222e50f6,I9832874d into nyc-dev
am: 6c83c7a

* commit '6c83c7aa5f84680ffd53d3e318279cbead8b1af5':
  Removing legacy calculation of Recents visibility.
  Adding additional dump logging to track down bugs.

Change-Id: I9156a48726b0ce4e9a49892fc525a105ab2631da
2016-04-22 18:37:03 +00:00
Jason Monk
14e4723ec0 Merge "Add strings for quick settings accessibility" into nyc-dev
am: ab629fc

* commit 'ab629fcc8506ecde2f2a05231c82600281ffa9c2':
  Add strings for quick settings accessibility

Change-Id: Iea44e1b96076bc0be1c29b48df3897c4eeec9158
2016-04-22 18:37:02 +00:00
Alex Hills
1891c43d8d Merge "Adds a BigPicAmbient flag to WearableExtender" into nyc-dev
am: cb1f9da

* commit 'cb1f9da55b2960f7cabd9c50632f2ac9d8a3311a':
  Adds a BigPicAmbient flag to WearableExtender

Change-Id: I6dc645e19e715199a32f983509ea1fc0f335a3f5
2016-04-22 18:37:00 +00:00
Alexander Hills
9ef0ce1749 Merge "Changes Message from using parcels to bundles" into nyc-dev 2016-04-22 18:32:49 +00:00
Winson
3ca1028e74 Closing system windows when dismissing recents to app or home.
Bug: 28314924
Change-Id: I35f484c7c594bb39d7983965e0f706175cf92253
2016-04-22 11:28:37 -07:00
Winson
fc48b072e8 Caching the display rect to reduce binder calls.
- Only update the display rect and orientation on configuration change.

Bug: 28122871
Change-Id: I2e87e7643902d5f45ac4a311109f5e1870f48d3b
2016-04-22 11:27:51 -07:00
David Friedman
68af8d0f31 Merge "Docs: Minor fix and restructuring to Vulkan validation-layer doc to prevent devs from corrupting their NDK install." into mnc-mr-docs
am: 19d1e73e41

* commit '19d1e73e4186277ddbec693915b44581318866df':
  Docs: Minor fix and restructuring to Vulkan validation-layer doc to prevent devs from corrupting their NDK install.

Change-Id: I582b61bdc4febc54a07daea22c5f6fbc58bf5dc9
2016-04-22 18:25:24 +00:00
Winson Chung
6c83c7aa5f Merge changes I222e50f6,I9832874d into nyc-dev
* changes:
  Removing legacy calculation of Recents visibility.
  Adding additional dump logging to track down bugs.
2016-04-22 18:22:02 +00:00
David Friedman
19d1e73e41 Merge "Docs: Minor fix and restructuring to Vulkan validation-layer doc to prevent devs from corrupting their NDK install." into mnc-mr-docs 2016-04-22 18:19:52 +00:00
Wale Ogunwale
ccdb00ccc5 Reconfigure display info. after configuration changes.
Some of the information reported for a display is dependent on resources to do
the right calculations. For example, {@link DisplayInfo#smallestNominalAppWidth}
and company are dependent on the height and width of the status and nav bar
which change depending on the current configuration.

Bug: 28182307
Change-Id: I2ba5de4bcfb3fa3ad334e69eb192bd15f8f7ebb2
2016-04-22 11:18:01 -07:00