Commit Graph

309172 Commits

Author SHA1 Message Date
Brad Ebinger
661689ffb1 Merge "Framework fixes to support VoLTE conf calls via RemoteConnectionServices." am: ed839943e0
am: b9f4a2d6c1

Change-Id: I0b1850f074b1a014277c485b1ee6b5b5577fb9cd
2017-02-06 22:15:07 +00:00
Brad Ebinger
b9f4a2d6c1 Merge "Framework fixes to support VoLTE conf calls via RemoteConnectionServices."
am: ed839943e0

Change-Id: Ib8ed5dbf927300503aba1d97af25703b380c56a4
2017-02-06 22:10:26 +00:00
Shuzhen Wang
af4c6ac32f Merge "Camera2: Temporarily remove surface size 0 check" 2017-02-06 22:06:22 +00:00
Jack Yu
4dfa6d3630 Renamed voiceNetworkStateChanged and dataNetworkStateChanged
The misleading voiceNetworkStateChanged should be renamed
to networkStateChanged to reflect either voice or data
network changes will trigger this indication.
And dataNetworkStateChanged should be renamed to
dataCallListChanged as well.

Test: Build
Merged-In: Icf20ceb3718794f7aa62650816714ac8679d101a
Change-Id: Icf20ceb3718794f7aa62650816714ac8679d101a
2017-02-06 14:05:26 -08:00
Brad Ebinger
ed839943e0 Merge "Framework fixes to support VoLTE conf calls via RemoteConnectionServices." 2017-02-06 22:03:29 +00:00
Selim Cinek
e373313bd5 Merge changes If0edccf8,I086b7bae,I043011c6,I4b05f340,I309097ef, ...
* changes:
  Disabling animations now when the screen is off
  Fixed a quick flash of the icon when adding a notification
  Fixed a bug where the notification icons wouldn't match
  Fixed weirdness about last icon in shelf
  Fixed a regression where custom notification where unreadable
  Fixed a wrong translation calculation on first pull down
2017-02-06 21:59:08 +00:00
Sergei Vasilinetc
f77921056d Merge "Clean up deferredLayers only onGpuContextDestroyed." 2017-02-06 21:49:01 +00:00
Bill Yi
3bccff9869 Import translations. DO NOT MERGE
Change-Id: Ia2feb848ece3402b9d19d3276f04c8f8af140da8
Auto-generated-cl: translation import
2017-02-06 13:38:43 -08:00
Selim Cinek
3f146d0de2 Fixed test failures for notification comparator
Test: runtest systemui-notification
Change-Id: I16e6142c99553d541d09390142cd16bbdfa724d2
2017-02-06 13:38:02 -08:00
TreeHugger Robot
fbffd434df Merge "Adding text input mode to TimePicker." 2017-02-06 21:35:26 +00:00
TreeHugger Robot
9520571244 Merge "Fix NPE when getting the callback cookie." 2017-02-06 21:34:15 +00:00
Stephen Chen
a1c92b7e8d Fix NetworkPolicyManagerServiceTest.
Bug: 33349775
Fixes: 33349775
Test: runtest --path
frameworks/base/services/tests/servicestests/src/com/android/server/NetworkPolicyManagerServiceTest.java

Change-Id: Ia4516b65730375a48aa7c7ef1ab89157ffa4f355
2017-02-06 13:18:11 -08:00
TreeHugger Robot
cd1d343ffd Merge "StatusBar: Clean up buzzBeepBlinked and friends" 2017-02-06 21:17:03 +00:00
Bill Yi
7aced4c7f5 Import translations. DO NOT MERGE
Change-Id: Ibda6e6820948937ab910200d980b85e31afca1ae
Auto-generated-cl: translation import
2017-02-06 13:10:41 -08:00
Paul Lawrence
cbfae3e15c Merge "Expand whitelist" am: 006065fee4 am: bff26f4bf1 am: 21b2ab9e11
am: 6f594b810f

Change-Id: I72c19c42d8fbaaeffc7541859369822a585c4b3d
2017-02-06 21:09:07 +00:00
Pavlin Radoslavov
2199339c39 Add a mechanism to configure the default A2DP codec priorities
Previously, the relative codec priorities were hard-codec internally.
The new mechanism uses the following configurable resources in
packages/apps/Bluetooth/res/values/config.xml to re-assign the
default codec priorities per device, or to explicitly disable a codec.

 - a2dp_source_codec_priority_sbc
 - a2dp_source_codec_priority_aac
 - a2dp_source_codec_priority_aptx
 - a2dp_source_codec_priority_aptx_hd
 - a2dp_source_codec_priority_ldac

Those values are assigned on startup.
Also, they can be changed per device by using an overlay:
device/<VENDOR>/<DEVICE>/overlay/packages/apps/Bluetooth/res/values/config.xml

Test: Manually streaming to a headset
Change-Id: Ic4da3a51ac73f00cbae731156cb7878c8fadee06
2017-02-06 13:07:23 -08:00
Android Build Merger (Role)
f8694ef7fe Merge "Merge "Merge "docs: Update gluUnProject parameter description." into nyc-mr1-dev am: 19dae584ba am: b06c3ed79e am: 27e4cb2e61" into nyc-mr2-dev-plus-aosp am: 1395e1c88a" 2017-02-06 21:06:50 +00:00
TreeHugger Robot
7058e33856 Merge "thermal HAL uses "default" service name" 2017-02-06 21:06:39 +00:00
Ricardo Loo
274cebce37 Merge "Merge "docs: Update gluUnProject parameter description." into nyc-mr1-dev am: 19dae584ba am: b06c3ed79e am: 27e4cb2e61" into nyc-mr2-dev-plus-aosp
am: 1395e1c88a

Change-Id: I02ee6a26823ec23cc96943f45f7278925bd95b58
2017-02-06 21:05:29 +00:00
Ricardo Loo
afc52f4484 Merge "docs: Update gluUnProject parameter description." into nyc-mr1-dev am: 19dae584ba am: b06c3ed79e am: 27e4cb2e61
am: 8d711bcdc1

Change-Id: I78fb14bbe005f07d551421da55e8a5890fb31290
2017-02-06 21:05:20 +00:00
Ricardo Loo
7ff9527bda Merge "Merge "docs: Update gluUnProject parameter description." into nyc-mr1-dev am: 19dae584ba am: b06c3ed79e am: d27f7a7af7" into nyc-mr2-dev-plus-aosp
am: ed17c22594

Change-Id: I737fb324f0b9112fe7c3ef94deaf0cdb5a9ee45e
2017-02-06 21:03:38 +00:00
Ricardo Loo
a924f1349e Merge "docs: Update gluUnProject parameter description." into nyc-mr1-dev am: 19dae584ba am: b06c3ed79e am: d27f7a7af7
am: af0ad0a419

Change-Id: I3ea7fbc8f589ea87d21e304683b3f34b4b76c415
2017-02-06 21:03:30 +00:00
Paul Lawrence
6f594b810f Merge "Expand whitelist" am: 006065fee4 am: bff26f4bf1
am: 21b2ab9e11

Change-Id: Id6d1e209a677c0a769b7f63744a8471eb8602a7a
2017-02-06 21:01:55 +00:00
Ricardo Loo
386836743e Merge "docs: Update gluUnProject parameter description. am: 232c4900ac am: cb6a5fc0f3 am: 07b5cf2fb6" into nyc-mr2-dev-plus-aosp
am: eaa6364d1b

Change-Id: If3b50dfec5d24b67dd507ffcf8e444d0b314525f
2017-02-06 21:01:53 +00:00
Ricardo Loo
e721d0fc0d docs: Update gluUnProject parameter description. am: 232c4900ac am: cb6a5fc0f3 am: 07b5cf2fb6
am: 543b773a04

Change-Id: I3c3b96e4b5bc062b58fba4d4ad77fdb17ec381cd
2017-02-06 21:01:46 +00:00
Ricardo Loo
5e490d677a docs: Update gluUnProject parameter description. am: 232c4900ac am: cb6a5fc0f3 am: 94122af913
am: 7ade93fedf

Change-Id: Ifbdb0953222e7d2a5dd1a61ba1cf7880573563a2
2017-02-06 21:00:33 +00:00
Android Build Merger (Role)
1395e1c88a Merge "Merge "docs: Update gluUnProject parameter description." into nyc-mr1-dev am: 19dae584ba am: b06c3ed79e am: 27e4cb2e61" into nyc-mr2-dev-plus-aosp 2017-02-06 20:57:35 +00:00
Paul Lawrence
21b2ab9e11 Merge "Expand whitelist" am: 006065fee4
am: bff26f4bf1

Change-Id: I2ad973c64c858b11628348965e9593f9f85c6dbe
2017-02-06 20:57:23 +00:00
Phil Weaver
c2e28932d2 Provide text locations to accessibility services.
Bug: 30170631
Test: New CTS tests on linked CL.
Change-Id: I723e3777189c8df71c59dada00abdf339ebc983d
2017-02-06 12:57:17 -08:00
Android Build Merger (Role)
ed17c22594 Merge "Merge "docs: Update gluUnProject parameter description." into nyc-mr1-dev am: 19dae584ba am: b06c3ed79e am: d27f7a7af7" into nyc-mr2-dev-plus-aosp 2017-02-06 20:56:55 +00:00
Ricardo Loo
8d711bcdc1 Merge "docs: Update gluUnProject parameter description." into nyc-mr1-dev am: 19dae584ba am: b06c3ed79e
am: 27e4cb2e61

Change-Id: Ibc8cc393c800d6d378f873259043d9434bb3ba6e
2017-02-06 20:56:50 +00:00
Android Build Merger (Role)
eaa6364d1b Merge "docs: Update gluUnProject parameter description. am: 232c4900ac am: cb6a5fc0f3 am: 07b5cf2fb6" into nyc-mr2-dev-plus-aosp 2017-02-06 20:56:31 +00:00
Casey Burkhardt
048c2bc19a Initial implementation of Nav Bar Accessibility Button
This allows an AccessibilityService to set a flag in its
AccessibilityServiceInfo that triggers the navigation bar to show an
Accessibility Button and observe callbacks when the button is clicked
or there are changes in the visibility of the navigation bar.

Test: Manual (Created a sample AccessibilityService) + CTS
Bug:29231271
Change-Id: I03d653d85bc37df28ed71d8bba94b7c75fe56e43
2017-02-06 12:56:08 -08:00
Ricardo Loo
af0ad0a419 Merge "docs: Update gluUnProject parameter description." into nyc-mr1-dev am: 19dae584ba am: b06c3ed79e
am: d27f7a7af7

Change-Id: I0005fda55383977ac84d370e7562fb7de7156f24
2017-02-06 20:56:05 +00:00
Jeremy Joslin
bdd9ac2324 Default the lastSelectetNetworkId to -1
Test: adb shell am instrument -e class android.net.RecommendationRequestTest  -w com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner
Bug: 35045563
Change-Id: I04d71f2072d8a5a706f05905b580dd7af77d13d8
2017-02-06 12:55:43 -08:00
Ricardo Loo
543b773a04 docs: Update gluUnProject parameter description. am: 232c4900ac am: cb6a5fc0f3
am: 07b5cf2fb6

Change-Id: I6da11429be64951a34c3fab33312b90f4513e8d0
2017-02-06 20:55:32 +00:00
Ricardo Loo
7ade93fedf docs: Update gluUnProject parameter description. am: 232c4900ac am: cb6a5fc0f3
am: 94122af913

Change-Id: I35080a02989b25efb690183394b02a724e23acd6
2017-02-06 20:54:54 +00:00
TreeHugger Robot
cf67a32823 Merge "Remove experimental twilight-based automatic brightness" 2017-02-06 20:53:31 +00:00
Paul Lawrence
bff26f4bf1 Merge "Expand whitelist"
am: 006065fee4

Change-Id: I8e370c7afddc4911e3860d62809fd007bac40a0b
2017-02-06 20:52:49 +00:00
Ricardo Loo
27e4cb2e61 Merge "docs: Update gluUnProject parameter description." into nyc-mr1-dev am: 19dae584ba
am: b06c3ed79e

Change-Id: Ied57792600e4c832455178fab58c73fa51a32d97
2017-02-06 20:50:57 +00:00
Eugene Susla
6ed45d8cd3 CompanionDeviceManager
This introduces an API for apps that support companion devices to provide a
more streamlined flow for pairing and setting up the device

Bug: 30932767
Test: Using a toy app, invoke the newly introduced API (CompanionDeviceManager),
 and go through the flow. Ensure filtering works, and device is returned to
 the calling app. Ensure the calling app can pair to the selected device.
Change-Id: I0aeb653afd65e4adead13ea9c7248ec20971b04a
2017-02-06 12:50:55 -08:00
Ricardo Loo
d27f7a7af7 Merge "docs: Update gluUnProject parameter description." into nyc-mr1-dev am: 19dae584ba
am: b06c3ed79e

Change-Id: I97f1b4559b0c8d4eb3709a455e54157fe3a40426
2017-02-06 20:50:48 +00:00
Ricardo Loo
07b5cf2fb6 docs: Update gluUnProject parameter description. am: 232c4900ac
am: cb6a5fc0f3

Change-Id: If34955950f76c9ae8a488f57e7e2d3145bd55543
2017-02-06 20:49:52 +00:00
Ricardo Loo
94122af913 docs: Update gluUnProject parameter description. am: 232c4900ac
am: cb6a5fc0f3

Change-Id: Ied7be460f12d29dd1ce77be724c11b78e2179293
2017-02-06 20:49:49 +00:00
Ricardo Loo
b06c3ed79e Merge "docs: Update gluUnProject parameter description." into nyc-mr1-dev
am: 19dae584ba

Change-Id: I401682a35913ed936d124f7265e3e9338335ccee
2017-02-06 20:45:27 +00:00
Ricardo Loo
cb6a5fc0f3 docs: Update gluUnProject parameter description.
am: 232c4900ac

Change-Id: I087f08225229483798997096be428ef89f61d0bb
2017-02-06 20:45:23 +00:00
Treehugger Robot
006065fee4 Merge "Expand whitelist" 2017-02-06 20:43:02 +00:00
Ricardo Loo
19dae584ba Merge "docs: Update gluUnProject parameter description." into nyc-mr1-dev 2017-02-06 20:37:46 +00:00
Brad Ebinger
4c28b93caa Merge "Add BIND_IMS_SERVICE to permissions whitelist" 2017-02-06 20:35:03 +00:00
Tyler Gunn
cd6ccfd23c Framework fixes to support VoLTE conf calls via RemoteConnectionServices.
Fixing some issues with the addExistingConnection and addConference APIs
on ConnectionService.  When a connection manager relays the addition of
an existing connection or a conference to Telecom, it will assign a new
ID to the new connection/conference.  Due to how RemoteCSes work, the
Connection/Conf will be added directly via TelephonyConnectionService and
also via the connection manager's connection service.  Because the ID
changes, we ended up adding these twice. Conferences weren't a problem in
the GSM conference case because the TElephonyConnectionService's
ConnectionServiceWrapper didn't know of the IDs for the children of the
conference.  However, due to how the existing connections work its not the
case for VoLTE conferences.  To mitigate this, I'm passing the original
connection/conference ID to the connection manager via extras (ugh) and
using this to ensure that when the new existing connection/conference is
added to telecom that the same ID is used.  This ensures that we can
properly de-dupe the requests from TelephonyConnectionService and the
connection manager.

Also, there was some missing code in RemoteConnectionService which would
cause it to not properly track existing connections.

Bug: 31464792
Change-Id: I436f4438fd000ea48ebea7ceb75105bd3f456e46
2017-02-06 12:31:53 -08:00