OSDN Git Service
Emilian Peev [Wed, 6 Jun 2018 21:51:26 +0000 (14:51 -0700)]
Merge "media: Check window connect status in ImageWriter" into pi-dev
am:
596fea9581
Change-Id: If1fee999ef937e74bf4ac23380e27dbea231655a
Winson Chung [Wed, 6 Jun 2018 21:19:43 +0000 (14:19 -0700)]
Merge "Fix PiP regression when the stack animation is canceled" into pi-dev
am:
19cfc1a754
Change-Id: I4a4a0edb7931770b1c36dff87397667592e4db19
Rohan Shah [Wed, 6 Jun 2018 21:05:53 +0000 (14:05 -0700)]
Merge "[QS] Change Date font in QQS" into pi-dev
am:
c754707b76
Change-Id: I213e6b16ec15e5f93c46f810d7b0cf4cb3e17699
Tracy Zhou [Wed, 6 Jun 2018 20:54:54 +0000 (13:54 -0700)]
Merge "Fix "swipe up to switch apps" pop up displaying in SUW while creating second user." into pi-dev
am:
dd12d33981
Change-Id: I5505d82dca3ba030793fc4fd483b18fa2a4b6be0
Sunny Goyal [Wed, 6 Jun 2018 20:30:25 +0000 (13:30 -0700)]
Merge "Changing the recents component to point to launcher3 implementation" into pi-dev
am:
09dc071562
Change-Id: Ia42dfe2e058c9ea024b5a175d317b31a097f90cc
Bill Yi [Wed, 6 Jun 2018 20:11:47 +0000 (13:11 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am:
6824fdb401 -s ours
Change-Id: If5d1795cb37afef412bec06959647fe0fb09c7e3
Selim Cinek [Wed, 6 Jun 2018 20:11:13 +0000 (13:11 -0700)]
Merge "Fix exception from DateTimeView unregisters receiver again" into pi-dev
am:
a2537b7269
Change-Id: I0a2e1042bc288ab62ab5a7e2e13c9e51336b35f7
Bill Yi [Wed, 6 Jun 2018 19:56:10 +0000 (12:56 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am:
891fa6f6af -s ours
Change-Id: I894b8cfb60049b3725e006c4ea81f6a265b53e7b
Bill Yi [Wed, 6 Jun 2018 19:54:56 +0000 (12:54 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am:
d3e66495cd -s ours
Change-Id: Ifd03b185b954339ccf05166a8cf323aeb74e064c
Bill Yi [Wed, 6 Jun 2018 19:52:50 +0000 (12:52 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am:
158e38c3ed -s ours
Change-Id: Ib49818f0037ce9e7ca80d9e2244de3f7bad7b0f3
Nicolas Geoffray [Wed, 6 Jun 2018 19:50:53 +0000 (12:50 -0700)]
Merge "Light grey bugbot updates." into pi-dev
am:
bfa0ee12cf
Change-Id: I7f43dc0677b00234fa33f5e01ebdc330a7568f05
Mihai Popa [Wed, 6 Jun 2018 19:45:38 +0000 (12:45 -0700)]
[automerger skipped] Merge changes from topic "am-
2d17369d-a241-482f-bad0-
edb5147de00b" into oc-dev am:
3fce74a7f3 -s ours am:
bb18c011aa -s ours am:
7478894a89 -s ours
am:
999d9e1bf0 -s ours
Change-Id: I92c4e0edf71e7f92400395af8aa2828bb9ab395f
TreeHugger Robot [Wed, 6 Jun 2018 18:54:51 +0000 (18:54 +0000)]
Merge "media: Check window connect status in ImageWriter" into pi-dev
TreeHugger Robot [Wed, 6 Jun 2018 18:50:52 +0000 (18:50 +0000)]
Merge "Fix PiP regression when the stack animation is canceled" into pi-dev
Rohan Shah [Wed, 6 Jun 2018 18:43:06 +0000 (18:43 +0000)]
Merge "[QS] Change Date font in QQS" into pi-dev
TreeHugger Robot [Wed, 6 Jun 2018 18:30:15 +0000 (18:30 +0000)]
Merge "Fix "swipe up to switch apps" pop up displaying in SUW while creating second user." into pi-dev
TreeHugger Robot [Wed, 6 Jun 2018 18:18:43 +0000 (18:18 +0000)]
Merge "Changing the recents component to point to launcher3 implementation" into pi-dev
TreeHugger Robot [Wed, 6 Jun 2018 18:18:35 +0000 (18:18 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
Selim Cinek [Wed, 6 Jun 2018 18:18:27 +0000 (18:18 +0000)]
Merge "Fix exception from DateTimeView unregisters receiver again" into pi-dev
TreeHugger Robot [Wed, 6 Jun 2018 18:13:55 +0000 (18:13 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Wed, 6 Jun 2018 18:13:27 +0000 (18:13 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Wed, 6 Jun 2018 18:04:41 +0000 (18:04 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Wed, 6 Jun 2018 17:51:32 +0000 (17:51 +0000)]
Merge "Light grey bugbot updates." into pi-dev
Mihai Popa [Wed, 6 Jun 2018 17:42:20 +0000 (10:42 -0700)]
[automerger skipped] Merge changes from topic "am-
2d17369d-a241-482f-bad0-
edb5147de00b" into oc-dev am:
3fce74a7f3 -s ours am:
bb18c011aa -s ours
am:
7478894a89 -s ours
Change-Id: I22992503b6a99f7002d0ce440d4fda9e313bcf73
Mihai Popa [Wed, 6 Jun 2018 17:01:16 +0000 (10:01 -0700)]
[automerger skipped] Merge changes from topic "am-
2d17369d-a241-482f-bad0-
edb5147de00b" into oc-dev am:
3fce74a7f3 -s ours
am:
bb18c011aa -s ours
Change-Id: I2feb73ce9430daf5ead58675b552be326925af27
Rebecca Silberstein [Wed, 6 Jun 2018 16:51:50 +0000 (09:51 -0700)]
Merge "WifiManager: add call to see if apband conversion is required" into pi-dev
am:
85bdd711ce
Change-Id: I4f2c8e9ebcfd4bb92cad23f222218960188ca09b
Julia Reynolds [Wed, 6 Jun 2018 16:46:23 +0000 (09:46 -0700)]
Merge "Use correct attribute name." into pi-dev
am:
65a411ac45
Change-Id: Ic2b5bcaa4637af3cb59c5b805e287a4c2ac6ee82
Jean-Michel Trivi [Wed, 6 Jun 2018 16:40:53 +0000 (09:40 -0700)]
Merge "AudioRecord JNI: fix mem leak on audio_attributes_t" into pi-dev
am:
2e73ff5e6f
Change-Id: I7290da47d3dd4efd56f986c7cc530bb10ec4e715
Tracy Zhou [Tue, 5 Jun 2018 19:09:14 +0000 (12:09 -0700)]
Fix "swipe up to switch apps" pop up displaying in SUW while creating
second user.
We unregister quickstep onboarding listeners when nav bar view is
detached. We also update its state when nav bar state changes, but we
are not updating it, while we should, update onboarding state when
disabled flags changes. In this scenario, it's triggered when the second
user is added.
Change-Id: I7da917f27fc0f0b8ae5e2d8262f2fdc331b4646d
Fixes:
80512560
Test: Manual test
Rebecca Silberstein [Wed, 6 Jun 2018 16:36:37 +0000 (16:36 +0000)]
Merge "WifiManager: add call to see if apband conversion is required" into pi-dev
Mihai Popa [Wed, 6 Jun 2018 16:33:57 +0000 (09:33 -0700)]
[automerger skipped] Merge changes from topic "am-
2d17369d-a241-482f-bad0-
edb5147de00b" into oc-dev
am:
3fce74a7f3 -s ours
Change-Id: I28ae4102fd8913d74e8dd928f286cbdbd66d0241
TreeHugger Robot [Wed, 6 Jun 2018 16:28:23 +0000 (16:28 +0000)]
Merge "Use correct attribute name." into pi-dev
Jean-Michel Trivi [Wed, 6 Jun 2018 16:25:09 +0000 (16:25 +0000)]
Merge "AudioRecord JNI: fix mem leak on audio_attributes_t" into pi-dev
Mihai Popa [Wed, 6 Jun 2018 16:21:21 +0000 (16:21 +0000)]
Merge changes from topic "am-
2d17369d-a241-482f-bad0-
edb5147de00b" into oc-dev
* changes:
[automerger] Optimise the hit test algorithm am:
71ecf5bd5c am:
42eaa8f932 am:
a72cb45f89 am:
f5d69aa775 skipped:
94bc67f03c
[automerger] Optimise the hit test algorithm am:
71ecf5bd5c am:
42eaa8f932 am:
a72cb45f89 am:
f5d69aa775
[automerger] Optimise the hit test algorithm am:
71ecf5bd5c am:
42eaa8f932 am:
a72cb45f89
[automerger] Optimise the hit test algorithm am:
71ecf5bd5c am:
42eaa8f932
[automerger] Optimise the hit test algorithm am:
71ecf5bd5c
Optimise the hit test algorithm
Nicolas Geoffray [Wed, 6 Jun 2018 16:08:37 +0000 (17:08 +0100)]
Light grey bugbot updates.
Bug:
109756637
Bug:
71814829
Test: m
Change-Id: Ic11a74a215315c71480cdd55ababdaab26f3577b
Winson Chung [Wed, 6 Jun 2018 15:33:51 +0000 (08:33 -0700)]
Merge "Expose the source component which launched this task." into pi-dev
am:
b4e4fc3a1e
Change-Id: Ia0282837d700e0820ca251b35a3a5b00179f8b0d
Calin Juravle [Wed, 6 Jun 2018 15:28:55 +0000 (08:28 -0700)]
Merge "Remove sun.nio.fs.UnixChannelFactory from preloaded-classes" into pi-dev
am:
d8269005fe
Change-Id: Ia82f41a25b85194c9badafda71cbe85715674ce5
Evan Laird [Wed, 6 Jun 2018 15:20:38 +0000 (08:20 -0700)]
Merge "Consider icon scale when calculating icon offset in shelf" into pi-dev
am:
00c132cd35
Change-Id: Id9fab2c7242fe202209580af74c3ba84eb5d7caa
Evan Laird [Wed, 6 Jun 2018 15:15:12 +0000 (08:15 -0700)]
Merge "Wi-Fi, now corporeal!" into pi-dev
am:
bc6f64d557
Change-Id: I97fc1ba28b14e59c01bb4561088883aaedb49e03
Winson Chung [Wed, 6 Jun 2018 15:13:27 +0000 (15:13 +0000)]
Merge "Expose the source component which launched this task." into pi-dev
Calin Juravle [Wed, 6 Jun 2018 15:09:17 +0000 (15:09 +0000)]
Merge "Remove sun.nio.fs.UnixChannelFactory from preloaded-classes" into pi-dev
Svet Ganov [Wed, 6 Jun 2018 15:04:40 +0000 (08:04 -0700)]
Merge "Allow instant apps to send broadcasts to themselves" into pi-dev
am:
93ec4f829d
Change-Id: Icdb0079006db75d16f48d6955e06edc0bb5c05c0
TreeHugger Robot [Wed, 6 Jun 2018 14:59:10 +0000 (14:59 +0000)]
Merge "Consider icon scale when calculating icon offset in shelf" into pi-dev
TreeHugger Robot [Wed, 6 Jun 2018 14:54:35 +0000 (14:54 +0000)]
Merge "Wi-Fi, now corporeal!" into pi-dev
TreeHugger Robot [Wed, 6 Jun 2018 14:51:33 +0000 (14:51 +0000)]
Merge "Allow instant apps to send broadcasts to themselves" into pi-dev
Clara Bayarri [Wed, 6 Jun 2018 14:48:50 +0000 (07:48 -0700)]
Merge "Fix repeated calls into reportExtractedText" into pi-dev
am:
bcbdeb29c9
Change-Id: Ifd8cf131d7884b77c597fd3d95ff67ccf9c9ff7a
TreeHugger Robot [Wed, 6 Jun 2018 14:40:12 +0000 (14:40 +0000)]
Merge "Fix repeated calls into reportExtractedText" into pi-dev
Bill Yi [Wed, 6 Jun 2018 14:13:20 +0000 (07:13 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: Icbe0ecc8b5b4abbe01354757e74d622382c9c3b1
Lorenzo Colitti [Wed, 6 Jun 2018 14:05:13 +0000 (07:05 -0700)]
Merge "Support seamless handover between VPN fds." into pi-dev
am:
f35fd8653c
Change-Id: Ia94a34a1f4763d12b6d5ca702640933bc5c84499
Julia Reynolds [Wed, 6 Jun 2018 14:04:02 +0000 (10:04 -0400)]
Use correct attribute name.
Test: factory reset device and confirm default values
Change-Id: I96b20e98d740550fa1b47e069ebfb5fdf2368db2
Fixes:
109747051
Julia Reynolds [Wed, 6 Jun 2018 13:58:54 +0000 (06:58 -0700)]
Merge "Further interruptiveness changes" into pi-dev
am:
fe1d9dc1af
Change-Id: Ic258eaf306dc05850015808c9b67b07398575770
TreeHugger Robot [Wed, 6 Jun 2018 13:51:23 +0000 (13:51 +0000)]
Merge "Support seamless handover between VPN fds." into pi-dev
TreeHugger Robot [Wed, 6 Jun 2018 13:46:42 +0000 (13:46 +0000)]
Merge "Further interruptiveness changes" into pi-dev
Calin Juravle [Wed, 6 Jun 2018 13:13:39 +0000 (06:13 -0700)]
Remove sun.nio.fs.UnixChannelFactory from preloaded-classes
The tests use the preloaded classes to create the core image and
that leads to UnixChannelFactory being initialized despite the
fact that FileDescriptor is not. This manifests with a null pointer
crash in tests.
Bug:
80495283
Test: m test-art-host
Change-Id: I785104e6c69c605b16357a9557b203b489972261
chaviw [Wed, 6 Jun 2018 13:11:06 +0000 (06:11 -0700)]
Merge "Notify WM that app is delayed closing due to the possibility of PIP." into pi-dev
am:
47d9d9801b
Change-Id: I6b9e3426f35e66596e96068601e4166887586487
TreeHugger Robot [Wed, 6 Jun 2018 12:57:55 +0000 (12:57 +0000)]
Merge "Notify WM that app is delayed closing due to the possibility of PIP." into pi-dev
Bill Yi [Wed, 6 Jun 2018 12:14:39 +0000 (05:14 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I809062aaa6b66a40365e48d55c55a3adfb034102
Nicolas Geoffray [Wed, 6 Jun 2018 11:44:19 +0000 (04:44 -0700)]
Add 3 more APIs to light grey.
am:
1bb35c2a21
Change-Id: Ibbadb5be4ffed11aa7135aa215a9263c9c1b6ca1
Bill Yi [Wed, 6 Jun 2018 10:51:03 +0000 (03:51 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I7cf2593eace5002a2e71243589299609ad5fc5a3
Chalard Jean [Wed, 6 Jun 2018 10:08:03 +0000 (03:08 -0700)]
[automerger skipped] Merge changes Ia764b341,I4e4b41bb,I61b262d8,Ie6ace6bd,I21e866c7, ... am:
b044b885cf
am:
ac11946404 -s ours
Change-Id: I8c4838e96c77b58cbc7069c41c3c83a01b93ce7a
Bill Yi [Wed, 6 Jun 2018 10:06:03 +0000 (03:06 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: If983b267ec120be4bf5d6e788209576f147c4ab5
Chalard Jean [Wed, 6 Jun 2018 10:00:49 +0000 (03:00 -0700)]
Merge changes Ia764b341,I4e4b41bb,I61b262d8,Ie6ace6bd,I21e866c7, ...
am:
b044b885cf
Change-Id: Ib54b132dae9e6ab4e01ee46a8afdcb2f50df2709
Emilian Peev [Tue, 5 Jun 2018 16:52:16 +0000 (17:52 +0100)]
media: Check window connect status in ImageWriter
ImageWriter clients could pass invalid or already
connected surface during initialization. Check the
status after trying to connect to the producer
interface and raise an exception if necessary.
Bug:
80086132
Test: Camera CTS
Change-Id: I46810885046a3b89ea18510574c22db27e812a9c
Chalard Jean [Wed, 6 Jun 2018 08:25:45 +0000 (08:25 +0000)]
Merge changes Ia764b341,I4e4b41bb,I61b262d8,Ie6ace6bd,I21e866c7, ...
* changes:
Let tests enumerate all transports/capabilities.
Destroy networks as soon as they are disconnected.
Fix a ConcurrentModificationException crash.
Unify behavior of various cases of "no underlying networks"
Fix: VPNs update caps upon underlying network disconnect.
Add tests for setUnderlyingNetworks.
Fix setCapabilities.
Fix SSID not being logged by the validation logs
Make sure getActiveNetwork is consistent with default callbacks
Add tests for getActiveNetwork.
Guard the SSID with NETWORK_SETTINGS
Add a new ssid field in NetworkCapabilities.
Notif manager and captive portal app to read SSID again
Remove unwanted capability from the java-doc
Actually @hide unwanted capability methods.
API council requested tweaks to NetworkRequest.
Add OEM_PAID capability to system api
add airplane mode shell commands to connectivity
Enable cleartext for captive portal apps
Expose CONNECTIVITY_ACTION to Instant Apps
fix isActiveNetworkMetered with VPNs
Jeff Sharkey [Mon, 14 May 2018 19:49:07 +0000 (13:49 -0600)]
Let tests enumerate all transports/capabilities.
This gives them a way to collect all included values without
resorting to manual probing of each newly added value.
Cherry-pick of ag/
4052941 with minor conflicts in the imports.
Bug:
16207332
Test: atest com.android.cts.net.HostsideVpnTests
Change-Id: Ia764b3412bf834890612378e0c3846913f4e0a06
Merged-In: Ie5cd22cfa2b6a60510fd1e31d7ebcd8f6cc890a0
Merged-In: If07e77c92046807235229a4f67ee087bdd7bccf1
Chalard Jean [Fri, 11 May 2018 11:19:20 +0000 (20:19 +0900)]
Destroy networks as soon as they are disconnected.
...as opposed to after the async channel finished disconnecting.
Clean cherry-pick of ag/
4043255
Bug:
78308259
Test: runtest frameworks-net
also used a device with this patch over the weekend and
tried all I could think of
Merged-In: Ic4c7520e907de353a01c2a3a8a50d661dee4a994
Merged-In: I0617f0ff6e46a1d3764335a1e7ad01b34c8cc5a8
Change-Id: I4e4b41bbdf25d7d7bea4124cb58da004d47f1090
Chalard Jean [Wed, 23 May 2018 00:07:51 +0000 (09:07 +0900)]
Fix a ConcurrentModificationException crash.
This is a pinpoint fix against the bug listed below. While a client
is synchronously reading the LinkProperties of a network, the
ConnectivityServiceThread is updating its properties. Make sure
that update is done atomically.
This is a stopgap countermeasure against a problem that is
pervasive with usage of LinkProperties, but fixing the problem
itself will happen later.
Clean cherry-pick of ag/
4174798
Bug:
80077223
Test: runtest frameworks-net
Change-Id: I61b262d824c98b4ced36395a597b73de9193a199
Merged-In: I25007ac26349e451bb47f966af70d590d699c347
Merged-In: I03526187645b6955eb89ca4d2e4a930ebac236b8
Chalard Jean [Mon, 21 May 2018 06:30:56 +0000 (15:30 +0900)]
Unify behavior of various cases of "no underlying networks"
Before this change, VPNs having no underlying networks would be
marked as metered as the safe option, but VPNs having only
disconnected underlying networks would be marked as unmetered.
Fix this discrepancy.
Clean cherry-pick of ag/
4113809
Bug:
79748782
Test: runtest frameworks-net
Change-Id: Ie6ace6bd95139605ffcfa8cd6c15cf28f8fa28c8
Merged-In: If19b85325e7d684e645470293b3c8a674084c641
Merged-in: I22f80a6a39d4a19ff74aa61fcbd66f1a041b1003
Chalard Jean [Fri, 18 May 2018 13:02:56 +0000 (22:02 +0900)]
Fix: VPNs update caps upon underlying network disconnect.
Clean cherry-pick of ag/
4083954
Bug:
79748782
Test: ConnectivityServiceTests still pass
Change-Id: I21e866c723099e5c3dee54ff13e830d44427fc7a
Merged-In: I12c948ebeb2b74290908f8320ff77220dc4a9fb9
Chalard Jean [Fri, 18 May 2018 12:47:45 +0000 (21:47 +0900)]
Add tests for setUnderlyingNetworks.
Fixes come later. This is complex enough as it is.
Clean cherry-pick of ag/
4083953
Bug:
79748782
Test: new test passes, old tests still pass
Change-Id: If7276fe1f751be7b9c18f689e97699e566e5bde0
Merged-In: I12c948ebeb2b74290908f8320ff77220dc4a9fb9
Chalard Jean [Fri, 18 May 2018 14:48:49 +0000 (23:48 +0900)]
Fix setCapabilities.
P introduced setSSID, UIDs and unwanted capabilities.
None of these exhibit commutative behavior through combineCapabilities
because their semantics don't allow it. Therefore
NetworkRequest.setCapabilities() is badly broken around any of
these. Look at the comments in the new tests to realize the
extent of the damage.
Clean cherry-pick of ag/
4083952
Bug:
79748782
Test: new tests written, old tests pass
Change-Id: Iafe074126132a82af37f4bf056c4a7b8d56bdc83
Merged-In: Ia5bebf8a233775367bbf1b788870528934ecbcfb
Merged-In: I13d7782a6c0c7b1f94137995bbb0d257a58d89c1
Chalard Jean [Thu, 26 Apr 2018 07:16:10 +0000 (16:16 +0900)]
Fix SSID not being logged by the validation logs
Also add it in the logs of the notification manager.
Clean cherry-pick of ag/
4022397
Bug:
78547904
Test: manual
Change-Id: I0afc18c94adf97154c61af2a5bdf933fb5f0e622
Merged-In: Iad5388a31a1502bc1944346276bb9600ac1386bd
Merged-In: I8bdd4a020e9d04f46847ef3c7e80ccf5c5cd19ea
Chalard Jean [Wed, 18 Apr 2018 11:18:38 +0000 (20:18 +0900)]
Make sure getActiveNetwork is consistent with default callbacks
Almost clean cherry-pick of ag/
3889538.
Bug:
77737389
Test: runtest framework-net
new test don't pass without the main code change, but they
do with it
Change-Id: I0cd83a935ab0b349aa47e065b830e5a43ab9a091
Merged-In: Iaa0285825735d3f16bba6e4946723a437fd9b0b9
Merged-In: Ia8f985b448251f911484e6bd63fa562bffc1b0e4
Chalard Jean [Wed, 18 Apr 2018 10:18:58 +0000 (19:18 +0900)]
Add tests for getActiveNetwork.
Clean cherry-pick of ag/
3918295
One-line adjustment for ag/
3638326 which has not been put in AOSP.
Bug:
77737389
Test: runtest frameworks-net
Change-Id: I03ae2bbb08559f2cd44979e291c1f5d50eb215da
Merged-In: Iaa0285825735d3f16bba6e4946723a437fd9b0b9
Merged-In: Ia8f985b448251f911484e6bd63fa562bffc1b0e4
Chalard Jean [Mon, 16 Apr 2018 03:25:22 +0000 (12:25 +0900)]
Guard the SSID with NETWORK_SETTINGS
Clean cherry-pick of ag/
3904260
Bug:
77865258
Test: manual
Change-Id: I2a2e236041797df495759dd4e07648545cad6c7c
Merged-In: Iba59e93875c28b8e30db0c013575bc2f117cb16c
Merged-In: I6cf364f0815a2eaab60f5de5e1d5ccc4908e9eca
Chalard Jean [Wed, 11 Apr 2018 12:09:10 +0000 (21:09 +0900)]
Add a new ssid field in NetworkCapabilities.
Clean cherry-pick of ag/
3887737
Bug:
77891227
Test: frameworks-net
Change-Id: Icefe1657bca52b913a72b56705342a7285769658
Merged-In: Ia1f4e51b7c2e9118789242cf6d9e7576c4167cda
Merged-In: I6dd1aba6fde5a502b4a9145cf16393d8ce623c89
Chalard Jean [Thu, 12 Apr 2018 02:52:37 +0000 (11:52 +0900)]
Notif manager and captive portal app to read SSID again
Cherry-picked from ag/
3887738 ; almost clean CP, only had
to add an import.
Bug:
77114259
Test: frameworks-net pass
manual test shows the SSID is now displayed again
Change-Id: I5cb2b4777ad78d972031e8f2ff22e2155f4ab894
Merged-In: I588fedba49ea5d08e40bd2b3ea8ba2c2383958ec
Merged-In: I663a59ff2847a9f44ea1395326f6cb00e97237b6
Pavel Maltsev [Mon, 9 Apr 2018 20:10:11 +0000 (13:10 -0700)]
Remove unwanted capability from the java-doc
Per API council feedback remove unwanted capaibility from public API
java docs
Clean cherry-pick from ag/
3868438
Bug:
77601789
Test: make docs
Test: build and flash
Change-Id: I4f3b8b558e8dab2bcc9ef4cc6cfc3135c264c291
Merged-In: I7fef43cce3cfe17dae6a5e4f564ad8857371502a
Merged-In: Ib02988daf44dabfaef7a0b788385b7f7c655b8b2
Pavel Maltsev [Mon, 2 Apr 2018 18:10:13 +0000 (11:10 -0700)]
Actually @hide unwanted capability methods.
Cherry-pick of ag/
3943779
Bug:
77601789
Test: builds, boots
Test: make doc-comment-check-docs
Merged-In: I80a88123b16c54734306da7e5dc0670972041648
Merged-In: I923e5377a1abe761217612452cbfdba752e53de2
Jeff Sharkey [Wed, 28 Mar 2018 20:01:55 +0000 (14:01 -0600)]
API council requested tweaks to NetworkRequest.
If you put values into the Builder, you should be able to observe
those values on the built object.
Clean cherry-pick of ag/
3813257
Test: atest android.net.cts.NetworkRequestTest
Bug:
74945408
Change-Id: Ib28de279efb8b33ab46aa64f580e10fe5f8720e3
Merged-In: I0d090ebb7d57689a061badcf593ae9a37d88f7ce
Merged-In: I539184f7385c1f288cfb77be8307e4463e07e9e6
Pavel Maltsev [Thu, 22 Mar 2018 18:41:32 +0000 (11:41 -0700)]
Add OEM_PAID capability to system api
Some system apps should be able to request OEM_PAID networks. This
makes a lot of sense when Android is used as in-vehicle infotainment
systems.
Clean cherry-pick of ag/
3782591
Bug:
68762530
Test: runtest -x frameworks/base/tests/net/ -c android.net.NetworkCapabilitiesTest
Change-Id: I306f060c5a386ff4b82cd99a03dc037ce60ded6a
Merged-In: Ic164c4a29cd449a31b2f1c12c8c345bcc5dc77fa
Merged-In: I6e9c4130db23a4f1c89ce7e9071ae519a2b0b7ec
mswest46 [Mon, 12 Mar 2018 17:34:34 +0000 (10:34 -0700)]
add airplane mode shell commands to connectivity
Clean cherry-pick of ag/
3718273
Change-Id: I302802afc952b9df7a5544b12d9015091997bd67
Fixes:
74410990
Test: Manually checked that commands enable/disable airplane mode.
Merged-In: I8787d642594e6852bff5b902e8d0fa380ce7c37f
Adam Newman [Fri, 16 Mar 2018 17:36:35 +0000 (10:36 -0700)]
Enable cleartext for captive portal apps
When a user attempts to visit a captive portal the Activity will attempt
to load http://connectivitycheck.gstatic.com/generate_204 and a
walled-garden will typically intercept this and respond with a 302
redirect to a sign-in flow.
The new default of disabling cleartext unless explicitly enabled breaks
captive portal operation. This change enables cleartext for the two
applications that contain a CaptivePortalLoginActivity.
Clean cherry-pick of ag/
3750960
Bug:
75279991
Test: Manually associated with captive portals.
Exempt-From-Owner-Approval: Already approved by owner on pi-dev.
Change-Id: Ib9ea7a8a2aa72b8305fa7044df0e369a57d33953
Merged-In: Ie38d6ce6f54336db2f4672746dc7385e0a7979fb
Merged-In: I742bf6be74a9e6953d0a779bdab0c25cf32aa740
Nan Zhang [Wed, 6 Jun 2018 08:20:55 +0000 (01:20 -0700)]
Merge "Add metalava based api-stubs modules in Android.bp" am:
f907578564
am:
25d4494793
Change-Id: I61a4f39fdef76aa49dea1b007b805cac5e55526f
Nicolas Geoffray [Wed, 6 Jun 2018 08:17:22 +0000 (09:17 +0100)]
Add 3 more APIs to light grey.
bug:
109746802
Test: m
Change-Id: I9b9fbed705adc59c5266378b576fc437c5078184
Junyu Lai [Wed, 6 Jun 2018 06:46:27 +0000 (23:46 -0700)]
Merge "Copy clat modified linkProperties into new one." into pi-dev
am:
183ec8ee35
Change-Id: Icbaa50cde14a3d00e151c1175d214cbf186fa74a
Junyu Lai [Wed, 6 Jun 2018 06:36:39 +0000 (06:36 +0000)]
Merge "Copy clat modified linkProperties into new one." into pi-dev
Nan Zhang [Wed, 6 Jun 2018 05:49:06 +0000 (22:49 -0700)]
Merge "Add metalava based api-stubs modules in Android.bp"
am:
f907578564
Change-Id: Id02938835849e346edb409bc77b1cb3d887ab0ff
Martijn Coenen [Wed, 6 Jun 2018 05:44:06 +0000 (22:44 -0700)]
Merge "Serialize calls into BinderProxy." into pi-dev
am:
051b63d4b3
Change-Id: I9d725b05bc4b00eec7c6421e1a3313d6730ad042
Martijn Coenen [Wed, 6 Jun 2018 05:33:14 +0000 (05:33 +0000)]
Merge "Serialize calls into BinderProxy." into pi-dev
Treehugger Robot [Wed, 6 Jun 2018 04:36:53 +0000 (04:36 +0000)]
Merge "Add metalava based api-stubs modules in Android.bp"
Erik Kline [Wed, 6 Jun 2018 04:23:13 +0000 (21:23 -0700)]
[automerger skipped] Merge "Randomize the local Wifi IPv4 address" into pi-dev
am:
046bb433c7 -s ours
Change-Id: I065a097c028e1ff366ffb201879b8124183dd781
TreeHugger Robot [Wed, 6 Jun 2018 04:12:31 +0000 (04:12 +0000)]
Merge "Randomize the local Wifi IPv4 address" into pi-dev
junyulai [Tue, 5 Jun 2018 08:10:04 +0000 (16:10 +0800)]
Copy clat modified linkProperties into new one.
updateLinkProperties copied the linkProperties in networkAgent,
but the clat fix-up function did not copy stacked link into new one.
This caused an incorrect clat iface removal, and the IPv4 network
to be unreachable.
Bug:
80261579
Test: 1. ping after ipv6 only data call with 2g voice call on/off
2. runtest frameworks-net
3. run cts -m CtsNetTestCases
Change-Id: Ide47a3b0680dddfcf3e2e759a59b19aee3605050
Todd Kennedy [Wed, 6 Jun 2018 03:20:03 +0000 (20:20 -0700)]
Merge "Allow instant apps to launch instant apps" into pi-dev
am:
a4155c751f
Change-Id: I42451b9d0b8e8dc788289a2dd5f75cde1b353309
Erik Kline [Tue, 29 May 2018 10:24:43 +0000 (19:24 +0900)]
Randomize the local Wifi IPv4 address
Also: address a few "error prone" warnings, adding @Override where missing
Test: as follows
- built, flashed, booted
- wifi tethering uses a randomized address, DHCPv4 and DNS works
Bug:
32163131
Bug:
70673901
Merged-In: I47d75c32ccd4bcbbb2f05637fcbae216d7e15015
Merged-In: I8f8397978a13c8b2303dfcd950700b447ea61d3c
Change-Id: Icfabc48f2cf97b362ce292747f47021e84b900da
TreeHugger Robot [Wed, 6 Jun 2018 03:09:48 +0000 (03:09 +0000)]
Merge "Allow instant apps to launch instant apps" into pi-dev
Eugene Susla [Wed, 6 Jun 2018 03:01:26 +0000 (20:01 -0700)]
Merge "Fix DefaultPermissionGrantPolicyTest" into pi-dev
am:
536cb9c426
Change-Id: I209b829cb62da4da9968eac3c5f92e52672a4b82
George Burgess IV [Wed, 6 Jun 2018 02:56:22 +0000 (19:56 -0700)]
Merge "Fix a 'memory leak'" am:
38e7338d92
am:
bc49cb8460
Change-Id: I3ecf0ecdf20bb61bda76fff547f920040ded47d6
TreeHugger Robot [Wed, 6 Jun 2018 02:20:42 +0000 (02:20 +0000)]
Merge "Fix DefaultPermissionGrantPolicyTest" into pi-dev