OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Notify the user and turn off tethering when the service is disallowed." into...
Alexandru-andrei Rotaru [Thu, 3 Aug 2017 15:27:15 +0000 (15:27 +0000)]
Merge "Notify the user and turn off tethering when the service is disallowed." into stage-aosp-master am: b9295c7de0  -s ours
am: 7b3fd55c30  -s ours

Change-Id: Ieab87f4b422168e3bcf8250e405ec91ee67d0e27

7 years agoMerge "Notify the user and turn off tethering when the service is disallowed." into...
Alexandru-andrei Rotaru [Thu, 3 Aug 2017 15:19:11 +0000 (15:19 +0000)]
Merge "Notify the user and turn off tethering when the service is disallowed." into stage-aosp-master
am: b9295c7de0  -s ours

Change-Id: I86c4d74187f71a91c4532d055e5e28858ee208ca

7 years agoMerge "Notify the user and turn off tethering when the service is disallowed." into...
Alexandru-andrei Rotaru [Thu, 3 Aug 2017 15:07:29 +0000 (15:07 +0000)]
Merge "Notify the user and turn off tethering when the service is disallowed." into stage-aosp-master

7 years agoMerge "AOD: Unregister touchscreen sensors while pulsing" into oc-dr1-dev
Adrian Roos [Thu, 3 Aug 2017 15:05:15 +0000 (15:05 +0000)]
Merge "AOD: Unregister touchscreen sensors while pulsing" into oc-dr1-dev
am: a957c56da0

Change-Id: I84627e6f4a5cc8ee0f1950977163a97b32c6954c

7 years agoMerge "Assist: Only call lockscreenShown when it is actually shown" into oc-dr1-dev
Adrian Roos [Thu, 3 Aug 2017 15:01:12 +0000 (15:01 +0000)]
Merge "Assist: Only call lockscreenShown when it is actually shown" into oc-dr1-dev
am: bc3c1d0170

Change-Id: Id87a35597db82345e564fd4d92500b8dacdc0c23

7 years agoMerge "AOD: Unregister touchscreen sensors while pulsing" into oc-dr1-dev
TreeHugger Robot [Thu, 3 Aug 2017 14:57:54 +0000 (14:57 +0000)]
Merge "AOD: Unregister touchscreen sensors while pulsing" into oc-dr1-dev

7 years agoMerge "Assist: Only call lockscreenShown when it is actually shown" into oc-dr1-dev
TreeHugger Robot [Thu, 3 Aug 2017 14:51:28 +0000 (14:51 +0000)]
Merge "Assist: Only call lockscreenShown when it is actually shown" into oc-dr1-dev

7 years agoMerge "Notify the user and turn off tethering when the service is disallowed." am...
Alexandru-Andrei Rotaru [Thu, 3 Aug 2017 14:16:20 +0000 (14:16 +0000)]
Merge "Notify the user and turn off tethering when the service is disallowed." am: 5027dd1026  -s ours am: 54c1b9e936
am: 1f12dd7bba

Change-Id: I0ed1fbe1e3430ea6132102ce0d6d347b5542e303

7 years agoMerge "Notify the user and turn off tethering when the service is disallowed." am...
Alexandru-Andrei Rotaru [Thu, 3 Aug 2017 14:04:49 +0000 (14:04 +0000)]
Merge "Notify the user and turn off tethering when the service is disallowed." am: 5027dd1026  -s ours
am: 54c1b9e936

Change-Id: I93d2bda3aacb51e1db8a03c4ebce90aeb4812506

7 years agoMerge "Notify the user and turn off tethering when the service is disallowed."
Alexandru-Andrei Rotaru [Thu, 3 Aug 2017 13:53:53 +0000 (13:53 +0000)]
Merge "Notify the user and turn off tethering when the service is disallowed."
am: 5027dd1026  -s ours

Change-Id: I03d1d03f4e4e1b1dfcf68da3aa21913506739619

7 years agoNotify the user and turn off tethering when the service is disallowed.
Alexandru-Andrei Rotaru [Tue, 18 Jul 2017 15:49:22 +0000 (16:49 +0100)]
Notify the user and turn off tethering when the service is disallowed.

Added UserRestrinctionListener for turning the service off one the
DISALLOW_CONFIG_TETHERING is on into Tethering.  Added notification
about
tethering being turned off. Also added Unit Tests to test the
functionality
of the UserRestrictionListener added.

Bug: 27936525
Test: Turn the tehering service on (either wifi, usb or bluetooth).
Automatically the system should send a notification about the service
being active.Close settings from recents. From TestDPC User Restrictions
switch on DISALLOW_CONFIG_TETHERING. The tethering should be turned off
and a notification should appear informing that the service is inactive.

Merged-In: Ib7ea8885cedc2a842ebd4487c8b366a6666996bc
Change-Id: Ib7ea8885cedc2a842ebd4487c8b366a6666996bc
(cherry picked from commit fa6d5c5ca02f1bfc454bd3cd82e6c043661e7aa7)

7 years agoMerge "Inform SurfaceFlinger of which Surface is the RoundedCorners overlay." into...
Robert Carr [Thu, 3 Aug 2017 12:53:40 +0000 (12:53 +0000)]
Merge "Inform SurfaceFlinger of which Surface is the RoundedCorners overlay." into oc-dr1-dev
am: 48ed8aa4d0

Change-Id: Ibee1aea584f3e4141806aad6c8e7a592ccc31503

7 years agoMerge "AOD: Do not change wakeup animation during DozeService teardown" into oc-dr1-dev
Adrian Roos [Thu, 3 Aug 2017 12:48:33 +0000 (12:48 +0000)]
Merge "AOD: Do not change wakeup animation during DozeService teardown" into oc-dr1-dev
am: e8107cf358

Change-Id: I5bafabdfe40175ee15cd3258f1e0ed536a99f164

7 years agoMerge "Inform SurfaceFlinger of which Surface is the RoundedCorners overlay." into...
TreeHugger Robot [Thu, 3 Aug 2017 12:45:07 +0000 (12:45 +0000)]
Merge "Inform SurfaceFlinger of which Surface is the RoundedCorners overlay." into oc-dr1-dev

7 years agoMerge "AOD: Do not change wakeup animation during DozeService teardown" into oc-dr1-dev
TreeHugger Robot [Thu, 3 Aug 2017 12:34:59 +0000 (12:34 +0000)]
Merge "AOD: Do not change wakeup animation during DozeService teardown" into oc-dr1-dev

7 years agoMerge "Revert "Revert "Default 'persist.sys.timezone' property to GMT if not set...
Przemyslaw Szczepaniak [Thu, 3 Aug 2017 10:52:34 +0000 (10:52 +0000)]
Merge "Revert "Revert "Default 'persist.sys.timezone' property to GMT if not set on init.""" am: 82d2bd4e40 am: f9caecd124
am: be71148d49

Change-Id: Ibd4c390c610b20f2809b06045fa38e6231175599

7 years agoMerge "Revert "Revert "Default 'persist.sys.timezone' property to GMT if not set...
Przemyslaw Szczepaniak [Thu, 3 Aug 2017 10:40:54 +0000 (10:40 +0000)]
Merge "Revert "Revert "Default 'persist.sys.timezone' property to GMT if not set on init.""" am: 82d2bd4e40
am: f9caecd124

Change-Id: I69e18dc2838c9472b6962a181d3faa0873b27e38

7 years agoMerge "Revert "Revert "Default 'persist.sys.timezone' property to GMT if not set...
Przemyslaw Szczepaniak [Thu, 3 Aug 2017 10:30:05 +0000 (10:30 +0000)]
Merge "Revert "Revert "Default 'persist.sys.timezone' property to GMT if not set on init."""
am: 82d2bd4e40

Change-Id: I8d1fe014fdc3cfd190c5ce95ec963fa8c038552c

7 years agoMerge "Notify the user and turn off tethering when the service is disallowed."
Treehugger Robot [Thu, 3 Aug 2017 10:29:55 +0000 (10:29 +0000)]
Merge "Notify the user and turn off tethering when the service is disallowed."

7 years agoMerge "Revert "Revert "Default 'persist.sys.timezone' property to GMT if not set...
Przemyslaw Szczepaniak [Thu, 3 Aug 2017 10:15:24 +0000 (10:15 +0000)]
Merge "Revert "Revert "Default 'persist.sys.timezone' property to GMT if not set on init."""

7 years agoNsdManager: remove duplicated argument validation
Hugo Benichi [Tue, 2 May 2017 04:36:28 +0000 (13:36 +0900)]
NsdManager: remove duplicated argument validation

This patch simplifies argument validation in NsdManager public api and
regroup duplicated validation into common methods.

This makes stack traces more actionable as now specific errors will
cause the api to throw exception from specific methods, whereas before
IllegalArgumentException would be thrown from inside the same api method
for different reasons.

This patch also includes a couple of other small cleanups.

Test: $ runtest -x frameworks/base/tests/net/../NsdManagerTest.java
Bug: 37013369

(cherry picked from commit ff3e6ccca1715ae72c6499cc7c894d27f46e8403)

Change-Id: Icf047532aa551fbe0a70721cfb95507eaa84d51e

7 years agoMerge "Check CookieHandler in setDataSource with cookies" into oc-dr1-dev
Sungsoo Lim [Thu, 3 Aug 2017 01:03:46 +0000 (01:03 +0000)]
Merge "Check CookieHandler in setDataSource with cookies" into oc-dr1-dev
am: 6a2ee3b180

Change-Id: I28f5b461d1c0e7f25868af780125c2f8ba356a89

7 years agoMerge "Check CookieHandler in setDataSource with cookies" into oc-dr1-dev
Sungsoo Lim [Thu, 3 Aug 2017 00:52:27 +0000 (00:52 +0000)]
Merge "Check CookieHandler in setDataSource with cookies" into oc-dr1-dev

7 years agoCheck CookieHandler in setDataSource with cookies
Sungsoo Lim [Mon, 24 Jul 2017 13:29:27 +0000 (22:29 +0900)]
Check CookieHandler in setDataSource with cookies

If the caller of MediaPlayer.setDataSource has installed its own
CookieHandler when cookies are provided, MediaPlayer.setDataSource
requires that the CookieHandler has to be of CookieManager type.

Bug: 63638018
Test: manual
Change-Id: I1539d1fa83440ddfb00cc958cd46b9917fe3a296

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dr1-dev
Bill Yi [Thu, 3 Aug 2017 00:30:51 +0000 (00:30 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev
am: e1f66b297d  -s ours

Change-Id: I427a4ab63aca8bac7ff2c4a251052becf018b7d8

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dr1-dev
TreeHugger Robot [Thu, 3 Aug 2017 00:12:34 +0000 (00:12 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev

7 years agoMerge "Fix compile issue" am: 27b56eb03f am: 60c65f1a67
John Reck [Thu, 3 Aug 2017 00:06:48 +0000 (00:06 +0000)]
Merge "Fix compile issue" am: 27b56eb03f am: 60c65f1a67
am: 11d331a2af

Change-Id: I6f293b65cfc734beeafc510baa7121945de208e4

7 years agoMerge "com.android.server: use proper nativehelper headers" am: 41a7f5a64f -s ours...
Steven Moreland [Wed, 2 Aug 2017 23:56:20 +0000 (23:56 +0000)]
Merge "com.android.server: use proper nativehelper headers" am: 41a7f5a64f  -s ours am: 79e124c9c7  -s ours
am: 0666e1cd5c  -s ours

Change-Id: Ibddc7b339d8cba53c73b2471bab11eabca82fa33

7 years agoMerge "Fix compile issue" am: 27b56eb03f
John Reck [Wed, 2 Aug 2017 23:55:41 +0000 (23:55 +0000)]
Merge "Fix compile issue" am: 27b56eb03f
am: 60c65f1a67

Change-Id: I8ee620ac2fec24c56a40f2b9be1aa0665a0146bf

7 years agoMerge "Fix compile issue"
John Reck [Wed, 2 Aug 2017 23:47:23 +0000 (23:47 +0000)]
Merge "Fix compile issue"
am: 27b56eb03f

Change-Id: I052fdfdc4f3a75f9ddaa6e9e445d706e22574113

7 years agoMerge "com.android.server: use proper nativehelper headers" am: 41a7f5a64f -s ours
Steven Moreland [Wed, 2 Aug 2017 23:44:30 +0000 (23:44 +0000)]
Merge "com.android.server: use proper nativehelper headers" am: 41a7f5a64f  -s ours
am: 79e124c9c7  -s ours

Change-Id: I550d6ce82513fc8e160597ba2ff89b6c5efa286a

7 years agoMerge "Fix compile issue"
Treehugger Robot [Wed, 2 Aug 2017 23:25:32 +0000 (23:25 +0000)]
Merge "Fix compile issue"

7 years agoMerge "com.android.server: use proper nativehelper headers"
Steven Moreland [Wed, 2 Aug 2017 23:19:33 +0000 (23:19 +0000)]
Merge "com.android.server: use proper nativehelper headers"
am: 41a7f5a64f  -s ours

Change-Id: I470a1998cecb2254f38ea62b08e2408b9b3d4567

7 years agoMerge "Move VR preference for portrait orientation." into oc-dr1-dev
Santos Cordon [Wed, 2 Aug 2017 23:17:29 +0000 (23:17 +0000)]
Merge "Move VR preference for portrait orientation." into oc-dr1-dev
am: 7c4069d255

Change-Id: I3fee2180df9f1b18aae17eeae97b5f0006226c64

7 years agoMerge "com.android.server: use proper nativehelper headers"
Treehugger Robot [Wed, 2 Aug 2017 23:02:04 +0000 (23:02 +0000)]
Merge "com.android.server: use proper nativehelper headers"

7 years agoMerge "Move VR preference for portrait orientation." into oc-dr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 22:54:52 +0000 (22:54 +0000)]
Merge "Move VR preference for portrait orientation." into oc-dr1-dev

7 years agoMerge "zygote: always log process exit reason." am: b14694b043 am: 1453059ae3
Josh Gao [Wed, 2 Aug 2017 22:22:38 +0000 (22:22 +0000)]
Merge "zygote: always log process exit reason." am: b14694b043 am: 1453059ae3
am: c4f129121e

Change-Id: Ib43f235adfb75b4c40f586ad76ea85cd12f34383

7 years agoMerge changes from topic 'do_not_roam_on_traffic' into oc-dr1-dev
Ningyuan Wang [Wed, 2 Aug 2017 22:17:41 +0000 (22:17 +0000)]
Merge changes from topic 'do_not_roam_on_traffic' into oc-dr1-dev
am: 54e6518fc8

Change-Id: Ibe4c10de6efea5b4ba79f41cef8ca7a7ed2aa371

7 years agoMerge "zygote: always log process exit reason." am: b14694b043
Josh Gao [Wed, 2 Aug 2017 22:13:08 +0000 (22:13 +0000)]
Merge "zygote: always log process exit reason." am: b14694b043
am: 1453059ae3

Change-Id: I024a43786efaa28c4dfc823066d7afdb135572af

7 years agoMerge changes from topic 'do_not_roam_on_traffic' into oc-dr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 22:09:15 +0000 (22:09 +0000)]
Merge changes from topic 'do_not_roam_on_traffic' into oc-dr1-dev

* changes:
  Add traffic thresholds to prevent wifi network changes
  WifiInfo: Add getters for success tx/rx rate

7 years agoMerge "zygote: always log process exit reason."
Josh Gao [Wed, 2 Aug 2017 22:04:14 +0000 (22:04 +0000)]
Merge "zygote: always log process exit reason."
am: b14694b043

Change-Id: Iaa68234674edb9494e518184ee72b1130831cfc9

7 years agoFix compile issue
John Reck [Wed, 29 Jun 2016 22:11:23 +0000 (15:11 -0700)]
Fix compile issue

Change-Id: Ic3423cfb23c6057210efb2e9110551b694c0101c
(cherry picked from commit 9688a3d33451134d6ff54f7b60f8db7a338a40f1)

7 years agoMerge "Prevent crash dialogs from appearing in demo mode" into oc-dr1-dev
Christine Franks [Wed, 2 Aug 2017 22:03:42 +0000 (22:03 +0000)]
Merge "Prevent crash dialogs from appearing in demo mode" into oc-dr1-dev
am: 8d753bc3a3

Change-Id: If7bc865f712dd09257ea07c01a90bc91531ab3b9

7 years agoMerge "Prevent crash dialogs from appearing in demo mode" into oc-dr1-dev
Christine Franks [Wed, 2 Aug 2017 21:54:28 +0000 (21:54 +0000)]
Merge "Prevent crash dialogs from appearing in demo mode" into oc-dr1-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 2 Aug 2017 21:51:56 +0000 (14:51 -0700)]
Import translations. DO NOT MERGE

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

7 years agoMerge "zygote: always log process exit reason."
Treehugger Robot [Wed, 2 Aug 2017 21:50:44 +0000 (21:50 +0000)]
Merge "zygote: always log process exit reason."

7 years agoMerge "services.core: remove use of -static hidl java" into stage-aosp-master am...
Steven Moreland [Wed, 2 Aug 2017 21:47:51 +0000 (21:47 +0000)]
Merge "services.core: remove use of -static hidl java" into stage-aosp-master am: e79a0931f7
am: 9bd5b76318  -s ours

Change-Id: Ibaca955ef655e2b00ca96cc5c3a7de4eb21d3538

7 years agoMerge "WakeAndUnlock: Make sure to wait for screen turning on" into oc-dr1-dev
Adrian Roos [Wed, 2 Aug 2017 21:42:47 +0000 (21:42 +0000)]
Merge "WakeAndUnlock: Make sure to wait for screen turning on" into oc-dr1-dev
am: 46f2cdeb63

Change-Id: Ia731476cb31e2a71caf277c29a6ebb34e0ccac90

7 years agoMerge "Remove Conferenceable update squelching" into oc-dr1-dev
Brad Ebinger [Wed, 2 Aug 2017 21:40:34 +0000 (21:40 +0000)]
Merge "Remove Conferenceable update squelching" into oc-dr1-dev
am: 4b6ef9c92d

Change-Id: I93a849f16c7c4d3bc4495f1baff905d16f0e78ff

7 years agoMerge "services.core: remove use of -static hidl java" into stage-aosp-master
Steven Moreland [Wed, 2 Aug 2017 21:35:46 +0000 (21:35 +0000)]
Merge "services.core: remove use of -static hidl java" into stage-aosp-master
am: e79a0931f7

Change-Id: Ia87ef00c10528b161e36631726513d0b87845cc0

7 years agoMerge "WakeAndUnlock: Make sure to wait for screen turning on" into oc-dr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 21:29:07 +0000 (21:29 +0000)]
Merge "WakeAndUnlock: Make sure to wait for screen turning on" into oc-dr1-dev

7 years agoMerge "Remove Conferenceable update squelching" into oc-dr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 21:26:19 +0000 (21:26 +0000)]
Merge "Remove Conferenceable update squelching" into oc-dr1-dev

7 years agoMerge "services.core: remove use of -static hidl java" into stage-aosp-master
TreeHugger Robot [Wed, 2 Aug 2017 21:22:49 +0000 (21:22 +0000)]
Merge "services.core: remove use of -static hidl java" into stage-aosp-master

7 years agocom.android.server: use proper nativehelper headers
Steven Moreland [Tue, 1 Aug 2017 17:18:40 +0000 (10:18 -0700)]
com.android.server: use proper nativehelper headers

libnativehelper exports headers under nativehelper. These were
available before incorrectly as global headers in order to give
access to jni.h.

Test: com.android.server finds headers
Bug: 63762847
Merged-In: Icb3018f520004f65e8dd565d6e1d563551548eba
Change-Id: Ib36fec53c30760af5dac4097b3eceda6c4c6c7f0

7 years agoMerge "Fix keyboard focus in VR" into oc-dr1-dev
Tarandeep Singh [Wed, 2 Aug 2017 20:42:08 +0000 (20:42 +0000)]
Merge "Fix keyboard focus in VR" into oc-dr1-dev
am: 986995d481

Change-Id: Ide81e21c24c6efd66c03c997dcaefbd0a3efd7b8

7 years agoMerge "Fix keyboard focus in VR" into oc-dr1-dev
Tarandeep Singh [Wed, 2 Aug 2017 20:33:02 +0000 (20:33 +0000)]
Merge "Fix keyboard focus in VR" into oc-dr1-dev

7 years agoMerge "Reland "services.core: remove use of -static hidl java"" into oc-dr1-dev-plus...
TreeHugger Robot [Wed, 2 Aug 2017 20:18:03 +0000 (20:18 +0000)]
Merge "Reland "services.core: remove use of -static hidl java"" into oc-dr1-dev-plus-aosp

7 years agoMerge "Merge "camera2: Fix template requirements" into oc-dev am: 2976109d89 am:...
Android Build Merger (Role) [Wed, 2 Aug 2017 20:07:11 +0000 (20:07 +0000)]
Merge "Merge "camera2: Fix template requirements" into oc-dev am: 2976109d89 am: d5cc64f349" into oc-dr1-dev-plus-aosp

7 years agoMerge "camera2: Fix template requirements" into oc-dev am: 2976109d89
Chien-Yu Chen [Wed, 2 Aug 2017 20:05:55 +0000 (20:05 +0000)]
Merge "camera2: Fix template requirements" into oc-dev am: 2976109d89
am: d5cc64f349

Change-Id: I9928429d425d60c08568535495cffe3caa4de992

7 years agoMerge "camera2: Fix template requirements" into oc-dev am: 2976109d89
Chien-Yu Chen [Wed, 2 Aug 2017 20:05:22 +0000 (20:05 +0000)]
Merge "camera2: Fix template requirements" into oc-dev am: 2976109d89
am: 615f9e1277

Change-Id: I1c14baa9dc756fc91b6db1ba7f947a6fa4a4c4e8

7 years agoMerge "camera2: Fix template requirements" into oc-dev
Chien-Yu Chen [Wed, 2 Aug 2017 19:56:55 +0000 (19:56 +0000)]
Merge "camera2: Fix template requirements" into oc-dev
am: 2976109d89

Change-Id: I26487e8565aa190cff6e470bfdbc312b5ec83ceb

7 years agoMerge "camera2: Fix template requirements" into oc-dev
Chien-Yu Chen [Wed, 2 Aug 2017 19:56:55 +0000 (19:56 +0000)]
Merge "camera2: Fix template requirements" into oc-dev
am: 2976109d89

Change-Id: I20b68b33caf48afeead56116602c6a9b2a33ab26

7 years agozygote: always log process exit reason.
Josh Gao [Wed, 2 Aug 2017 19:54:05 +0000 (12:54 -0700)]
zygote: always log process exit reason.

Multiple people have run into problems where apps disappear without a
trace. Always log process exit, so that it's clear when a process is
intentionally exiting. (The amount of extraneous logging this generates
is probably minimal.)

Test: none
Change-Id: I77169da4d0f05dabfe38490757975ad7ad0247b2

7 years agoMerge "Ensure that all displays are updated upon any changes to rotation." into oc...
Santos Cordon [Wed, 2 Aug 2017 19:46:23 +0000 (19:46 +0000)]
Merge "Ensure that all displays are updated upon any changes to rotation." into oc-dr1-dev
am: adec8518af

Change-Id: I70c521db6bb979e6276a57a2b818f050bb8fafae

7 years agoMerge "camera2: Fix template requirements" into oc-dev
TreeHugger Robot [Wed, 2 Aug 2017 19:43:31 +0000 (19:43 +0000)]
Merge "camera2: Fix template requirements" into oc-dev

7 years agoMerge "Fixed a clipping issue in AOD" into oc-dr1-dev
Selim Cinek [Wed, 2 Aug 2017 19:43:23 +0000 (19:43 +0000)]
Merge "Fixed a clipping issue in AOD" into oc-dr1-dev
am: 0ee78fd385

Change-Id: Ic3f5297c574aaa3598939399c623c2920623b3ba

7 years agoMerge "Ensure that all displays are updated upon any changes to rotation." into oc...
TreeHugger Robot [Wed, 2 Aug 2017 19:38:08 +0000 (19:38 +0000)]
Merge "Ensure that all displays are updated upon any changes to rotation." into oc-dr1-dev

7 years agoMerge "Start all visible running activities when attaching app" into oc-dr1-dev
Jorim Jaggi [Wed, 2 Aug 2017 19:38:01 +0000 (19:38 +0000)]
Merge "Start all visible running activities when attaching app" into oc-dr1-dev
am: 2af6f25f43

Change-Id: I9f3d772141b872d5561b217e1cb3c0daa0cc1a71

7 years agoMerge "SysUI: Move all sensor operations to the background thread" into oc-dr1-dev
Adrian Roos [Wed, 2 Aug 2017 19:35:48 +0000 (19:35 +0000)]
Merge "SysUI: Move all sensor operations to the background thread" into oc-dr1-dev
am: e81cdeea1c

Change-Id: I03d14d8688a96ede9b92369b822bd928eaf10a03

7 years agoMerge "Fix NPE when reading icon for removed session." into oc-dr1-dev
Jeff Sharkey [Wed, 2 Aug 2017 19:33:49 +0000 (19:33 +0000)]
Merge "Fix NPE when reading icon for removed session." into oc-dr1-dev
am: 65abebbadd

Change-Id: I5a78f799bde2926eb3f5f6f424148aaf11729c54

7 years agoAssist: Only call lockscreenShown when it is actually shown
Adrian Roos [Wed, 2 Aug 2017 19:32:54 +0000 (21:32 +0200)]
Assist: Only call lockscreenShown when it is actually shown

Fixes an issue where lockscreenShown called during onStartedWakingUp. Instead,
we now call it only when the lockscreen is actually shown, not when the layout
is requested for doze.

Change-Id: Idd196bf4fd5027e64a872ac8c0387531e8f59606
Fixes: 64141781
Test: Trigger Elmyra from AOD, verify Assistant shows.

7 years agoMerge "Fixed a clipping issue in AOD" into oc-dr1-dev
Selim Cinek [Wed, 2 Aug 2017 19:28:07 +0000 (19:28 +0000)]
Merge "Fixed a clipping issue in AOD" into oc-dr1-dev

7 years agoMerge "Gracefully handle focus loops created by app dev." into oc-dr1-dev
Evan Rosky [Wed, 2 Aug 2017 19:25:42 +0000 (19:25 +0000)]
Merge "Gracefully handle focus loops created by app dev." into oc-dr1-dev
am: ae938cee71

Change-Id: If8a2938a9f10a9c8b60b65323cd34713eeb95f40

7 years agoMerge "Start all visible running activities when attaching app" into oc-dr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 19:20:19 +0000 (19:20 +0000)]
Merge "Start all visible running activities when attaching app" into oc-dr1-dev

7 years agoMerge "SysUI: Move all sensor operations to the background thread" into oc-dr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 19:16:46 +0000 (19:16 +0000)]
Merge "SysUI: Move all sensor operations to the background thread" into oc-dr1-dev

7 years agoMerge "Fix NPE when reading icon for removed session." into oc-dr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 19:09:04 +0000 (19:09 +0000)]
Merge "Fix NPE when reading icon for removed session." into oc-dr1-dev

7 years agoMerge "Gracefully handle focus loops created by app dev." into oc-dr1-dev
Evan Rosky [Wed, 2 Aug 2017 19:08:18 +0000 (19:08 +0000)]
Merge "Gracefully handle focus loops created by app dev." into oc-dr1-dev

7 years agoAOD: Unregister touchscreen sensors while pulsing
Adrian Roos [Wed, 2 Aug 2017 18:50:16 +0000 (20:50 +0200)]
AOD: Unregister touchscreen sensors while pulsing

While we're pulsing, the touch screen is fully on. Keeping touchscreen
sensors registered can lead to the sensorhub and kernel touch driver
racing on who gets to control the touchscreen; the losing party may
also logspam and consume increased power.

To avoid this, we unregister touchscreen sensors when turning the screen
on.

Change-Id: Ie236d0a40c92d7fc544bd34ff883e613915c8e46
Fixes: 64160164
Test: receive notification; adb shell dumpsys sensorservice, verify double tap sensor is not registered; verify it is again registered after swiping away the notification.

7 years agoReland "services.core: remove use of -static hidl java"
Steven Moreland [Wed, 2 Aug 2017 18:25:28 +0000 (18:25 +0000)]
Reland "services.core: remove use of -static hidl java"

This reverts commit be3162ea8521d7524e2ae31407dc3340f3ae4875.

Bug: 36376126
Test: marlin boots

Change-Id: Ic5317a10f9fe6792908f9db2fa6d5275fe7ea9c1

7 years agoMerge "Send TYPE_NOTIFICATION_STATE_CHANGED events for IMPORTANCE_LOW notifications...
Daniel Sandler [Wed, 2 Aug 2017 18:46:55 +0000 (18:46 +0000)]
Merge "Send TYPE_NOTIFICATION_STATE_CHANGED events for IMPORTANCE_LOW notifications." into oc-dr1-dev
am: c7937c13f6

Change-Id: If88c711e3a1fe502db9e73d33b330679d4ba6043

7 years agoMerge "Use EGL_EXT_gl_colorspace_scrgb instead of *_linear" into oc-dr1-dev
Romain Guy [Wed, 2 Aug 2017 18:44:40 +0000 (18:44 +0000)]
Merge "Use EGL_EXT_gl_colorspace_scrgb instead of *_linear" into oc-dr1-dev
am: 8e8debbe21

Change-Id: I0f66cafd5eee8081f7af72bfb8cebdb93a619662

7 years agoMerge "Send TYPE_NOTIFICATION_STATE_CHANGED events for IMPORTANCE_LOW notifications...
Daniel Sandler [Wed, 2 Aug 2017 18:40:34 +0000 (18:40 +0000)]
Merge "Send TYPE_NOTIFICATION_STATE_CHANGED events for IMPORTANCE_LOW notifications." into oc-dr1-dev

7 years agoMerge "Added null test to avoid regression for onRemoteVolumeChanged." into oc-dr1-dev
Beverly [Wed, 2 Aug 2017 18:38:00 +0000 (18:38 +0000)]
Merge "Added null test to avoid regression for onRemoteVolumeChanged." into oc-dr1-dev
am: 6407874ae0

Change-Id: I8062e205af16792aa5ae0593795a940fc75813bc

7 years agoMerge "Use EGL_EXT_gl_colorspace_scrgb instead of *_linear" into oc-dr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 18:35:10 +0000 (18:35 +0000)]
Merge "Use EGL_EXT_gl_colorspace_scrgb instead of *_linear" into oc-dr1-dev

7 years agoMerge "Revert "services.core: remove use of -static hidl java"" into oc-dr1-dev-plus...
Steven Moreland [Wed, 2 Aug 2017 18:24:43 +0000 (18:24 +0000)]
Merge "Revert "services.core: remove use of -static hidl java"" into oc-dr1-dev-plus-aosp

7 years agoMerge "Added null test to avoid regression for onRemoteVolumeChanged." into oc-dr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 18:22:03 +0000 (18:22 +0000)]
Merge "Added null test to avoid regression for onRemoteVolumeChanged." into oc-dr1-dev

7 years agoRevert "services.core: remove use of -static hidl java"
Steven Moreland [Wed, 2 Aug 2017 18:20:13 +0000 (18:20 +0000)]
Revert "services.core: remove use of -static hidl java"

Changes this depends on are missing from intermediate branches.

This reverts commit 31eb20f06acdbf20570c841198434005e3145e8b.

Change-Id: Ie3c30cf456f922d95ecb8859f0556095a491e2d6

7 years agoMerge "fingerprint: remove use of -static hidl java" into stage-aosp-master am: 5de8c...
Steven Moreland [Wed, 2 Aug 2017 18:12:18 +0000 (18:12 +0000)]
Merge "fingerprint: remove use of -static hidl java" into stage-aosp-master am: 5de8c0ee40
am: 842447df3c

Change-Id: I88abe8764bc50e1e1498cb02794c1728ad5bea69

7 years agoMerge "fingerprint: remove use of -static hidl java" into stage-aosp-master
Steven Moreland [Wed, 2 Aug 2017 18:03:38 +0000 (18:03 +0000)]
Merge "fingerprint: remove use of -static hidl java" into stage-aosp-master
am: 5de8c0ee40

Change-Id: I48d84d0d28d476dae84201b68e943e3ad4dae500

7 years agoMerge "Fix race condition when destroying view" into oc-dr1-dev
Lucas Dupin [Wed, 2 Aug 2017 18:03:21 +0000 (18:03 +0000)]
Merge "Fix race condition when destroying view" into oc-dr1-dev
am: b0e5b53bbf

Change-Id: I6e07dca79e8d33522d4f0e9b58dcc48bdff555d2

7 years agoMerge "fingerprint: remove use of -static hidl java" into stage-aosp-master
TreeHugger Robot [Wed, 2 Aug 2017 17:55:25 +0000 (17:55 +0000)]
Merge "fingerprint: remove use of -static hidl java" into stage-aosp-master

7 years agoMerge "Fix race condition when destroying view" into oc-dr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 17:47:59 +0000 (17:47 +0000)]
Merge "Fix race condition when destroying view" into oc-dr1-dev

7 years agoFix keyboard focus in VR
Tarandeep Singh [Tue, 11 Jul 2017 01:50:00 +0000 (18:50 -0700)]
Fix keyboard focus in VR

Consider this VirtualDisplay (VD) scenario:
HostActivity creates a VD which holds SettingsActivity. When EditText
on SettingsActivity is tapped, it gains focus.
On eventual taps, it loses focus i.e. the Window in VD loses focus and
the host activity in primary display gets the focus instead. This
happens because WM's TaskTapPointerEventListener.onPointerEvent()
is called on the default display only.

Root cause:
1. Tap detector isn't registered for non-default display.
2. Tap detector has no info on which displayId touch was received.
3. InputFlinger doesn't deliver InputMonitor events for
non-default displays (fixed in a separate CL)

Fixing above results in onPointerEvent(MotionEvent) to deliver the
Touch events successfully to VD. We restrict these changes to physical
multi-displays and VR VirtualDisplays (which uses virtual touch device).
[VrManagerService calls WMInternal.setVr2dDisplayId(int)]

In future, displayId should be part of InputEvent. Bug: 64258305

Bug: 62033391
Test: bit FrameworksServicesTests:com.android.server.wm.DisplayContentTests
Change-Id: I3626f4de5aa9bcf905da9abd39f3ab1baefc4c48

7 years agoMerge "Add owners for the network security config" am: 8773730cd9 am: e9d50c793a
Chad Brubaker [Wed, 2 Aug 2017 17:41:21 +0000 (17:41 +0000)]
Merge "Add owners for the network security config" am: 8773730cd9 am: e9d50c793a
am: 531f1af615

Change-Id: I77240a60f796c63acd640b8a43cb7054ad2a8bee

7 years agoAOD: Do not change wakeup animation during DozeService teardown
Adrian Roos [Wed, 2 Aug 2017 17:32:28 +0000 (19:32 +0200)]
AOD: Do not change wakeup animation during DozeService teardown

When finishing the DozeService, eg. in response to pressing the
power button, we need to keep the current value of shouldAnimate.

Fixes: 64203271
Test: Disable Always-On Display. Double tap to trigger Ambient Display. Press power button. Verify that wakeup animation plays.
Change-Id: I393ac143099b45ff90c927658a6d00a2afc1124f

7 years agoGracefully handle focus loops created by app dev.
Evan Rosky [Wed, 12 Jul 2017 17:58:07 +0000 (10:58 -0700)]
Gracefully handle focus loops created by app dev.

Instead of ANR in an infinite loop, this will detect
a cycle and return null.

Bug: 62960867
Test: Added in CTS FocusFinderTest#testChainVisibility
Change-Id: Ifb4638e3350642f065c40b3bea112cc12efff447

7 years agoMerge "LightStatus: Fix notification icon color filter" into oc-dr1-dev
Adrian Roos [Wed, 2 Aug 2017 17:30:33 +0000 (17:30 +0000)]
Merge "LightStatus: Fix notification icon color filter" into oc-dr1-dev
am: 6134b7529b

Change-Id: Ib68dcc833b2a25466b147e8c406fa6bbd8517e02

7 years agoMerge "Add owners for the network security config" am: 8773730cd9
Chad Brubaker [Wed, 2 Aug 2017 17:27:51 +0000 (17:27 +0000)]
Merge "Add owners for the network security config" am: 8773730cd9
am: e9d50c793a

Change-Id: Id183ac68171c94d082c992bd3e986c136d6c7764

7 years agoMerge "Fixed an issue where icons were jumping" into oc-dr1-dev
Selim Cinek [Wed, 2 Aug 2017 17:27:48 +0000 (17:27 +0000)]
Merge "Fixed an issue where icons were jumping" into oc-dr1-dev
am: 7a719ab0ed

Change-Id: I5e983a7275e1dc117c1c70d6ae7be14b121d5c54

7 years agoMerge "LightStatus: Fix notification icon color filter" into oc-dr1-dev
Adrian Roos [Wed, 2 Aug 2017 17:23:31 +0000 (17:23 +0000)]
Merge "LightStatus: Fix notification icon color filter" into oc-dr1-dev