Yin-Chia Yeh
90d6fccf01
Revert "Camera: SessionConfiguration should use Executors"
...
This reverts commit 004e73c38c .
Bug: 74605221
Bug: 73953366
Change-Id: I1665c3d235434f57a4cd4aa5f082720b83ac10cc
2018-03-13 20:57:42 +00:00
Emilian Peev
004e73c38c
Camera: SessionConfiguration should use Executors
...
Handlers from clients should not be used any more.
Executors are the preferred method for invoking any
registered callbacks. Replace handlers as much as
possible with executors.
Bug: 73953366
Test: Camera CTS
Change-Id: I96aee1bc46e83dfb76a4c40c7f8ebbe18610788b
2018-03-07 11:01:33 +00:00
TreeHugger Robot
27ed96bf0c
Merge "VideoView2: Move MediaContolView2's hidden constant" into pi-dev
2018-03-06 07:55:14 +00:00
Erik Kline
a69df717ce
Merge "Fail if the interface is not available when starting" into pi-dev
2018-03-06 05:53:29 +00:00
Insun Kang
7c5b02dff8
VideoView2: Move MediaContolView2's hidden constant
...
Bug: 74173212
Test: VideoViewTest app
Change-Id: Ic91e0b0bfb910d555c1dbe77f028a017f2a18b79
(cherry picked from commit a0fdcc97f0 )
2018-03-06 05:51:56 +00:00
TreeHugger Robot
faf6589748
Merge "Bluetooth: Use enums for adapter connection states" into pi-dev
2018-03-06 03:33:42 +00:00
Erik Kline
ea1b8bd5a5
Fail if the interface is not available when starting
...
Addresses a long-standing TODO. Now, when calling IpClient's
startProvisioning(), the interface has to be available (i.e.
InterfaceParams#getByName() must return non-null).
Also:
- add a test
- refactor for testability
- delete some constructors no longer used
- properly handle passed-in null IpClient.Callback
- some more IpManager -> IpClient renaming
- permit recording metrics before starting a provisioning
attempt (logging immediate errors) without Log.wtf().
Test: as follows
- built
- flashed
- booted
- runtest frameworks/opt/net/wifi/tests/wifitests/runtests.sh passes
- runtest frameworks-net passes
- basic WiFi IpClient connections works fine
Bug: 62476366
Bug: 73487570
Merged-In: I68e5e24122dc31e730cdbe8d75e33847e6332da4
Merged-In: Ifd27f5d908947cd7b4e1b8d54f9fa87e43ebb11b
Merged-In: Ief3c8e1652f69af0276fe35946ae1bf6e6b1b57e
Change-Id: Ic83ad2a65637277dcb273feb27b2d1bb7a11eb2b
(cherry picked from commit b152cd0aa4 )
2018-03-06 11:06:34 +09:00
Jack He
bd020a6f5a
Bluetooth: Use enums for adapter connection states
...
Bug: 69478930
Test: make, no user visible change
Change-Id: I999d0c445fe3b24aca72961c40c3428901542bc1
(cherry picked from commit ee81f99150 )
2018-03-05 17:27:05 -08:00
Fyodor Kupolov
d97a0f1ac5
Merge "Revert "Allow restoring of apps that rotated key"" into pi-dev
2018-03-06 00:28:51 +00:00
Amith Yamasani
14c716c911
Revert "Allow restoring of apps that rotated key"
...
This reverts commit 313d225cd1 .
Reason for revert: b/74159113
Change-Id: I483ecdd80d26fca8451cd270b4fcbe34379839cb
2018-03-05 20:40:23 +00:00
Tony Mak
329047bd16
Improve javadocs of some DPM APIs
...
FIX: 70332970
FIX: 73919570
FIX: 67495520
FIX: 71566404
Test: None
Change-Id: Ic9b485ff7c15e0d244cba9e71def8d5c41e52070
(cherry picked from commit 8309c8f760 )
2018-03-05 20:21:57 +00:00
Adrian Roos
9bbd9661c0
DisplayCutout API: Make constructor public and adjust javadoc
...
Change-Id: I093cf4f9ea60f00e187aeb4a548f3f5789d87fa1
Fixes: 73953880
Test: make update-api
(cherry picked from commit d61db603fe )
2018-03-05 13:52:32 +00:00
TreeHugger Robot
48553062fa
Merge "Fix crash with AppComponentFactory"
2018-03-04 17:47:14 +00:00
Yuan Lu
e944b1243b
Merge "Add the flag for only alowing wifi on charger/network request option"
2018-03-04 01:29:08 +00:00
TreeHugger Robot
f8f0c8df78
Merge "Revert "Introduce InputConnection#reportLanguageHint()""
2018-03-03 23:36:37 +00:00
yuanlu
b6b0495af3
Add the flag for only alowing wifi on charger/network request option
...
Bug: 72828389
Test: atest
frameworks/base/core/tests/coretests/src/android/provider/SettingsBackupTest.java
Change-Id: I137e9cf4b9d5d9760bf05139bd6ead5973b13724
2018-03-03 04:27:12 +00:00
Yohei Yukawa
4397591f3d
Revert "Introduce InputConnection#reportLanguageHint()"
...
This reverts commit e77386e8fb [1].
Reason for revert:
The protocol is not yet ready to be exposed and we are still unsure
what is the best approach.
[1]: Ie86edafd1ed68b58f702116f561fc448fdbb57a8
Bug: 7031513
Bug: 72522601
Fix: 74087970
Test: atest CtsInputMethodTestCases
Change-Id: Ia61dc9b3d5b116199382994430fb16ee804942b3
2018-03-02 17:35:18 -08:00
TreeHugger Robot
302a8b09c7
Merge "Camera: Clarify AF_REGIONS behavior in capture_result"
2018-03-03 01:33:14 +00:00
Suprabh Shukla
c0fe0626f6
Merge "An api to query usage events for the caller"
2018-03-03 01:32:21 +00:00
Evan Rosky
b93a014cc8
Merge "Enabled state shouldn't effect children."
2018-03-03 01:07:46 +00:00
TreeHugger Robot
dd33df2393
Merge "Prevent nav bar vibrations when overview proxy is connected (1/2)"
2018-03-03 00:36:28 +00:00
Android Build Merger (Role)
c1b46229ee
Merge "Merge "Extend network request to query networks w/o capabilites" am: d846adac83 am: a3be78b5e7 am: f5312f3538"
2018-03-03 00:15:11 +00:00
Pavel Maltsev
2d8067ed3d
Merge "Extend network request to query networks w/o capabilites" am: d846adac83 am: a3be78b5e7
...
am: f5312f3538
Change-Id: I3bf776767be61577f1bca0d98d4aaf82a0e45336
2018-03-03 00:14:52 +00:00
TreeHugger Robot
b0ebe11b74
Merge "Report total latency instead of average for jobs last run"
2018-03-03 00:14:22 +00:00
Pavel Maltsev
f5312f3538
Merge "Extend network request to query networks w/o capabilites" am: d846adac83
...
am: a3be78b5e7
Change-Id: Ie0c4fa4648c235589fecd79a25d28f1e62025fb7
2018-03-03 00:03:37 +00:00
Pavel Maltsev
a3be78b5e7
Merge "Extend network request to query networks w/o capabilites"
...
am: d846adac83
Change-Id: Id1d86938fa2d5aff4dbf9cde87548d80c76674d9
2018-03-02 23:52:18 +00:00
Adam Lesinski
40a32d9ff0
Merge "Refactor AssetManager"
2018-03-02 22:05:45 +00:00
TreeHugger Robot
15881d7c0c
Merge "pm: SharedUserId: Assign seinfo using actual targetSdkVersion"
2018-03-02 21:56:30 +00:00
TreeHugger Robot
df7105a993
Merge "Re-enable cross-profile use of spell checker APIs"
2018-03-02 21:20:47 +00:00
TreeHugger Robot
b60ca84e23
Merge "Fix toast lifetime"
2018-03-02 20:58:34 +00:00
Matthew Ng
64543e668f
Prevent nav bar vibrations when overview proxy is connected (1/2)
...
Systemui can control when to allow vibrations on virtual key vibrations
on key down when overview proxy service is connected. This prevents
vibrations from KeyButtonView when swiping up over a navigation button.
This gives more control over haptics to systemui so that in the future
launcher can send haptic feedback when quick step begins.
Bug: 73919295
Bug: 73942704
Test: swipe up from navigation bar
Change-Id: I5de2a6f199d7e08b4d146e729f4b9c89b2adcded
2018-03-02 12:12:59 -08:00
TreeHugger Robot
fddc22678c
Merge "Copy PermissionChecker from support lib and use in RcognitionService"
2018-03-02 20:01:33 +00:00
TreeHugger Robot
c7712cc9b8
Merge "[Companion] Don't promise call back on javadoc"
2018-03-02 20:01:26 +00:00
TreeHugger Robot
e7ea8d4331
Merge "Camera: another update API for external camera"
2018-03-02 19:56:40 +00:00
TreeHugger Robot
3c4c64455e
Merge "Add a HINT_KEYWORDS to Slice"
2018-03-02 19:14:26 +00:00
TreeHugger Robot
51978d3108
Merge "Changing batterystats to use proto values."
2018-03-02 19:10:28 +00:00
TreeHugger Robot
cbc22b8bec
Merge "Allow debuggable apps to do skp capture"
2018-03-02 19:09:31 +00:00
Treehugger Robot
d846adac83
Merge "Extend network request to query networks w/o capabilites"
2018-03-02 19:04:31 +00:00
TreeHugger Robot
7bbedee7a4
Merge "Clarify javadoc for DevicePolicyManager.KEYGUARD_DISABLE_WIDGETS_ALL"
2018-03-02 19:03:25 +00:00
TreeHugger Robot
02dab4d32f
Merge "Fix CTS TextViewTest"
2018-03-02 17:38:18 +00:00
Vladislav Kaznacheev
f1aab4de20
Merge "Add ViewConfiguration.shouldShowMenuShortcutsWhenKeyboardPresent"
2018-03-02 17:34:04 +00:00
Jason Monk
6ee51bb6d6
Fix crash with AppComponentFactory
...
Allow for a null classloader, but make sure we recrete if the
classloader changes later.
Test: Added CTS
Change-Id: Ibea54d7e03acd5201d81b2261bab0739020de12d
Fixes: 74089652
2018-03-02 11:20:31 -05:00
TreeHugger Robot
6f5ed04ab7
Merge "Addresses API feedback for Intent Discovery change"
2018-03-02 15:52:32 +00:00
Rubin Xu
4b2f7aacd1
Clarify javadoc for DevicePolicyManager.KEYGUARD_DISABLE_WIDGETS_ALL
...
Change-Id: I773336ef85fc268fc8026a9031632ba018833eb6
Fixes: 36847262
Test: builds
2018-03-02 15:41:53 +00:00
Chalard Jean
d1bf7733af
Merge "Give apps with NETWORK_SETTINGS right to see any VPN." am: 6001f72478 am: e5e819f078
...
am: 1be320a494
Change-Id: I9a9d0eb212f6de105abc070a1eb5ff698b4e67bc
2018-03-02 13:25:02 +00:00
Chalard Jean
1be320a494
Merge "Give apps with NETWORK_SETTINGS right to see any VPN." am: 6001f72478
...
am: e5e819f078
Change-Id: I7f08217c5abc86a8784b91145f1b02d6693b3919
2018-03-02 13:17:23 +00:00
Chalard Jean
e5e819f078
Merge "Give apps with NETWORK_SETTINGS right to see any VPN."
...
am: 6001f72478
Change-Id: Iab9c8df6071e6dec35b5f492eb8344ba370e0036
2018-03-02 13:10:45 +00:00
Chalard Jean
9fae0a82af
Merge "Give VPNs the INTERNET capability when they route most of the IP space" am: 20013384dc am: 18e51821b1
...
am: 207b8e2b4e
Change-Id: Ifd77149ca2c45249b8776c878c6fac46ae81c2a4
2018-03-02 12:54:29 +00:00
Chalard Jean
207b8e2b4e
Merge "Give VPNs the INTERNET capability when they route most of the IP space" am: 20013384dc
...
am: 18e51821b1
Change-Id: I33c6fcc72753e00af601cf915aa78416174a3871
2018-03-02 12:46:46 +00:00
Chalard Jean
18e51821b1
Merge "Give VPNs the INTERNET capability when they route most of the IP space"
...
am: 20013384dc
Change-Id: Icd1466c79d2593fcab5bd2e31a1acb3a36a705da
2018-03-02 12:34:25 +00:00