OSDN Git Service

android-x86/frameworks-base.git
7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 11 Apr 2017 18:09:55 +0000 (11:09 -0700)]
Import translations. DO NOT MERGE

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

7 years agoMerge "Add an API to enable disable safebrowsing in WebView" into oc-dev
TreeHugger Robot [Mon, 10 Apr 2017 16:36:41 +0000 (16:36 +0000)]
Merge "Add an API to enable disable safebrowsing in WebView" into oc-dev

7 years agoMerge "Add ICompanionDeviceManager.getAssociation overload with explicit userId"...
TreeHugger Robot [Mon, 10 Apr 2017 15:06:05 +0000 (15:06 +0000)]
Merge "Add ICompanionDeviceManager.getAssociation overload with explicit userId" into oc-dev

7 years agoMerge "Tethering: support Local-only Hotspot mode for downstreams" into oc-dev
Erik Kline [Mon, 10 Apr 2017 14:57:45 +0000 (14:57 +0000)]
Merge "Tethering: support Local-only Hotspot mode for downstreams" into oc-dev

7 years agoMerge "Update decor LayoutParams when window is already added." into oc-dev
Bryce Lee [Mon, 10 Apr 2017 14:22:44 +0000 (14:22 +0000)]
Merge "Update decor LayoutParams when window is already added." into oc-dev

7 years agoMerge "AutoSize TextView - fix measurements" into oc-dev
Andrei Stingaceanu [Mon, 10 Apr 2017 12:48:28 +0000 (12:48 +0000)]
Merge "AutoSize TextView - fix measurements" into oc-dev

7 years agoMerge "VPN: cancel always-on notification with new id" into oc-dev
Charles He [Mon, 10 Apr 2017 12:43:32 +0000 (12:43 +0000)]
Merge "VPN: cancel always-on notification with new id" into oc-dev

7 years agoTethering: support Local-only Hotspot mode for downstreams
Erik Kline [Fri, 10 Mar 2017 10:35:34 +0000 (19:35 +0900)]
Tethering: support Local-only Hotspot mode for downstreams

Test: as follows
    - built (bullhead)
    - flashed
    - booted
    - "runtest frameworks-net" passes
Bug: 31466854

Change-Id: Ia50e28c8ce0af8cdd7ac63217d921aff213668e7

7 years agoMerge "Fix mock of setApplicationRestrictions()" into oc-dev
Eric Sandness [Mon, 10 Apr 2017 12:18:08 +0000 (12:18 +0000)]
Merge "Fix mock of setApplicationRestrictions()" into oc-dev

7 years agoMerge "DngCreator: Populate baseline exposure tag" into oc-dev
TreeHugger Robot [Mon, 10 Apr 2017 10:03:57 +0000 (10:03 +0000)]
Merge "DngCreator: Populate baseline exposure tag" into oc-dev

7 years agoAutoSize TextView - fix measurements
Andrei Stingaceanu [Wed, 5 Apr 2017 15:51:00 +0000 (16:51 +0100)]
AutoSize TextView - fix measurements

The BoringLayout measurements for auto-size are
incorrect. Removed those and kept the StaticLayout
measurements.

Bug: 36940118
Test: cts-tradefed run cts-dev -m CtsWidgetTestCases -t\
      android.widget.cts.TextViewTest

Change-Id: I772ade08ed26efac05ca56cb7df8cfec0327633b

7 years agoMerge "Fix counting problems in StopwatchTimer." into oc-dev
TreeHugger Robot [Sun, 9 Apr 2017 18:54:28 +0000 (18:54 +0000)]
Merge "Fix counting problems in StopwatchTimer." into oc-dev

7 years agoVPN: cancel always-on notification with new id
Charles He [Sat, 8 Apr 2017 21:03:42 +0000 (22:03 +0100)]
VPN: cancel always-on notification with new id

Previously we used 0 for the id of the "Always-on VPN disconnected"
notification, as did many other system services. In a recent CL, an
effort was made to assign a dedicated id to each of these system
notifications. Unfortunately, this CL only changed the id in the call to
NotificationManager#notify(), but not NotificationManager#cancel(). This
causes the notification to persist even when always-on VPN is turned off
by the user.

This CL changes the id in the cancel() call, thus fixing the issue.

Bug: 37175930
Test: manually enable and disable always-on and observe the notification
Change-Id: I39c7325c78479afe3dc9e1764d54406bd721b067

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Sat, 8 Apr 2017 08:01:07 +0000 (08:01 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Sat, 8 Apr 2017 07:59:27 +0000 (07:59 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Sat, 8 Apr 2017 07:58:40 +0000 (07:58 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Sat, 8 Apr 2017 07:53:22 +0000 (07:53 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Sat, 8 Apr 2017 07:49:39 +0000 (07:49 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Sat, 8 Apr 2017 07:47:33 +0000 (07:47 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Sat, 8 Apr 2017 07:42:17 +0000 (07:42 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoMerge "Restore session on new window after app kill" into oc-dev
TreeHugger Robot [Sat, 8 Apr 2017 02:35:32 +0000 (02:35 +0000)]
Merge "Restore session on new window after app kill" into oc-dev

7 years agoMerge "Start service from libscheduleservicehidl." into oc-dev
TreeHugger Robot [Sat, 8 Apr 2017 02:26:56 +0000 (02:26 +0000)]
Merge "Start service from libscheduleservicehidl." into oc-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 8 Apr 2017 02:21:23 +0000 (19:21 -0700)]
Import translations. DO NOT MERGE

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

7 years agoMerge "Use feature instead of hidden config for multi-display" into oc-dev
Andrii Kulian [Sat, 8 Apr 2017 01:51:23 +0000 (01:51 +0000)]
Merge "Use feature instead of hidden config for multi-display" into oc-dev

7 years agoMerge "FingerprintSettings for non-owner should respond to fingerprint touches" into...
TreeHugger Robot [Sat, 8 Apr 2017 01:47:30 +0000 (01:47 +0000)]
Merge "FingerprintSettings for non-owner should respond to fingerprint touches" into oc-dev

7 years agoAdd an API to enable disable safebrowsing in WebView
Selim Gurun [Sat, 8 Apr 2017 01:21:46 +0000 (18:21 -0700)]
Add an API to enable disable safebrowsing in WebView

WebView safebrowsing can be opted in using a manifest value. However,
we also need to control individual WebViews.

Bug:37158813
Test: See change I71e813bccc2fab73d100384661128c7311dd396c

Change-Id: I647dc304787d6406691b5cbadf1c9a4f13ac5604

7 years agoMerge "Enable profiling for system server for userdebug|eng" into oc-dev
Mathieu Chartier [Sat, 8 Apr 2017 01:26:53 +0000 (01:26 +0000)]
Merge "Enable profiling for system server for userdebug|eng" into oc-dev

7 years agoEnable profiling for system server for userdebug|eng
Mathieu Chartier [Fri, 31 Mar 2017 04:00:18 +0000 (21:00 -0700)]
Enable profiling for system server for userdebug|eng

Only for these two configurations since selinux permissions only
allow system_server to access profiles in these cases.

Motivation is to allow collecting profiles for improving RAM and
performance for preopt.

Setting the property dalvik.vm.profilesystemserver to true is required
to enable the collection of profiles for system server.

Test: device boots

Bug: 34927277
Bug: 36457259

Change-Id: Icbba6dafe376fd9c6c3d0c7feba7f64009f7c2c3

7 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 8 Apr 2017 01:13:06 +0000 (18:13 -0700)]
Import translations. DO NOT MERGE

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

7 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 8 Apr 2017 01:05:51 +0000 (18:05 -0700)]
Import translations. DO NOT MERGE

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

7 years agoMerge "Make a11y node info parceling more robust" into lmp-mr1-dev am: 88698afd01...
Phil Weaver [Sat, 8 Apr 2017 00:54:43 +0000 (00:54 +0000)]
Merge "Make a11y node info parceling more robust" into lmp-mr1-dev am: 88698afd01 am: 7cb5e1dfd1 am: d7552dc819 am: e3a1b81c8f am: 879bdbeb37 am: f580a2c257 am: 68a93d2be2 am: c7db1bf43a am: 593df9d186 am: 92e6a1d941
am: fbc531077f

Change-Id: I391a1599854997edc52e704ab75a976d7ba567b3

7 years agoRestore session on new window after app kill
Philip P. Moltmann [Mon, 20 Mar 2017 17:55:43 +0000 (10:55 -0700)]
Restore session on new window after app kill

Also:
- Give the session an integer ID as the activityToken is not stable over
  restarts of the activity
- Verify that session is only accessed by one UID
- stabilize AccessibilityViewIds over activity lifecycle at least for
  the IDs we can do that. This required to split the ID namespace in
  "per-app" and "per-activity" views. Only the later ones can be
  restored.
- Do not end session when app is killed (as it can be restarted)

Bug: 35484143
Fixes: 36392498
Test: cts-tradefed run cts-dev -m CtsAutoFillServiceTestCases --test=android.autofillservice.cts.SessionLifecycleTest
      cts-tradefed run cts-dev -m CtsAutoFillServiceTestCases
Change-Id: I229acc1b3ce35fb57262da7d7466b5d4328b49d4

7 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 8 Apr 2017 00:48:48 +0000 (17:48 -0700)]
Import translations. DO NOT MERGE

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

7 years agoMerge "Make a11y node info parceling more robust" into oc-dev
TreeHugger Robot [Sat, 8 Apr 2017 00:45:51 +0000 (00:45 +0000)]
Merge "Make a11y node info parceling more robust" into oc-dev

7 years agoMerge "Fix when vr app launches 2d activity" into oc-dev
TreeHugger Robot [Sat, 8 Apr 2017 00:40:58 +0000 (00:40 +0000)]
Merge "Fix when vr app launches 2d activity" into oc-dev

7 years agoMerge "Make a11y node info parceling more robust" into lmp-mr1-dev am: 88698afd01...
Phil Weaver [Sat, 8 Apr 2017 00:40:34 +0000 (00:40 +0000)]
Merge "Make a11y node info parceling more robust" into lmp-mr1-dev am: 88698afd01 am: 7cb5e1dfd1 am: d7552dc819 am: e3a1b81c8f am: 879bdbeb37 am: f580a2c257 am: 68a93d2be2 am: c7db1bf43a am: 593df9d186
am: 92e6a1d941

Change-Id: I80af3b8d0da4b81c0a48ddcc2c3a9f817afb5c00

7 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 8 Apr 2017 00:38:37 +0000 (17:38 -0700)]
Import translations. DO NOT MERGE

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

7 years agoStart service from libscheduleservicehidl.
Steven Moreland [Fri, 7 Apr 2017 17:47:06 +0000 (10:47 -0700)]
Start service from libscheduleservicehidl.

Test: internal camera successfully sets priority.
Bug: 29251823
Change-Id: I3c3caeb3e2e169dee483da25cc8217e1aad14adf

7 years agoMake a11y node info parceling more robust am: 1d8eb49073 am: 93c47c9d07 am: 3a7cf1f05...
Phil Weaver [Sat, 8 Apr 2017 00:32:44 +0000 (00:32 +0000)]
Make a11y node info parceling more robust am: 1d8eb49073 am: 93c47c9d07 am: 3a7cf1f057  -s ours am: d3a4f4a33c am: 384e51767d am: e4beeeb423 am: 8e6d10c65f am: ba05c14397 am: 88bd259e8d am: 1552348b31 am: 2da1b658dd
am: 92f33c145a

Change-Id: I07b4674c7ef04b620815f7c65b5d1d09d1017220

7 years agoMerge "Make a11y node info parceling more robust" into lmp-mr1-dev am: 88698afd01...
Phil Weaver [Sat, 8 Apr 2017 00:32:37 +0000 (00:32 +0000)]
Merge "Make a11y node info parceling more robust" into lmp-mr1-dev am: 88698afd01 am: 7cb5e1dfd1 am: d7552dc819 am: e3a1b81c8f am: 879bdbeb37 am: f580a2c257 am: 68a93d2be2 am: c7db1bf43a
am: 593df9d186

Change-Id: I464fafbf67c1985cc56188914e0fabcc0970fac2

7 years agoMerge "Ensure that a PIP activity gets stopped before MW/PIP mode changes." into...
Winson Chung [Sat, 8 Apr 2017 00:30:30 +0000 (00:30 +0000)]
Merge "Ensure that a PIP activity gets stopped before MW/PIP mode changes." into oc-dev

7 years agoMake a11y node info parceling more robust am: 1d8eb49073 am: 93c47c9d07 am: 3a7cf1f05...
Phil Weaver [Sat, 8 Apr 2017 00:25:13 +0000 (00:25 +0000)]
Make a11y node info parceling more robust am: 1d8eb49073 am: 93c47c9d07 am: 3a7cf1f057  -s ours am: d3a4f4a33c am: 384e51767d am: e4beeeb423 am: 8e6d10c65f am: ba05c14397 am: 88bd259e8d am: 1552348b31
am: 2da1b658dd

Change-Id: Ie7a69da3ceb6e270e162de5da167560e0fb3dc15

7 years agoMerge "Make a11y node info parceling more robust" into lmp-mr1-dev am: 88698afd01...
Phil Weaver [Sat, 8 Apr 2017 00:25:13 +0000 (00:25 +0000)]
Merge "Make a11y node info parceling more robust" into lmp-mr1-dev am: 88698afd01 am: 7cb5e1dfd1 am: d7552dc819 am: e3a1b81c8f am: 879bdbeb37 am: f580a2c257 am: 68a93d2be2
am: c7db1bf43a

Change-Id: I19e1e68857f43e9d36240753d2f5c72374b566b1

7 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 8 Apr 2017 00:24:36 +0000 (17:24 -0700)]
Import translations. DO NOT MERGE

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

7 years agoMerge "MediaPlayer: add 2 more info notifications for playback error" into oc-dev
TreeHugger Robot [Sat, 8 Apr 2017 00:24:08 +0000 (00:24 +0000)]
Merge "MediaPlayer: add 2 more info notifications for playback error" into oc-dev

7 years agoMerge "Make a11y node info parceling more robust" into lmp-mr1-dev am: 88698afd01...
Phil Weaver [Sat, 8 Apr 2017 00:17:24 +0000 (00:17 +0000)]
Merge "Make a11y node info parceling more robust" into lmp-mr1-dev am: 88698afd01 am: 7cb5e1dfd1 am: d7552dc819 am: e3a1b81c8f am: 879bdbeb37 am: f580a2c257
am: 68a93d2be2

Change-Id: I3ea690e5ee140b0f0e38935adabda3aeeb9e57cb

7 years agoMake a11y node info parceling more robust am: 1d8eb49073 am: 93c47c9d07 am: 3a7cf1f05...
Phil Weaver [Sat, 8 Apr 2017 00:17:11 +0000 (00:17 +0000)]
Make a11y node info parceling more robust am: 1d8eb49073 am: 93c47c9d07 am: 3a7cf1f057  -s ours am: d3a4f4a33c am: 384e51767d am: e4beeeb423 am: 8e6d10c65f am: ba05c14397 am: 88bd259e8d
am: 1552348b31

Change-Id: I8736c7cebdc8dc954b6e008e0c61c6b85f4d8fcb

7 years agoMerge "Make a11y node info parceling more robust" into lmp-mr1-dev am: 88698afd01...
Phil Weaver [Sat, 8 Apr 2017 00:09:44 +0000 (00:09 +0000)]
Merge "Make a11y node info parceling more robust" into lmp-mr1-dev am: 88698afd01 am: 7cb5e1dfd1 am: d7552dc819 am: e3a1b81c8f am: 879bdbeb37
am: f580a2c257

Change-Id: I25bc8884d004bfc9790d40cb8f1ad1a285203e98

7 years agoMake a11y node info parceling more robust am: 1d8eb49073 am: 93c47c9d07 am: 3a7cf1f05...
Phil Weaver [Sat, 8 Apr 2017 00:09:40 +0000 (00:09 +0000)]
Make a11y node info parceling more robust am: 1d8eb49073 am: 93c47c9d07 am: 3a7cf1f057  -s ours am: d3a4f4a33c am: 384e51767d am: e4beeeb423 am: 8e6d10c65f am: ba05c14397
am: 88bd259e8d

Change-Id: I78596326137bb4fcd01f6f2b9d81787d9ccb9cf9

7 years agoMake a11y node info parceling more robust am: 1d8eb49073 am: 93c47c9d07 am: 3a7cf1f05...
Phil Weaver [Sat, 8 Apr 2017 00:02:10 +0000 (00:02 +0000)]
Make a11y node info parceling more robust am: 1d8eb49073 am: 93c47c9d07 am: 3a7cf1f057  -s ours am: d3a4f4a33c am: 384e51767d am: e4beeeb423 am: 8e6d10c65f
am: ba05c14397

Change-Id: I9b44e3353c2140d074f7eb38342257334330fb6f

7 years agoMerge "Make a11y node info parceling more robust" into lmp-mr1-dev am: 88698afd01...
Phil Weaver [Sat, 8 Apr 2017 00:02:02 +0000 (00:02 +0000)]
Merge "Make a11y node info parceling more robust" into lmp-mr1-dev am: 88698afd01 am: 7cb5e1dfd1 am: d7552dc819 am: e3a1b81c8f
am: 879bdbeb37

Change-Id: I7e7f391e2fe53d60a13b8c96d5ba1cab6e880b48

7 years agoMerge "Make a11y node info parceling more robust" into lmp-mr1-dev am: 88698afd01...
Phil Weaver [Fri, 7 Apr 2017 23:58:02 +0000 (23:58 +0000)]
Merge "Make a11y node info parceling more robust" into lmp-mr1-dev am: 88698afd01 am: 7cb5e1dfd1 am: d7552dc819
am: e3a1b81c8f

Change-Id: I221aecc956ab769246b0aaee7507a468c106c43d

7 years agoMerge "Do not make strong reference to Resources." into oc-dev
TreeHugger Robot [Fri, 7 Apr 2017 23:57:23 +0000 (23:57 +0000)]
Merge "Do not make strong reference to Resources." into oc-dev

7 years agoMake a11y node info parceling more robust am: 1d8eb49073 am: 93c47c9d07 am: 3a7cf1f05...
Phil Weaver [Fri, 7 Apr 2017 23:54:43 +0000 (23:54 +0000)]
Make a11y node info parceling more robust am: 1d8eb49073 am: 93c47c9d07 am: 3a7cf1f057  -s ours am: d3a4f4a33c am: 384e51767d am: e4beeeb423
am: 8e6d10c65f

Change-Id: I6ce318f51b1a7ead1898c6a6c61d9ca5e48f2fd1

7 years agoMerge "Autofill Partitioning: support multiple SaveInfos." into oc-dev
TreeHugger Robot [Fri, 7 Apr 2017 23:52:05 +0000 (23:52 +0000)]
Merge "Autofill Partitioning: support multiple SaveInfos." into oc-dev

7 years agoMerge "Make a11y node info parceling more robust" into lmp-mr1-dev am: 88698afd01...
Phil Weaver [Fri, 7 Apr 2017 23:51:01 +0000 (23:51 +0000)]
Merge "Make a11y node info parceling more robust" into lmp-mr1-dev am: 88698afd01 am: 7cb5e1dfd1
am: d7552dc819

Change-Id: I926e8b686895d4dcb401e0274b786702a5648307

7 years agoMerge "Make a11y node info parceling more robust" into nyc-dev am: ce5c8cb6b8 am...
Phil Weaver [Fri, 7 Apr 2017 23:49:19 +0000 (23:49 +0000)]
Merge "Make a11y node info parceling more robust" into nyc-dev am: ce5c8cb6b8 am: 3241198caa am: 9ff56373ff am: 8ebb1df537
am: 04520478fb

Change-Id: Ib2f1ddee4a1453b07dbde3282fab5de44be01891

7 years agoMake a11y node info parceling more robust am: 1d8eb49073 am: 93c47c9d07 am: 3a7cf1f05...
Phil Weaver [Fri, 7 Apr 2017 23:47:07 +0000 (23:47 +0000)]
Make a11y node info parceling more robust am: 1d8eb49073 am: 93c47c9d07 am: 3a7cf1f057  -s ours am: d3a4f4a33c am: 384e51767d
am: e4beeeb423

Change-Id: I6a369b43c54463330d6aa8a2f4ad9b5f5e46e887

7 years agoMerge "Make a11y node info parceling more robust" into lmp-mr1-dev am: 88698afd01
Phil Weaver [Fri, 7 Apr 2017 23:43:28 +0000 (23:43 +0000)]
Merge "Make a11y node info parceling more robust" into lmp-mr1-dev am: 88698afd01
am: 7cb5e1dfd1

Change-Id: I8e51350ae38384dfb9ae034d73fe9087837b27f7

7 years agoMake a11y node info parceling more robust am: 1d8eb49073 am: 93c47c9d07 am: 3a7cf1f05...
Phil Weaver [Fri, 7 Apr 2017 23:43:01 +0000 (23:43 +0000)]
Make a11y node info parceling more robust am: 1d8eb49073 am: 93c47c9d07 am: 3a7cf1f057  -s ours am: d3a4f4a33c
am: 384e51767d

Change-Id: I566fa4ea9d3d15e1a65fbae11d20defb37868dd6

7 years agoMake a11y node info parceling more robust am: d0e54c1c09 am: d87b12a4df am: a0f874d5c...
Phil Weaver [Fri, 7 Apr 2017 23:40:40 +0000 (23:40 +0000)]
Make a11y node info parceling more robust am: d0e54c1c09 am: d87b12a4df am: a0f874d5c1 am: c30868369c am: 4c898e40ef am: b35d6eadf3 am: 576768a022 am: 78aa850127
am: 582dc7eb8d

Change-Id: I7acac13ebb9b6c41feea6c2edc1f37231973d9c7

7 years agoMerge "Make a11y node info parceling more robust" into nyc-dev am: ce5c8cb6b8 am...
Phil Weaver [Fri, 7 Apr 2017 23:39:58 +0000 (23:39 +0000)]
Merge "Make a11y node info parceling more robust" into nyc-dev am: ce5c8cb6b8 am: 3241198caa am: 9ff56373ff
am: 8ebb1df537

Change-Id: Idcb33dc49c7f93ebbac86c7f8d99c33ecb296cdf

7 years agoMake a11y node info parceling more robust am: 1d8eb49073 am: 93c47c9d07 am: 3a7cf1f05...
Phil Weaver [Fri, 7 Apr 2017 23:36:29 +0000 (23:36 +0000)]
Make a11y node info parceling more robust am: 1d8eb49073 am: 93c47c9d07 am: 3a7cf1f057  -s ours
am: d3a4f4a33c

Change-Id: I2c1d0fb08ed990e4deb03361dddb1075d1ac7fad

7 years agoMerge "Make a11y node info parceling more robust" into lmp-mr1-dev
Phil Weaver [Fri, 7 Apr 2017 23:36:29 +0000 (23:36 +0000)]
Merge "Make a11y node info parceling more robust" into lmp-mr1-dev
am: 88698afd01

Change-Id: I37194d958aa5fc21ece027c288e2f9a0a239cd93

7 years agoMake a11y node info parceling more robust am: d0e54c1c09 am: d87b12a4df am: a0f874d5c...
Phil Weaver [Fri, 7 Apr 2017 23:32:32 +0000 (23:32 +0000)]
Make a11y node info parceling more robust am: d0e54c1c09 am: d87b12a4df am: a0f874d5c1 am: c30868369c am: 4c898e40ef am: b35d6eadf3 am: 576768a022
am: 78aa850127

Change-Id: Ib44e1d477230767f5e03f63cb96a342a4bd929fb

7 years agoMerge "Make a11y node info parceling more robust" into nyc-dev am: ce5c8cb6b8 am...
Phil Weaver [Fri, 7 Apr 2017 23:32:28 +0000 (23:32 +0000)]
Merge "Make a11y node info parceling more robust" into nyc-dev am: ce5c8cb6b8 am: 3241198caa
am: 9ff56373ff

Change-Id: I53855b4dc3bba60226751fdaaaa722636c226486

7 years agoMake a11y node info parceling more robust am: 1d8eb49073 am: 93c47c9d07
Phil Weaver [Fri, 7 Apr 2017 23:30:19 +0000 (23:30 +0000)]
Make a11y node info parceling more robust am: 1d8eb49073 am: 93c47c9d07
am: 3a7cf1f057  -s ours

Change-Id: I0000c6df3ca0375022535be19cf0f9a76ed07e39

7 years agoFingerprintSettings for non-owner should respond to fingerprint touches
Kevin Chyn [Fri, 7 Apr 2017 23:29:19 +0000 (16:29 -0700)]
FingerprintSettings for non-owner should respond to fingerprint touches

Fixes 36869204
Test: create another account, enroll a fingerprint in the new account
touch the sensor and make sure the finger you just enrolled gets highlighted

Change-Id: Ib3e8d9ddc987a2c8b7f0878a83f4cbd025e13f7a

7 years agoMerge "Make a11y node info parceling more robust" into lmp-mr1-dev
Phil Weaver [Fri, 7 Apr 2017 23:27:47 +0000 (23:27 +0000)]
Merge "Make a11y node info parceling more robust" into lmp-mr1-dev

7 years agoMerge "Make a11y node info parceling more robust" into nyc-dev am: ce5c8cb6b8
Phil Weaver [Fri, 7 Apr 2017 23:25:03 +0000 (23:25 +0000)]
Merge "Make a11y node info parceling more robust" into nyc-dev am: ce5c8cb6b8
am: 3241198caa

Change-Id: I370bd8804cd24fb3b67160da1e76084abce525cf

7 years agoMake a11y node info parceling more robust am: d0e54c1c09 am: d87b12a4df am: a0f874d5c...
Phil Weaver [Fri, 7 Apr 2017 23:24:59 +0000 (23:24 +0000)]
Make a11y node info parceling more robust am: d0e54c1c09 am: d87b12a4df am: a0f874d5c1 am: c30868369c am: 4c898e40ef am: b35d6eadf3
am: 576768a022

Change-Id: If36bfc0a6ec317b6d46a0de7fe24a8be38ef59c7

7 years agoUse feature instead of hidden config for multi-display
Andrii Kulian [Fri, 7 Apr 2017 23:23:12 +0000 (16:23 -0700)]
Use feature instead of hidden config for multi-display

Using a feature will allow app developers to find out if a
particular device supports running activities on secondary
screens before using the APIs.

Bug: 36776777
Test: android.server.cts.ActivityManagerDisplayTests
Change-Id: I7121bdb782cac9df70121e9df5cbf3fcb76f4a93

7 years agoMake a11y node info parceling more robust am: d0e54c1c09 am: d87b12a4df am: a0f874d5c...
Phil Weaver [Fri, 7 Apr 2017 23:17:08 +0000 (23:17 +0000)]
Make a11y node info parceling more robust am: d0e54c1c09 am: d87b12a4df am: a0f874d5c1 am: c30868369c am: 4c898e40ef
am: b35d6eadf3

Change-Id: I460b2e5df5cc1946eec4e9366e22c5de188642c9

7 years agoMerge "Make a11y node info parceling more robust" into nyc-dev
Phil Weaver [Fri, 7 Apr 2017 23:17:02 +0000 (23:17 +0000)]
Merge "Make a11y node info parceling more robust" into nyc-dev
am: ce5c8cb6b8

Change-Id: I6cd7aa39d267bbecbbed54f564dc90b520fe5773

7 years agoMake a11y node info parceling more robust am: 1d8eb49073
Phil Weaver [Fri, 7 Apr 2017 23:16:55 +0000 (23:16 +0000)]
Make a11y node info parceling more robust am: 1d8eb49073
am: 93c47c9d07

Change-Id: I8677c77968c202c8c6a0553db919610a140fda58

7 years agoMerge "Make a11y node info parceling more robust" into nyc-dev
Phil Weaver [Fri, 7 Apr 2017 23:10:27 +0000 (23:10 +0000)]
Merge "Make a11y node info parceling more robust" into nyc-dev

7 years agoMake a11y node info parceling more robust am: d0e54c1c09 am: d87b12a4df am: a0f874d5c...
Phil Weaver [Fri, 7 Apr 2017 23:09:35 +0000 (23:09 +0000)]
Make a11y node info parceling more robust am: d0e54c1c09 am: d87b12a4df am: a0f874d5c1 am: c30868369c
am: 4c898e40ef

Change-Id: Icdb456c12bf0e0d3675ab15fa0b82b482ff4ddeb

7 years agoMake a11y node info parceling more robust
Phil Weaver [Fri, 7 Apr 2017 23:09:30 +0000 (23:09 +0000)]
Make a11y node info parceling more robust
am: 487d869733

Change-Id: I5c85f0dd279f8263aad5b76cbf51dd9d4e0ef549

7 years agoMake a11y node info parceling more robust
Phil Weaver [Fri, 7 Apr 2017 23:09:28 +0000 (23:09 +0000)]
Make a11y node info parceling more robust
am: 1d8eb49073

Change-Id: I5280a23cbfff5abfcc83e9e6d9afb4f8960ece44

7 years agoMake a11y node info parceling more robust am: d0e54c1c09 am: d87b12a4df am: a0f874d5c1
Phil Weaver [Fri, 7 Apr 2017 23:02:10 +0000 (23:02 +0000)]
Make a11y node info parceling more robust am: d0e54c1c09 am: d87b12a4df am: a0f874d5c1
am: c30868369c

Change-Id: If1cfc920db5aea27397a8f79125db944d5c4580b

7 years agoMake a11y node info parceling more robust am: d0e54c1c09 am: d87b12a4df
Phil Weaver [Fri, 7 Apr 2017 22:53:58 +0000 (22:53 +0000)]
Make a11y node info parceling more robust am: d0e54c1c09 am: d87b12a4df
am: a0f874d5c1

Change-Id: I2bc5c091c1c685da2be951e4294483519481789f

7 years agoFix when vr app launches 2d activity
Karthik Ravi Shankar [Fri, 7 Apr 2017 00:02:01 +0000 (17:02 -0700)]
Fix when vr app launches 2d activity

When a 2D app is launched from a VR app, since the VR app was on
DEFAULT_DISPLAY, the 2D app is also moved to DEFAULT_DISPLAY. This needs
to be addressed by moving any non-VR 2D app launch in VR mode to the
virtual display.

Bug: 37111307
Test: android.server.cts.ActivityManagerDisplayTests
Test: #testVrActivityLaunch
Test: #testVrActivityReLaunch
Test: #testPostVrLaunch

Change-Id: I83bffe94bb89415a6b3c026dd7077e70fe36fee0
Signed-off-by: Karthik Ravi Shankar <karthikrs@google.com>
7 years agoMake a11y node info parceling more robust am: d0e54c1c09
Phil Weaver [Fri, 7 Apr 2017 22:46:31 +0000 (22:46 +0000)]
Make a11y node info parceling more robust am: d0e54c1c09
am: d87b12a4df

Change-Id: Ic10324338024f86cfc64b3e01c6380b26334d5a3

7 years agoMake a11y node info parceling more robust
Phil Weaver [Fri, 7 Apr 2017 22:39:22 +0000 (22:39 +0000)]
Make a11y node info parceling more robust
am: d0e54c1c09

Change-Id: Ie4c34b84540bc928859ef1c271b4eb9d520fa6bc

7 years agoMerge "Return to Home stack when a context of tasks launched from Home finished"...
TreeHugger Robot [Fri, 7 Apr 2017 22:30:59 +0000 (22:30 +0000)]
Merge "Return to Home stack when a context of tasks launched from Home finished" into oc-dev

7 years agoMediaPlayer: add 2 more info notifications for playback error
Wei Jia [Tue, 4 Apr 2017 23:00:03 +0000 (16:00 -0700)]
MediaPlayer: add 2 more info notifications for playback error

Test: mediaplayer doesn't send error notify to client when only one track has error.
Bug: 24761723
Change-Id: I7221dfdbc6a256532186c654406bbe06de831798

7 years agoMake a11y node info parceling more robust
Phil Weaver [Fri, 7 Apr 2017 21:39:27 +0000 (14:39 -0700)]
Make a11y node info parceling more robust

Fix a bug where a malformed Parceled representation
of an AccessibilityNodeInfo could be used to mess with
Bundles as they get reparceled.

Bug: 36491278
Test: Verified that POC no longer works, a11y cts still passes.

(Manual merge from commit 687bb44b437f7bb24dd3dddf072c2f646308e2ca)

Change-Id: I7746c9175a2da28f75d4f4b169d7997abadf1852

7 years agoMerge "Add RecommendationPlugin for Cloud Print" into oc-dev
TreeHugger Robot [Fri, 7 Apr 2017 22:21:37 +0000 (22:21 +0000)]
Merge "Add RecommendationPlugin for Cloud Print" into oc-dev

7 years agoMake a11y node info parceling more robust
Phil Weaver [Fri, 7 Apr 2017 21:39:27 +0000 (14:39 -0700)]
Make a11y node info parceling more robust

Fix a bug where a malformed Parceled representation
of an AccessibilityNodeInfo could be used to mess with
Bundles as they get reparceled.

Bug: 36491278
Test: Verified that POC no longer works, a11y cts still passes.

(Manual merge from commit 687bb44b437f7bb24dd3dddf072c2f646308e2ca)

Change-Id: I7746c9175a2da28f75d4f4b169d7997abadf1852

7 years agoUpdate decor LayoutParams when window is already added.
Bryce Lee [Fri, 7 Apr 2017 17:27:19 +0000 (10:27 -0700)]
Update decor LayoutParams when window is already added.

These values can change for themes that are dependent on the size,
such as the DialogWhenLarge theme. In this case, different layouts
are loaded that could depend on updated LayoutParams.

This CL identifies the case when the layoutparams change and informs
the activity.

Change-Id: Icde8d94cc089ca0c02a15120a860533ef540c850
Fixes: 31643268
Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test CtsServicesHostTestCases android.server.cts.ActivityManagerAppConfigurationTests#testDialogWhenLargeSplitSmall

7 years agoDo not make strong reference to Resources.
Bryce Lee [Fri, 7 Apr 2017 22:06:52 +0000 (22:06 +0000)]
Do not make strong reference to Resources.

This CL removes the strong reference added for mapping display ids
and Resources to Displays. Instead, the key pair is now the display
id and ResourcesKey, and the mapping is pruned when key is
invalidated.

Change-Id: If91368171212b28c40e03c15fb39c72412a44811
Fixes: 36625868
Test: make -j32 cts; cts-tradefed; run cts --module CtsAppTestCases --test android.app.cts.DisplayTest#testRotation

7 years agoMerge changes I5d41419a,I763be06c into oc-dev
TreeHugger Robot [Fri, 7 Apr 2017 22:05:14 +0000 (22:05 +0000)]
Merge changes I5d41419a,I763be06c into oc-dev

* changes:
  Introduce android.anim thread in system_server
  Fix thread booster

7 years agoMerge "copy 'visbileToInstantApps' setting" into oc-dev
TreeHugger Robot [Fri, 7 Apr 2017 22:04:04 +0000 (22:04 +0000)]
Merge "copy 'visbileToInstantApps' setting" into oc-dev

7 years agoMerge "Don't show alert window notifications when in Vr mode." into oc-dev
TreeHugger Robot [Fri, 7 Apr 2017 22:00:40 +0000 (22:00 +0000)]
Merge "Don't show alert window notifications when in Vr mode." into oc-dev

7 years agoMerge "AAPT2: fixing the -c flag being ignored" into oc-dev
TreeHugger Robot [Fri, 7 Apr 2017 21:56:32 +0000 (21:56 +0000)]
Merge "AAPT2: fixing the -c flag being ignored" into oc-dev

7 years agoMerge "MediaPlayer: hide BufferingParams API" into oc-dev
TreeHugger Robot [Fri, 7 Apr 2017 21:46:34 +0000 (21:46 +0000)]
Merge "MediaPlayer: hide BufferingParams API" into oc-dev

7 years agoMerge "ViewRootImpl: Fix child lifetime." into oc-dev
TreeHugger Robot [Fri, 7 Apr 2017 21:44:45 +0000 (21:44 +0000)]
Merge "ViewRootImpl: Fix child lifetime." into oc-dev

7 years agoMerge "Show recents at correct time when starting activity in docked stack" into...
TreeHugger Robot [Fri, 7 Apr 2017 21:42:46 +0000 (21:42 +0000)]
Merge "Show recents at correct time when starting activity in docked stack" into oc-dev

7 years agoEnsure that a PIP activity gets stopped before MW/PIP mode changes.
Winson Chung [Fri, 7 Apr 2017 01:44:25 +0000 (18:44 -0700)]
Ensure that a PIP activity gets stopped before MW/PIP mode changes.

- Adds a workaround to ensure that onStop() is dispatched to the PIP
  activities when the PIP is dismissed
- Consolidating dismiss PIP behavior to call moveTaskToFullscreen().
  Now we are consistent, and when we expand the PIP, we call
  moveTaskToFullscreen(top), and when dismissing the PIP we call
  moveTaskToFullscreen(bottom)
- Fixing issue where we were dispatching extra MW/PIP mode changes when
  just expanding the PIP
- Fixing typo in last commit where PIP mode change was not getting
  scheduled correctly
- Fixing issue where move-to-fullscreen log was sent for each task

Bug: 36567036
Test: android.server.cts.ActivityManagerPinnedStackTests
Test: #testStopBeforeMultiWindowCallbacksOnDismiss

Change-Id: I303b88d75e9f136da0c238ef5987804e0684c78e
Signed-off-by: Winson Chung <winsonc@google.com>
7 years agoMerge "renaming/removing fingerprints should be reflected in UI immediately" into...
TreeHugger Robot [Fri, 7 Apr 2017 20:55:10 +0000 (20:55 +0000)]
Merge "renaming/removing fingerprints should be reflected in UI immediately" into oc-dev