Commit Graph

257979 Commits

Author SHA1 Message Date
Michael Wright
b1ccd81fba Merge "Validate custom pointer icons aren't null." into cw-f-dev
am: 05b2d3eb0d

Change-Id: I3a11e06dfe3f476b791838241bfb36e5362063ab
2017-01-19 02:16:46 +00:00
Michael Wright
92f7fab9f6 Validate custom pointer icons aren't null.
am: 35068079c8

Change-Id: I37fdde3c1ea735c4888760f3aab43caf7711dd0e
2017-01-19 02:16:42 +00:00
TreeHugger Robot
05b2d3eb0d Merge "Validate custom pointer icons aren't null." into cw-f-dev 2017-01-19 02:12:20 +00:00
TreeHugger Robot
12ea12aab5 Merge "2D Recents: polish the app -> recents transition" into nyc-mr2-dev 2017-01-19 01:26:03 +00:00
Daniel Nishi
1cf89cb8ee Merge "Remove the requirement of the --checkin flag." into nyc-mr2-dev 2017-01-19 00:33:16 +00:00
Manu Cornet
fc6ac0a78a 2D Recents: polish the app -> recents transition
* Do not draw the header as part of the transition thumbnail
  since the header is already shown. Just let the thumbnail
  slot into the task view already drawn on screen.
* Shift the target rectangle by the header height so that
  the end state of the animation corresponds exactly to the
  task view layout.
* Remove unused local variable.

Bug: 32101881
Bug: 33752154
Test: Checked/screencasted recents -> app -> recents animations on local sw600dp device
Change-Id: I4c8ce52b378567114735e6bd582572124a2a354c
2017-01-18 15:55:51 -08:00
TreeHugger Robot
81e8bdd420 Merge "2D Recents: use a different background color for drop targets" into nyc-mr2-dev 2017-01-18 23:51:35 +00:00
TreeHugger Robot
146f68a445 Merge "2D Recents: to and from home, animate task views as a block" into nyc-mr2-dev 2017-01-18 23:34:07 +00:00
Christine Franks
64a16be2ba Merge "DO NOT MERGE - Fix demo mode reset notification" into nyc-mr2-dev 2017-01-18 23:24:46 +00:00
TreeHugger Robot
32a16bada4 Merge "Add isChildDocument to MtpDocumentsProvider." into nyc-mr2-dev 2017-01-18 23:09:41 +00:00
TreeHugger Robot
4b2542315f Merge "Not create document under the device." into nyc-mr2-dev 2017-01-18 22:54:39 +00:00
TreeHugger Robot
2a147464f6 Merge "Add keyboard support to Grid-based Recents." into nyc-mr2-dev 2017-01-18 22:14:22 +00:00
TreeHugger Robot
a88749fb51 Merge "2D Recents: Fix issue with undocking only one task" into nyc-mr2-dev 2017-01-18 22:06:22 +00:00
Svet Ganov
b6973a8c82 Merge "DO NOT MERGE ANYWHERE Skip review permissions if package is installed with -g." into cw-f-dev
am: b8c8b67789  -s ours

Change-Id: I502a61cc0c1c6caaf18a7d0c03aa558541b3c17f
2017-01-18 21:04:21 +00:00
Svet Ganov
cf7b579868 DO NOT MERGE ANYWHERE Skip review permissions if package is installed with -g.
am: 4a601f972a  -s ours

Change-Id: Id66c49cfa6010ab327f46e85a6940bd52102eeea
2017-01-18 21:04:19 +00:00
TreeHugger Robot
b8c8b67789 Merge "DO NOT MERGE ANYWHERE Skip review permissions if package is installed with -g." into cw-f-dev 2017-01-18 20:57:11 +00:00
Manu Cornet
47dd7c51e9 2D Recents: use a different background color for drop targets
Bug: 32101881
Test: Checked layout and animations in Recents, on local sw600dp device.
Change-Id: I628bd0866691e5badd7a37c88020e1e10e1902f7
2017-01-18 12:54:03 -08:00
Michael Wright
35068079c8 Validate custom pointer icons aren't null.
Bug: 33853287
Test: cts
Change-Id: I844a9aec6e37e306a77eee0644a774f6470cf5df
(cherry picked from commit b004b5137e)
2017-01-18 20:48:44 +00:00
Manu Cornet
45c8048f4f 2D Recents: to and from home, animate task views as a block
Bug: 32101881
Test: Checked animations to/from home on local sw600dp device
Change-Id: I74b8b02bb39be6d4e4553f7d74550ff177d47a5e
2017-01-18 11:33:59 -08:00
Svet Ganov
4a601f972a DO NOT MERGE ANYWHERE Skip review permissions if package is installed with -g.
Bug: 34193954

Change-Id: Id744fd190ef78e498e635c2ab9936f12d0bbc917
(cherry picked from commit 6130fb741c)
2017-01-18 11:10:15 -08:00
Kenny Guy
748e78bd2c Fix issue with saving admins before finishing loading. am: f98ed6863a am: b275a205af am: ee9f03d1ed
am: 1894632864

Change-Id: I4328578f929875fd59f48681b8ae2c7c4d3bd623
2017-01-18 17:47:02 +00:00
Christine Franks
b189aa6cf8 DO NOT MERGE - Fix demo mode reset notification
Bug: 34358856
Test: manually verified that tapping the Reset notification
triggers a reset after initial provisioning.

Change-Id: I7cf4db729384630a85b22ca9b4947198974a8fbf
2017-01-18 09:43:40 -08:00
Kenny Guy
1894632864 Fix issue with saving admins before finishing loading. am: f98ed6863a am: b275a205af
am: ee9f03d1ed

Change-Id: Ic724588cbab8d4282eeb5bc806f8c67791189a05
2017-01-18 17:33:33 +00:00
Kenny Guy
ee9f03d1ed Fix issue with saving admins before finishing loading. am: f98ed6863a
am: b275a205af

Change-Id: I01487d9c39f4e82b63961cdd43df238f2bfd2b89
2017-01-18 17:27:10 +00:00
Kenny Guy
b275a205af Fix issue with saving admins before finishing loading.
am: f98ed6863a

Change-Id: I7f816c164548df86f9607c86772902efd0d53620
2017-01-18 17:13:31 +00:00
Tucker Sylvestro
eed0a7bf45 svc nfc should support watches too
am: 1876583bfb

Change-Id: Ic3f0277c2c13dbd2c4f8b6ec5dbe9f9dc34ef297
2017-01-18 16:34:50 +00:00
Tucker Sylvestro
1876583bfb svc nfc should support watches too
Check for both FEATURE_NFC and FEATURE_NFC_HOST_CARD_EMULATION in the
"svc nfc" command.  Watches may only have the latter, but should still
support the nfc enable/disable command.

See b/24532713#comment7 for context.

Bug 32386425

Change-Id: I307798f00728c6b437aebfcf58115af7265e3692
2017-01-18 10:27:38 -05:00
Kenny Guy
f98ed6863a Fix issue with saving admins before finishing loading.
Saving device policy managers settings to clear out
password stats was happening before initializing mAdminList
so could wipe active admins.

Test: manual - flash with N2G05C add google account with dmagent flash wth this fix, check dmagent is still an active admin, reboot check admin is still active.
Test: runtest -c com.android.server.devicepolicy.DevicePolicyManagerTest frameworks-services

Bug: 34277435
Change-Id: I13660b47f30e9aba001eb13f2e457c3b3f36da3e
(cherry picked from commit adbda7474c)
2017-01-18 12:01:55 +00:00
Sunny Goyal
13f18efb8f Merge "Using an increasing request counter instead of system uptime to avoid duplicates when sorting pending updates." into nyc-mr2-dev 2017-01-18 01:45:55 +00:00
Makoto Onuki
5e2634ba55 Merge "Fix issue with saving admins before finishing loading." into nyc-mr2-dev 2017-01-18 01:26:59 +00:00
Kenny Guy
adbda7474c Fix issue with saving admins before finishing loading.
Saving device policy managers settings to clear out
password stats was happening before initializing mAdminList
so could wipe active admins.

Test: manual - flash with N2G05C add google account with dmagent flash wth this fix, check dmagent is still an active admin, reboot check admin is still active.
Test: runtest -c com.android.server.devicepolicy.DevicePolicyManagerTest frameworks-services

Bug: 34277435
Change-Id: I13660b47f30e9aba001eb13f2e457c3b3f36da3e
2017-01-17 23:37:57 +00:00
Jiaquan He
21f495f07b Add keyboard support to Grid-based Recents.
Test: Checked that pressing tab, shift + tab, alt + tab, alt + shift +
tab work for task navigation in Recents on local sw600dp device. Also
checked that Recents on phones work properly.
Bug: 32101881
Change-Id: I3e4cd212d2900523ece30a85cae7fb73a9594efb
2017-01-17 15:34:09 -08:00
Svetoslav Ganov
70c0f5c2c7 Merge "[DO NOT MERGE] Prevent crash from early Toast surface destruction." into nyc-mr1-dev am: 332762aaf0
am: df459cb2ea

Change-Id: I1239cde924e6d31222bf108c6d55ff19a78019ad
2017-01-17 23:03:42 +00:00
Svetoslav Ganov
f5111345d2 [DO NOT MERGE] Prevent crash from early Toast surface destruction. am: 016c9c8cb5
am: a7ff8fbe74

Change-Id: Ic372436ee48a9f725c178a72c057a2192aad9267
2017-01-17 23:02:52 +00:00
Svetoslav Ganov
df459cb2ea Merge "[DO NOT MERGE] Prevent crash from early Toast surface destruction." into nyc-mr1-dev
am: 332762aaf0

Change-Id: I20cc197cc2f1d4d9dd0b6b6c6fee07e71dd4a1d3
2017-01-17 22:58:21 +00:00
Svetoslav Ganov
a7ff8fbe74 [DO NOT MERGE] Prevent crash from early Toast surface destruction.
am: 016c9c8cb5

Change-Id: Ib33d75a050a1b79de9590f2dbe03609c6e2b4463
2017-01-17 22:58:18 +00:00
Selim Cinek
c8278f35c7 Merge "Not allowing foreground services to be cleared as children" into nyc-mr2-dev 2017-01-17 22:57:13 +00:00
TreeHugger Robot
332762aaf0 Merge "[DO NOT MERGE] Prevent crash from early Toast surface destruction." into nyc-mr1-dev 2017-01-17 22:53:42 +00:00
Jiaquan He
244bac6c8b 2D Recents: Fix issue with undocking only one task
While there's only one task and we undock it, it's not in the Recents
task list. In this change, we just reset the transform and return it.

Test: Checked that Recents works properly while docking and undocking a
task and it's the only task running.
Bug: 32101881

Change-Id: I1207b546ff2864018c8d9bf2520f4690762b2d27
2017-01-17 14:52:23 -08:00
Svet Ganov
20cf769d96 DO NOT MERGE: Propagate revoked permissions in permission review mode
am: 4518d0be16

Change-Id: Id0525c380c7b9aaf8c160b1e4fad24b9b2756a0d
2017-01-17 22:27:40 +00:00
Svet Ganov
4518d0be16 DO NOT MERGE: Propagate revoked permissions in permission review mode
In permission review mode we represent install permissions for legacy
apps as constantly granted runtime ones since we need to keep per
user flags associated with a permission. We were not propagating
a revoked permission for a legacy app when the later is upgraded to
a modern app when permission review is enabled.

Test: CTS test passes and manual testing worked fine

Bug: 34240393
Change-Id: I32b8ffee89cc034661f8eb5a172dbe2349ea4a18
(cherry picked from commit fe0253b34e)
2017-01-17 22:14:39 +00:00
TreeHugger Robot
31b755adea Merge "DO NOT MERGE Revert "Stop preloading EGL/GLES in Zygote"" into nyc-mr2-dev 2017-01-17 22:01:24 +00:00
Manu Cornet
a4b7d794b3 Merge "2D Recents: Always use grid layout even in split view" into nyc-mr2-dev 2017-01-17 21:58:08 +00:00
Manu Cornet
c0432c63de 2D Recents: Always use grid layout even in split view
Simplify the logic a bit, and polish the algorithm to accommodate the
various layout possibilities.

Bug: 32101881
Test: Checked layout in all orientations, with and without split view
Change-Id: I4a6dd3f7f34664908294ddaf5ea516d8e258edbf
2017-01-17 13:56:07 -08:00
Daniel Nishi
ed371cb035 Remove the requirement of the --checkin flag.
Bug: 34351332
Test: Manual
Change-Id: Iae8c5782f54c84fc19307468da17a067428c1b2d
2017-01-17 21:29:56 +00:00
Jesse Hall
e8ce1276e2 DO NOT MERGE Revert "Stop preloading EGL/GLES in Zygote"
This reverts commit 93f630e1c3.
Change has already been reverted in master, hence DO NOT MERGE.

Bug: 34348911
2017-01-17 12:34:14 -08:00
TreeHugger Robot
ebf7abb19e Merge "Revert "DO NOT MERGE ANYWHERE unlock_wave: replace with black"" into nyc-mr2-dev 2017-01-17 18:42:46 +00:00
Jesse Hall
79bf392dc6 Create GraphicsEnvironment for communicating with driver loaders
The GraphicsEnvironment class is given information during application
start, and makes it available to EGL/GLES/Vulkan loaders that don't
have easy access to the VM or to the application Context. Currently
only the driver path is handled, but the existing support for setting
library paths (for Vulkan extensions) and cache directory information
should move here.

Bug: 33531483
Change-Id: I4e4e7fb21f1bcc67122e9173514af5f18c063991
Merged-In: I5820d3d1301d5461e10706f551b268c54d4f8926
2017-01-14 19:19:28 -08:00
TreeHugger Robot
a959ccbc33 Merge "Stop preloading EGL/GLES in Zygote" into nyc-mr2-dev 2017-01-14 05:54:18 +00:00
Jesse Hall
93f630e1c3 Stop preloading EGL/GLES in Zygote
It's not clear this actually makes much difference on modern
devices/drivers. With updatable graphics drivers, we'd have to be able
to unload the preloaded driver from processes that don't use the
system driver, which is additional complexity and risk.

On bullhead and sailfish, meminfo actually showed slightly more memory
available while sitting at launcher just after boot with this change
than previously. Looking at detailed stats, the differences appeared
to mostly within run-to-run variation, but there wasn't evidence of a
regression.

Bug: 33531483
Test: boot through lockscreen/launcher
Change-Id: I1892302c1750cdbeaf5b9979f8da4dc6bd7b3e75
Merged-In: I1892302c1750cdbeaf5b9979f8da4dc6bd7b3e75
2017-01-13 20:09:57 -08:00