474172 Commits

Author SHA1 Message Date
Hyunyoung Song
b3a298d4af Merge "Flatten LauncherUIChanged / Migrate Launcher Workspace snapshot data" into rvc-dev 2020-04-09 08:03:36 +00:00
Charles Chen
5c082c998f Merge "Fix WindowContext leak" into rvc-dev 2020-04-09 07:39:29 +00:00
Anton Hansson
ae47be49fd Merge "Don't specify sdk_version for stubs" into rvc-dev 2020-04-09 07:32:14 +00:00
Anton Hansson
0793d81bae Merge "Don't specify sdk_version for stubs" into rvc-dev 2020-04-09 07:31:16 +00:00
Yvonne Jiang
eb31eb5bae Merge "Fix secondary lock screen implementation such that DevicePolicyKeyguardService calls are made on the main (UI) thread." into rvc-dev 2020-04-09 07:26:48 +00:00
Paul Hu
305c46de82 Merge "Address aosp/1274403 leftover comment" into rvc-dev 2020-04-09 06:40:31 +00:00
TreeHugger Robot
04d2f143cd Merge "Remove kAtomsWithUidField from atoms_info" into rvc-dev 2020-04-09 05:57:24 +00:00
Tony Huang
0bbb7efe26 Fix split task position behavior when landscape
On nav bar 2/3 key mode and device landscape, the top task should
always opposite to nav bar, so top task location should be right
when seascape and left when landscape.

On gesture nav mode, because the nav bar always locate bottom so
keep it behavior.

Bug: 150990456
Test: Use each gesture mode and enter split mode then check it
Change-Id: Ia46f765c43c947350ee4970ea86aa9a0d707ad7d
2020-04-09 13:57:21 +08:00
TreeHugger Robot
aa63edd33f Merge "Fix inverted ANR log message" into rvc-dev 2020-04-09 05:27:42 +00:00
TreeHugger Robot
0350a0c4ec Merge "Use full bounds if fixed aspect ratio does not apply" into rvc-dev 2020-04-09 05:25:53 +00:00
TreeHugger Robot
8de63f171c Merge "Documenting the way LOADER_USAGE_STATS permission work." into rvc-dev 2020-04-09 05:24:34 +00:00
TreeHugger Robot
8213773bc9 Merge "More setStorageParams improvements." into rvc-dev 2020-04-09 05:24:34 +00:00
Louis Chang
d73abe2bbf Determine if the activity is the topmost one
ActivityStack#mTopActivityOccludesKeyguard may be
incorrectly updated by a non-top activity.

Bug: 149837574
Test: start emergency dialer from lockscreen
Change-Id: I830e572f008cbebb95f0d76416c70d948063dd97
2020-04-09 05:20:58 +00:00
Jeffrey Huang
d7fda53855 Send puller registration signal to statsd
Bug: 153384066
Test: m -j
Change-Id: Idd2465d52e6720d7bce26ecc7998721b9d9790e3
2020-04-08 22:20:41 -07:00
Heemin Seog
d307dceba5 Merge "Generalize notifications logic into a subclass of OverlayViewController" into rvc-dev 2020-04-09 05:17:54 +00:00
Hyunyoung Song
0ff10a4a4a Flatten LauncherUIChanged / Migrate Launcher Workspace snapshot data
Bug: 137777105
Bug: 144953948

Test: builds

Change-Id: I55b5e952cdd2579cae1ec85b6f90949c8ccd40f8
2020-04-08 22:03:08 -07:00
Vishnu Nair
9eb672e5a9 Add an API to set layer trace flags
This will be used by FlickerTests to capture composition state
in SurfaceFlinger trace.

Test: atest FlickerLibTest:LayersTraceMonitorTest
Fixes: 153563549

Change-Id: I3d09196ced43a1b0bac811e8f458c28be4e44992
2020-04-09 04:04:46 +00:00
Alex Buynytskyy
7255a0c0f3 Documenting the way LOADER_USAGE_STATS permission work.
Bug: b/152633648
Test: documentation
Change-Id: Ic15d9bd4631588e65200c008bd720d26437ccccd
2020-04-08 20:25:48 -07:00
Jeff Sharkey
de7f060772 Merge "Offer a NOTIFY_NO_DELAY flag for notifications." into rvc-dev 2020-04-09 03:14:42 +00:00
Alex Buynytskyy
119de1fb2a More setStorageParams improvements.
Using proper AppOp name: loader_usage_stats

Bug: b/152633648
Test: atest PackageManagerShellCommandTest PackageManagerShellCommandIncrementalTest IncrementalServiceTest
Test: adb shell appops set 1000 LOADER_USAGE_STATS deny
Change-Id: I199476ce29c81836c5402577ac225450cc5c9c82
2020-04-08 20:07:22 -07:00
TreeHugger Robot
466397c4e9 Merge "wifi(jar-jar): Jar-jar HIDL stubs to a separate namespace" into rvc-dev 2020-04-09 02:33:58 +00:00
TreeHugger Robot
0fcab06f80 Merge "Fix an issue that setMaxSuggestions(-1) throws unexpectedly" into rvc-dev 2020-04-09 02:23:23 +00:00
Paul Hu
bade48b1b7 Address aosp/1274403 leftover comment
Bug: 152828142
Test: atest EntitlementManagerTest

Change-Id: I81f2d268c9f26bc4488b06032477a73d071f73f8
Merged-In: I81f2d268c9f26bc4488b06032477a73d071f73f8
(cherry picked from commit 9fe0a868e909a4cd1c1c63bf981441f1b9128890)
2020-04-09 02:13:32 +00:00
Ruchir Rastogi
ffa34f05cf Remove kAtomsWithUidField from atoms_info
Instead of using the map from atoms_info, we now receive uid information
in the form of StatsEvent annotations. The isUid annotation is exposed
from both LogEvent and FieldValue.

Test: bit statsd_test:*
Test: atest GtsStatsdHostTestCases
Bug: 150414601
Change-Id: Iebbe4ce5668de1ab91485daa1be9197cde6e8309
2020-04-08 19:09:33 -07:00
Steven Thomas
288c434f34 Merge "Add acquireFrameRateFlexibilityToken permission comment" into rvc-dev 2020-04-09 01:08:40 +00:00
Heemin Seog
df741ac850 Generalize notifications logic into a subclass of OverlayViewController
Bug: 147826363
Test: manual, atest OverlayPanelViewControllerTest
Change-Id: Ifad23f6ff639390077301eafa737fea8517a48d9
2020-04-08 17:22:00 -07:00
TreeHugger Robot
a23f461e1b Merge "Fix initialization bug in LocationRequest" into rvc-dev 2020-04-09 00:21:02 +00:00
Brad Ebinger
31774ae752 Add new @hide API to pass call direction changes through Telecom
Bug: 153277327
Test: atest TelecomUnitTests
Change-Id: Icad12c4144bf185c24ee80bcbdd1aec29550bf4e
2020-04-08 17:08:10 -07:00
xshu
dc958c946b Add Strings for enhanced MAC randomization dev option
Bug: 151983183
Test: compile
Change-Id: I4296718832d43ac3058b20c9d489c221833fd107
2020-04-08 17:05:30 -07:00
TreeHugger Robot
721bf68ba6 Merge "Fix registering PiP transition calback in PipManager multiple times" into rvc-dev 2020-04-09 00:00:44 +00:00
TreeHugger Robot
58de85c41e Merge "Revert "Fix exception handling in getState() binder cache"" into rvc-dev 2020-04-08 23:58:45 +00:00
Yuncheol Heo
5d62e75560 Move multi window mode to the caller.
Bug: 153576019
Test: Checks if Maps will move into the ActivityView when Home is pressed (in AAOS)
Change-Id: I040bf008a2f41130d6f118f359c9cefffb5acfc4
2020-04-08 16:43:52 -07:00
TreeHugger Robot
ffce5f2b7c Merge "Make OPSTR_MANAGE_EXTERNAL_STORAGE test API" into rvc-dev 2020-04-08 23:21:23 +00:00
Makoto Onuki
a868d701d7 Enhance exception message on SQLiteCantOpenDatabaseException
Bug: 150248286
Test: atest CtsDatabaseTestCases
Change-Id: I39f7a3516dfbe0198b1ef5f68af1265df98c5a0a
2020-04-08 16:19:42 -07:00
Jon Spivack
0d106018db ApexManager: Allow blocking Binder calls
When ApexManager switched from using ServiceManager.getService to using Binder.waitForService to retrieve apexservice, it lost the call to Binder.allowBlocking that was inside getService. Since ApexManager currently makes several synchronous binder calls, this call is needed to avoid Log.wtf()s.

Bug: 153360345
Test: atest ApexManagerTest
Change-Id: I6016477b20754a6dc0f31588bae4e679f08a1ba2
2020-04-08 16:17:28 -07:00
Hui Yu
3b1110b170 Document process capability in AppOps.md.
Bug: 153581565
Test: NA
Change-Id: I3c42cf5022c0e7e5b008570fdc656260bb13475f
2020-04-08 16:12:21 -07:00
Christine Tsai
5205e14500 Merge "statsd unit test and benchmark refactor" into rvc-dev 2020-04-08 23:09:17 +00:00
TreeHugger Robot
ae34fd76ff Merge "Prevent SystemCaptionsManagerService init from blocking unlockUser" into rvc-dev 2020-04-08 23:07:04 +00:00
TreeHugger Robot
127d9b632f Merge "PIP: Start consulting TaskOrganizer for bounds instead of framework." into rvc-dev 2020-04-08 23:03:35 +00:00
Roshan Pius
21eb629baa wifi(jar-jar): Jar-jar HIDL stubs to a separate namespace
This is statically linked by the wifi service, so should be jar-jar'ed
out to a separate namespace to avoid other components in system_server
calling our copy of the stubs.

Bug: 151475926
Test: Device boots up and connects to wifi networks.
Change-Id: I79247b72a3b5f6dabf38c3cb9705fb5ca0aa729f
2020-04-08 16:02:14 -07:00
TreeHugger Robot
fdcbfb8c77 Merge "Better test for setStorageParams." into rvc-dev 2020-04-08 23:00:45 +00:00
Sungsoo Lim
1be609a3a8 Merge "Require permission for changing system routes" into rvc-dev 2020-04-08 22:55:26 +00:00
Goven Liu
bbdfb53c26 Merge "[Wi-Fi] Use getUriHelpString() result to judge if show the Openroaming help button." into rvc-dev 2020-04-08 22:37:35 +00:00
Jeff Sharkey
9d475e958d Offer a NOTIFY_NO_DELAY flag for notifications.
We've heard reports that some ContentProviders are sensitive to their
notifications being delayed, so this change adds a NOTIFY_NO_DELAY
flag that they can use to bypass any background delays.

Bug: 149370968
Test: none
Change-Id: I0465c8dee92cd5708c04035bc0396ce2d1083f67
2020-04-08 16:32:41 -06:00
TreeHugger Robot
8fc6e456b2 Merge "Delete BubbleTouchHandler in favor of more traditional touch handling." into rvc-dev 2020-04-08 22:10:06 +00:00
Kweku Adams
5439133550 Drop down late RARE prediction into RESTRICTED.
When an app hasn't been used in a long time (long enough for it to have
naturally time out into the RESTRICTED bucket) and a prediction service
anticipates that an app will not be used anytime soon (by predicting the
app into the RARE bucket), then we drop the app into the RESTRICTED
bucket in such a way that the prediction service can bring it back out
at the appropriate time.

Bug: 153567783
Test: atest FrameworksServicesTests:AppIdleHistoryTests
Test: atest FrameworksServicesTests:AppStandbyControllerTests
Change-Id: I0ec846a6d1bc8e254cabe6a9b504f4cae071def8
2020-04-08 14:56:46 -07:00
Evan Laird
ccf5c5eff7 Track NotificationEntry creation time
Notification updates from system server always give us a new
Notification that has a new `when` field therefore we don't know when
the initial notification was posted.

Test: atest SystemUITests
Bug: 144324894
Change-Id: I2464e2ef924e3074227337ad7143694d7e283ec7
2020-04-08 17:48:49 -04:00
Jordan Liu
1486437ad2 Implement #equals in Geometries subclasses
Bug: 148482334
Test: atest CbGeoUtilsTest
Change-Id: Ifc9aeaf378ac3221fc25690ed6ce33108cf2f56f
2020-04-08 14:42:02 -07:00
Nathan Harold
9ec1a993c6 Add warning about TelephonyManager Reliability
Add a warning that TelephonyManager methods may not behave
in a consistent way on devices that do not implement
FEATURE_TELEPHONY.

Methods may succeed, may fail loudly, may silently fail, depending
on underlying device support and manufacturer-specific decisions.
When FEATURE_TELEPHONY is not declared, CTS does not enforce any
particular behavior.

Bug: 150006590
Test: compilation (docstring-only change)
Change-Id: I80f5031a43ccc8e5af97d341cf00e48afb80f63a
2020-04-08 14:37:16 -07:00
Nadav Bar
173cbede02 Prevent SystemCaptionsManagerService init from blocking unlockUser
Test: Manually, verified that service starts and that wall time is
shorter in traces.
Bug: 151331469
Change-Id: Idce6597c9b3fa0c72d65335bb44f854dbb677d5a
2020-04-08 21:23:51 +00:00