OSDN Git Service
TreeHugger Robot [Thu, 24 May 2018 16:30:16 +0000 (16:30 +0000)]
Merge "Use TCM context if application context is unavailble." into pi-dev
Michael Wachenschwanz [Thu, 24 May 2018 15:54:05 +0000 (15:54 +0000)]
Merge "Revert "Write UsageEvents Parcel data as a Blob"" into pi-dev
Michael Wachenschwanz [Thu, 24 May 2018 15:28:24 +0000 (15:28 +0000)]
Revert "Write UsageEvents Parcel data as a Blob"
This reverts commit
f5bae21c5efcd51c0b3fb29942c02c00b896fccf.
Reason for revert:
Bug:
79860717
Fixes:
80215357
Change-Id: I0768e5ce0a95afe7ff091c0035335437bb33c46c
Michael Wright [Thu, 24 May 2018 12:41:50 +0000 (13:41 +0100)]
Use TCM context if application context is unavailble.
In TextClassificationManager, we use the application context to reduce
the likelihood of leaking the underlying Activity. Unfortunately, some
places (e.g. auto, system_server) don't actually provide us an
application context, so we need to fall back to whatever context was
passed in to TCM in the first place.
Bug:
80188317
Test: none
Change-Id: Ib4b2e6ed543d3ed56cefd8f56717855158cdc0fe
Nicolas Geoffray [Thu, 24 May 2018 12:31:13 +0000 (12:31 +0000)]
Merge "Add camera APIs to light grey." into pi-dev
TreeHugger Robot [Thu, 24 May 2018 12:17:41 +0000 (12:17 +0000)]
Merge "More greylist additions from bug scrape." into pi-dev
Mathew Inwood [Thu, 24 May 2018 10:37:56 +0000 (11:37 +0100)]
More greylist additions from bug scrape.
Test: m
Bug:
64382372
Bug:
79950834
Bug:
80004540
Bug:
80109977
Bug:
80112684
Bug:
80204728
Change-Id: I8343f0d467a5d1ecd4e00abcf44871089e8453b3
TreeHugger Robot [Thu, 24 May 2018 09:59:28 +0000 (09:59 +0000)]
Merge "Differentiate MediaBrowsers in a process for MediaBrowserService" into pi-dev
TreeHugger Robot [Thu, 24 May 2018 06:11:27 +0000 (06:11 +0000)]
Merge "Calculate cellular radio value from modem.controller values." into pi-dev
Winson Chung [Thu, 24 May 2018 05:55:47 +0000 (05:55 +0000)]
Merge "Initial changes for full-width quickscrub." into pi-dev
TreeHugger Robot [Thu, 24 May 2018 05:03:14 +0000 (05:03 +0000)]
Merge "Fork navbar layout for quickstep" into pi-dev
Winson Chung [Thu, 24 May 2018 04:13:47 +0000 (04:13 +0000)]
Merge "Fix issue with slippery flag not being updated correctly" into pi-dev
TreeHugger Robot [Thu, 24 May 2018 03:47:27 +0000 (03:47 +0000)]
Merge "[Notif] Remove transient views on swipe out" into pi-dev
Winson Chung [Tue, 22 May 2018 01:41:39 +0000 (18:41 -0700)]
Initial changes for full-width quickscrub.
Bug:
79945202
Test: Swipe from anywhere in the nav bar
Change-Id: Ib0b07ceb64fb74c570c297acf865a37a1dc56fa8
TreeHugger Robot [Thu, 24 May 2018 03:01:38 +0000 (03:01 +0000)]
Merge "Unsuspending packages when a PO or DO is set" into pi-dev
Winson Chung [Thu, 24 May 2018 01:24:13 +0000 (18:24 -0700)]
Fix issue with slippery flag not being updated correctly
- The ordering was such that the disabled state was updated before
onPanelExpandedChange which was masking the issue by updating the
slippery flag, but when unlocking from the screen off state, we get
onPanelExpandedChange first, and disabled state after (which doesn't
update the slippery state).
Bug:
80204751
Test: Turn screen off, unlock with fingerprint, swipe up
Change-Id: I88f1bc6a983ec0d693844724d8b9d4bf11a0fd31
TreeHugger Robot [Thu, 24 May 2018 02:09:02 +0000 (02:09 +0000)]
Merge "Camera: Use fallback key if the requested key returns null" into pi-dev
TreeHugger Robot [Thu, 24 May 2018 01:59:09 +0000 (01:59 +0000)]
Merge "MediaPlayer: ensure that jni code returns after throwing exceptions." into pi-dev
TreeHugger Robot [Thu, 24 May 2018 01:35:31 +0000 (01:35 +0000)]
Merge "Remove logging from RecentsOnboarding" into pi-dev
Mike Digman [Mon, 21 May 2018 18:21:30 +0000 (11:21 -0700)]
Fork navbar layout for quickstep
Different navbar layouts are loaded via config.xml depending
on if Quickstep is enabled. A contextual button frame is added
to replace the right nav buttons so different styling can be
applied. New back, rotate and keyboard icons are added.
Maintains support for custom navbar layouts. Adds support for
nested reversable elements, needed for contextual button frame.
Fixes navbar gravity support by using RelativeLayout's gravity
and top/bottom switching.
Change-Id: I5e24b2392c377313d421c0f95c3a7a0b99f32590
Fixes:
79930722
Fixes:
79930974
Fixes:
80164476
Test: manual, crash sysui, test against a11y, gb menu, rotate
Hui Yu [Wed, 23 May 2018 21:39:24 +0000 (14:39 -0700)]
Calculate cellular radio value from modem.controller values.
Recently cellular radio related values {"radio.active", "radio.scanning",
"radio.on"} are removed from power_profile.xml, which causes inaccurate
radio power usage. We use following formula to calculate radio
values from modem.controller values.
radio.active = average of modem.controller.rx and modem.controller.tx values
radio.scanning = 0 (since this is already included in radio.on bin 0)
<array name="radio.on"> <!-- Strength 0 to BINS-1 -->
<value>modem.controller.idle * 25 / 180 </value> <!-- none -->
<value>max(1, modem.controller.idle/256) </value> <!-- poor -->
<value>max(1, modem.controller.idle/256) </value> <!-- moderate -->
<value>max(1, modem.controller.idle/256) </value> <!-- good -->
<value>max(1, modem.controller.idle/256) </value> <!-- great -->
</array>
Bug:
79379255
Test: use debugger to observe correct mPowerRadioOn, mPowerBins,
mPowerScan are calculated. "adb shell dumpsys batterystats", looking for
"radio=" in "Estimated power use" section.
Change-Id: Ic65a5c8a35a5b1f4ba05ddc150e29b00bc62689f
Dongwon Kang [Thu, 24 May 2018 00:38:35 +0000 (17:38 -0700)]
MediaPlayer: ensure that jni code returns after throwing exceptions.
Test: no crash on getPlaybackParams and pass post media CTS
Bug:
80200877
Change-Id: I7538967962acc2a23062615c0d39720b34505f17
TreeHugger Robot [Thu, 24 May 2018 00:22:22 +0000 (00:22 +0000)]
Merge "Fix per app GPS power usage." into pi-dev
Rohan Shah [Tue, 22 May 2018 17:59:30 +0000 (10:59 -0700)]
[Notif] Remove transient views on swipe out
We are not removing transient views for the 'swiped out' animation.
Utilizing the transient view cleanup in onAnimationFinished to handle
this better.
Test: Manually
Bug:
79896012
Change-Id: I3c169815433e34795472264de30ff23b3d744269
TreeHugger Robot [Thu, 24 May 2018 00:00:51 +0000 (00:00 +0000)]
Merge "FixBug: Round corner gone when scroll to non-first item and drag to close" into pi-dev
Lajos Molnar [Wed, 23 May 2018 23:41:21 +0000 (23:41 +0000)]
Merge "MediaCodec: make setVideoScalingMode usable for IGBP-based clients" into pi-dev
TreeHugger Robot [Wed, 23 May 2018 23:37:37 +0000 (23:37 +0000)]
Merge "Prevent onboarding counters from overflow." into pi-dev
TreeHugger Robot [Wed, 23 May 2018 23:00:52 +0000 (23:00 +0000)]
Merge "SystemUI theme feature flag" into pi-dev
TreeHugger Robot [Wed, 23 May 2018 22:51:01 +0000 (22:51 +0000)]
Merge "Refactor for tuning gfx-max-frame-time-99" into pi-dev
Tracy Zhou [Wed, 23 May 2018 21:44:42 +0000 (14:44 -0700)]
Remove logging from RecentsOnboarding
Bug:
79882171
Test: N/A
Change-Id: Ib6ae824204c0cd0ecd87a79c9a84bd650e040fa1
TreeHugger Robot [Wed, 23 May 2018 22:41:25 +0000 (22:41 +0000)]
Merge "Use STOCK_PM_FLAGS for backup agent" into pi-dev
TreeHugger Robot [Wed, 23 May 2018 22:14:21 +0000 (22:14 +0000)]
Merge "Make sure frame buffer 0 is bound before calling GL functor" into pi-dev
Lajos Molnar [Wed, 23 May 2018 21:58:26 +0000 (14:58 -0700)]
MediaCodec: make setVideoScalingMode usable for IGBP-based clients
These don't get access to this internal parameter of native window,
yet require it for each buffer.
Bug:
79493409
Change-Id: Ib16e9af58b26c7b66a7e4bb466433fcee7b7d080
TreeHugger Robot [Wed, 23 May 2018 21:52:40 +0000 (21:52 +0000)]
Merge "Add FLAG_ACTIVITY_CLEAR_TOP to more details intent" into pi-dev
TreeHugger Robot [Wed, 23 May 2018 21:49:56 +0000 (21:49 +0000)]
Merge "DO NOT MERGE Allow cross user usage event queries" into pi-dev
Oscar Shu [Wed, 23 May 2018 21:47:44 +0000 (21:47 +0000)]
Merge "Proto change for new RSSI poll metric" into pi-dev
TreeHugger Robot [Wed, 23 May 2018 21:38:48 +0000 (21:38 +0000)]
Merge "Write UsageEvents Parcel data as a Blob" into pi-dev
Suprabh Shukla [Wed, 23 May 2018 01:02:37 +0000 (18:02 -0700)]
Unsuspending packages when a PO or DO is set
If a profile or device owner is present, package manager does not
support calls to PM#setPackagesSuspended. So if there were already
suspended packages, they need to be unsuspended when a PO or DO is
added.
Test: atest com.android.server.pm.SuspendPackagesTest
Bug:
79980390
Change-Id: Ib79d95ccc25eef534fdcd540d3d6ea75c31982a7
TreeHugger Robot [Wed, 23 May 2018 21:25:00 +0000 (21:25 +0000)]
Merge "DO NOT MERGE Fix bug when pressing the add user cancel button results in a black screen Test: Tested on Mojave Bug:
80187163 Change-Id: Ie46c228dea9de71b97a276f7e4f2d60fe98649b6" into pi-dev
Tracy Zhou [Wed, 23 May 2018 21:22:05 +0000 (14:22 -0700)]
Prevent onboarding counters from overflow.
We does not unregister the OverviewProxy inside RecentsOnboarding unless user has seen both onboarding tips. If the OverviewProxy does not get unregistered for good, whenever user swipes up from home, we increment the counter that's used to track number of times user has swiped up from home. Though it can be extremely rare, it can overflow.
Change-Id: I43e74b3634eacf3d12c2ce3de23135fdd1d83d24
Fixes:
80202086
Test: N/A
Todd Kennedy [Wed, 23 May 2018 19:39:24 +0000 (12:39 -0700)]
Use STOCK_PM_FLAGS for backup agent
When getting the application info for the backup agent, we need
to have any shared libraries in the returned object. Make it so.
Change-Id: I8122b4070394e8e9b7b9f5afeeb8af3805d3d21b
Fixes:
79248935
Test: Manual
Arthur Hung [Tue, 22 May 2018 06:00:42 +0000 (14:00 +0800)]
FixBug: Round corner gone when scroll to non-first item and drag to close
Add some notification and scroll to non-first item,
Then drag to close notification panel, the top round corner will become
rectangle corner.
Case 1: the round corner only in first item.
Case 2: the round corner cross first and second.
Bug:
80110795
Test: add notifications, scroll, drag to close
Test: atest SystemUITest
Change-Id: I64146ebd1e3b7d19fd5b466290fc9fd5de5b8d5d
Tony Huang [Fri, 18 May 2018 09:38:54 +0000 (17:38 +0800)]
Refactor for tuning gfx-max-frame-time-99
Because canvas.clipPath() is heavy operation for GPU, draw roundness
background on notification row which need clip. However, some case
still can not handle will use clipPath as current design
Bug:
71900748
Test: atest SystemUITests & SystemUiJankTests#testNotificationListScroll
Change-Id: Ibc776ebd2f0dce5db7a2eb953ee6fac1747dea5a
Lucas Dupin [Wed, 23 May 2018 20:15:19 +0000 (20:15 +0000)]
Merge "Only animate when the slice is actually animating" into pi-dev
Lucas Dupin [Wed, 23 May 2018 19:52:37 +0000 (12:52 -0700)]
SystemUI theme feature flag
Hide SystemUI theme under feature flag, this way we can enable it when
we're sure that all new strings were localized and the feature is ready
for prime time.
Bug:
63903361
Test: manual
Test: make RunSettingsRoboTests ROBOTEST_FILTER=SystemUiThemePreferenceControllerTest
Change-Id: I1093d414d951b71cab7cff10187c63bdd80eeee2
Andrew Chant [Wed, 23 May 2018 19:49:41 +0000 (19:49 +0000)]
Merge "Add new hardware reliability actions and fields" into pi-dev
TreeHugger Robot [Wed, 23 May 2018 19:45:05 +0000 (19:45 +0000)]
Merge "Populate mPackages with system pkg even if installed is better" into pi-dev
TreeHugger Robot [Wed, 23 May 2018 19:43:06 +0000 (19:43 +0000)]
Merge "Whitelist ResolveActivity for explicit instant intents" into pi-dev
Christine Franks [Wed, 23 May 2018 19:33:06 +0000 (19:33 +0000)]
Merge "Initialize color mode if set" into pi-dev
Stan Iliev [Wed, 23 May 2018 19:29:09 +0000 (15:29 -0400)]
Make sure frame buffer 0 is bound before calling GL functor
Make sure view port and frame buffer are set to the correct values
before calling GL functor (WebView) draw.
Improve correctness for stencil clip by doing a second flush that
guarantees the stencil clear will be executed after draw commands.
Bug:
79619253
Test: XFINITY Connect app draws correctly
Change-Id: Ieb3d0d70caf0469b6393e6287f8529cd86519301
Rob Carr [Wed, 23 May 2018 19:05:16 +0000 (19:05 +0000)]
Merge "Dismiss system-windows when opening assistant via voice." into pi-dev
Ajay Panicker [Wed, 23 May 2018 18:58:28 +0000 (18:58 +0000)]
Merge "Add field to set A2DP device volume on connect (1/2)" into pi-dev
Aarthi Balachander [Tue, 22 May 2018 01:12:25 +0000 (18:12 -0700)]
DO NOT MERGE
Fix bug when pressing the add user cancel button results in a black screen
Test: Tested on Mojave
Bug:
80187163
Change-Id: Ie46c228dea9de71b97a276f7e4f2d60fe98649b6
Hui Yu [Tue, 22 May 2018 21:01:22 +0000 (14:01 -0700)]
Fix per app GPS power usage.
After GPS power profile changed from a single value "gps.on" to a
"gps.signalqualitybased" array, we use the time gps stays in each
signal level to calculate the average gps power usage.
Bug:
79379255
Test: adb shell dumpsys batterystats, looking for "gps=" in per app
power usage section.
Change-Id: I93d17d5bd25324cc9f36a7a5502b088a44184621
TreeHugger Robot [Wed, 23 May 2018 18:46:47 +0000 (18:46 +0000)]
Merge "Wicked good battery saver + rotation icons!" into pi-dev
Chalard Jean [Wed, 23 May 2018 18:46:43 +0000 (18:46 +0000)]
Merge "Use CaptivePortalProbeSpec method in portal app" into pi-dev
Christine Franks [Tue, 15 May 2018 22:48:10 +0000 (15:48 -0700)]
Initialize color mode if set
ColorDisplayService doesn't start listening for changes until the end
of user setup, and color mode was previously unintialized at service
setup, so restored settings were ignored.
Bug:
79591550
Test: atest FrameworksServicesTest:ColorDisplayServiceTest
Change-Id: I00baed15e1248572d3dfd8f251dee7dc5a355a6c
Winson Chung [Wed, 23 May 2018 18:15:21 +0000 (18:15 +0000)]
Merge "Replace nav bar assets from png to vector drawables (1/2)" into pi-dev
Chalard Jean [Wed, 23 May 2018 17:59:59 +0000 (17:59 +0000)]
Merge "Fix: ConnectivityManager is initialized with a wrong context" into pi-dev
TreeHugger Robot [Wed, 23 May 2018 17:59:24 +0000 (17:59 +0000)]
Merge "Make the clock font a little thicker" into pi-dev
Eric Laurent [Mon, 21 May 2018 16:28:46 +0000 (09:28 -0700)]
Add field to set A2DP device volume on connect (1/2)
Add a field to setBluetoothA2dpDeviceConnectionStateInt() to allow
Bluetooth to set a volume for the new device when it connects.
Bug:
79529581
Test: Switch repeatedly between devices and see that the old volume isn't
used on the new device or the new volume isn't used on the old device.
Change-Id: I909fa3f40818c595fc977695fbfa1214f9a4de72
Makoto Onuki [Wed, 23 May 2018 17:21:29 +0000 (17:21 +0000)]
Merge "Make "am set-standby-bucket" reset active/working left time" into pi-dev
TreeHugger Robot [Wed, 23 May 2018 17:17:44 +0000 (17:17 +0000)]
Merge "Handle managed profile with unified challenge in getHashFactor()" into pi-dev
Patrick Baumann [Tue, 22 May 2018 22:34:38 +0000 (15:34 -0700)]
Populate mPackages with system pkg even if installed is better
System initialization relied on the system package living in mPackages
in order to build the expectingBetter map and successfully recover in
the case that we fail to scan / parse the updated APK. With this change
we properly populate mPackages in this scenario.
Test: manual - artificially force scan failure and reboot
Change-Id: Id86b579722bdfde8d4e660da3b680b0305a1d7e2
Fixes:
79428784
Fixes:
79360948
TreeHugger Robot [Wed, 23 May 2018 17:00:24 +0000 (17:00 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Wed, 23 May 2018 16:48:33 +0000 (16:48 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Wed, 23 May 2018 16:48:26 +0000 (16:48 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
Winson Chung [Wed, 23 May 2018 16:37:27 +0000 (16:37 +0000)]
Merge "Fix crash when creating overview proxy service from background thread" into pi-dev
Jeff Sharkey [Wed, 23 May 2018 16:30:25 +0000 (16:30 +0000)]
Merge "Last-ditch clamping of negative NetworkStats." into pi-dev
TreeHugger Robot [Wed, 23 May 2018 16:05:11 +0000 (16:05 +0000)]
Merge "Send broadcast to verifier" into pi-dev
TreeHugger Robot [Wed, 23 May 2018 15:24:23 +0000 (15:24 +0000)]
Merge "Avoid race condition when broadcasting device list changed." into pi-dev
Makoto Onuki [Tue, 22 May 2018 23:32:23 +0000 (16:32 -0700)]
Make "am set-standby-bucket" reset active/working left time
This is needed for manual testing the fix for b/
72443754.
Test: atest cts/tests/tests/app.usage/src/android/app/usage/cts/UsageStatsTest.java
Test: atest cts/tests/tests/batterysaving
Bug:
72443754
Change-Id: I13ac03917c0a5a08859c44930406e7a82ebf1a07
Makoto Onuki [Wed, 23 May 2018 15:13:54 +0000 (15:13 +0000)]
Merge "Avoid NPE in AM.getMyMemoryState()" into pi-dev
Evan Laird [Wed, 23 May 2018 15:10:29 +0000 (11:10 -0400)]
Wicked good battery saver + rotation icons!
Still drawing battery saver QS icon in code, though it's gaining some
hackery
Test: visual
Change-Id: Id773c036a5823dcb6c679fa0e6b649f26da4e017
Fixes:
80152065
TreeHugger Robot [Wed, 23 May 2018 14:35:29 +0000 (14:35 +0000)]
Merge "On orientation change, update rounded corners" into pi-dev
Petr Cermak [Wed, 23 May 2018 14:29:53 +0000 (15:29 +0100)]
Add FLAG_ACTIVITY_CLEAR_TOP to more details intent
This ensures that the more details activity displays information about
the correct app.
Change-Id: I0c0f71fff32c2c1c5f4597c8a4eab90ec54409ca
Fixes:
80070434
Test: manually verified
Rubin Xu [Wed, 23 May 2018 13:27:53 +0000 (14:27 +0100)]
Handle managed profile with unified challenge in getHashFactor()
Settings passes null into getHashFactor() when a profile user has
unified challenge. In this case getHashFactor() needs to derive the real
profile password before it can calculate the hash factor.
Bug:
80077655
Test: runtest frameworks-services -c com.android.server.locksettings.SyntheticPasswordTests
Change-Id: Ifa1d88818b58f914fd3560bb6ef44012facde87b
Remi NGUYEN VAN [Wed, 23 May 2018 14:26:39 +0000 (14:26 +0000)]
Merge "Add configurable captive portal probes" into pi-dev
Nicolas Geoffray [Wed, 23 May 2018 14:15:20 +0000 (15:15 +0100)]
Add camera APIs to light grey.
bug:
79935371
Test: m
Change-Id: I14ef699eda8de053cfdda9b6d2678192f9c21d9a
TreeHugger Robot [Wed, 23 May 2018 14:15:25 +0000 (14:15 +0000)]
Merge "WM: Prevent secondary display focus while keyguard is up" into pi-dev
Julia Reynolds [Wed, 23 May 2018 13:56:07 +0000 (13:56 +0000)]
Merge "Change notification interruption calculation" into pi-dev
Julia Reynolds [Mon, 21 May 2018 18:11:43 +0000 (14:11 -0400)]
DO NOT MERGE Allow cross user usage event queries
For multipackage requests, caller must be system uid or hold
interact_across_users if not requesting fate for the same user.
For single package requests, caller must be system uid or the
same package and hold interact_across_users if not requesting data
for the current user.
In both cases the caller must have the usagestats permission.
Test: couldn't find automated tests for this file; manual
Bug:
79142791
Change-Id: I8d650f8e875e0e4578cb48c9ba42e821342852a0
Beverly [Tue, 15 May 2018 18:40:47 +0000 (14:40 -0400)]
On orientation change, update rounded corners
When rotating landscape/seascape/upsidedown, the 'top' and 'bottom'
corners are in the correct place
Change-Id: I19858ca42939d81911c5f45bd80d163d0c22eee9
Fixes:
79163187
Test: manual, ScreenDecorationsTest
Annie Meng [Wed, 23 May 2018 13:22:01 +0000 (13:22 +0000)]
Merge "Fix NPE in restoring network policies" into pi-dev
Adrian Roos [Tue, 22 May 2018 14:56:35 +0000 (16:56 +0200)]
WM: Prevent secondary display focus while keyguard is up
Fixes an issue where input intended for the keyguard could end up going
to a different display.
To prevent this, make sure that only the default display can get focused
when the keyguard is showing.
Change-Id: I6463c44aedca06930d2c9bda7c45ffd93141308c
Fixes:
71786287
Test: atest DisplayContentTests
Alison Cichowlas [Wed, 23 May 2018 12:39:55 +0000 (12:39 +0000)]
Merge "Set static Dependency ref after all the Deps are set up." into pi-dev
Michael Wright [Wed, 23 May 2018 12:39:34 +0000 (12:39 +0000)]
Merge "Uncanonicalize URIs before comparing them." into pi-dev
TreeHugger Robot [Wed, 23 May 2018 12:25:28 +0000 (12:25 +0000)]
Merge "Limit number of notification etc dots to 1" into pi-dev
Jorim Jaggi [Wed, 23 May 2018 12:01:38 +0000 (12:01 +0000)]
Merge "Only apply wallpaper anim if top most app is wallpaper target" into pi-dev
Jorim Jaggi [Wed, 23 May 2018 12:01:15 +0000 (12:01 +0000)]
Merge "[WindowManager] Perform relayout after hiding-window animation" into pi-dev
Remi NGUYEN VAN [Tue, 22 May 2018 08:04:17 +0000 (17:04 +0900)]
Use CaptivePortalProbeSpec method in portal app
This only changes behavior if the EXTRA_CAPTIVE_PORTAL_PROBE_SPEC extra
is passed, which only happens if extra probe specs have been defined in
settings.
Bug: b/
79499239
Test: manual: on 2 different portals, works w/ and w/o the setting
Change-Id: I70acfd9213bf620cbb79ad999b8ad03472e8d43f
Remi NGUYEN VAN [Tue, 22 May 2018 01:01:53 +0000 (10:01 +0900)]
Add configurable captive portal probes
The probes allow testing for a configurable status code and location
header (regexes). They are disabled by default, so this CL is a
no-op unless the probe configurations are pushed.
Bug: b/
79499239
Test: tests in CL pass, manual: captive portal login works
Change-Id: I785723aaed06054b9aa8ebff77803f23d7836db9
Bill Yi [Wed, 23 May 2018 11:34:15 +0000 (04:34 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I37c44d9cddded200016a5e61b8739ccf0b33693e
Remi NGUYEN VAN [Wed, 23 May 2018 10:39:46 +0000 (10:39 +0000)]
Merge "Use AI_ADDRCONFIG for most DNS requests" into pi-dev
TreeHugger Robot [Wed, 23 May 2018 10:27:28 +0000 (10:27 +0000)]
Merge "Fixup SntpClient to bypass Private DNS" into pi-dev
Bill Yi [Wed, 23 May 2018 09:48:51 +0000 (02:48 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I85b178508c84cebb20aa94617295b7a73cbaf28e
Sanry Huang [Wed, 23 May 2018 07:39:27 +0000 (07:39 +0000)]
Merge "Fix User unable to view the keyboard input" into pi-dev
sanryhuang [Fri, 18 May 2018 07:57:43 +0000 (15:57 +0800)]
Fix User unable to view the keyboard input
revert extracted mode solution and using commandQueue to implement
setRemoteInputActive
Test: manual test
Test: atest
Change-Id: I82c63843dd38c19c1f88af15abcc137be4f72c83
Fixes:
73275201
Bill Yi [Wed, 23 May 2018 07:30:01 +0000 (00:30 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I716180822e327616fcdf37facadf16a75d5d59c9
Erik Kline [Tue, 22 May 2018 12:15:49 +0000 (21:15 +0900)]
Fixup SntpClient to bypass Private DNS
NTP may be necessary in order to validate Private DNS certificates,
so it should be allowed to bypass Private DNS.
Test: as follows
- built, flashed, booted
- tcpdump for port 53; adb shell am restart
queries for the NTP hostname appear in the clear
- runtest frameworks-net passes
Bug:
64133961
Bug:
80118648
Change-Id: Id9ceb3fcaaffb48cbbd4cd381d48cae991572c9e