OSDN Git Service

android-x86/frameworks-base.git
7 years agoImport translations. DO NOT MERGE am: 6fb3b77745 -s ours am: 9e7ac87d08 -s ours
Bill Yi [Wed, 2 Nov 2016 13:20:19 +0000 (13:20 +0000)]
Import translations. DO NOT MERGE am: 6fb3b77745  -s ours am: 9e7ac87d08  -s ours
am: ddb3a08aba  -s ours

Change-Id: Iea3c6ec39fbd0c3e6454f6068aafe154de073155

7 years agoMerge "Increment a MetricsLogger counter on back press." into cw-f-dev am: 523c4fd695...
Nimrod Gileadi [Wed, 2 Nov 2016 13:19:26 +0000 (13:19 +0000)]
Merge "Increment a MetricsLogger counter on back press." into cw-f-dev am: 523c4fd695 am: 2c2abe6db3
am: b633e4402f

Change-Id: I6fae8a123c7528853fc66f90970cc9cee15be227

7 years agoIncrement a MetricsLogger counter on back press. am: 580135c1b8 am: 51ac3a911c
Nimrod Gileadi [Wed, 2 Nov 2016 13:18:36 +0000 (13:18 +0000)]
Increment a MetricsLogger counter on back press. am: 580135c1b8 am: 51ac3a911c
am: a774e10aec

Change-Id: Ia3f485d5eb05c9700d8ae612dea069b97de7bf11

7 years agoImport translations. DO NOT MERGE am: 6fb3b77745 -s ours
Bill Yi [Wed, 2 Nov 2016 13:12:25 +0000 (13:12 +0000)]
Import translations. DO NOT MERGE am: 6fb3b77745  -s ours
am: 9e7ac87d08  -s ours

Change-Id: Icc870fda386710dc570c0c9846b4eba8cf9d47fb

7 years agoMerge "Increment a MetricsLogger counter on back press." into cw-f-dev am: 523c4fd695
Nimrod Gileadi [Wed, 2 Nov 2016 13:11:33 +0000 (13:11 +0000)]
Merge "Increment a MetricsLogger counter on back press." into cw-f-dev am: 523c4fd695
am: 2c2abe6db3

Change-Id: I478872bddc9526e8477bd1a0ed7ef816e691d3d7

7 years agoIncrement a MetricsLogger counter on back press. am: 580135c1b8
Nimrod Gileadi [Wed, 2 Nov 2016 13:10:36 +0000 (13:10 +0000)]
Increment a MetricsLogger counter on back press. am: 580135c1b8
am: 51ac3a911c

Change-Id: I0b65ca68a743828fa47efd6793c5873cbc9b74a9

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr2-dev am: f750173bf1 -s ours
Bill Yi [Wed, 2 Nov 2016 13:08:32 +0000 (13:08 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev am: f750173bf1  -s ours
am: 015687b026  -s ours

Change-Id: Id92fa9ff612c16f45cd20978b53f81adf85ef6f1

7 years agoImport translations. DO NOT MERGE am: 212cda9a9a -s ours
Bill Yi [Wed, 2 Nov 2016 13:07:29 +0000 (13:07 +0000)]
Import translations. DO NOT MERGE am: 212cda9a9a  -s ours
am: e2dac2cd85  -s ours

Change-Id: I2ae406406b26f10c863eda8338e1c68da30754b7

7 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 2 Nov 2016 13:04:35 +0000 (13:04 +0000)]
Import translations. DO NOT MERGE
am: 6fb3b77745  -s ours

Change-Id: Id6c5d0487f362fed25ddf6379f44db9b2ad60a1c

7 years agoMerge "Increment a MetricsLogger counter on back press." into cw-f-dev
Nimrod Gileadi [Wed, 2 Nov 2016 13:03:07 +0000 (13:03 +0000)]
Merge "Increment a MetricsLogger counter on back press." into cw-f-dev
am: 523c4fd695

Change-Id: I2928fafd79f08500c7369691985f6b8b726433c1

7 years agoIncrement a MetricsLogger counter on back press.
Nimrod Gileadi [Wed, 2 Nov 2016 13:03:04 +0000 (13:03 +0000)]
Increment a MetricsLogger counter on back press.
am: 580135c1b8

Change-Id: I29fb7f03b5da8edf3643118bc74bba553f2f6ca1

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr2-dev
Bill Yi [Wed, 2 Nov 2016 13:03:03 +0000 (13:03 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev
am: f750173bf1  -s ours

Change-Id: I7ca4f4999b2079b5746a88aa2d69a270c507679d

7 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 2 Nov 2016 13:03:00 +0000 (13:03 +0000)]
Import translations. DO NOT MERGE
am: 212cda9a9a  -s ours

Change-Id: I327873e50179cc0e48712ce95b855ddf9f935aae

7 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Wed, 2 Nov 2016 12:58:36 +0000 (12:58 +0000)]
Merge "Import translations. DO NOT MERGE"

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr2-dev
TreeHugger Robot [Wed, 2 Nov 2016 12:58:12 +0000 (12:58 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev

7 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Wed, 2 Nov 2016 12:56:18 +0000 (12:56 +0000)]
Merge "Import translations. DO NOT MERGE"

7 years agoMerge "Increment a MetricsLogger counter on back press." into cw-f-dev
TreeHugger Robot [Wed, 2 Nov 2016 12:55:14 +0000 (12:55 +0000)]
Merge "Increment a MetricsLogger counter on back press." into cw-f-dev

7 years agoMerge "ApfTest: tag tests with @SmallTest or @MediumTest"
Hugo Benichi [Wed, 2 Nov 2016 12:35:45 +0000 (12:35 +0000)]
Merge "ApfTest: tag tests with @SmallTest or @MediumTest"

7 years agoMerge "Cross profile candidate should be considered"
TreeHugger Robot [Wed, 2 Nov 2016 12:13:27 +0000 (12:13 +0000)]
Merge "Cross profile candidate should be considered"

7 years agoMerge "[DPM] DO can start network logging and listen for events"
TreeHugger Robot [Wed, 2 Nov 2016 10:35:25 +0000 (10:35 +0000)]
Merge "[DPM] DO can start network logging and listen for events"

7 years agoCross profile candidate should be considered
Tony Mak [Wed, 2 Nov 2016 10:26:45 +0000 (10:26 +0000)]
Cross profile candidate should be considered

Bug: 32547783

Fixed the regression introduced in ag/1243573

Test: Manual test - Open a map link in work calendar, personal map is shown as an option.

Change-Id: If5651b5e09cf1916813e8f91dbdcdf53f9119ef2

7 years agoAdd javadoc for profileGroupId
Tony Mak [Tue, 1 Nov 2016 18:12:10 +0000 (18:12 +0000)]
Add javadoc for profileGroupId

According to the implementation of getProfileParent,
profileGroupId == parent user id.

And we have already assumed this is true in some part of code in DPMS.

Test: Javadocs change

Change-Id: Ie48fdf24fb0428d4ee3f09bed2ac26cb17e1ced9

7 years ago[DPM] DO can start network logging and listen for events
Michal Karpinski [Wed, 12 Oct 2016 13:59:26 +0000 (14:59 +0100)]
[DPM] DO can start network logging and listen for events

This CL adds:
1) Setter and getter in DPM to manipulate logging switch (retrieval
method to come in a subsequent CL(s)).
2) A way for DPM to register to listen for events.
3) Skeleton of NetworkLogger class (more to come in subsequent CL(s)).

Bug: 29748723
Change-Id: I5c04662ccc6febd2ba294b0eaca1ed1da9c16e47

7 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 2 Nov 2016 06:30:37 +0000 (23:30 -0700)]
Import translations. DO NOT MERGE

Change-Id: I2c811c3ef881581b47d410c916e43160e6d60a53
Auto-generated-cl: translation import

7 years agoApfTest: tag tests with @SmallTest or @MediumTest
Hugo Benichi [Wed, 2 Nov 2016 04:43:22 +0000 (13:43 +0900)]
ApfTest: tag tests with @SmallTest or @MediumTest

Test methods not tagged with @{Small,Medium,Large}Test will not appear
in the Android Platform Continuous Testing dashboard.

Test methods tagged with @LargeTest will not be run in the Android
Platform Continuous Testing dashboard.

Test: ApfTest passes ($runtest frameworks-net)
Bug: 31479480
Change-Id: Iae28fc30b6229a161388233c40863f38b902991d

7 years agoMerge "Add findPath method to MtpDocumentsProvider."
TreeHugger Robot [Wed, 2 Nov 2016 05:18:26 +0000 (05:18 +0000)]
Merge "Add findPath method to MtpDocumentsProvider."

7 years agoAdd findPath method to MtpDocumentsProvider.
Daichi Hirono [Tue, 1 Nov 2016 09:41:43 +0000 (18:41 +0900)]
Add findPath method to MtpDocumentsProvider.

Bug: 32515515
Test: adb shell am instrument -w -e class com.android.mtp.MtpDocumentsProviderTest com.android.mtp.tests/com.android.mtp.TestResultInstrumentation
Change-Id: Ib87e8f5258de8fd48a099adbf077b3b9ff85773c

7 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 2 Nov 2016 02:34:21 +0000 (19:34 -0700)]
Import translations. DO NOT MERGE

Change-Id: I5b2c1dbb250552bbd446e51b38be6b9508d2bf0c
Auto-generated-cl: translation import

7 years agoMerge changes from topic 'keyguard_refactor'
Jorim Jaggi [Wed, 2 Nov 2016 02:14:12 +0000 (02:14 +0000)]
Merge changes from topic 'keyguard_refactor'

* changes:
  The big keyguard transition refactor (6/n)
  The big keyguard transition refactor (5/n)
  The big keyguard transition refactor (4/n)
  The big keyguard transition refactor (3/n)
  The big keyguard transition refactor (2/n)
  The big keyguard transition refactor (1/n)

7 years agoMerge "Add a config flag to control app transitions"
Yorke Lee [Wed, 2 Nov 2016 01:38:49 +0000 (01:38 +0000)]
Merge "Add a config flag to control app transitions"

7 years agoMerge changes Icac17694,Ic0b651f3,Ifa2cdea7 am: cf4dc9236e am: f41abccf80 am: 5e8b2e4110
Sanket Agarwal [Wed, 2 Nov 2016 01:27:13 +0000 (01:27 +0000)]
Merge changes Icac17694,Ic0b651f3,Ifa2cdea7 am: cf4dc9236e am: f41abccf80 am: 5e8b2e4110
am: 15c21c616e

Change-Id: I15a7590c66fed5061ead0046e0773454911a43aa

7 years agoMAP MCE am: b8fc0679e8 am: b13240028b am: 5602b26f41
Joseph Pirozzo [Wed, 2 Nov 2016 01:26:01 +0000 (01:26 +0000)]
MAP MCE am: b8fc0679e8 am: b13240028b am: 5602b26f41
am: 132dab26e5

Change-Id: Icb6d7db9d0e1866b2c1847be2b1da0008bd8185d

7 years agoPbap disconnect durring connect am: a4f0127fbb am: a31933abc3 am: 1c21f0378a
Joseph Pirozzo [Wed, 2 Nov 2016 01:25:15 +0000 (01:25 +0000)]
Pbap disconnect durring connect am: a4f0127fbb am: a31933abc3 am: 1c21f0378a
am: 89c1087162

Change-Id: I879ec1f919386efb433d21e2bc7088e3ed31f4ce

7 years agoMAP MCE am: 631768d814 am: d94c280a7f am: c412914520
Joseph Pirozzo [Wed, 2 Nov 2016 01:24:14 +0000 (01:24 +0000)]
MAP MCE am: 631768d814 am: d94c280a7f am: c412914520
am: fb70d77f64

Change-Id: Ia56f6ca01a4d92b24f192102917950a10b6cb05d

7 years agoMerge "Some channel model updates"
Julia Reynolds [Wed, 2 Nov 2016 01:20:17 +0000 (01:20 +0000)]
Merge "Some channel model updates"

7 years agoMerge changes Icac17694,Ic0b651f3,Ifa2cdea7 am: cf4dc9236e am: f41abccf80
Sanket Agarwal [Wed, 2 Nov 2016 01:19:29 +0000 (01:19 +0000)]
Merge changes Icac17694,Ic0b651f3,Ifa2cdea7 am: cf4dc9236e am: f41abccf80
am: 5e8b2e4110

Change-Id: I481283466c74087e4075cbda52f99fa94deae8c6

7 years agoMAP MCE am: b8fc0679e8 am: b13240028b
Joseph Pirozzo [Wed, 2 Nov 2016 01:18:38 +0000 (01:18 +0000)]
MAP MCE am: b8fc0679e8 am: b13240028b
am: 5602b26f41

Change-Id: I54f67bbb44c3ecbdaa96b2f71d762bbb8bdce46c

7 years agoPbap disconnect durring connect am: a4f0127fbb am: a31933abc3
Joseph Pirozzo [Wed, 2 Nov 2016 01:17:45 +0000 (01:17 +0000)]
Pbap disconnect durring connect am: a4f0127fbb am: a31933abc3
am: 1c21f0378a

Change-Id: I367eea86cd82017a8c8a9e2922ac5a9580159b96

7 years agoMAP MCE am: 631768d814 am: d94c280a7f
Joseph Pirozzo [Wed, 2 Nov 2016 01:16:45 +0000 (01:16 +0000)]
MAP MCE am: 631768d814 am: d94c280a7f
am: c412914520

Change-Id: Ia56d131194075795c55c899dfbebbe3c2feb1584

7 years agoMerge changes Icac17694,Ic0b651f3,Ifa2cdea7 am: cf4dc9236e
Sanket Agarwal [Wed, 2 Nov 2016 01:11:53 +0000 (01:11 +0000)]
Merge changes Icac17694,Ic0b651f3,Ifa2cdea7 am: cf4dc9236e
am: f41abccf80

Change-Id: I12c36ffe83fbab6bb33d1d60581d6253f6f52fd0

7 years agoMAP MCE am: b8fc0679e8
Joseph Pirozzo [Wed, 2 Nov 2016 01:11:04 +0000 (01:11 +0000)]
MAP MCE am: b8fc0679e8
am: b13240028b

Change-Id: I62a9a758bc46fbb1174fbce4d50f488932d65113

7 years agoPbap disconnect durring connect am: a4f0127fbb
Joseph Pirozzo [Wed, 2 Nov 2016 01:10:02 +0000 (01:10 +0000)]
Pbap disconnect durring connect am: a4f0127fbb
am: a31933abc3

Change-Id: I73772d90dea4b9f3f70daef1b7b6ce44cfafb0e5

7 years agoMAP MCE am: 631768d814
Joseph Pirozzo [Wed, 2 Nov 2016 01:09:14 +0000 (01:09 +0000)]
MAP MCE am: 631768d814
am: d94c280a7f

Change-Id: I6a765b9a07204afca2763fb98fdb2e92e08292e5

7 years agoMerge changes Icac17694,Ic0b651f3,Ifa2cdea7
Sanket Agarwal [Wed, 2 Nov 2016 01:05:20 +0000 (01:05 +0000)]
Merge changes Icac17694,Ic0b651f3,Ifa2cdea7
am: cf4dc9236e

Change-Id: I9ca9384c21903fbe97f4cb1c0bc64c27e04b5401

7 years agoMAP MCE
Joseph Pirozzo [Wed, 2 Nov 2016 01:05:14 +0000 (01:05 +0000)]
MAP MCE
am: b8fc0679e8

Change-Id: Id82f047bc2d0eb7e4f04c14cfc216854e066156f

7 years agoPbap disconnect durring connect
Joseph Pirozzo [Wed, 2 Nov 2016 01:04:33 +0000 (01:04 +0000)]
Pbap disconnect durring connect
am: a4f0127fbb

Change-Id: Ib2f65418dee82893a377b780647d823cfa274dd6

7 years agoMAP MCE
Joseph Pirozzo [Wed, 2 Nov 2016 01:03:51 +0000 (01:03 +0000)]
MAP MCE
am: 631768d814

Change-Id: I155fd0e8b44539bf79cec2c6ddb2a4d71b0c23d9

7 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 2 Nov 2016 00:57:21 +0000 (17:57 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ief73e3fee1a3f44096c534437fd74b357a2dde8a
Auto-generated-cl: translation import

7 years agoMerge changes Icac17694,Ic0b651f3,Ifa2cdea7
Sanket Agarwal [Wed, 2 Nov 2016 00:55:40 +0000 (00:55 +0000)]
Merge changes Icac17694,Ic0b651f3,Ifa2cdea7

* changes:
  MAP MCE
  Pbap disconnect durring connect
  MAP MCE

7 years agoMerge "DozeService: Fixup nits from review"
Adrian Roos [Wed, 2 Nov 2016 00:54:46 +0000 (00:54 +0000)]
Merge "DozeService: Fixup nits from review"

7 years agoMerge "Initialize daemon on a separate thread"
Fyodor Kupolov [Wed, 2 Nov 2016 00:54:04 +0000 (00:54 +0000)]
Merge "Initialize daemon on a separate thread"

7 years agoMerge "Add support for opening JAR/ZIP files via FD." am: 7f64c195f7 am: 4c65d49a92...
Tomasz Mikolajewski [Wed, 2 Nov 2016 00:49:44 +0000 (00:49 +0000)]
Merge "Add support for opening JAR/ZIP files via FD." am: 7f64c195f7 am: 4c65d49a92 am: de915e3ade
am: d771ca3871

Change-Id: I9bf6a015e90e3e259897ca0b4ff29c69e13feae6

7 years agoMerge "Add support for opening JAR/ZIP files via FD." am: 7f64c195f7 am: 4c65d49a92
Tomasz Mikolajewski [Wed, 2 Nov 2016 00:44:47 +0000 (00:44 +0000)]
Merge "Add support for opening JAR/ZIP files via FD." am: 7f64c195f7 am: 4c65d49a92
am: de915e3ade

Change-Id: I625a398a8def68b8b8ef77f1408f5c6f8a85c1fa

7 years agoMerge "Add support for opening JAR/ZIP files via FD." am: 7f64c195f7
Tomasz Mikolajewski [Wed, 2 Nov 2016 00:39:45 +0000 (00:39 +0000)]
Merge "Add support for opening JAR/ZIP files via FD." am: 7f64c195f7
am: 4c65d49a92

Change-Id: I534e70f5218e0f9be73d919a4c9dd509211729f8

7 years agoMAP MCE
Joseph Pirozzo [Thu, 6 Oct 2016 18:44:53 +0000 (11:44 -0700)]
MAP MCE

Fix @LINK to @link in javadoc.

Bug: 30467210
Change-Id: Icac176947bee971c3f5d11fd4166cf8ceb0a437e
(cherry picked from commit f5fba751d360bbe8294c4640f5ad12a990f13122)

7 years agoPbap disconnect durring connect
Joseph Pirozzo [Mon, 2 May 2016 14:30:21 +0000 (07:30 -0700)]
Pbap disconnect durring connect

Durring a connect call disconnect from all other pbap devices rather
than from the device you are trying to connect to.

bug: 28406739
Change-Id: Ic0b651f32a0da18950fbc190b1d4503d69ebd203
(cherry picked from commit bdd24942e47811ffe6bb9814934e6b08a8190e7e)

7 years agoMAP MCE
Joseph Pirozzo [Thu, 1 Sep 2016 21:19:28 +0000 (14:19 -0700)]
MAP MCE

Add MAP client code into packages/apps/Bluetooth.  Changes here are to
define the MAP MCE interface and enable its selection when running on a
device that is also running a PBAP client (Car Kitt).

Bug: 30467210
Change-Id: Ifa2cdea7d67f63a2b5f3d971df8ec6d321dc5fee
(cherry picked from commit 433b3054847951e8e7b3864d11990604a66b8651)

7 years agoMerge "Add support for opening JAR/ZIP files via FD."
Tomasz Mikolajewski [Wed, 2 Nov 2016 00:34:47 +0000 (00:34 +0000)]
Merge "Add support for opening JAR/ZIP files via FD."
am: 7f64c195f7

Change-Id: I88af6f42ccd5e6edafa57fd0f147f676da8aa096

7 years agoMerge "Revert "Exit enteringAccessoryMode when entered.""
TreeHugger Robot [Wed, 2 Nov 2016 00:29:22 +0000 (00:29 +0000)]
Merge "Revert "Exit enteringAccessoryMode when entered.""

7 years agoMerge "Add support for opening JAR/ZIP files via FD."
Tomasz Mikolajewski [Wed, 2 Nov 2016 00:24:06 +0000 (00:24 +0000)]
Merge "Add support for opening JAR/ZIP files via FD."

7 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 2 Nov 2016 00:18:13 +0000 (17:18 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ia1e32a6765f35a781a05e767a219399ec159fddc
Auto-generated-cl: translation import

7 years agoMerge "Switch am command to go through "cmd activity"."
Dianne Hackborn [Wed, 2 Nov 2016 00:11:26 +0000 (00:11 +0000)]
Merge "Switch am command to go through "cmd activity"."

7 years agoAdd a config flag to control app transitions
Yorke Lee [Mon, 31 Oct 2016 19:31:06 +0000 (12:31 -0700)]
Add a config flag to control app transitions

Bug: 32289964
Test: Build and verify that app transitions still work
and can be controlled by overlay

Cherry-picked from I78e88c4e7d3c32493c11be451b0c5ca59f68be83
Change-Id: I78e88c4e7d3c32493c11be451b0c5ca59f68be83

7 years agoMerge "Add a way to query for supported Bluetooth profiles." am: 0a86c936a6 am: 6f846...
Bryce Lee [Tue, 1 Nov 2016 23:34:48 +0000 (23:34 +0000)]
Merge "Add a way to query for supported Bluetooth profiles." am: 0a86c936a6 am: 6f84631d8d am: e07c4cb4e6
am: 7f60047cb4

Change-Id: Icaff5bab21f5a9a40f7c24b13e8579d390a373d9

7 years agoMerge "Add a way to query for supported Bluetooth profiles." am: 0a86c936a6 am: 6f846...
Bryce Lee [Tue, 1 Nov 2016 23:29:16 +0000 (23:29 +0000)]
Merge "Add a way to query for supported Bluetooth profiles." am: 0a86c936a6 am: 6f84631d8d
am: e07c4cb4e6

Change-Id: I53a4a3df08b8bd169112d004f7fa6ab5495c15fe

7 years agoMerge "Removing forced layout when the window is translated."
TreeHugger Robot [Tue, 1 Nov 2016 23:28:14 +0000 (23:28 +0000)]
Merge "Removing forced layout when the window is translated."

7 years agoMerge "Add a way to query for supported Bluetooth profiles." am: 0a86c936a6
Bryce Lee [Tue, 1 Nov 2016 23:24:42 +0000 (23:24 +0000)]
Merge "Add a way to query for supported Bluetooth profiles." am: 0a86c936a6
am: 6f84631d8d

Change-Id: I8d9bce44587a1740f0acbd09552baf7d8b6990a5

7 years agoMerge "Add a way to query for supported Bluetooth profiles."
Bryce Lee [Tue, 1 Nov 2016 23:20:16 +0000 (23:20 +0000)]
Merge "Add a way to query for supported Bluetooth profiles."
am: 0a86c936a6

Change-Id: Id10ad10a5dbcab92e390a7a245772d2b551ad30c

7 years agoDon't invalidate list data during layout. am: 456158ffc2 am: 06ffff6132 am: 07f434d02f
Phil Weaver [Tue, 1 Nov 2016 23:17:15 +0000 (23:17 +0000)]
Don't invalidate list data during layout. am: 456158ffc2 am: 06ffff6132 am: 07f434d02f
am: 112345c1c3

Change-Id: I367cf7cb5e24d6f2c7724db4e6038830003e2029

7 years agoMerge "DO NOT MERGE Wear Fwk: Disable Animations for A11y" into cw-f-dev am: 89e653cc...
vinodkrishnan [Tue, 1 Nov 2016 23:13:25 +0000 (23:13 +0000)]
Merge "DO NOT MERGE Wear Fwk: Disable Animations for A11y" into cw-f-dev am: 89e653ccc7 am: 2a569d1490
am: f4f48fc5f9  -s ours

Change-Id: I434e3e403c96c46cb5f002ac96d33350d337a72f

7 years agoDO NOT MERGE Wear Fwk: Disable Animations for A11y am: 8500f26d51 am: 305187983b
Vinod Krishnan [Tue, 1 Nov 2016 23:12:36 +0000 (23:12 +0000)]
DO NOT MERGE Wear Fwk: Disable Animations for A11y am: 8500f26d51 am: 305187983b
am: 166b0ad28f  -s ours

Change-Id: Ica85275f5ae09408da727821788c1d502eb47057

7 years agoMerge "Add a way to query for supported Bluetooth profiles."
Treehugger Robot [Tue, 1 Nov 2016 23:12:21 +0000 (23:12 +0000)]
Merge "Add a way to query for supported Bluetooth profiles."

7 years agoDon't invalidate list data during layout. am: 456158ffc2 am: 06ffff6132
Phil Weaver [Tue, 1 Nov 2016 23:09:02 +0000 (23:09 +0000)]
Don't invalidate list data during layout. am: 456158ffc2 am: 06ffff6132
am: 07f434d02f

Change-Id: I6adaa881b70805d46d2425dd979609c6e99e11c9

7 years agoMerge "DO NOT MERGE Wear Fwk: Disable Animations for A11y" into cw-f-dev am: 89e653ccc7
vinodkrishnan [Tue, 1 Nov 2016 23:05:53 +0000 (23:05 +0000)]
Merge "DO NOT MERGE Wear Fwk: Disable Animations for A11y" into cw-f-dev am: 89e653ccc7
am: 2a569d1490

Change-Id: I6b3e73ca5ff71dbc22f4ee510fa944aaa7eb4464

7 years agoDO NOT MERGE Wear Fwk: Disable Animations for A11y am: 8500f26d51
Vinod Krishnan [Tue, 1 Nov 2016 23:04:59 +0000 (23:04 +0000)]
DO NOT MERGE Wear Fwk: Disable Animations for A11y am: 8500f26d51
am: 305187983b

Change-Id: Ifb4eea689ded623034d5f8aa3158c814620e9de9

7 years agoDon't invalidate list data during layout. am: 456158ffc2
Phil Weaver [Tue, 1 Nov 2016 22:59:27 +0000 (22:59 +0000)]
Don't invalidate list data during layout. am: 456158ffc2
am: 06ffff6132

Change-Id: I56cd58a077729b7a8fccb66aeea5e3d69cb2fcdf

7 years agoMerge "DO NOT MERGE Wear Fwk: Disable Animations for A11y" into cw-f-dev
vinodkrishnan [Tue, 1 Nov 2016 22:58:04 +0000 (22:58 +0000)]
Merge "DO NOT MERGE Wear Fwk: Disable Animations for A11y" into cw-f-dev
am: 89e653ccc7

Change-Id: Id38b4d4b7240ff3e241811d58e56c7cc732ce637

7 years agoDO NOT MERGE Wear Fwk: Disable Animations for A11y
Vinod Krishnan [Tue, 1 Nov 2016 22:57:58 +0000 (22:57 +0000)]
DO NOT MERGE Wear Fwk: Disable Animations for A11y
am: 8500f26d51

Change-Id: I8bddbad4b8777a3fedac2f88717b48d00f596a8c

7 years agoDon't invalidate list data during layout.
Phil Weaver [Tue, 1 Nov 2016 22:55:11 +0000 (22:55 +0000)]
Don't invalidate list data during layout.
am: 456158ffc2

Change-Id: I550b63d3fd6b5f451083627dc16f369729b1e1d7

7 years agoMerge "DO NOT MERGE Wear Fwk: Disable Animations for A11y" into cw-f-dev
vinodkrishnan [Tue, 1 Nov 2016 22:54:06 +0000 (22:54 +0000)]
Merge "DO NOT MERGE Wear Fwk: Disable Animations for A11y" into cw-f-dev

7 years agoThe big keyguard transition refactor (6/n)
Jorim Jaggi [Thu, 27 Oct 2016 02:08:36 +0000 (19:08 -0700)]
The big keyguard transition refactor (6/n)

Cleanup:
- Make sure all the state is nicely dumped.
- Remove some unused stuff.
- Fix a flicker when occluded -> unlocked

Bug: 32057734
Change-Id: Id87e26adccef740d608b325c2dc1f6db14dd4ec3

7 years agoThe big keyguard transition refactor (5/n)
Jorim Jaggi [Thu, 27 Oct 2016 01:22:04 +0000 (18:22 -0700)]
The big keyguard transition refactor (5/n)

Also save surface for the home task, so unlocking to the homescreen
is as fast as before. Note that originally it was not possible to
save surface for home task because of artifacts when clicking the
home button. However, we added logic since then to disallow save
surface if it's a different intent, which is the case when pressing
the home button.

Also consolidate some relayout for less overhead.

Bug: 32057734
Change-Id: I53ede527cb1ff438001d4023ee3740283ee302ee

7 years agoThe big keyguard transition refactor (4/n)
Jorim Jaggi [Thu, 27 Oct 2016 01:02:36 +0000 (18:02 -0700)]
The big keyguard transition refactor (4/n)

Nuke KeyguardScrim

Test: Kill SystemUI while lockscreen is showing, make sure nothing
is visible when being killed.

Bug: 32057734
Change-Id: I9f8d1e5a0e0f968460d8170627a849623c6a7245

7 years agoRevert "Exit enteringAccessoryMode when entered."
Philip P. Moltmann [Tue, 1 Nov 2016 22:36:12 +0000 (22:36 +0000)]
Revert "Exit enteringAccessoryMode when entered."

This reverts commit a025c8985887e3a6dd87ffcd74a7097b4cef327d.

Change-Id: I550583606444a2d79ec911adf5b14b8783b03286

7 years agoThe big keyguard transition refactor (3/n)
Jorim Jaggi [Thu, 27 Oct 2016 00:43:56 +0000 (17:43 -0700)]
The big keyguard transition refactor (3/n)

Notify activity manager when dreaming showing state changed so
KeyguardController can update the occluded state when the device
is dreaming.

Test: Set dreaming while charging, wait until screen times out,
make sure that dream is occluding Keyguard.
Bug: 32057734
Change-Id: Ied6f485d9b4a1526cb4cd5f0701f86b1ea05830a

7 years agoAdd a way to query for supported Bluetooth profiles.
Bryce Lee [Sun, 9 Oct 2016 19:54:42 +0000 (12:54 -0700)]
Add a way to query for supported Bluetooth profiles.

Currently there is no way to get the profiles supported by the Bluetooth
adapter. Asking for a profile proxy of an unsupported profile does not
fail and can lead to code indefinitely waiting for the proxy response. This
new code will allow for checking the supported profiles before asking for
the proxies.

Bug: 26451648
Change-Id: I4b48e7151f5ca53851aa3b967c143fae140ecd34
(cherry picked from commit b1301fa2849bafd6daa422281dc5200863bc761e)

7 years agoMerge "Fixing outdated Javadoc for getAccessibilityViewId"
Phil Weaver [Tue, 1 Nov 2016 22:02:07 +0000 (22:02 +0000)]
Merge "Fixing outdated Javadoc for getAccessibilityViewId"

7 years agoThe big keyguard transition refactor (2/n)
Jorim Jaggi [Thu, 13 Oct 2016 12:33:27 +0000 (14:33 +0200)]
The big keyguard transition refactor (2/n)

Introduce UnknownVisibilityController, which keeps track of apps that
may or may not be visible when launching an activity behind Keyguard.
When Keyguard is occluded and we launch another activity, we don't
know whether we still have to keep Keyguard occluded until the app
has gone through the resume path and issued a relayout call to update
the Keyguard flags.

This class keeps track of that state and defers the app transition
until the unknown visibility of all apps is resolved.

Test:
1) Have an occluding activity that starts another occluding
activity, ensure that there is no flicker.
2) Have an occluding activity while the Keyguard is insecure, start
a DISMISS_KEYGUARD activity, ensure there is no flicker.
3) runtest frameworks-services -c com.android.server.wm.UnknownVisibilityControllerTest

Bug: 32057734
Change-Id: I5145b272722ab8c31dd7c5383286f5c9473e26a4

7 years agoRemoving forced layout when the window is translated.
Winson Chung [Fri, 28 Oct 2016 21:33:32 +0000 (14:33 -0700)]
Removing forced layout when the window is translated.

Test: Manual, ensure that the accessibility focus is still visible on
      a moved window (enable talkback, focus a view, then move the
      window).
Change-Id: Ifd67afe355cac2f1df01ddd16f960282f4d36132

7 years agoThe big keyguard transition refactor (1/n)
Jorim Jaggi [Thu, 13 Oct 2016 12:33:27 +0000 (14:33 +0200)]
The big keyguard transition refactor (1/n)

The heart of this change are two things:
1) Instead of using the force hide mechanism to hide windows behind
Keyguard, we actually make the activities invisible in activity manager.
2) When Keyguard is going away, we change the visibilities in activity
manager and run an app transition.

At the very core we move the responsibility of hiding activities to
ActivityStack, which checks whether Keyguard is showing, and then
hides all non-show-when-locked activities. For that, we need to check
whether any window of an activity has SHOW_WHEN_LOCKED set. We
introduce a callback from WM -> AM in case these Keyguard flags have
changed.

Furthermore, we decide whether to occlude Keyguard in KeyguardController,
which just checks whether the top activity has SHOW_WHEN_LOCKED set. When
this state changes, we prepare an occlude/unocclude app transition, and
in PWM we just inform the Keyguard about the animation so SysUI can play
along this animations in a mostly synchronized manner.

Since we now use an app transition when unlocking the phone, we get
lockscreen launch animations for free - window manager automatically
waits until the activity is drawn, or directly executes the transition
if there is nothing to animate. Thus, we can remove all the infrastructure
around "waitingForActivityDrawn".

The logic to show/hide non-app windows is moved to policy, and we add the
ability to run animations on non-app windows when executing an app
transition.

Test:
1) runtest frameworks-services -c com.android.server.wm.AppTransitionTests
2) Manually test unlocking Keyguard:
2a) Without security
2b) With security
2c) With security but trusted
2d) Portrait while activity behind is in landscape
3) Test launching things from Keyguard
3a) Without security
3b) With security
3c) Launch camera without security
3d) Launch camera with security
3e) Launch camera with securtiy and trusted
3f) Launch voice affordance
4) Set no notifications on lockscreen, drag down, make sure you get
the correct animation
5) Test clicking "emergency" on bouncer
5b) Test "Emergency info" on emergency dialer
5c) Test clicking edit button on emergency info, should show pattern on
Keyguard

Bug: 32057734
Change-Id: Icada03cca74d6a612c1f988845f4d4f601087558

7 years agoFixing outdated Javadoc for getAccessibilityViewId
Phil Weaver [Tue, 1 Nov 2016 20:12:48 +0000 (13:12 -0700)]
Fixing outdated Javadoc for getAccessibilityViewId

Test: N/A. Only changing comments.
Change-Id: I2e994c8df0bf71463858090345c3a96f85b7b706

7 years agoMerge "Update SEND_CONFIGURATION message to use displayId param"
Andrii Kulian [Tue, 1 Nov 2016 19:49:11 +0000 (19:49 +0000)]
Merge "Update SEND_CONFIGURATION message to use displayId param"

7 years agoMerge "Fixed typo."
TreeHugger Robot [Tue, 1 Nov 2016 19:46:53 +0000 (19:46 +0000)]
Merge "Fixed typo."

7 years agoMerge "Routine to upload hardware bitmaps"
Sergei Vasilinetc [Tue, 1 Nov 2016 19:32:15 +0000 (19:32 +0000)]
Merge "Routine to upload hardware bitmaps"

7 years agoSome channel model updates
Julia Reynolds [Tue, 25 Oct 2016 13:08:57 +0000 (09:08 -0400)]
Some channel model updates

- Apps cannot update their channel settings after creation.
- Importance is required when creating a channel.
- Some method name changes.
- Ranker can't modify fields a user has changed.
- High and Max importance mean the same thing.
- The default channel adopts app wide settings on creation.
- The default channel is limited to importance low once target api is post n mr1
  unless the user changed it.

Test: runtest --path frameworks/base/services/tests/servicestests/src/com/android/server/notification

Change-Id: I73c449a6abe6d709046de79c5c54339cb2edf0b8

7 years agoMerge "Workaround for javac compilation issue of lambda code" into cw-f-dev am: 1b6da...
Mark Renouf [Tue, 1 Nov 2016 19:29:42 +0000 (19:29 +0000)]
Merge "Workaround for javac compilation issue of lambda code" into cw-f-dev am: 1b6da1f928 am: a0f2404725
am: 1bc74b53b3

Change-Id: Ic64d696ecece2387274417325cf53414d016fe8b

7 years agoWorkaround for javac compilation issue of lambda code am: e065f7c5a9 am: 6ce06e63a7
Mark Renouf [Tue, 1 Nov 2016 19:28:34 +0000 (19:28 +0000)]
Workaround for javac compilation issue of lambda code am: e065f7c5a9 am: 6ce06e63a7
am: 72f59dd7cb

Change-Id: I603a1709e35ba1d34cdd6b8abe9fd981e59166c8

7 years agoMerge "Workaround for javac compilation issue of lambda code" into cw-f-dev am: 1b6da...
Mark Renouf [Tue, 1 Nov 2016 19:25:29 +0000 (19:25 +0000)]
Merge "Workaround for javac compilation issue of lambda code" into cw-f-dev am: 1b6da1f928
am: a0f2404725

Change-Id: I13c96d992efcaf9b205032839840be4b03256c68

7 years agoWorkaround for javac compilation issue of lambda code am: e065f7c5a9
Mark Renouf [Tue, 1 Nov 2016 19:24:26 +0000 (19:24 +0000)]
Workaround for javac compilation issue of lambda code am: e065f7c5a9
am: 6ce06e63a7

Change-Id: I9a43b4843667bdab5909765b1afa99c9f7b11053

7 years agoMerge "Don't invalidate list data during layout."
Phil Weaver [Tue, 1 Nov 2016 19:20:48 +0000 (19:20 +0000)]
Merge "Don't invalidate list data during layout."