OSDN Git Service
Jeff Sharkey [Tue, 9 Apr 2019 20:51:31 +0000 (20:51 +0000)]
Merge "Define a category for "file management" apps." into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 20:44:49 +0000 (20:44 +0000)]
Merge "Add a list to track unfinished tasks and dumpStackTraces" into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 20:42:36 +0000 (20:42 +0000)]
Merge "Removed log spam from the Zygote." into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 20:29:24 +0000 (20:29 +0000)]
Merge "Don't use noteop for preflight checks" into qt-dev
Todd Kennedy [Tue, 9 Apr 2019 20:20:49 +0000 (20:20 +0000)]
Merge "OMS: add internal tests" into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 20:18:03 +0000 (20:18 +0000)]
Merge "Make sure APN type ALL does not include types that are not wild cardable" into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 19:56:25 +0000 (19:56 +0000)]
Merge "Lock more of the things" into qt-dev
Mathieu Chartier [Tue, 9 Apr 2019 19:54:39 +0000 (19:54 +0000)]
Merge "Add two classes to blacklist" into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 19:31:45 +0000 (19:31 +0000)]
Merge "Allow wallpapers and IMEs to get location if needed" into qt-dev
Hui Yu [Tue, 2 Apr 2019 23:19:12 +0000 (16:19 -0700)]
Add a list to track unfinished tasks and dumpStackTraces
Previously exception message only prints unstarted tasks in the thread
pool. We also want to know the started but unfinished tasks. Add an
array list mPendingTask to track all unfinished tasks.
Also dumpStackTraces() so we can tell why the task in the threadpool
failed to finish on time.
This will help us to find root cause of IllegalStateException in
SystemServerInitThreadPool.shutdown().
Bug:
128928718
Test: Reboot device, adb logcat | grep SystemServerInitThreadPool. Force
a task to sleep for 30 seconds, observe IllegalStateException with
unfinished task printed and stack traces is dumped in a ANR file.
Change-Id: I98ba86e58ae1f2e1ab2b3f8ea3724c6b70a796eb
TreeHugger Robot [Tue, 9 Apr 2019 18:20:54 +0000 (18:20 +0000)]
Merge "SurfaceControl: Fix captureLayers JNI" into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 18:20:34 +0000 (18:20 +0000)]
Merge "Remove pending callback from AttentionManager" into qt-dev
Chad Brubaker [Tue, 9 Apr 2019 02:19:48 +0000 (19:19 -0700)]
Don't use noteop for preflight checks
Test: apps don't show as accessing location on start
Fixes:
130187488
Change-Id: Iacd7edbadab64f43229b5d6f8056bb076c4f280c
TreeHugger Robot [Tue, 9 Apr 2019 18:14:24 +0000 (18:14 +0000)]
Merge "Fix Display White Balance color temperature on enable" into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 18:04:42 +0000 (18:04 +0000)]
Merge "Update AppCompacted Action enum." into qt-dev
Nathan Harold [Tue, 9 Apr 2019 18:03:31 +0000 (18:03 +0000)]
Merge changes from topic "tdscdma-rscp" into qt-dev
* changes:
Fix getLevel for CellSignalStrengthTdscdma
Rename LevelCalculationMethod Constant
Dmitry Dementyev [Tue, 9 Apr 2019 17:55:13 +0000 (17:55 +0000)]
Merge "Check that Account Parcel has name and type." into qt-dev
Anil Admal [Tue, 9 Apr 2019 17:54:21 +0000 (17:54 +0000)]
Merge "Change SUPL network request parameters for requestRouteToHostAddress" into qt-dev
SongFerng Wang [Tue, 9 Apr 2019 17:53:43 +0000 (17:53 +0000)]
Merge "notifyUserMobileDataStateChangedForPhoneId does not set mUserMobileDataState." into qt-dev
Daniel Solomon [Mon, 8 Apr 2019 21:30:51 +0000 (14:30 -0700)]
Fix Display White Balance color temperature on enable
Currently the ambient-to-display color temperature spline is applied to
all color temperature values, including the placeholder value -1.0 that
is used when DWB is first enabled. When this happens, display color
temperature is first set to its lowest value, and is then set to a
meaningful value when the sensor updates its first reading. This
behavior is incorrect.
To fix this, check for a valid color temperature value
before applying the spline.
Bug
130137407
Test: manual
Change-Id: I67a06504e499411fd34e05569e9cd0cbc9f81df1
Julia Reynolds [Mon, 8 Apr 2019 18:42:53 +0000 (14:42 -0400)]
Lock more of the things
Specifically, access to PackagePreferences
Test: atest
Bug:
129444912
Change-Id: Ia2ff46fff433333c76f0898a68b9230dcfb253ee
Adam He [Tue, 9 Apr 2019 17:37:07 +0000 (17:37 +0000)]
Merge "Added documentation to note onDisconnected() should not make calls to their respective managers." into qt-dev
Mathieu Chartier [Tue, 9 Apr 2019 16:53:55 +0000 (09:53 -0700)]
Add two classes to blacklist
Added these classes to prevent initialization of AsyncTask since
initializing AsyncTask may cause memory leaks.
Bug:
130206915
Test: make
Test: look at classes initialized during preloading
Change-Id: I6bacbbdf61d8a782d88debc29d9f0ca29d273888
Chris Wailes [Mon, 8 Apr 2019 22:52:40 +0000 (15:52 -0700)]
Removed log spam from the Zygote.
This patch removes several debugging log messages. These messages were
useful when the `FDs to ignore` list was usually empty, but with the
addition of USAPs this has become spammy.
(cherry picked from commit
da0a9cd05c4e2860c91e2ac31285526c041a5b85)
Test: Build
Bug:
130172109
Change-Id: Id166990a63f20efb3bf6ffd5b697efd436d50921
Merged-In: Id166990a63f20efb3bf6ffd5b697efd436d50921
TreeHugger Robot [Tue, 9 Apr 2019 17:17:01 +0000 (17:17 +0000)]
Merge "AudioService: add scheduleLoadSoundEffects" into qt-dev
Xiangyu/Malcolm Chen [Tue, 9 Apr 2019 17:13:35 +0000 (17:13 +0000)]
Merge "Add comments in grouping APIs to clarify possible exceptions." into qt-dev
Alex Salo [Sat, 6 Apr 2019 21:57:30 +0000 (14:57 -0700)]
Remove pending callback from AttentionManager
a) PendingCalback -> CurrentCallback + isDispatched + isFufilled
b) Simplify the cancellation logic. Only AttentionService should issue
specific failure codes, Manager should only issue "CANCELLED" if can't
reache the service
Bug:
111939367
Test: manually verified the demo worked, working on both CTS and unit
tests
Change-Id: Ief63b01a958bd67badd4d7ed8df9749baabb16f4
TreeHugger Robot [Tue, 9 Apr 2019 16:29:53 +0000 (16:29 +0000)]
Merge "Tweaked the rounded corners when turning off" into qt-dev
Winson Chung [Tue, 9 Apr 2019 15:35:58 +0000 (15:35 +0000)]
Merge "Ensure VoiceInteractionManagerService updates the assistant setting" into qt-dev
Jeff Sharkey [Tue, 9 Apr 2019 15:23:48 +0000 (09:23 -0600)]
Define a category for "file management" apps.
We already have a nice collection of CATEGORY_APP_* constants that
can be used to identify classes of apps. This change expands that
list to discover file management apps, such as DocumentsUI.
Bug:
130215653
Test: none
Change-Id: I9b5016676ca1526074ba876675f14bf814ea4c09
Jorim Jaggi [Tue, 9 Apr 2019 15:09:05 +0000 (15:09 +0000)]
Merge "Ensure stack bounds are set for most animations" into qt-dev
Aaron Heuckroth [Tue, 9 Apr 2019 15:04:09 +0000 (15:04 +0000)]
Merge "Increase character limit on GlobalActions bugreport string." into qt-dev
Robert Carr [Tue, 9 Apr 2019 14:42:02 +0000 (07:42 -0700)]
SurfaceControl: Fix captureLayers JNI
Missed a call-point in last refactoring.
Bug:
130211665
Test: Manual
Change-Id: I43fa93eea7d79f5b773497e3bb65750866eca2cb
TreeHugger Robot [Tue, 9 Apr 2019 14:42:31 +0000 (14:42 +0000)]
Merge "Sharesheet - Add support for sunshine" into qt-dev
SongFerngWang [Tue, 9 Apr 2019 09:29:29 +0000 (17:29 +0800)]
notifyUserMobileDataStateChangedForPhoneId does not set mUserMobileDataState.
notifyUserMobileDataStateChangedForPhoneId does not set mUserMobileDataState.
Bug:
128510330
Test: build pass
Change-Id: I5db6329ce4699cca8d79a827c36f7f61a4fa8f92
Merged-In: I5db6329ce4699cca8d79a827c36f7f61a4fa8f92
(cherry picked from commit
1b3134c5140a87ea8242989b73a470d901a8913b)
Mårten Kongstad [Thu, 3 May 2018 08:48:35 +0000 (10:48 +0200)]
OMS: add internal tests
Add unit tests for OMS internal components. These are different from the
OMS public API tests [that reside in core/tests/overlaytest].
Also, fix typo in OverlayInfo#toString.
Bug:
119443459
Test: atest FrameworksServicesTests:com.android.server.om
Change-Id: Icbee70800de5157a1804e0c96101f31c0bad2619
TreeHugger Robot [Tue, 9 Apr 2019 13:39:29 +0000 (13:39 +0000)]
Merge "Address leftover comments on aosp/894233" into qt-dev
Narayan Kamath [Tue, 9 Apr 2019 13:34:30 +0000 (13:34 +0000)]
Merge "Shell: Grant CACHE_CONTENT to Shell" into qt-dev
Charles Chen [Tue, 9 Apr 2019 12:23:12 +0000 (12:23 +0000)]
Merge "Fix TaskPositionerTests" into qt-dev
Jorim Jaggi [Mon, 8 Apr 2019 16:58:29 +0000 (18:58 +0200)]
Ensure stack bounds are set for most animations
...as otherwise rounded corners don't work. Also, ensure that we
only set rounded corners if a crop is set.
Test: WindowAnimationSpecTest
Test: Task switch animation
Fixes:
129062310
Change-Id: I9fea6a520cccf1ccf2aea3f57a4ce0dda3852779
Chalard Jean [Mon, 8 Apr 2019 11:28:44 +0000 (20:28 +0900)]
Address leftover comments on aosp/894233
Cherry-pick from commit
415f523f7ce4c7e33fa70ea003f265e5b53faa20,
with small conflict resolution.
Bug:
129510344
Test: m, boots, wifi connects, resolves DNS
Change-Id: Idf24f42a86bbfcc89e3ea8cf50d1b705d72ac613
Merged-In: Idf24f42a86bbfcc89e3ea8cf50d1b705d72ac613
Merged-In: Ia08104f839ef37139a8761e2e625bb10c94c275f
Chalard Jean [Fri, 5 Apr 2019 07:38:21 +0000 (16:38 +0900)]
Move the latest AIDL update to the bottom
Test: m
Bug:
128803828
Change-Id: I3818eb8abb5a410663a6da633d5516cef4ecad8e
(cherry picked from commit
45ff048d40f1b0b9ff6ff1e1b19dafc4488c82a0)
Matt Pietal [Thu, 4 Apr 2019 17:44:36 +0000 (13:44 -0400)]
Sharesheet - Add support for sunshine
Set apps/targets to be visually disabled when in suspended state. Do
not auto launch when the only app is suspended.
Bug:
112553778
Test: Manually inspect colors on app suspension
Change-Id: Ief9faba831c4f3676f02f84b0174b74d4103f940
Chiachang Wang [Tue, 9 Apr 2019 11:52:54 +0000 (11:52 +0000)]
Merge "Move data stall definitions out from Setting" into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 11:10:00 +0000 (11:10 +0000)]
Merge "Sharesheet: Rank the first N apps, then show the rest alphabetically." into qt-dev
Lorenzo Colitti [Tue, 9 Apr 2019 10:25:10 +0000 (10:25 +0000)]
Merge "Fix ConnectivityServiceTest fail." into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 10:22:19 +0000 (10:22 +0000)]
Merge "DynamicSystem string review followup" into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 10:21:39 +0000 (10:21 +0000)]
Merge "Add a mechanism to pass the L2Key and group hint to IpClient" into qt-dev
Ben Murdoch [Tue, 9 Apr 2019 10:00:53 +0000 (11:00 +0100)]
Update AppCompacted Action enum.
We added two new types of compaction: PERSISTENT and BFGS. These
are already plumbed through to statsd, but we should update the
proto.
(see I20af99e1932c262272388e99b79d12e8f10a1e07)
Test: statsd_testdrive 115
Bug:
119988524
Change-Id: Idae68693e16392e3ab025781e09daeb1e9de5359
TreeHugger Robot [Tue, 9 Apr 2019 09:16:02 +0000 (09:16 +0000)]
Merge "Fix NPE in ActivityRecord" into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 09:15:02 +0000 (09:15 +0000)]
Merge "Fix flaky UdpEncapsulationSocket test" into qt-dev
paulhu [Thu, 4 Apr 2019 07:57:26 +0000 (00:57 -0700)]
Fix ConnectivityServiceTest fail.
NetdService#getInstance() will get null object in
WrappedConnectivityService constructor. Then pass this null
INetd object to PermissionMonitor will case NPE in
PermissionMonitor#sendPackagePermissionsToNetd()
Bug:
128024100
Test: atest FrameworksNetTests
Change-Id: Ia1c80f9600a19c4aaf3f3c1b497b355d96c49c8e
Merged-In: I7f185e731db91c30a9b0f14aefbdbb067942190e
Merged-In: Ic77ef73841266da487401ffd657ef63562b6fc1e
(cherry picked from commit
7d215078521ea03bbd692364e882d02ad065ced0)
Narayan Kamath [Mon, 8 Apr 2019 16:32:33 +0000 (17:32 +0100)]
Shell: Grant CACHE_CONTENT to Shell
Required to test ContentResover#[get|put]Cache
Bug:
127711435
Test: atest CtsContentTestCases
Change-Id: I5eb72772a0a35897611dd6db95c68a2d2e971e9a
Lorenzo Colitti [Tue, 9 Apr 2019 08:46:12 +0000 (08:46 +0000)]
Merge "Extend support for requestRouteToHostAddress for backward compatibility" into qt-dev
Lorenzo Colitti [Tue, 9 Apr 2019 08:39:22 +0000 (08:39 +0000)]
Merge "Don't leak captive portal broadcast receivers." into qt-dev
Chiachang Wang [Mon, 8 Apr 2019 11:06:21 +0000 (19:06 +0800)]
Move data stall definitions out from Setting
From mainline perspective, we should use android flag api
instead of using Settings. Thus, move the definitions into
NetworkStack.
Bug:
120013793
Test: atest NetworkStackTests SettingsBackupTest
Change-Id: I8e1fb5b47fff3bf624131ba1f5732daabd991e6d
Chalard Jean [Fri, 15 Mar 2019 14:10:40 +0000 (23:10 +0900)]
Add a mechanism to pass the L2Key and group hint to IpClient
Test: IpClientTest
Bug:
128803828
Change-Id: I399b20ce29a385a74971b7a7248a48cb4d66deb6
(cherry picked from commit
3cab290648a0a0f6e5f6c64c2225b3661aabba2f)
Charles Chen [Fri, 29 Mar 2019 07:18:45 +0000 (15:18 +0800)]
Fix NPE in ActivityRecord
This issue happened when we get null ActivityRecord.
Add a null check to prevent.
Also fix typo in ActivityStack.
Test: atest ActivityRecordTest
Fix:
129485624
Change-Id: I93b7dda1577b34f58fb5daed201404de4cfbad2e
Anil Admal [Mon, 8 Apr 2019 19:36:02 +0000 (12:36 -0700)]
Extend support for requestRouteToHostAddress for backward compatibility
The gnss@2.0 HAL and the framework GNSS Location Provider code is
updated in Q to not call the deprecated requestRouteToHost() method.
However, devices upgrading to Q which are still using gnss@1.1 or
earlier HAL must continued to be supported.
Fixes:
121222025
Test: Tested with gnss@1.1 HAL and first API level P. The
ConnectivityService log message "This method exists only for
app backwards compatibility and must not be called by system
services" is not present for devices with first API level P.
Change-Id: I10199776ea413dc256dbf0771e6cb3eedb334495
Merged-In: Ifa60d8f2d60aba4c4e2894dc612c224d45e3992d
Merged-In: Ifa4ec98d5c942522dfd569664f169fa841d495ed
(cherry picked from commit
2eea7ac272431b6e02a0a281207b981b01daf393)
Lorenzo Colitti [Thu, 4 Apr 2019 16:18:29 +0000 (09:18 -0700)]
Fix flaky UdpEncapsulationSocket test
This commit reduces the flakiness of the
testOpenAndCloseUdpEncapsulationSocket by retrying up to three times.
Unfortunately, testing port-selected socket creation is racy against
other applications. This helps to handle the same race condition as done
in IpSecService#bindToRandomPort
Bug:
128024100
Test: 200x runs of testOpenAndCloseUdpEncapsulationSocket
Change-Id: I7e036ce821019dbac6c50899bd0894e89d2fe82a
Merged-In: Idf040a67e53d9b9ec6e6c647ce24f8ada501d355
Merged-In: Iad9aea4b42cd8b31a5a2659bb9cb54dd1c64e8b7
(cherry picked from commit
614ab3dd4e49e9b664f5065983fb9067148fef12)
Lorenzo Colitti [Mon, 8 Apr 2019 19:31:01 +0000 (12:31 -0700)]
Disable InetDiagSocketTest in a better way.
Test: treehugger
Bug:
124354087
Bug:
128024100
Change-Id: I3048625a2507e70402ce376e7208f58cdf5ddfba
Merged-In: I3d8cebec00dde7d0b61469f36887cd5afface043
Merged-In: I1fcb9ca292777fb017e9108a3e12cffba87e1985
(cherry picked from commit
2373c8a129feb562a7893722b9ffa0bf905a4472)
Lorenzo Colitti [Thu, 4 Apr 2019 08:51:30 +0000 (01:51 -0700)]
Temporarily disable InetDiagSocketTest.
This test is too flaky to run in presubmits.
Bug:
124354087
Test: atest InetDiagSocketTest
Change-Id: I90bc52a6f5b92d634862e3464634dfdbd3cada6a
Merged-In: Ic580b9261e0d556ec10f92ddffd8f2766e25f424
Merged-In: Ide5ac3f5316c4671b17fb9486ac56fc5feaf7b08
(cherry picked from commit
fdc03bab0be653e1f64e51adb6449f34d795ef6a)
Po-Chien Hsueh [Mon, 1 Apr 2019 02:40:51 +0000 (10:40 +0800)]
DynamicSystem string review followup
Some changes to follow string review suggestions:
- Simplify some messages.
- Replace 'Reboot' with 'Restart'.
- Notification action button order: 'Restart' button on the right.
Bug:
129100345
Test: verified with test app
Change-Id: I1ee97b0adbf74add68d3561fc647dc4923ee7237
Lorenzo Colitti [Tue, 9 Apr 2019 04:35:03 +0000 (21:35 -0700)]
Don't leak captive portal broadcast receivers.
Since aosp/937885, mLaunchCaptivePortalAppBroadcastReceiver is
nulled out, but not unregistered, when exiting MaybeNotifyState.
This causes the BroadcastReceiver to be leaked because it is no
longer unregistered when processing CMD_NETWORK_DISCONNECTED.
Fix this by unregistering the receiver in MaybeNotifyState#exit.
Also remove the unregister call in CMD_NETWORK_DISCONNECTED: it
is no longer necessary, because StateMachine, before quitting,
will call the exit method of the current state and all its
parent states.
Bug:
122164725
Test: atest FrameworksNetTests NetworkStackTests
Change-Id: I447b3cfd3821dda19482ed962dd59ec61fc5fc9b
Merged-In: I1db24fe05ada8b3a37a9a60aa568b6153bf51ad8
(cherry picked from commit
3a1c0ad3eee7830d808106649052dd7430e34f92)
TreeHugger Robot [Tue, 9 Apr 2019 05:34:11 +0000 (05:34 +0000)]
Merge "Fix InsetsSourceConsumer visibility" into qt-dev
Philip P. Moltmann [Tue, 9 Apr 2019 05:34:01 +0000 (05:34 +0000)]
Merge changes from topic "AlwaysExpandLocationQ" into qt-dev
* changes:
Do not modify location perms on upgrade
Only update permissions of one app
Remi NGUYEN VAN [Tue, 9 Apr 2019 05:16:29 +0000 (05:16 +0000)]
Merge "Add common tests for FrameworksBaseTests and CTS" into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 04:45:30 +0000 (04:45 +0000)]
Merge "Respect the hardware buffer usage flags set by the consumer." into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 04:35:20 +0000 (04:35 +0000)]
Merge "Remove custom lifecycle transitions for onNewIntent callback" into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 04:20:19 +0000 (04:20 +0000)]
Merge "Fixed IFillCallback to be oneway calls." into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 04:17:40 +0000 (04:17 +0000)]
Merge "Create ThemeOverlayController in SystemUI." into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 03:10:37 +0000 (03:10 +0000)]
Merge "Adds annotations in response to API feedback." into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 02:22:26 +0000 (02:22 +0000)]
Merge "Increase string limits" into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 02:17:06 +0000 (02:17 +0000)]
Merge "[SettingsLib] Display WPA2/WPA3-Personal for WPA2/WPA3 transition mode networks" into qt-dev
Selim Cinek [Tue, 9 Apr 2019 02:07:15 +0000 (19:07 -0700)]
Tweaked the rounded corners when turning off
The rounded corners now decrease with the x of the turn off
animation to give it a slightly less blobby feel.
Fixes:
129771535
Test: manual, turn on and off the screen
Change-Id: I1756749198632b05ee358b565d99b765a4950042
TreeHugger Robot [Tue, 9 Apr 2019 02:06:17 +0000 (02:06 +0000)]
Merge "Fixes crash due to assigning service before linking death recipient." into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 01:35:07 +0000 (01:35 +0000)]
Merge "Add new config config_supportsInsecureLockScreen." into qt-dev
Malcolm Chen [Thu, 4 Apr 2019 01:39:21 +0000 (18:39 -0700)]
Add comments in grouping APIs to clarify possible exceptions.
Bug:
127408608
Test: cts, unittest, TelephonyManagerTestApp
Change-Id: I3671e366be7e8c3a75b5ee23b7cf88a33ecd3a4f
Ching-Sung Li [Wed, 3 Apr 2019 07:45:35 +0000 (15:45 +0800)]
DO NOT MERGE Add feature flag for PixelLiveWallpaper dogfood in Settings
Add feature flag (settings_pixel_wallpaper_category_switch) in developer
option for PixelLiveWallpaper's dogfood user to turn downloadable Live
wallpaper's category on or off. Expected expiration on: 2019/07/31.
Bug:
128962566
Test: Manual check this feature flag in developer option
Change-Id: Ie9d9180605cf92cf5618999d5a76f4fd87875859
Rob Carr [Tue, 9 Apr 2019 00:45:22 +0000 (00:45 +0000)]
Merge "Careful with screenshots containing secure layers!" into qt-dev
Dmitry Dementyev [Mon, 8 Apr 2019 23:13:21 +0000 (16:13 -0700)]
Check that Account Parcel has name and type.
Bug:
129287265
Test: manual
Change-Id: I8431eb27cc4c6dfd3048b28ff635474f14433308
TreeHugger Robot [Tue, 9 Apr 2019 00:26:44 +0000 (00:26 +0000)]
Merge "[SettingsLib] Fix WPA2 security type string" into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 00:19:24 +0000 (00:19 +0000)]
Merge "Fix StatusBarWifiView applying the wrong wifi icon" into qt-dev
Amith Yamasani [Fri, 5 Apr 2019 23:29:30 +0000 (16:29 -0700)]
Allow wallpapers and IMEs to get location if needed
Wallpapers and Input Methods are bound by the system
and are only brought up to BFGS, which is insufficient
for getting foreground location. Add the required
flag to the bindService call to allow the bound process
to reach FGSL when visible.
Same for VoiceInteractionServices
Bug:
117494189
Test: Manually enable a wallpaper that needs location and
verify it gets location.
atest CtsAppTestCases:ActivityManagerProcessStateTest
Change-Id: I6767e1f480e5b3d6e33864dabd9cb167df4846f5
TreeHugger Robot [Tue, 9 Apr 2019 00:11:36 +0000 (00:11 +0000)]
Merge "Document runtime exception being thrown on afs.getFillEvents()." into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 00:04:04 +0000 (00:04 +0000)]
Merge "Remove Notification atom" into qt-dev
Alison Cichowlas [Wed, 3 Apr 2019 21:43:22 +0000 (17:43 -0400)]
Sharesheet: Rank the first N apps, then show the rest alphabetically.
Bug:
126566208
Test: atest ChooserListControllerTest
Change-Id: I4277a28cc7ad8a1f08c9a08ec018726161e5d596
(cherry picked from commit
363ed278fb0e7b8b46dff785dded957bd0230791)
Andrew Sapperstein [Mon, 8 Apr 2019 23:45:26 +0000 (16:45 -0700)]
Adds annotations in response to API feedback.
Fixes:
126699535
Test: is annotation change
Change-Id: Iba61b36386db78e568a5dfc5720646904c75b989
Ilya Matyukhin [Mon, 8 Apr 2019 23:53:33 +0000 (16:53 -0700)]
Increase string limits
Test: build
Fixes:
129897985
Fixes:
129900239
Fixes:
129899596
Fixes:
129899595
Fixes:
129900235
Change-Id: I426ac94b171d617733adc86db131f9e030ac6284
Winson Chung [Mon, 8 Apr 2019 23:26:03 +0000 (16:26 -0700)]
Ensure VoiceInteractionManagerService updates the assistant setting
- Trigger the role changed callback manually when initializing the
voice interaction manager in case the role handler changed prior to
registering the listener. In addition, ensure that we query for all
packages regardless of current locked state.
Bug:
130126913
Test: Wipe device, restart and ensure that the assistant setting is set
(adb shell setting get secure assistant)
Change-Id: I170189d9fd5177108c62c486e93b35a3a32af48c
TreeHugger Robot [Mon, 8 Apr 2019 23:26:19 +0000 (23:26 +0000)]
Merge "Fix brightness icon in theme pack." into qt-dev
TreeHugger Robot [Mon, 8 Apr 2019 23:18:59 +0000 (23:18 +0000)]
Merge "Pass runMax = 1 to stop unnecessary itemization" into qt-dev
Nathan Harold [Wed, 3 Apr 2019 03:37:26 +0000 (20:37 -0700)]
Fix getLevel for CellSignalStrengthTdscdma
For backwards compatibility (and because it's the
correct choice anyway), getLevel() should
use RSCP as the default signal strength calculation.
-Remove the unused RSSI level constants
-Add RSCP level constants and update the calculation.
Bug:
128369744
Test: atest CellSignalStrengthTdscdmaTest
Merged-In: Ia388a872ee6a0c02b74046aef1f04b0b4cf59130
Change-Id: Ia388a872ee6a0c02b74046aef1f04b0b4cf59130
(cherry picked from commit
c2b359a1a790065c004c5e4c793a9c4058c37d66)
Nathan Harold [Wed, 3 Apr 2019 01:30:12 +0000 (18:30 -0700)]
Rename LevelCalculationMethod Constant
Rename sLevelCalculationMethod to use all
caps because it's a constant.
Bug:
8675309
Test: compilation
Merged-In: I4d5ee54c389f912a229bfd2aa7b1daf37f30b803
Change-Id: I4d5ee54c389f912a229bfd2aa7b1daf37f30b803
(cherry picked from commit
3869cd640313497428b21831b93803efe430273f)
Adam He [Fri, 5 Apr 2019 23:37:23 +0000 (16:37 -0700)]
Document runtime exception being thrown on afs.getFillEvents().
Fixes:
128029710
Test: atest CtsAutoFillServiceTestCases
Change-Id: I65936671e5d12a5c6b597bd6f4c7c97cd66f0b95
Amin Shaikh [Mon, 8 Apr 2019 20:17:46 +0000 (16:17 -0400)]
Fix StatusBarWifiView applying the wrong wifi icon
This was introduced in ag/
6935095.
Fixes:
130164218
Test: mp sysuig; toggle wifi on and off
Change-Id: I8b945d777bc6f410943494c98c83cd89766c1e4d
Howard Ro [Mon, 8 Apr 2019 01:43:34 +0000 (18:43 -0700)]
Remove Notification atom
There's no logging implmentation of Notification atom, therefore
removing it.
Bug:
130183311
Fix:
130183311
Test: make statsd
Change-Id: Ibd4b552fd4f81026401e394079526c5d1bf7bdae
TreeHugger Robot [Mon, 8 Apr 2019 22:28:08 +0000 (22:28 +0000)]
Merge "Fixing edge swipe region not updating on device rotation" into qt-dev
Robert Carr [Tue, 2 Apr 2019 21:18:56 +0000 (14:18 -0700)]
Careful with screenshots containing secure layers!
For purposes of the screen rotation animation the system server is allowed
to capture secure (not protected) layers and trusted not to persist screenshots
which may contain secure layers. However when displaying the screen rotation animation,
the layer the screenshot is placed on will itself not be secure, so if we record
the animation the recording will contain persisted versions of the secure content. Make sure
we use the new API from SurfaceFlinger to set FLAG_SECURE if our screenshot contains secure
content.
Bug:
69703445
Test: Transaction_test#SetFlagsSecureEuidSystem
Change-Id: I1b016fb1ad56eccd712442a71cc134e5fa3b1ac6
Hai Shalom [Mon, 8 Apr 2019 22:08:19 +0000 (15:08 -0700)]
[SettingsLib] Display WPA2/WPA3-Personal for WPA2/WPA3 transition mode networks
Settings display WPA3-Personal in Network details dialog for WPA2/WPA3
networks in transition mode. Need to add simple logic to detect transition
mode networks and display type correctly. No need to make other changes
other than the UI as the underlying framework would still connect to WPA3
network only.
Bug:
130181491
Test: Connect to transtion mode network, verify WPA2/WPA3-Personal
Test: Connect to WPA3 only network, verify WPA3-Personal
Test: Connect to WPA2 only network, verify WPA2-Personal
Change-Id: I9812b2a421990ef067ed77e8595d7daf37a72c30