OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge changes from topic "avrcp_cherry_picks" am: b4e17814f0 am: 898bc38860
Myles Watson [Fri, 22 Sep 2017 20:28:33 +0000 (20:28 +0000)]
Merge changes from topic "avrcp_cherry_picks" am: b4e17814f0 am: 898bc38860
am: 8c95e9be38

Change-Id: Ic8c5ef847872b786ad62caf05080bfeb53d5c466

6 years agoAdd equal overloads to some MediaDescription and MediaQueue objects (2/3) am: 905d8ab...
Ajay Panicker [Fri, 22 Sep 2017 20:27:21 +0000 (20:27 +0000)]
Add equal overloads to some MediaDescription and MediaQueue objects (2/3) am: 905d8ab843 am: 12bec46613
am: 5e91f05167

Change-Id: I43ba93fcebc3eb228241712ebecd620d8812cd84

6 years agoMerge "fixed handling of data URI schemes in Intent.toUri" am: c3d3cf5666 am: 928b7cba47
Christopher Schuster [Fri, 22 Sep 2017 20:00:45 +0000 (20:00 +0000)]
Merge "fixed handling of data URI schemes in Intent.toUri" am: c3d3cf5666 am: 928b7cba47
am: 067cfb369d

Change-Id: I811b1b7e0b62d4143292a94fd4b5478f74cdec24

6 years agoMerge "Add systrace for VectorDrawable inflation and draw" into oc-mr1-dev
Tenghui Zhu [Fri, 22 Sep 2017 19:49:58 +0000 (19:49 +0000)]
Merge "Add systrace for VectorDrawable inflation and draw" into oc-mr1-dev
am: dbe5afd90d

Change-Id: I906a1762d0f768fdb1cac2147a29ae9e0ab8ffe2

6 years agoMerge "Add systrace for VectorDrawable inflation and draw" into oc-mr1-dev
Tenghui Zhu [Fri, 22 Sep 2017 19:45:17 +0000 (19:45 +0000)]
Merge "Add systrace for VectorDrawable inflation and draw" into oc-mr1-dev

6 years agoAdd systrace for VectorDrawable inflation and draw
ztenghui [Wed, 13 Sep 2017 17:32:50 +0000 (10:32 -0700)]
Add systrace for VectorDrawable inflation and draw

We didn't trace the draw from cache.
Here we add trace for draw into bitmap, which is normally heavy.

fix: 65060698
Bug: 65060698
Test: run test app and get systrace and check

Change-Id: Ia81127c4aa285b3277e9c9edbdf356d85cb28b5e
(cherry picked from commit cf0c41dbc221c2619212c7e25e6d90a9c4d05b05)

6 years agoMerge "hwuitest: added hwui test for TV application" into oc-mr1-dev
Dake Gu [Fri, 22 Sep 2017 19:35:35 +0000 (19:35 +0000)]
Merge "hwuitest: added hwui test for TV application" into oc-mr1-dev
am: 88dd458c9a

Change-Id: I8aa8b1c90f18aaac3342b0652979834fadccc167

6 years agoMerge "hwuitest: added hwui test for TV application" into oc-mr1-dev
Dake Gu [Fri, 22 Sep 2017 19:26:42 +0000 (19:26 +0000)]
Merge "hwuitest: added hwui test for TV application" into oc-mr1-dev

6 years agoMerge changes from topic "avrcp_cherry_picks" am: b4e17814f0
Myles Watson [Fri, 22 Sep 2017 18:06:47 +0000 (18:06 +0000)]
Merge changes from topic "avrcp_cherry_picks" am: b4e17814f0
am: 898bc38860

Change-Id: Iee7beb952d58e7c117fa2fc50537988c7ad8b443

6 years agoAdd equal overloads to some MediaDescription and MediaQueue objects (2/3) am: 905d8ab843
Ajay Panicker [Fri, 22 Sep 2017 18:05:41 +0000 (18:05 +0000)]
Add equal overloads to some MediaDescription and MediaQueue objects (2/3) am: 905d8ab843
am: 12bec46613

Change-Id: I88f9d4c23f4757fe50bbb36ef376e7460a28f1ca

6 years agoMerge changes from topic "avrcp_cherry_picks"
Myles Watson [Fri, 22 Sep 2017 17:15:58 +0000 (17:15 +0000)]
Merge changes from topic "avrcp_cherry_picks"
am: b4e17814f0

Change-Id: Id15dddaeb7082031fdd03ca9e0f9f54c83abb142

6 years agoAdd equal overloads to some MediaDescription and MediaQueue objects (2/3)
Ajay Panicker [Fri, 22 Sep 2017 17:14:36 +0000 (17:14 +0000)]
Add equal overloads to some MediaDescription and MediaQueue objects (2/3)
am: 905d8ab843

Change-Id: I8f47786d4e0c392b008cdce80aed05ca7b1573b1

6 years agoMerge changes from topic "avrcp_cherry_picks"
Myles Watson [Fri, 22 Sep 2017 16:37:33 +0000 (16:37 +0000)]
Merge changes from topic "avrcp_cherry_picks"

* changes:
  Bluetooth: Add AVRCP 1.3 as a developer option for AVRCP version (1/2)
  Add equal overloads to some MediaDescription and MediaQueue objects (2/3)

6 years agoBluetooth: Add AVRCP 1.3 as a developer option for AVRCP version (1/2)
Ajay Panicker [Fri, 1 Sep 2017 18:58:38 +0000 (11:58 -0700)]
Bluetooth: Add AVRCP 1.3 as a developer option for AVRCP version (1/2)

This is requied for the 2012 Mazda 3 carkit as the carkit refuses to send
AVRCP commands other than passthrough commands when the version is anything
else. AVRCP 1.3 is compatible with most carkits on the market and can be
used to get most carkits working at the cost of losing many features.

Bug: 37943083
Test: Set AVRCP 1.3 in developer options and see that SDP and the AVRCP
      capabilites have updated to reflect this.
      TestTracker: 105915/3975

Change-Id: I637b695e5cd8baa5f054ca0dda81372080a96269

6 years agoAdd equal overloads to some MediaDescription and MediaQueue objects (2/3)
Ajay Panicker [Fri, 21 Jul 2017 20:29:57 +0000 (13:29 -0700)]
Add equal overloads to some MediaDescription and MediaQueue objects (2/3)

Bug: 64686424
Test: Connect to carkit and see that NowPlayingChanged only gets sent when
      the queue changes, run cts test
Change-Id: I58c9dd0bf976485a2efefd042cd667ee433e07e1
(cherry picked from commit 6edb68bea68d5f324384f3e9e411118eb8dfc781)

6 years agoBump the importance of foreground service notis
Julia Reynolds [Fri, 22 Sep 2017 15:19:38 +0000 (15:19 +0000)]
Bump the importance of foreground service notis
am: 8617e4ec9e

Change-Id: Id950d5b10a53bc5f4d7a73b6dcc6876cc3bcd104

6 years agoMerge "fixed handling of data URI schemes in Intent.toUri" am: c3d3cf5666
Christopher Schuster [Fri, 22 Sep 2017 15:11:08 +0000 (15:11 +0000)]
Merge "fixed handling of data URI schemes in Intent.toUri" am: c3d3cf5666
am: 928b7cba47

Change-Id: I1c41d3eb7ac815b8cf04879fbeee70a66d5a2a3e

6 years agoBump the importance of foreground service notis
Julia Reynolds [Mon, 18 Sep 2017 20:52:37 +0000 (16:52 -0400)]
Bump the importance of foreground service notis

Unless the user has chosen an importance.

Change-Id: Ibe82c91c6a98a75fc623784300f3f906879e8a80
Fixes: 65640487
Test: runtest systemui-notification

6 years agoMerge "fixed handling of data URI schemes in Intent.toUri"
Christopher Schuster [Fri, 22 Sep 2017 15:02:03 +0000 (15:02 +0000)]
Merge "fixed handling of data URI schemes in Intent.toUri"
am: c3d3cf5666

Change-Id: Id4b8ef16f7a428e6c3d8b382387cf575d05926ad

6 years agoMerge "Move non-public intent out of the public namespace" into oc-mr1-dev
Neil Fuller [Fri, 22 Sep 2017 10:31:43 +0000 (10:31 +0000)]
Merge "Move non-public intent out of the public namespace" into oc-mr1-dev
am: 3f1ba67f1e

Change-Id: Ie93db5b1770cc05ba476b97b829a8f8e1925f673

6 years agoMerge "Move non-public intent out of the public namespace" into oc-mr1-dev
TreeHugger Robot [Fri, 22 Sep 2017 10:24:43 +0000 (10:24 +0000)]
Merge "Move non-public intent out of the public namespace" into oc-mr1-dev

6 years agoMerge "fixed handling of data URI schemes in Intent.toUri"
Treehugger Robot [Fri, 22 Sep 2017 09:04:16 +0000 (09:04 +0000)]
Merge "fixed handling of data URI schemes in Intent.toUri"

6 years agoMerge "Add checking values not to save illegal value to appwidgets.xml" am: 941d4b213...
Takamasa Kuramitsu [Fri, 22 Sep 2017 02:49:30 +0000 (02:49 +0000)]
Merge "Add checking values not to save illegal value to appwidgets.xml" am: 941d4b2135 am: 1807cb4a88
am: 3583e1f079

Change-Id: Ic1c8ccd34433201b73066d9fb016aa03b1cefa4a

6 years agoMerge "Add checking values not to save illegal value to appwidgets.xml" am: 941d4b2135
Takamasa Kuramitsu [Fri, 22 Sep 2017 02:43:24 +0000 (02:43 +0000)]
Merge "Add checking values not to save illegal value to appwidgets.xml" am: 941d4b2135
am: 1807cb4a88

Change-Id: I6e02c6dead092e8727f8ef76eaf689ef0cfec376

6 years agoMerge "Add checking values not to save illegal value to appwidgets.xml"
Takamasa Kuramitsu [Fri, 22 Sep 2017 02:37:24 +0000 (02:37 +0000)]
Merge "Add checking values not to save illegal value to appwidgets.xml"
am: 941d4b2135

Change-Id: I4d74a5deb0a48e4b61dcfacb3f19f735afe5d95e

6 years agoMerge "Add checking values not to save illegal value to appwidgets.xml"
Treehugger Robot [Fri, 22 Sep 2017 02:17:47 +0000 (02:17 +0000)]
Merge "Add checking values not to save illegal value to appwidgets.xml"

6 years agoMerge "Bump up OOM priority of bound VrListenerService." into oc-mr1-dev
Ruben Brunk [Fri, 22 Sep 2017 01:11:51 +0000 (01:11 +0000)]
Merge "Bump up OOM priority of bound VrListenerService." into oc-mr1-dev
am: 71acf7074f

Change-Id: I96afa04e3482663ad28316d928390d94c2015673

6 years agoMerge "Implement ConnectivityService TODO and fix many race conditions" into oc-mr1-dev
Hugo Benichi [Fri, 22 Sep 2017 01:07:33 +0000 (01:07 +0000)]
Merge "Implement ConnectivityService TODO and fix many race conditions" into oc-mr1-dev
am: 49b8850cd1

Change-Id: I5729967b3009cb541e586df8117fca3cee860feb

6 years agoMerge "Bump up OOM priority of bound VrListenerService." into oc-mr1-dev
TreeHugger Robot [Fri, 22 Sep 2017 00:59:29 +0000 (00:59 +0000)]
Merge "Bump up OOM priority of bound VrListenerService." into oc-mr1-dev

6 years agoMerge "Implement ConnectivityService TODO and fix many race conditions" into oc-mr1-dev
Hugo Benichi [Fri, 22 Sep 2017 00:50:39 +0000 (00:50 +0000)]
Merge "Implement ConnectivityService TODO and fix many race conditions" into oc-mr1-dev

6 years agoMerge "Swipe for notifications should work when navigation occludes keyguard" into...
Kevin Chyn [Fri, 22 Sep 2017 00:25:51 +0000 (00:25 +0000)]
Merge "Swipe for notifications should work when navigation occludes keyguard" into oc-mr1-dev
am: 3e3e05c933

Change-Id: I9322641eec548fb74dafffdb5250c94d3933a3e7

6 years agoMerge "Swipe for notifications should work when navigation occludes keyguard" into...
Kevin Chyn [Fri, 22 Sep 2017 00:07:16 +0000 (00:07 +0000)]
Merge "Swipe for notifications should work when navigation occludes keyguard" into oc-mr1-dev

6 years agoMerge "Remove debug logging from PowerManagerService." into oc-mr1-dev
Santos Cordon [Thu, 21 Sep 2017 22:39:10 +0000 (22:39 +0000)]
Merge "Remove debug logging from PowerManagerService." into oc-mr1-dev
am: 73e6ff1925

Change-Id: I095f84243b1e9d9e75ffd8747fb69942d12a3ee5

6 years agoMerge "Remove debug logging from PowerManagerService." into oc-mr1-dev
Santos Cordon [Thu, 21 Sep 2017 22:23:48 +0000 (22:23 +0000)]
Merge "Remove debug logging from PowerManagerService." into oc-mr1-dev

6 years agoMerge "Merge "Improve AVRCP quality and state handling (2/2)" into oc-dev am: 5c54a73...
Android Build Merger (Role) [Thu, 21 Sep 2017 22:11:44 +0000 (22:11 +0000)]
Merge "Merge "Improve AVRCP quality and state handling (2/2)" into oc-dev am: 5c54a732f1 am: 60315cab7a am: 79b94a58a4" into oc-mr1-dev-plus-aosp

6 years agoMerge "Improve AVRCP quality and state handling (2/2)" into oc-dev am: 5c54a732f1...
Andre Eisenbach [Thu, 21 Sep 2017 22:07:29 +0000 (22:07 +0000)]
Merge "Improve AVRCP quality and state handling (2/2)" into oc-dev am: 5c54a732f1 am: 60315cab7a
am: 79b94a58a4

Change-Id: I4aa1a4878f5fcf170894d2427c7d320176145c08

6 years agoMerge "Improve AVRCP quality and state handling (2/2)" into oc-dev am: 5c54a732f1...
Andre Eisenbach [Thu, 21 Sep 2017 22:03:12 +0000 (22:03 +0000)]
Merge "Improve AVRCP quality and state handling (2/2)" into oc-dev am: 5c54a732f1 am: 60315cab7a
am: 9cc57140cc

Change-Id: I623425d7c482fd47f71978eed46e4de825c86afd

6 years agoMerge "Improve AVRCP quality and state handling (2/2)" into oc-dev am: 5c54a732f1
Andre Eisenbach [Thu, 21 Sep 2017 21:52:43 +0000 (21:52 +0000)]
Merge "Improve AVRCP quality and state handling (2/2)" into oc-dev am: 5c54a732f1
am: 60315cab7a

Change-Id: I951c387b9f3d2c2df5eccb6b3d5e50206b0db84e

6 years agoMerge "Improve AVRCP quality and state handling (2/2)" into oc-dev am: 5c54a732f1
Andre Eisenbach [Thu, 21 Sep 2017 21:52:39 +0000 (21:52 +0000)]
Merge "Improve AVRCP quality and state handling (2/2)" into oc-dev am: 5c54a732f1
am: 60315cab7a

Change-Id: I88d00765cd8e9a3f8b31135f3b63f9a25012dac1

6 years agoMerge "Only call negative listener when SaveUI is dismissed by tapping button." into...
Felipe Leme [Thu, 21 Sep 2017 21:51:14 +0000 (21:51 +0000)]
Merge "Only call negative listener when SaveUI is dismissed by tapping button." into oc-mr1-dev
am: e8041834b1

Change-Id: I3e2bfcf5f2e00e542b0a4516f2c1eebd4f378218

6 years agoMerge "Camera: Add more documentation about thrown exceptions." into oc-mr1-dev
Eino-Ville Talvala [Thu, 21 Sep 2017 21:44:19 +0000 (21:44 +0000)]
Merge "Camera: Add more documentation about thrown exceptions." into oc-mr1-dev
am: a120e6b604

Change-Id: Ie82286ec2e597affc50ea817e29de9caeac11bb2

6 years agoMerge "Improve AVRCP quality and state handling (2/2)" into oc-dev
Andre Eisenbach [Thu, 21 Sep 2017 21:40:45 +0000 (21:40 +0000)]
Merge "Improve AVRCP quality and state handling (2/2)" into oc-dev
am: 5c54a732f1

Change-Id: I62bacf450c64f98e44e15e0a1ec7a4f13f2982c4

6 years agoMerge "Only call negative listener when SaveUI is dismissed by tapping button." into...
TreeHugger Robot [Thu, 21 Sep 2017 20:44:50 +0000 (20:44 +0000)]
Merge "Only call negative listener when SaveUI is dismissed by tapping button." into oc-mr1-dev

6 years agoMerge "Camera: Add more documentation about thrown exceptions." into oc-mr1-dev
TreeHugger Robot [Thu, 21 Sep 2017 19:50:33 +0000 (19:50 +0000)]
Merge "Camera: Add more documentation about thrown exceptions." into oc-mr1-dev

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
Bill Yi [Thu, 21 Sep 2017 18:51:09 +0000 (18:51 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev
am: 20f3c4508c  -s ours

Change-Id: Ie8b664833fa4b20844e1fb2b4edd2d8478d399b4

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
TreeHugger Robot [Thu, 21 Sep 2017 18:42:51 +0000 (18:42 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev

6 years agoSwipe for notifications should work when navigation occludes keyguard
Kevin Chyn [Thu, 21 Sep 2017 18:41:01 +0000 (11:41 -0700)]
Swipe for notifications should work when navigation occludes keyguard

Fixes: 65780650

Test: 1) Enable FP swipe
2) Start navigation
3) Turn off screen
4) Turn on screen
5) Swipe for notifications should work while maps is on top of keyguard

Change-Id: I5d8c75db940bfdfa4e29643c1ba89a119ec6a954

6 years agoMerge "Improve AVRCP quality and state handling (2/2)" into oc-dev
Andre Eisenbach [Thu, 21 Sep 2017 18:15:27 +0000 (18:15 +0000)]
Merge "Improve AVRCP quality and state handling (2/2)" into oc-dev

6 years agoRemove debug logging from PowerManagerService.
Santos Cordon [Wed, 20 Sep 2017 22:25:44 +0000 (15:25 -0700)]
Remove debug logging from PowerManagerService.

Previously set to true accidentally.
Bug: 66209945
Test: Manual

Change-Id: Ie34ff30b43107897cbffc6258cb6c3e867d5da2e

6 years agoMerge "Remove finished sessions on ACTION_CLOSE_SYSTEM_DIALOGS." into oc-mr1-dev
Felipe Leme [Thu, 21 Sep 2017 17:05:24 +0000 (17:05 +0000)]
Merge "Remove finished sessions on ACTION_CLOSE_SYSTEM_DIALOGS." into oc-mr1-dev
am: 56e5c3944b

Change-Id: I53e1d77508d3d502f31ecc4f907dc0b26fadbf7b

6 years agoMerge "Remove finished sessions on ACTION_CLOSE_SYSTEM_DIALOGS." into oc-mr1-dev
TreeHugger Robot [Thu, 21 Sep 2017 16:54:44 +0000 (16:54 +0000)]
Merge "Remove finished sessions on ACTION_CLOSE_SYSTEM_DIALOGS." into oc-mr1-dev

6 years agoMerge "Ensure profile-specific PiP notification is shown." into oc-mr1-dev
Winson Chung [Thu, 21 Sep 2017 16:46:20 +0000 (16:46 +0000)]
Merge "Ensure profile-specific PiP notification is shown." into oc-mr1-dev
am: 66f2d56556

Change-Id: I9145bce7131e695a696e50b3e46e5c4a30a8e669

6 years agoMerge "Ensure profile-specific PiP notification is shown." into oc-mr1-dev
Winson Chung [Thu, 21 Sep 2017 16:38:16 +0000 (16:38 +0000)]
Merge "Ensure profile-specific PiP notification is shown." into oc-mr1-dev

6 years agoImport translations. DO NOT MERGE am: de5eefa935 -s ours am: 9d008286c7 -s ours...
Bill Yi [Thu, 21 Sep 2017 16:32:35 +0000 (16:32 +0000)]
Import translations. DO NOT MERGE am: de5eefa935  -s ours am: 9d008286c7  -s ours am: b4e9b3f651  -s ours am: 7139a4dd5e  -s ours
am: 1270fa196a  -s ours

Change-Id: I98245b3c39a0e25fafd042b5f8d528d385aaf892

6 years agoImport translations. DO NOT MERGE am: de5eefa935 -s ours am: 9d008286c7 -s ours...
Bill Yi [Thu, 21 Sep 2017 16:29:28 +0000 (16:29 +0000)]
Import translations. DO NOT MERGE am: de5eefa935  -s ours am: 9d008286c7  -s ours am: b4e9b3f651  -s ours am: 7139a4dd5e  -s ours
am: 341759f995  -s ours

Change-Id: Ibf2a76d8459c88f24f1ef59f96e2a89e46ff89e8

6 years agoMerge "Import translations. DO NOT MERGE am: 50e19c566e -s ours am: e708378dc9 ...
Android Build Merger (Role) [Thu, 21 Sep 2017 16:22:38 +0000 (16:22 +0000)]
Merge "Import translations. DO NOT MERGE am: 50e19c566e  -s ours am: e708378dc9  -s ours am: 05d82e887a  -s ours" into oc-mr1-dev-plus-aosp

6 years agoImport translations. DO NOT MERGE am: de5eefa935 -s ours am: 9d008286c7 -s ours...
Bill Yi [Thu, 21 Sep 2017 16:19:42 +0000 (16:19 +0000)]
Import translations. DO NOT MERGE am: de5eefa935  -s ours am: 9d008286c7  -s ours am: b4e9b3f651  -s ours
am: 7139a4dd5e  -s ours

Change-Id: I9a8c5a42038743f46b46b26b26d383799a102bde

6 years agoImport translations. DO NOT MERGE am: de5eefa935 -s ours am: 9d008286c7 -s ours...
Bill Yi [Thu, 21 Sep 2017 16:19:40 +0000 (16:19 +0000)]
Import translations. DO NOT MERGE am: de5eefa935  -s ours am: 9d008286c7  -s ours am: b4e9b3f651  -s ours
am: 7139a4dd5e  -s ours

Change-Id: I7192304b8aaad74dfab22571892b66e8c84a9736

6 years agoImport translations. DO NOT MERGE am: 50e19c566e -s ours am: e708378dc9 -s ours
Bill Yi [Thu, 21 Sep 2017 16:19:07 +0000 (16:19 +0000)]
Import translations. DO NOT MERGE am: 50e19c566e  -s ours am: e708378dc9  -s ours
am: 05d82e887a  -s ours

Change-Id: Ie960ff87958349e40171a1205dc67794fcf27826

6 years agoImport translations. DO NOT MERGE am: 50e19c566e -s ours am: e708378dc9 -s ours
Bill Yi [Thu, 21 Sep 2017 16:18:01 +0000 (16:18 +0000)]
Import translations. DO NOT MERGE am: 50e19c566e  -s ours am: e708378dc9  -s ours
am: e7f7be9e14  -s ours

Change-Id: I7e88ec07c8fd6b0b595f675fd4f0f2e77cbcca77

6 years agoImport translations. DO NOT MERGE am: de5eefa935 -s ours am: 9d008286c7 -s ours
Bill Yi [Thu, 21 Sep 2017 16:13:13 +0000 (16:13 +0000)]
Import translations. DO NOT MERGE am: de5eefa935  -s ours am: 9d008286c7  -s ours
am: b4e9b3f651  -s ours

Change-Id: I8b727efb19b68f7adfc1f3eda4240e70551b8102

6 years agoImport translations. DO NOT MERGE am: 50e19c566e -s ours
Bill Yi [Thu, 21 Sep 2017 16:11:12 +0000 (16:11 +0000)]
Import translations. DO NOT MERGE am: 50e19c566e  -s ours
am: e708378dc9  -s ours

Change-Id: Iddd08f8c762a19e7785f0fc067154f246553e2ff

6 years agoImport translations. DO NOT MERGE am: 50e19c566e -s ours
Bill Yi [Thu, 21 Sep 2017 16:11:12 +0000 (16:11 +0000)]
Import translations. DO NOT MERGE am: 50e19c566e  -s ours
am: e708378dc9  -s ours

Change-Id: Ifdce36eb6dbb6c0af7a1f65d9142e77b05a2f5da

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 21 Sep 2017 16:06:29 +0000 (16:06 +0000)]
Import translations. DO NOT MERGE
am: 50e19c566e  -s ours

Change-Id: I82b5f21b00ed2e75a74859ffe70560e6999902a6

6 years agoImport translations. DO NOT MERGE am: de5eefa935 -s ours
Bill Yi [Thu, 21 Sep 2017 16:04:11 +0000 (16:04 +0000)]
Import translations. DO NOT MERGE am: de5eefa935  -s ours
am: 9d008286c7  -s ours

Change-Id: I5535968d3817e8c09e9d5e3e0a75180d29dbe303

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 21 Sep 2017 15:56:53 +0000 (15:56 +0000)]
Import translations. DO NOT MERGE
am: de5eefa935  -s ours

Change-Id: I53abfc53a067bca1cec279285f59185b8b18a64e

6 years agofixed handling of data URI schemes in Intent.toUri
Christopher Schuster [Fri, 21 Jul 2017 21:53:52 +0000 (14:53 -0700)]
fixed handling of data URI schemes in Intent.toUri

Data URIs in intents can use schemes with digits and some special
characters (see RFC 2396 and 3986). This patch fixes how these
data URIs are handled by Intent.toUri to support these schemes.

Bug: 63930680
Test: run cts android.content.cts.IntentTest#testUris
Change-Id: I0dbb72325f59f372abba83be9e14c59d5665a053
Signed-off-by: Christopher Schuster <levjj@google.com>
6 years agoMerge "Remove StructGroupSourceReq" am: c7d27845df am: 4c86c99273
vichang [Thu, 21 Sep 2017 12:59:40 +0000 (12:59 +0000)]
Merge "Remove StructGroupSourceReq" am: c7d27845df am: 4c86c99273
am: 8e29e292a3

Change-Id: I14e115957e4a4c90fdacebddad50cece186a303c

6 years agoMove non-public intent out of the public namespace
Neil Fuller [Thu, 21 Sep 2017 12:00:23 +0000 (13:00 +0100)]
Move non-public intent out of the public namespace

Move a non-public intent out of the public android.intent.action
namespace. The new name is
com.android.intent.action.timezone.TRIGGER_RULES_UPDATE_CHECK.

Bug: 65991376
Test: CTS: run -m CtsIntentSignatureTestCases
Test: PTS: run -m PtsTimeZoneTestCases
Change-Id: I619b564aa6262108ab2d1c95ba6e288efd8cc9f2

6 years agoMerge "Remove StructGroupSourceReq" am: c7d27845df
vichang [Thu, 21 Sep 2017 12:53:54 +0000 (12:53 +0000)]
Merge "Remove StructGroupSourceReq" am: c7d27845df
am: 4c86c99273

Change-Id: I7bf2fbedce07a63adb16cff7c8a2febf90b606f7

6 years agoMerge "Remove StructGroupSourceReq"
vichang [Thu, 21 Sep 2017 12:47:34 +0000 (12:47 +0000)]
Merge "Remove StructGroupSourceReq"
am: c7d27845df

Change-Id: I73bc8a380f8981cff14a4ef5c6f36f81a8b4d7f8

6 years agoMerge "Remove StructGroupSourceReq"
vichang [Thu, 21 Sep 2017 12:42:15 +0000 (12:42 +0000)]
Merge "Remove StructGroupSourceReq"

6 years agoMerge "Implement ConnectivityService TODO and fix many race conditions" am: f6b72dd14...
Hugo Benichi [Thu, 21 Sep 2017 12:21:04 +0000 (12:21 +0000)]
Merge "Implement ConnectivityService TODO and fix many race conditions" am: f6b72dd145 am: 8bb2cdea00
am: 287c334379

Change-Id: Ia59d45f4e95a536d7982f61ac9c9a1bfc5e8ebb8

6 years agoImplement ConnectivityService TODO and fix many race conditions
Hugo Benichi [Wed, 20 Sep 2017 02:20:14 +0000 (11:20 +0900)]
Implement ConnectivityService TODO and fix many race conditions

This patch implements an outstanding TODO in ConnectivityService to add
synchronization over the map of network request ids to network agent
info objects.

This structure is accessed from multiple threads:
 - Binder thread on public aidl methods, most notably via
   getDefaultNetwork().
 - Internal handler.

This leads to many race conditions that can crash the system server and
reboot the phone if getDefaultNetwork() is called on a Binder thread to
service a public ConnectivityManager api while the default network state
is being updated on the internal handler after losing the default
network.

Bug: 65911184
Test: runtest frameworks-net
Merged-In: I86c830ebd559e31d4576a7606705a056afb064ac
Merged-In: I2011e23c9f894c079ab66cd7cc5c14af572a956d
Merged-In: Ic70901a6aa22a03e97f494e793920ab07a0fd612
Merged-In: I4a7658e1fa6946063ab86a251269413903841ee8
Merged-In: Ia59d45f4e95a536d7982f61ac9c9a1bfc5e8ebb8

(cherry picked from commit cd95278e55bd0e4935f42214d964f8c6aa52b4ea)

Change-Id: I2e26bef9eddd342f51c02b991632c7ea04fe7e66

6 years agoMerge "Implement ConnectivityService TODO and fix many race conditions" am: f6b72dd145
Hugo Benichi [Thu, 21 Sep 2017 12:14:37 +0000 (12:14 +0000)]
Merge "Implement ConnectivityService TODO and fix many race conditions" am: f6b72dd145
am: 8bb2cdea00

Change-Id: I4a7658e1fa6946063ab86a251269413903841ee8

6 years agoMerge "Implement ConnectivityService TODO and fix many race conditions"
Hugo Benichi [Thu, 21 Sep 2017 12:08:45 +0000 (12:08 +0000)]
Merge "Implement ConnectivityService TODO and fix many race conditions"
am: f6b72dd145

Change-Id: I2011e23c9f894c079ab66cd7cc5c14af572a956d

6 years agoMerge "Also support 464xlat on SUSPENDED networks" am: 995a28d334 am: 69a28066bd
Erik Kline [Thu, 21 Sep 2017 12:06:05 +0000 (12:06 +0000)]
Merge "Also support 464xlat on SUSPENDED networks" am: 995a28d334 am: 69a28066bd
am: 1347ac8109

Change-Id: I83ae39a2e36bc036dce419c80dd476d2358b4537

6 years agoMerge "Also support 464xlat on SUSPENDED networks" am: 995a28d334
Erik Kline [Thu, 21 Sep 2017 12:02:07 +0000 (12:02 +0000)]
Merge "Also support 464xlat on SUSPENDED networks" am: 995a28d334
am: 69a28066bd

Change-Id: I960a8976abfebc6741a5982c749c8e428a675990

6 years agoMerge "Implement ConnectivityService TODO and fix many race conditions"
Hugo Benichi [Thu, 21 Sep 2017 12:00:48 +0000 (12:00 +0000)]
Merge "Implement ConnectivityService TODO and fix many race conditions"

6 years agoMerge "Also support 464xlat on SUSPENDED networks"
Erik Kline [Thu, 21 Sep 2017 11:55:35 +0000 (11:55 +0000)]
Merge "Also support 464xlat on SUSPENDED networks"
am: 995a28d334

Change-Id: Iab87bfcb66e7932d61beec38bcbda366262eab46

6 years agoMerge "Also support 464xlat on SUSPENDED networks"
Treehugger Robot [Thu, 21 Sep 2017 11:47:33 +0000 (11:47 +0000)]
Merge "Also support 464xlat on SUSPENDED networks"

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 21 Sep 2017 10:12:01 +0000 (03:12 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

Bug: 64712476
Change-Id: I0e4df67a950b6e0d541548c01f0812141102fb91

6 years agoImplement ConnectivityService TODO and fix many race conditions
Hugo Benichi [Wed, 20 Sep 2017 02:20:14 +0000 (11:20 +0900)]
Implement ConnectivityService TODO and fix many race conditions

This patch implements an outstanding TODO in ConnectivityService to add
synchronization over the map of network request ids to network agent
info objects.

This structure is accessed from multiple threads:
 - Binder thread on public aidl methods, most notably via
   getDefaultNetwork().
 - Internal handler.

This leads to many race conditions that can crash the system server and
reboot the phone if getDefaultNetwork() is called on a Binder thread to
service a public ConnectivityManager api while the default network state
is being updated on the internal handler after losing the default
network.

Bug: 65911184
Test: runtest frameworks-net
Change-Id: I86c830ebd559e31d4576a7606705a056afb064ac

6 years agoMerge "Use noteOpNoThrow instead in AMS" into oc-mr1-dev
Tony Mak [Thu, 21 Sep 2017 09:24:15 +0000 (09:24 +0000)]
Merge "Use noteOpNoThrow instead in AMS" into oc-mr1-dev
am: d3293ab4c5

Change-Id: I7f4eda96cba30740edf82505e0dc9b94d9e4bd51

6 years agoMerge "Use noteOpNoThrow instead in AMS" into oc-mr1-dev
TreeHugger Robot [Thu, 21 Sep 2017 09:17:12 +0000 (09:17 +0000)]
Merge "Use noteOpNoThrow instead in AMS" into oc-mr1-dev

6 years agoUse noteOpNoThrow instead in AMS
Tony Mak [Wed, 20 Sep 2017 20:23:48 +0000 (21:23 +0100)]
Use noteOpNoThrow instead in AMS

We just want a boolean result to tell whether a package has certain permissions,
we do not expect the check to throw SecurityException, so let's use
noteOpNoThrow instead.

Fixes: 65912167

Test: Disable Gmail, install a test app and run setPassword. No crash.
Change-Id: Ifc6e7fbbae1121bda329f0a291522af9698959db

6 years agoAlso support 464xlat on SUSPENDED networks
Erik Kline [Thu, 21 Sep 2017 08:28:10 +0000 (17:28 +0900)]
Also support 464xlat on SUSPENDED networks

Test: as follows
    - built
    - flashed
    - booted
    - runtest frameworks-net passes
Bug: 65684232

Change-Id: I1b10aab01554b1f926ec7157dba78645fdaff90f

6 years agoMerge "have OffloaderController store and re-push more state" am: 69efc596af am:...
Erik Kline [Thu, 21 Sep 2017 08:57:59 +0000 (08:57 +0000)]
Merge "have OffloaderController store and re-push more state" am: 69efc596af am: 7a5dd80c95
am: cf0c15b54d

Change-Id: Iad1cac097a43c9b10fff9b0bb9625af5053eca04

6 years agoMerge "have OffloaderController store and re-push more state" am: 69efc596af
Erik Kline [Thu, 21 Sep 2017 08:52:53 +0000 (08:52 +0000)]
Merge "have OffloaderController store and re-push more state" am: 69efc596af
am: 7a5dd80c95

Change-Id: Ic6d1c57b21bca6dc91f7c24a0fcbe11619364e57

6 years agoMerge "have OffloaderController store and re-push more state"
Erik Kline [Thu, 21 Sep 2017 08:47:43 +0000 (08:47 +0000)]
Merge "have OffloaderController store and re-push more state"
am: 69efc596af

Change-Id: I468b9d774bb273c765ee6ff597ff207d047e1cc6

6 years agoMerge "have OffloaderController store and re-push more state"
Treehugger Robot [Thu, 21 Sep 2017 08:35:44 +0000 (08:35 +0000)]
Merge "have OffloaderController store and re-push more state"

6 years agohave OffloaderController store and re-push more state
Erik Kline [Tue, 19 Sep 2017 08:56:10 +0000 (17:56 +0900)]
have OffloaderController store and re-push more state

Test: as follows
    - built
    - flashed
    - booted
    - runtest frameworks-net passes
Bug: 29337859
Bug: 32163131
Bug: 64976634
Merged-In: If3a859736a1b3730e4e3d0d2685f3e5432927796
Merged-In: If9afc160fa2f8b5da66cb0a6a35dfcb4f1839d36
Change-Id: Ib1421438a1e748722fc41f1fbfb01ada187bb1c8
(cherry picked from commit 7334b0e2cc5ec7f8803c463a1e674cceb7e4c3ba)

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 21 Sep 2017 03:12:47 +0000 (20:12 -0700)]
Import translations. DO NOT MERGE

Change-Id: If6f78b65137e2f7cd0e64ddc2bcdb7e2aa32817c
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

6 years agoMerge "Revert "Increased the text size for colorized notifications"" into oc-mr1-dev
Selim Cinek [Thu, 21 Sep 2017 01:38:09 +0000 (01:38 +0000)]
Merge "Revert "Increased the text size for colorized notifications"" into oc-mr1-dev
am: 204346c277

Change-Id: I0723bc15fb651881ee9c42fd59c2a94abc761c42

6 years agoMerge "Revert "Increased the text size for colorized notifications"" into oc-mr1-dev
TreeHugger Robot [Thu, 21 Sep 2017 01:29:53 +0000 (01:29 +0000)]
Merge "Revert "Increased the text size for colorized notifications"" into oc-mr1-dev

6 years agoBump up OOM priority of bound VrListenerService.
Ruben Brunk [Tue, 19 Sep 2017 01:26:05 +0000 (18:26 -0700)]
Bump up OOM priority of bound VrListenerService.

Bug: 38390640

Test: Ensure that the priority of the main VrCore process is >
foreground with:

adb shell procrank -o

Change-Id: I5d9dd74cbaa7bc3bf586d6e851c8f92ce3af1fca

6 years agohwuitest: added hwui test for TV application
Dake Gu [Wed, 13 Sep 2017 21:23:59 +0000 (14:23 -0700)]
hwuitest: added hwui test for TV application

This is a test that simulates a standard TV application screen.

The UI elements:
A full screen background bitmap.
Few rows of cards.
Each card has a bitmap and an info area.
Info area has two lines text.
Each card is dimmed, implemented in two modes:
1. adding translucent color RenderNode on top of card
2. applying ColorFilter to bitmap.
Firt card of each row is scaled up and has shadow.

The animations:
Cards are updating translation Y and updating display list
and overlay color alpha or colorfilter.

Test: there are four tests:
tvapp: baseline test, with rounded corner, use Color RenderNode to dim
tvapp_norc: no rounded corner
tvapp_cf: use colorfilter to dim
tvapp_norc_cf: no rounded corner, use colorfilter to dim

Bug: 64990221

Change-Id: I385e349386c41e32b7313180db8c81b8f3e39f88

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 21 Sep 2017 00:30:59 +0000 (17:30 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

Bug: 64712476
Change-Id: Id18eae6765a58a33689a652fca0d0d48e78596f1

6 years agoRemove finished sessions on ACTION_CLOSE_SYSTEM_DIALOGS.
Felipe Leme [Tue, 19 Sep 2017 20:08:24 +0000 (13:08 -0700)]
Remove finished sessions on ACTION_CLOSE_SYSTEM_DIALOGS.

Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases -t android.autofillservice.cts.SimpleSaveActivityTest#testTapHomeWhileSaveUiIsShowing
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases -t android.autofillservice.cts.SimpleSaveActivityTest#testTapHomeWhileDatasetPickerUiIsShowing
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases

Fixes: 65414762

Change-Id: I7dc9fd8f40341164e0ca320ff49b99cf8614fdbf

6 years agoMerge "have OffloaderController store and re-push more state" into oc-mr1-dev
Erik Kline [Wed, 20 Sep 2017 23:39:11 +0000 (23:39 +0000)]
Merge "have OffloaderController store and re-push more state" into oc-mr1-dev
am: 1dd52a8017

Change-Id: If3a859736a1b3730e4e3d0d2685f3e5432927796