Commit Graph

473463 Commits

Author SHA1 Message Date
junyulai
dba7d0ae89 [SP26.2] add a method in NetworkStats that removes empty entries
In current design, entries with zeros are preserved after
addition/subtraction. These entries are not very useful
and lead to difficulty of verifying the result of
addition/subtraction.

However, change the behavior in the original NetworkStats
is considered risky in current stage.

Thus, this change provide a function that could remove these
empty entries in tests.

Test: atest FrameworksNetTests
Bug: 152827872
Bug: 150644692

Change-Id: I40a76935d55712b8083ee1e17e137a8a4ef5e029
Merged-In: I40a76935d55712b8083ee1e17e137a8a4ef5e029
(cherry picked from commit 6c7bef3064)
2020-04-06 02:18:50 +00:00
Minche Li
e56cb5c0fb Merge "Adds system service dump for the fullscreen magnification region" into rvc-dev 2020-04-06 02:12:44 +00:00
Alex Johnston
bb5e6b49a7 Merge "Changed how user restrictions are pushed to UM" into rvc-dev 2020-04-05 21:15:26 +00:00
Vinit Nayak
673533f64f Merge "Draw a fake home handle during QuickSwitch" into rvc-dev 2020-04-05 20:45:14 +00:00
TreeHugger Robot
9cea19d887 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-04-05 17:06:01 +00:00
Andrii Kulian
a48a5a5697 Merge "5/n Add support for multiple task display areas" into rvc-dev 2020-04-05 16:40:16 +00:00
TreeHugger Robot
bcfd8fcc17 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-04-05 16:34:35 +00:00
TreeHugger Robot
3d5a78eab2 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-04-05 16:26:05 +00:00
Stanislav Zholnin
03aa32160d Merge "Add AppOpEnum field to represent op_id in RuntimeAppOpAccess atom." into rvc-dev 2020-04-05 13:35:03 +00:00
Stanislav Zholnin
2758c6a056 Merge "Extend sampling to packages targeted below R." into rvc-dev 2020-04-05 13:32:59 +00:00
Bill Yi
f2467ae3fb Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: If84d0750466cb4450ef9323e3814e2b1c8052f2e
2020-04-04 23:15:59 -07:00
TreeHugger Robot
f6edbe55fd Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-04-05 06:13:28 +00:00
TreeHugger Robot
0870ae08bb Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-04-05 06:00:38 +00:00
Bill Yi
86f42a9811 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: Iab883181a423a559f8878a55ceb83594a2211a33
2020-04-04 22:39:23 -07:00
Bill Yi
ec4e6e03cc Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: Ice9e0b6e224183109c789927bfe2ce8f99ccf47b
2020-04-04 21:27:09 -07:00
Bill Yi
9c0d11cbb2 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I8eef41a13445c1463d2cd7789b8c375deedb1d97
2020-04-04 21:08:18 -07:00
Bill Yi
7b24712e27 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: Iadc96e91eeeb4abb332ef43f05703857154d4cd9
2020-04-04 20:13:33 -07:00
Vinit Nayak
63e92bc00b Draw a fake home handle during QuickSwitch
If the app user quick switches to is of a
different orientation than that of previous
app, draw a home handle in the previous
orientation so user knows they can continue
swiping there.

Fixes: 150250451
Test: QuickSwitched between apps of different
orientation and saw that it home handle is
drawn in old orientation.

Change-Id: I743e7d3d31b250124c402bed203b3b37c8cfeb26
2020-04-05 03:07:01 +00:00
Jooyung Han
6a4a96c74c Merge "Add min_sdk_version:R to updatable apexes" into rvc-dev 2020-04-05 00:14:36 +00:00
Winson Chung
17849976da Merge "Keep task hidden until task appeared" into rvc-dev 2020-04-04 18:06:04 +00:00
TreeHugger Robot
4c29b73bcb Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-04-04 15:55:25 +00:00
TreeHugger Robot
3c5ee83dc2 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-04-04 15:40:32 +00:00
TreeHugger Robot
5da7dcb103 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-04-04 15:31:35 +00:00
TreeHugger Robot
ed2603d8c4 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-04-04 15:23:28 +00:00
Bill Yi
c100b0aec3 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I1651a2f2b002b0a79ee9cc89fe32af32a29c5b11
2020-04-04 06:04:36 -07:00
Bill Yi
57149655ec Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I81bb9887b655f6048fc44147c86c2f531d9f438a
2020-04-04 05:46:02 -07:00
Bill Yi
c810821090 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I8c50d0a55a821101149b68ab7b4e3b2e018e30d3
2020-04-04 04:34:04 -07:00
Bill Yi
460331bf93 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: Iaa5043ce8f19a57e81be3bfac857bce13140de14
2020-04-04 03:17:09 -07:00
TreeHugger Robot
f7de5edb2f Merge "Added blur added in the restart dialog" into rvc-dev 2020-04-04 07:40:34 +00:00
TreeHugger Robot
d884a80dd6 Merge "Moved IPC call off of main thread." into rvc-dev 2020-04-04 07:10:35 +00:00
TreeHugger Robot
3fc58ee5d5 [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev am: 79f352382f -s ours
am skip reason: subject contains skip directive

Change-Id: I264e7f319225cb1cd21c3913e67bff50f32adb8c
2020-04-04 06:00:11 +00:00
TreeHugger Robot
fdfb7e85a2 [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev am: 126cf6690e -s ours
am skip reason: subject contains skip directive

Change-Id: I29c5d92958187335dfeb6d2ba10770af1d72b3b0
2020-04-04 05:59:15 +00:00
TreeHugger Robot
d3e541eb03 Merge "iorap_functional_test: Add iorap function test." into rvc-dev 2020-04-04 05:43:12 +00:00
TreeHugger Robot
79f352382f Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev 2020-04-04 05:40:10 +00:00
TreeHugger Robot
126cf6690e Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev 2020-04-04 05:37:33 +00:00
TreeHugger Robot
4e83de27c2 Merge "Make state_option top-level boolean annotations" into rvc-dev 2020-04-04 05:13:01 +00:00
Stanislav Zholnin
26141c3fb2 Extend sampling to packages targeted below R.
Test: manual verification
Bug: 143519689
Change-Id: I0fefd46552fa9d8a34ef78161c1a13c60419de26
2020-04-04 06:07:25 +01:00
TreeHugger Robot
48079ba38c Merge changes Id15887ff,I78262baa into rvc-dev
* changes:
  AF: Clear the existing response for the partition on a new request.
  AF: Fix bug where Session#setViewStatesLocked doesn't clear response.
2020-04-04 04:32:10 +00:00
Alex Buynytskyy
ab0a32e6ba Merge "Disallow read logs collection if user changes their mind." into rvc-dev 2020-04-04 04:02:06 +00:00
TreeHugger Robot
7bfa49bf27 Merge "BluetoothMidi test: test encoder and decoder" into rvc-dev 2020-04-04 03:46:15 +00:00
Jing Ji
b7bca21ba9 Merge "Multiply the total memory by mem_unit" into rvc-dev 2020-04-04 03:45:38 +00:00
TreeHugger Robot
43bc020fc0 Merge "Only apply VPN isolation if it's fully routed" into rvc-dev 2020-04-04 03:44:46 +00:00
TreeHugger Robot
27b4fb4c9f Merge "add westworld log to global actions" into rvc-dev 2020-04-04 03:44:35 +00:00
Raff Tsai
6944511300 Merge "Add name space settings_stats" into rvc-dev 2020-04-04 03:18:04 +00:00
Winson Chung
cbd8793a44 Keep task hidden until task appeared
- If the task is previously not visible or has no visible children at
  the point when we start controlling it in the task org, hide the task
  until we send taskAppeared to ensure that the task org can reparent
  and show it otherwise we could see a flash of the task.

  This happens mainly from two cases:
  - when starting a new task with a given win mode, we show it and wait
    for first draw before notifying the task org
  - when transitioning into pip from swipe up, the activity is hidden
    and when it requests to enter pip is made visible again

  Since we are hiding the task w/ the pending transaction, we also need
  to defer all task org callbacks until that's applied to ensure proper
  lifecycle of the calls.
- Also skip app transitions for task org tasks for now

Bug: 152809695
Bug: 152134460
Test: Open a bubble, ensure that we don't see the task in fullscreen
      first.  Enter pip, ensure that we don't see flash of the task
      before SysUI can fade it in.
Test: atest PipAnimationControllerTest
Test: atest TaskOrganizerTests
Test: atest SplitScreenTests

Change-Id: If51e98cd007faef35e99acd31b27b20eebbea010
2020-04-03 19:59:05 -07:00
TreeHugger Robot
0732acfb5e [automerger skipped] Merge "Don't crash if NSSL gets incomplete gesture" into qt-qpr1-dev am: 025baaca78 -s ours
am skip reason: Change-Id I22182d90b0057df67fbd6d20785da23d6c17dcf3 with SHA-1 c8048daed2 is in history

Change-Id: I0d5375b98bac66de51cfe1a5398ca591f3a31562
2020-04-04 02:41:58 +00:00
Bill Yi
ff31536aca Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I033c4759b70bbf29777d4267e2dc728ab9b58e6f
2020-04-03 19:23:26 -07:00
TreeHugger Robot
025baaca78 Merge "Don't crash if NSSL gets incomplete gesture" into qt-qpr1-dev 2020-04-04 02:23:18 +00:00
Bill Yi
33df27420f Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: Ie681fba26516cd915d05a130602139804b13e893
2020-04-03 18:53:57 -07:00
Ahaan Ugale
7b5982b6e7 AF: Clear the existing response for the partition on a new request.
Once a new Request is in flight, we probably don't want to display the
old responses.

This prevents a VIEW_ENTERED flow from displaying the suggestions
(either as a dropdown or as inline chips) if there is a pending request
for the same partition. Thus fixing a bug where the suggestions may be
rendered twice - once from the VIEW_ENTERED update and again from the
Fill Request succeeding (see http://b/152620157#comment7). An example of
how this may occur:
1. User taps on a View that previously showed suggestions.
2. App manually triggers autofill, which issues a new fill request.
3. The Session is updated with VIEW_ENTERED (due to (1)).
Session#requestShowInlineSuggestionsLocked returns false because of the
pending request. The system fallsback to drawing the dropdown UI.
4. FillRequest from (2) completes. This hides the dropdown and shows
inline chips.

An alternative is to exit the VIEW_ENTERED flow when there's a pending
request for the same view. This should also fix the bug, but is no
longer necessary with the current fix. The advantage of the current
approach is that the VIEW_ENTERED update logic and the request logic are
less coupled.

Fix: 152620157
Test: manual
Test: atest android.autofillservice.cts
Change-Id: Id15887ffdf28d0a3ea32e1f68ffd81f994f93187
2020-04-03 18:46:27 -07:00