Commit Graph

365589 Commits

Author SHA1 Message Date
TreeHugger Robot
2fbdb17cd3 Merge "Fixed autofill forged package check to only compare the package name." into pi-dev 2018-04-19 03:10:35 +00:00
Felipe Leme
43857fad9b Fixed autofill forged package check to only compare the package name.
Otherwise, it will log false negatives when app launches a new activity in the
same autofill session. Example:

04-18 19:34:32.392  5423  7199 W AutofillSession: Activity ComponentInfo{com.netgear.WiFiAnalytics/com.netgear.WiFiAnalytics.WiFiAnalyticsWifiRoomSignal} forged different component on AssistStructure: ComponentInfo{com.netgear.WiFiAnalytics/com.netgear.WiFiAnalytics.WiFiAnalyticsWifiAnalyzerTab}

Fixes: 78235438
Bug: 69981710
Test: manual verification, cannot be CTS tested.
Test: CtsAutoFillServiceTestCases

Change-Id: I0408cd159c2be22841a1f6c36a4a2c17e59a6219
2018-04-19 01:56:03 +00:00
TreeHugger Robot
08a2028228 Merge "Implement swipe up and quick scrub onboarding" into pi-dev 2018-04-19 01:16:20 +00:00
TreeHugger Robot
0a16178660 Merge "Reducing the touch slop for quickstep" into pi-dev 2018-04-19 01:04:45 +00:00
TreeHugger Robot
b2097fcab6 Merge "No AppStandby tracking of non existent packages and add parole window" into pi-dev 2018-04-19 00:16:08 +00:00
TreeHugger Robot
4d5d3a0254 Merge "Added more documentation for dialogMessage" into pi-dev 2018-04-19 00:13:13 +00:00
Tracy Zhou
27599053d5 Implement swipe up and quick scrub onboarding
Bug: 70180942
Test: manual test
Change-Id: I5c487d1e4ab800450c6b5a8f7ad1bf7434e45904
2018-04-18 17:08:27 -07:00
TreeHugger Robot
df173b59f6 Merge "Rely on tile state for on/off a11y announcement." into pi-dev 2018-04-18 23:53:11 +00:00
TreeHugger Robot
90903ac28b Merge "Switch user only if the user is changed" into pi-dev 2018-04-18 23:48:19 +00:00
Tim Murray
a5843ebb59 Merge "ActivityManagerService: add restricted cpuset" into pi-dev 2018-04-18 23:43:53 +00:00
TreeHugger Robot
3071522227 Merge "Make Instrumentation more robust to other inputs" into pi-dev 2018-04-18 23:43:15 +00:00
Sunny Goyal
c5ac711385 Reducing the touch slop for quickstep
Also fxing some wrong thresholds being used for slop comparisions

Test: Verified on device
Bug: 78232923
Change-Id: I0b10a921002f2e45d0d2472a3e690d1526f4aecb
2018-04-18 16:41:02 -07:00
TreeHugger Robot
29f6a3fefd Merge "Ignore mkdirs requests if CE storage not available." into pi-dev 2018-04-18 23:37:38 +00:00
Suprabh Shukla
3e03ab9312 Added more documentation for dialogMessage
Added explanation that callers can use a format string which takes a
single argument which is the name of the suspended app that the user
tried to launch.

Test: make docs

Bug: 77507744
Change-Id: I0a5259048332030385265ceab9c7d76766abac7d
2018-04-18 16:01:29 -07:00
TreeHugger Robot
069c5b58b0 Merge "Dump IOmxStore" into pi-dev 2018-04-18 22:44:01 +00:00
Michael Wachenschwanz
113a0fa35a No AppStandby tracking of non existent packages and add parole window
Disallow attempts to change standby bucket of nonexistent packages.
Also, add a parole window for idle apps. When parole for idle apps is
ready to be set, check that there is network availabilty. If there is
none, wait for network or the end of the parole window before setting
parole.

Change-Id: I7b8786f59b8da76325f2591cc7b1f86753d52d7b
Fixes: b/71857185
Fixes: b/74345840
Test: atest android.app.usage.cts.UsageStatsTest#testIgnoreNonexistentPackage
Test: manual (enable DEBUG and COMPRESS_TIME in AppStandbyController)
2018-04-18 15:21:32 -07:00
Ryan Mitchell
b2182c412c Merge "AAPT2: Modified StringPool uniqueness detection #2" into pi-dev 2018-04-18 21:54:47 +00:00
TreeHugger Robot
2ee3ef0511 Merge "Set default reference ID" into pi-dev 2018-04-18 21:50:40 +00:00
TreeHugger Robot
b4cef2a588 Merge "Add setMin for A11y stream slider bar." into pi-dev 2018-04-18 21:22:04 +00:00
y
4602926f83 AAPT2: Modified StringPool uniqueness detection #2
b/77862560 detected that when converting an apk to binary using aapt2,
all resource ids of attributes that have been replaced with resource
identifiers become set to the identifier of the first attribute. This is
because the attribute names are all empty because the names are not necessary
since the resource ids are present. The empty attribute names all map to
the same string pool reference and cause all the ids to be the first
empty string into the string pool.

The ag/3897499 approach to fix the specified bug was extremely inefficient
and caused hour long builds. This change takes advantage of the multimap
data structure to do lookups efficiently.

Bug: 77862560
Test: Converted apk in listed bug from proto to binary and observed
correct resource ids and correct badging. Also built the Android tree to
check for regressions in build time.

Change-Id: I27a9ee4ffbed8b9ff6f238ad315cdf87b588947c
2018-04-18 20:58:50 +00:00
TreeHugger Robot
a194a6bee3 Merge "add dump report reason to reports" into pi-dev 2018-04-18 20:35:29 +00:00
Chenjie Yu
e36018b272 add dump report reason to reports
+ also change uidmapping version numbers to int64_t

Bug: 78132855
Change-Id: Iac7ea93e4bf651bd65bd03383e7ab4971af4fc29
Fix: 78132855
Test: gts test
2018-04-18 20:19:21 +00:00
TreeHugger Robot
3d0ff90649 Merge "Add carrier config for partial sms raw message expiration." into pi-dev 2018-04-18 20:15:16 +00:00
Jason Monk
e96443e5a7 Make Instrumentation more robust to other inputs
Test: atest cts/tests/app/src/android/app/cts/InstrumentationTest.java
Change-Id: I2d55274ab19c4687ce85c086f2da61a4316b8096
Fixes: 70720100
2018-04-18 15:43:50 -04:00
Winson Chung
a3a1e8ad79 Merge "Prevent early onEnterAnimationComplete callback for recents target" into pi-dev 2018-04-18 19:35:53 +00:00
Winson Chung
5513302b43 Merge "Fix regression in assist data fetching and canceling" into pi-dev 2018-04-18 19:34:21 +00:00
TreeHugger Robot
654cd3a226 Merge "Use config_longPressVibePattern as heavy click fallback." into pi-dev 2018-04-18 19:31:26 +00:00
jiabin
9058c7f469 Add setMin for A11y stream slider bar.
Since the volume of accessiblity will not go to 0, add setMin for A11y
stream slider in case it goes to 0 in volume panel.

Bug: 72403580
Test: Add log in onProgressChanged and check A11y stream won't go to 0.
Change-Id: Ie8c88c8a40fad4d281997922df8acb8f446288c7
2018-04-18 12:24:37 -07:00
TreeHugger Robot
3a958d3fce Merge "Ensure QS does not expand when qs disabled." into pi-dev 2018-04-18 19:23:40 +00:00
TreeHugger Robot
a2f4dd1cfd Merge "Serialize key eviction vs. user storage preparation" into pi-dev 2018-04-18 19:12:36 +00:00
TreeHugger Robot
eb432b1092 Merge "Record timestamp when brightness tracker is called" into pi-dev 2018-04-18 19:09:25 +00:00
Rob Carr
3ef2d6d9d8 Merge "ViewRoot: Ensure we release surface from setWindowStopped." into pi-dev 2018-04-18 18:59:43 +00:00
TreeHugger Robot
f0cbbff692 Merge "Don't apply corner cutout insets if we're already inset enough" into pi-dev 2018-04-18 18:48:53 +00:00
TreeHugger Robot
3148dbf80d Merge "ActivityManagerService: ensure updateOomAdjLocked gets called early" into pi-dev 2018-04-18 18:48:48 +00:00
TreeHugger Robot
6fc7e38bbe Merge "Don't consider resources < 0 as invalid" into pi-dev 2018-04-18 18:33:36 +00:00
Jeff Sharkey
56487413b7 Merge "Grant notification Uri permissions as sending app." into pi-dev 2018-04-18 18:18:48 +00:00
TreeHugger Robot
3091d60a70 Merge "Add AccountManager key rotation awareness." into pi-dev 2018-04-18 18:14:34 +00:00
TreeHugger Robot
af52d9815a Merge "Add setting for GNSS location request update duration" into pi-dev 2018-04-18 18:10:04 +00:00
Kenny Guy
2b326bfd92 Record timestamp when brightness tracker is called
Associate the brightness slider event timestamp with
the time the tracker is called rather than when
the background handler handles the call.

Bug: 78224086
Test: atest BrightnessTrackerTest
Change-Id: I083fdcc10f223ab7398911d9cb63dca5d8681fc4
2018-04-18 18:54:30 +01:00
Shuo Qian
e116dcc57c Merge "Revert "Remove the OEM hook implementation and usage"" into pi-dev 2018-04-18 17:50:31 +00:00
Michael Wright
d39cbecb40 Use config_longPressVibePattern as heavy click fallback.
Rather than using the regular click effect as the fallback, use the long
press pattern since heavy click is the new effect for long press. This
also lets us distinguish the two effects in the configuration.

Bug: 77863933
Test: long-press on something, feel the effect
Change-Id: Ie22d064cbdd2d33702180cb528d743e75ff8ae63
2018-04-18 18:42:41 +01:00
Todd Kennedy
fbcf208191 Don't consider resources < 0 as invalid
The only invalid resource ID is '0'. All other resource IDs are
valid; even negative resource IDs.

With the introduction of namespaces in AAPT2, resource IDs start with
0x80, 0x81, ... [ie. because Java only supports signed types, they are
considered negative]. For app transition animations negative resource
IDs were incorrectly considered "invalid".

Change-Id: I24032baa54860459d4f1b8e17a80c760c48d5579
Fixes: 70716301
Test: Manual. Run multi-split APK and see that transition animations work when defined in a split
2018-04-18 17:28:44 +00:00
TreeHugger Robot
73f8361354 Merge "Fixes no vibration on old nav bar" into pi-dev 2018-04-18 17:27:33 +00:00
Todd Kennedy
1d63cc3b6d Set default reference ID
The reference ID may not be set [when the reference ID is 0x00], so,
we need to ensure it has a proper default value; instead of garbage

Change-Id: Ie1bcf062fbb1aab5832cf210f68b24732af5dc3b
Fixes: 74389717
Test: Run gReader and see that it doesn't crash
2018-04-18 10:25:45 -07:00
TreeHugger Robot
e3b59d6376 Merge "Revert "Fix "Screen is pinned" dialog not showing completely in multi-window"" into pi-dev 2018-04-18 17:25:00 +00:00
Tracy Zhou
04497dde2f Revert "Fix "Screen is pinned" dialog not showing completely in multi-window"
This reverts commit be26707695.

Reason for revert: Caused regression in b/77976945

Fixes: 77976945
Bug: 73513388

Change-Id: I8c83a823d7421563ea5a2eab2e20cb2b06ec6068
2018-04-18 17:24:47 +00:00
TreeHugger Robot
32643c6644 Merge "Fix issue #74248644: Swiping away task increments start ID of running services" into pi-dev 2018-04-18 17:21:11 +00:00
TreeHugger Robot
2abcea2b8a Merge "Fix merge isolated uid to host uid" into pi-dev 2018-04-18 17:07:13 +00:00
Amin Shaikh
3468e5a016 Rely on tile state for on/off a11y announcement.
Do not include on/off in QS tile content descriptions.

Change-Id: I10ddeb6c56f99fe4dad3eaaa98a56cafba68be9f
Fixes: 78171152
Test: manual
2018-04-18 12:58:01 -04:00
TreeHugger Robot
27cd1f7e20 Merge "Fix a tiny bug in NetworkScanRequest" into pi-dev 2018-04-18 16:52:34 +00:00