296107 Commits

Author SHA1 Message Date
Seigo Nonaka
219e2c7949 Add wordSpacing parameter to Paint
Adds the ability to control word spacing from Java, wiring up the
plumbing to the corresponding change that adds it at the Minikin
level.

Bug: 31707212
Test: ran graphicstests
Change-Id: I568186aca961d51ee5231cb0331f882b7b005e90
2016-11-16 16:24:07 +09:00
Selim Cinek
171cb036a1 Fixed a bug with the emergency affordance in multi user am: b8a7f78d24 am: 6cc0b517ba am: 96d4aadb4c
am: 23067d83d5

Change-Id: I531d9e49ca42e49ee0f9e31722748501e558e7b1
2016-11-15 01:39:25 +00:00
TreeHugger Robot
3e06ae7be2 Merge "osu: remove calls to deprecated APIs" 2016-11-15 01:35:44 +00:00
TreeHugger Robot
a2e469037e Merge "Group injected tiles together based on package name." 2016-11-15 01:34:58 +00:00
Selim Cinek
23067d83d5 Fixed a bug with the emergency affordance in multi user am: b8a7f78d24 am: 6cc0b517ba
am: 96d4aadb4c

Change-Id: I46d1527df288330d9daea3f7c843a4b80a4ec468
2016-11-15 01:32:12 +00:00
Selim Cinek
96d4aadb4c Fixed a bug with the emergency affordance in multi user am: b8a7f78d24
am: 6cc0b517ba

Change-Id: If537b10c1838a47e7662ef56ae08b806fe5d669f
2016-11-15 01:24:32 +00:00
Wale Ogunwale
7c73dd6a20 Merge "Removed WallpaperController dependency on WindowList." 2016-11-15 01:19:41 +00:00
Selim Cinek
6cc0b517ba Fixed a bug with the emergency affordance in multi user
am: b8a7f78d24

Change-Id: I68fa35dbedb3740eff1c83d03c9c9b5080d3ea81
2016-11-15 01:18:35 +00:00
Peter Qiu
21c1514891 osu: remove calls to deprecated APIs
The hidden APIs WifiManager#addPasspointManagmentObject and
WifiManager#addPasspointManagementObject will removed, so remove
all callsites.

The OSU app is still under developement and is not included
in any device builds.  However, it is being built by the Treehugger
for generic AOSP builds.

So fix it to allow the API removal CLs to be submitted.

Bug: 32509661
Test: None
Change-Id: Ic405695ee8edfd0c08b831834797f163fe445595
2016-11-14 15:40:24 -08:00
Fan Zhang
fc76ab3cbf Group injected tiles together based on package name.
During grouping, tiles are sorted based on package name, and their own
priority value. However if the package is Settings itself, the ordering
is not changed.

Before sort: [pkg1, 100], [pgk2, 120], [pkg1, 130]
After sort: [pkg1, 1], [pkg1, 2], [pkg2,3]

This is necessary to make sure settings app have the overall control of
ordering of all dynamic tiles. When each app define their priority, they
don't have access to the global vision of what other settings are on
screen so it's possible different app define conflicting orderings.
Settings app is the only reasonable place to rank them properly.

Bug: 32827787
Test: RunSettingsLibRoboTests
Change-Id: I38de55530e61da9de7532ef6a7ee97ef89aca9d9
2016-11-14 15:37:49 -08:00
Garfield Tan
368d703d7d Merge "Add internal support to convert a file system path to document URI." 2016-11-14 23:37:12 +00:00
Selim Cinek
b8a7f78d24 Fixed a bug with the emergency affordance in multi user
The emergency call was not launched in the current user
and therefore was only launching once the user had switched.

Change-Id: If6f3bcf77d88a0658b6e0f91f7e4da5d6264b04f
Fixes: 32424103
Test: manual: switch to secondary user and launch emergency affordance
2016-11-14 23:00:24 +00:00
Sohani Rao
04c0d2b568 Merge "Add WiFi toggle prompts - framework" am: 584b5cee49 -s ours am: 31082a0824 -s ours am: 31264c994c -s ours
am: b15893c723  -s ours

Change-Id: I0281f56f8f06c69754d0559cc1e72dc248050aad
2016-11-14 21:35:52 +00:00
Sohani Rao
b15893c723 Merge "Add WiFi toggle prompts - framework" am: 584b5cee49 -s ours am: 31082a0824 -s ours
am: 31264c994c  -s ours

Change-Id: I37fe61c02a960ab5024fca8ab025c8e1933d269b
2016-11-14 21:28:08 +00:00
Sohani Rao
31264c994c Merge "Add WiFi toggle prompts - framework" am: 584b5cee49 -s ours
am: 31082a0824  -s ours

Change-Id: Ib2d485f7c6904fc3890c08f34d52703b92d379b5
2016-11-14 21:21:38 +00:00
TreeHugger Robot
c329ea3e48 Merge "Update usage of ActivityManagerNative." 2016-11-14 21:21:02 +00:00
Sohani Rao
31082a0824 Merge "Add WiFi toggle prompts - framework"
am: 584b5cee49  -s ours

Change-Id: I9dd54beb08f771be886c03fa0f8a3335f574c47c
2016-11-14 21:14:44 +00:00
TreeHugger Robot
be12db588f Merge "Uses a notification to request auto-fill." 2016-11-14 21:08:59 +00:00
Sohani Rao
584b5cee49 Merge "Add WiFi toggle prompts - framework" 2016-11-14 20:59:36 +00:00
Sohani Rao
14fee43664 Merge "Permissions check for Wifi Display configuration" am: f5c32a411c am: 7342bb84cd am: b4663456d4
am: ac2191ebb0  -s ours

Change-Id: I5a03c8b0f8859fc4cefcdf795a7282543c74d708
2016-11-14 20:07:39 +00:00
Sohani Rao
ac2191ebb0 Merge "Permissions check for Wifi Display configuration" am: f5c32a411c am: 7342bb84cd
am: b4663456d4

Change-Id: I9bfd828577029c3ebb6b89b6830a5c8d72833768
2016-11-14 19:59:22 +00:00
Sohani Rao
b4663456d4 Merge "Permissions check for Wifi Display configuration" am: f5c32a411c
am: 7342bb84cd

Change-Id: Iac379dace6fd8b01e5bb80a193f79c65ace1f9b9
2016-11-14 19:44:46 +00:00
TreeHugger Robot
ceb9ec6dbf Merge "2D recents: full screen view and semi-transparent dark background" 2016-11-14 19:35:09 +00:00
Sohani Rao
7342bb84cd Merge "Permissions check for Wifi Display configuration"
am: f5c32a411c

Change-Id: I7a1c2d0f48728cd5e056076a2cf1499a7abb2438
2016-11-14 19:33:31 +00:00
Sudheer Shanka
dc589ac82b Update usage of ActivityManagerNative.
- Remove references to ActivityManagerProxy.
- Add isSystemReady to ActivityManager.

Bug: 30977067
Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test android.server.cts
      adb shell am instrument -e class com.android.server.am.ActivityManagerTest,com.android.server.am.TaskStackChangedListenerTest \
          -w com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner
Change-Id: I07390b6124fb1515821f5c0b37baf6ae74adc8fa
2016-11-14 11:27:12 -08:00
TreeHugger Robot
0305eb6201 Merge "Bind AutoFillService on demand." 2016-11-14 19:23:23 +00:00
Sohani Rao
f5c32a411c Merge "Permissions check for Wifi Display configuration" 2016-11-14 19:21:58 +00:00
TreeHugger Robot
83b5309793 Merge "Add @HalfFloat annotation for fp16 data types stored in shorts" 2016-11-14 19:17:59 +00:00
Narayan Kamath
8c053ae1f6 Zygote: Additional whitelists for runtime overlay / other static resources. am: d9a8ee7598 am: 7521a1b465
am: e824efaa20

Change-Id: I46c105c58fff536ddfa18de39c306135d710b176
2016-11-14 19:10:14 +00:00
Wale Ogunwale
f4ebe2e2cc Removed WallpaperController dependency on WindowList.
WallpaperController now accesses the container hierarchy directly
to determine the state of the wallpaper windows and targets.

Bug: 30060889
Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test \
      android.server.cts.ActivityManagerTransitionSelectionTests

Change-Id: Ib70beaf340f257ad4e1093cc127f81e7adf41636
2016-11-14 11:03:52 -08:00
Narayan Kamath
e824efaa20 Zygote: Additional whitelists for runtime overlay / other static resources. am: d9a8ee7598
am: 7521a1b465

Change-Id: I8988c6ef182a55bbd361ccc4db8ffde6297742cb
2016-11-14 19:03:16 +00:00
Felipe Leme
fed51fcedb Uses a notification to request auto-fill.
This is a temporary approach until UX decide the final one.

BUG: 31001899
Test: manually built and ran it

Change-Id: I234ffc9bfffcccae5e5c310f9669c4a2a8e9d65c
2016-11-14 11:02:05 -08:00
Narayan Kamath
7521a1b465 Zygote: Additional whitelists for runtime overlay / other static resources.
am: d9a8ee7598

Change-Id: Ie7c2ec8ec358ce403a0c8afe6305d3164d3892e8
2016-11-14 18:56:09 +00:00
TreeHugger Robot
49642fff29 Merge "Import translations. DO NOT MERGE" 2016-11-14 18:38:18 +00:00
TreeHugger Robot
b439a4528a Merge "Import translations. DO NOT MERGE" 2016-11-14 18:33:34 +00:00
Tyler Gunn
ccacc5d32d Merge "Add CAPABILITY_SUPPORTS_VIDEO_CALLING to PhoneAccount." am: 8223dc1ae9 am: 8b58e73c48 am: 9e976c8565
am: 4a15007915

Change-Id: I40d164a429d05870b2f760e6740d3f27b3e2f224
2016-11-14 18:32:04 +00:00
TreeHugger Robot
93dd397c59 Merge "Import translations. DO NOT MERGE" 2016-11-14 18:30:10 +00:00
Svetoslav Ganov
0efa843e72 Add WiFi toggle prompts - framework
If permission review is enabled toggling WiFi on or off
results in a user prompt to collect a consent. This applies
only to legacy apps, i.e. ones that don't support runtime
permissions as they target SDK 22.

Bug: 28715749
Test: Unit Tests

Change-Id: I020601e208c0736005bcabc7b7b77b96eee45b03
Merged-In: I020601e208c0736005bcabc7b7b77b96eee45b03
2016-11-14 10:26:52 -08:00
Tyler Gunn
4a15007915 Merge "Add CAPABILITY_SUPPORTS_VIDEO_CALLING to PhoneAccount." am: 8223dc1ae9 am: 8b58e73c48
am: 9e976c8565

Change-Id: If743a67bff170096f028c7d7f3fc88c8548dfbf1
2016-11-14 18:22:14 +00:00
Sohani Rao
ef401300e8 Permissions check for Wifi Display configuration
Wifi Display is configured using the AIDL call setMiracastMode()
and using a message over the async channel SET_WFD_INFO.
Enforce permissions on the calling uid before updating the config

Bug: 18668877
Test: Unit tests
Change-Id: I0be2d2af49070aad759f24bd31331f7df39a0422
Merged-In: I0be2d2af49070aad759f24bd31331f7df39a0422
2016-11-14 10:21:31 -08:00
Tyler Gunn
9e976c8565 Merge "Add CAPABILITY_SUPPORTS_VIDEO_CALLING to PhoneAccount." am: 8223dc1ae9
am: 8b58e73c48

Change-Id: Ifdbfdb2f418297eae83a69196462dc847650e3e2
2016-11-14 18:15:12 +00:00
Sohani Rao
db9bcdac6f Merge "Permissions check for Wifi Display configuration" 2016-11-14 18:11:07 +00:00
Andreas Gampe
3941bddc6f Merge "resolve merge conflicts of 50c5f04 to master" 2016-11-14 18:09:35 +00:00
Tyler Gunn
8b58e73c48 Merge "Add CAPABILITY_SUPPORTS_VIDEO_CALLING to PhoneAccount."
am: 8223dc1ae9

Change-Id: Id8c6077d099f9ef943c09242acb22173b6628c1a
2016-11-14 18:08:11 +00:00
TreeHugger Robot
18fe8f6359 Merge "Added a callback for AutoFillService." 2016-11-14 17:56:59 +00:00
Manu Cornet
d71ec6347a 2D recents: full screen view and semi-transparent dark background
This matches the newest mocks better than the previous version.

Bug: 32101881
Test: Locally on local Ryu device
Change-Id: I85769215a48b7a4f1e7b52bd7572eb48ca333471
2016-11-14 09:49:20 -08:00
Andreas Gampe
6b59a74330 resolve merge conflicts of 50c5f04 to master
Change-Id: I2b1154e636258ccce6c4482415752444d2ac1326
2016-11-14 09:42:42 -08:00
Romain Guy
5d7e2352e7 Add @HalfFloat annotation for fp16 data types stored in shorts
This CL has a companion CL to add the @HalfFloat annotation to the
support library.

Test: cts-tradefed run singleCommand cts-dev --module CtsUtilTestCases --test android.util.cts.HalfTest
Bug: 29940137
Change-Id: I4e1dc456687c1c026437150e9cc94a54f3264d4e
2016-11-14 09:27:26 -08:00
Narayan Kamath
50c5f04262 Zygote: Additional whitelists for runtime overlay / other static resources.
am: 9087f331a8

Change-Id: I800230fd9a4baf543d53834b00019f81aa07bdc9
2016-11-14 17:25:09 +00:00
Narayan Kamath
d9a8ee7598 Zygote: Additional whitelists for runtime overlay / other static resources.
Partially cherry picked from commit 1c15c635785c64a.

These files are safe to reopen for the same reason that files in
/system/framework are. They're regular files and will not change after
the first zygote fork.

Bug: 32618130

Change-Id: I119e0bfcbf397cb331064adf148d92a5cd3ea92f
(cherry picked from commit 25cd01cc69fcad34756b00e52a79c0c54178f2e6)
(cherry picked from commit 9087f331a85790d49d1095e1eaf0305b7863e0ba)
2016-11-14 17:21:37 +00:00