OSDN Git Service
jackqdyulei [Tue, 4 Apr 2017 17:54:21 +0000 (10:54 -0700)]
Refine BatteryInfo and battery drawable
1. Remove "m" prefix for all public field
2. Change logic about field "discharging", now it only controlled
by whether it is plugged in.
3. Change Paint in drawable to protected
Bug:
36862496
Test: RunSettingsLibTests
Change-Id: I2908ae6868dc877d3ce6a8a63ec17826a6dcca1d
Todd Kennedy [Mon, 10 Apr 2017 20:10:11 +0000 (20:10 +0000)]
Merge "send broadcast to the right users" into oc-dev
Wale Ogunwale [Mon, 10 Apr 2017 20:04:06 +0000 (20:04 +0000)]
Merge "Do not set outActivity if value is null." into oc-dev
Sudheer Shanka [Mon, 10 Apr 2017 19:28:25 +0000 (19:28 +0000)]
Merge "NetworkPolicyManagerService: fix deadlock" into oc-dev
Andrii Kulian [Mon, 10 Apr 2017 19:20:31 +0000 (19:20 +0000)]
Merge "Fix activity move between displays" into oc-dev
Todd Kennedy [Mon, 10 Apr 2017 19:12:11 +0000 (12:12 -0700)]
send broadcast to the right users
Change-Id: Ibda2d922cd58d6ca1c1a4ecdccaa25e5c71c6320
Fixes:
37192695
Test: manual; create restricted profile and see that users haven't been removed
Jerry Zhang [Mon, 10 Apr 2017 18:51:53 +0000 (18:51 +0000)]
Merge "Just broadcast intent to bring up MTP/PTP as soon as switching function" into oc-dev
Dmitry Dementyev [Mon, 10 Apr 2017 18:30:47 +0000 (18:30 +0000)]
Merge "Make visible only accounts for which authenticator supports contacts operations for callers with READ_CONTACTS permission." into oc-dev
Bryce Lee [Mon, 10 Apr 2017 18:06:17 +0000 (11:06 -0700)]
Do not set outActivity if value is null.
Recent changes passed down the nullable array to a method where it
was not being properly checked.
Change-Id: Ibf940f9225e4c9901869188aa55a04d0908015c3
Fixes:
37197666
Test: manual via bug repro steps.
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
TreeHugger Robot [Mon, 10 Apr 2017 15:06:05 +0000 (15:06 +0000)]
Merge "Add ICompanionDeviceManager.getAssociation overload with explicit userId" 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
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
Andrei Stingaceanu [Mon, 10 Apr 2017 12:48:28 +0000 (12:48 +0000)]
Merge "AutoSize TextView - fix measurements" 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
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
Eric Sandness [Mon, 10 Apr 2017 12:18:08 +0000 (12:18 +0000)]
Merge "Fix mock of setApplicationRestrictions()" 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
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
Hugo Benichi [Mon, 10 Apr 2017 00:41:10 +0000 (09:41 +0900)]
NetworkPolicyManagerService: fix deadlock
Callers of addNetworkPolicy() were not taking locks in the correct order
inside NetworkPolicyManagerService:
- addNetworkPolicy() is an internal method that calls
setNetworkPolicies which takes both mUidRulesFirstLock and
mNetworkPoliciesSecondLock in order.
- both callers of addNetworkPolicy, mWifiStateReceiver and
mConnReceiver via ensureActiveMobilePolicy, were taking
mNetworkPoliciesSecondLock before calling addNetworkPolicy.
- this causes the order of locking to be reversed, which can cause a
deadlock when another concurrent codepath in
NetworkPolicyManagerService tries to take both locks in the correct
order.
This patch fixes this issue by wrapping both problematic codepaths into
addNetworkPolicy() with a lock on mUidRulesFirstLock.
Test: build, flashed, NetworkPolicyManagerServiceTest passes
Bug:
36972283
Change-Id: If7888c11aef8b628e1b013224075c4c75eae0022
TreeHugger Robot [Sun, 9 Apr 2017 18:54:28 +0000 (18:54 +0000)]
Merge "Fix counting problems in StopwatchTimer." into oc-dev
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
TreeHugger Robot [Sat, 8 Apr 2017 08:01:07 +0000 (08:01 +0000)]
Merge "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
TreeHugger Robot [Sat, 8 Apr 2017 07:58:40 +0000 (07:58 +0000)]
Merge "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
TreeHugger Robot [Sat, 8 Apr 2017 07:49:39 +0000 (07:49 +0000)]
Merge "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
TreeHugger Robot [Sat, 8 Apr 2017 07:42:17 +0000 (07:42 +0000)]
Merge "Import translations. DO NOT MERGE" 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
TreeHugger Robot [Sat, 8 Apr 2017 02:26:56 +0000 (02:26 +0000)]
Merge "Start service from libscheduleservicehidl." into oc-dev
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
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
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
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
Andrii Kulian [Sat, 8 Apr 2017 01:39:32 +0000 (18:39 -0700)]
Fix activity move between displays
1. ActivityConfigCallback might not have been registered
because DecorView was not yet attached to window and ViewRootImpl
was not available. In this CL the callback is set as soon as a
DecorView is attached to window.
2. When private display was removed from system, its stacks were
moved to bottom in AM but moved to top in WM.
3. When reparenting stack visibility of activities should be updated
before reparenting in WM, because otherwise WM will be resizing
windows that should no longer visible and reporting it to clients.
Bug:
34164473
Test: android.server.cts.ActivityManagerDisplayTests
Test: #testOnMovedToDisplayCallback
Test: #testContentDestroyOnDisplayRemoved
Change-Id: I6ccc27d873d0d60d7650659fb25cbfcaaeb0fd07
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
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
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
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
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
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
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
TreeHugger Robot [Sat, 8 Apr 2017 00:45:51 +0000 (00:45 +0000)]
Merge "Make a11y node info parceling more robust" 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
TreeHugger Robot [Fri, 7 Apr 2017 23:57:23 +0000 (23:57 +0000)]
Merge "Do not make strong reference to Resources." into oc-dev
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
TreeHugger Robot [Fri, 7 Apr 2017 23:52:05 +0000 (23:52 +0000)]
Merge "Autofill Partitioning: support multiple SaveInfos." into oc-dev
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Phil Weaver [Fri, 7 Apr 2017 23:10:27 +0000 (23:10 +0000)]
Merge "Make a11y node info parceling more robust" into nyc-dev
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
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
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
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
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
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>
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
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
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
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
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
TreeHugger Robot [Fri, 7 Apr 2017 22:21:37 +0000 (22:21 +0000)]
Merge "Add RecommendationPlugin for Cloud Print" into oc-dev
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
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