TreeHugger Robot
53bf259a7a
Merge "Fix confusion of userId vs. uid"
2020-08-12 09:21:17 +00:00
TreeHugger Robot
e08171e881
Merge "Fix "null" toast when FillCallback.onFailure(null) called." into rvc-qpr-dev am: 906ec8897e am: 7d77f1e7d2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12279991
Change-Id: I99a95e1d95143fb5b791602c8def964633792d81
2020-08-12 08:56:54 +00:00
TreeHugger Robot
7d77f1e7d2
Merge "Fix "null" toast when FillCallback.onFailure(null) called." into rvc-qpr-dev am: 906ec8897e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12279991
Change-Id: I63f90c2cd18af251b645e5484c29a07dbb81ee94
2020-08-12 08:38:35 +00:00
TreeHugger Robot
906ec8897e
Merge "Fix "null" toast when FillCallback.onFailure(null) called." into rvc-qpr-dev
2020-08-12 08:25:50 +00:00
Jason Chang
84baab6104
Merge "Fine-tune the screen size by adb command to adjust the screen size for UX"
2020-08-12 08:21:45 +00:00
Jason Chang
084ebda9d1
Fine-tune the screen size by adb command to adjust the
...
screen size for UX
Add system properties for UX adjust:
1) one-handed screen translate offset percentage.
2) one-handed screen translate animation duration milliseconds.
[TODO]: This is temporary solution for UX to refine the threshold,
and it needs to revert after the threshold has been confirmed.
Bug: 153694010
Test:
adb shell setprop persist.debug.one_handed_offset_percentage 40
adb shell pidof com.android.systemui |xargs -i adb shell kill -9 {}
or adb reboot
adb shell setprop persist.debug.one_handed_translate_animation_duration 150
adb shell pidof com.android.systemui |xargs -i adb shell kill -9 {}
or adb reboot
Test: manual
Test: atest SystemUITests
Change-Id: I9fb73b98d78c766d6e2e839ee10eb73c7190af9d
2020-08-12 08:18:54 +00:00
Paul Hu
1e527bc5b2
Merge "[RFPM05] Add UidNetdPermissionInfo class" am: 06697e0c43 am: f23a7a2d14 am: 30c2dc100e am: 9a46adade5 am: fc9c753145
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1322556
Change-Id: Ibf808ce55a63335a287c34fefee8a0bf50105db4
2020-08-12 07:42:57 +00:00
Paul Hu
fc9c753145
Merge "[RFPM05] Add UidNetdPermissionInfo class" am: 06697e0c43 am: f23a7a2d14 am: 30c2dc100e am: 9a46adade5
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1322556
Change-Id: I390c22d8b114d94990a5e81ad02d47beea115680
2020-08-12 07:25:48 +00:00
Paul Hu
9a46adade5
Merge "[RFPM05] Add UidNetdPermissionInfo class" am: 06697e0c43 am: f23a7a2d14 am: 30c2dc100e
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1322556
Change-Id: I6992464abf1f79bde4da0b0ac6e9d13619ef485d
2020-08-12 07:11:46 +00:00
Junyu Lai
6884f72229
Merge "Add 5G NSA to collapsed RAT types list"
2020-08-12 07:08:40 +00:00
Paul Hu
30c2dc100e
Merge "[RFPM05] Add UidNetdPermissionInfo class" am: 06697e0c43 am: f23a7a2d14
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1322556
Change-Id: I0878281e2033f093f3b9cbf608c30c44bdd99278
2020-08-12 06:53:13 +00:00
Govinda Wasserman
063ea3bd99
Merge "Adds settings enums for Columbus settings actions"
2020-08-12 06:47:45 +00:00
Paul Hu
f23a7a2d14
Merge "[RFPM05] Add UidNetdPermissionInfo class" am: 06697e0c43
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1322556
Change-Id: I91a603d8b37ee750c3f582363bec94977d70014e
2020-08-12 06:37:34 +00:00
Paul Hu
06697e0c43
Merge "[RFPM05] Add UidNetdPermissionInfo class"
2020-08-12 06:17:46 +00:00
Riddle Hsu
393fe8b1c2
Merge "Allow to replace fixed rotation state"
2020-08-12 05:34:03 +00:00
junyulai
cd2ec0ea57
Add 5G NSA to collapsed RAT types list
...
Currently, getAllCollapsedRatTypes is used to retrieve
all RAT types which will be recorded into NetworkStatsService.
However, there is a missing part that 5G NSA virtual RAT type
is not added into this list. This makes callers such as statsd
do not aware of 5G NSA RAT type and missed to collect data
usage of it.
Test: atest NetworkStatsSubscriptionsMonitorTest#test5g
Test: adb shell cmd stats pull-source 10082
Test: ./out/host/linux-x86/bin/statsd_testdrive 10082
Test: atest UidAtomTests#testMobileBytesTransfer \
UidAtomTests#testMobileBytesTransferByFgBg \
UidAtomTests#testDataUsageBytesTransfer
Bug: 163021464
Change-Id: I0faeda20f0506a48ac1131b234c5fc40d95dfbe0
2020-08-12 05:20:54 +00:00
Nazanin Bakhshi
27b3162838
Merge "add logs to investigate flakey test"
2020-08-12 04:27:07 +00:00
TreeHugger Robot
dc7aab9ecb
Merge "AM.setProcessMemoryTrimLevel: uid -> userId name"
2020-08-12 03:06:36 +00:00
paulhu
26263b3cd0
[RFPM05] Add UidNetdPermissionInfo class
...
Add UidNetdPermissionInfo class to store netd permission info of
each uid. Use the bit mask for combining all netd permission into
one value which can update and get the uid permission easily.
Moreover, aosp/1340042 add carryover package info into this class
which centralizes all netd permissions relevant data.
Bug: 132784544
Test: atest FrameworksNetTests
Change-Id: I3b81ea2a5017e8f4d0d603144a33c9b08640d7ba
2020-08-12 10:33:18 +08:00
Ryan Lin
b5722d5f0c
Merge "Address drag unreliability during touch exploration"
2020-08-12 02:16:02 +00:00
JW Wang
271e922bb0
Reject a multi-sessin set as APEX (1/n)
...
Prevent the crash loop in b/163288861#comment1.
It doesn't make sense to set a multi-session to APEX at all.
We should check and reject this case.
Bug: 163288861
Test: N/A, will be added in next CL
Change-Id: I23147837a11733b776b1147797b545b539c6c05a
2020-08-12 01:19:27 +00:00
Charles Chen
6ad4b33424
Merge "Update language to comply with Android's inclusive language guidance"
2020-08-12 00:54:48 +00:00
Louis Chang
f70ee34f49
Merge "Avoid adjusting top focused root task while clear task"
2020-08-12 00:50:32 +00:00
Anthony Hugh
63963ebb0d
[automerger skipped] Merge "Update PermissionManagerService to handle pre-created users" into rvc-qpr-dev am: b8f93d34ae am: 302b82c97d -s ours
...
am skip reason: Change-Id I52caeb3a71e560d09fcbc167b46becebf779fc3a with SHA-1 bd30f7e86a is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12309213
Change-Id: I2c9a1815841b36d7c81b88062141dc0a53916013
2020-08-12 00:20:14 +00:00
Anthony Hugh
302b82c97d
Merge "Update PermissionManagerService to handle pre-created users" into rvc-qpr-dev am: b8f93d34ae
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12309213
Change-Id: I0f482da2f2f8a775b9ea914b06442461fe3b00b4
2020-08-12 00:08:33 +00:00
Jing Ji
63dd037e09
Merge "Move the waiting for the publishing of content provider to client side"
2020-08-12 00:03:27 +00:00
Adam Bookatz
c2d27df960
AM.setProcessMemoryTrimLevel: uid -> userId name
...
The name of the parameter should be userId, not uid.
All callers and implementations seem to use userId.
Test: compiles
Bug: 163626967
Change-Id: I5a733075f8a0f19b44c01f65221c04694a178e0c
2020-08-11 16:57:09 -07:00
Anthony Hugh
b8f93d34ae
Merge "Update PermissionManagerService to handle pre-created users" into rvc-qpr-dev
2020-08-11 23:54:32 +00:00
Anthony Hugh
0de9d934a0
Merge "Add role for Cluster Service in Automotive"
2020-08-11 23:17:27 +00:00
Steve Elliott
ba9004eb81
Merge "Move ALLOW_NOTIFICATION_LONG_PRESS_NAME into NSSLC"
2020-08-11 23:13:47 +00:00
Nazanin
df80878c8e
add logs to investigate flakey test
...
Test: atest
Bug: b/162266130
Change-Id: I55fe46821489747088d821a0e2b2f78fd28e01c0
2020-08-11 15:53:32 -07:00
TreeHugger Robot
501e75e878
Merge "Adding a util to extract Context.getUserId()"
2020-08-11 21:44:37 +00:00
TreeHugger Robot
84604b06ff
Merge "Added option to log how many times a UserInfo is allocated for user 0."
2020-08-11 21:42:51 +00:00
TreeHugger Robot
565a14e46f
Merge "Create a controller for NSSL"
2020-08-11 20:37:48 +00:00
TreeHugger Robot
fd570d0578
[automerger skipped] Merge "[DO NOT MERGE] Keep track of audio recordings that are silenced" into rvc-qpr-dev am: ac81a5725d am: cf51c6e39c -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12327506
Change-Id: I42e2a7a9b5569779cebafb0e1ea3b9e8f2f51425
2020-08-11 19:57:20 +00:00
Fabian Kozynski
6a9537c76f
[automerger skipped] [DO NOT MERGE] Keep track of audio recordings that are silenced am: a059a46dba am: 4a82f92f5c -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12327506
Change-Id: I500b6a825da41d9973fa4d191fe005aadfb3b082
2020-08-11 19:57:09 +00:00
Hangyu Kuang
8fd758e568
Merge "TranscodingApi: Update job status upon receiving callback."
2020-08-11 19:48:56 +00:00
TreeHugger Robot
cf51c6e39c
Merge "[DO NOT MERGE] Keep track of audio recordings that are silenced" into rvc-qpr-dev am: ac81a5725d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12327506
Change-Id: Ie2176e2298e50e081b345b9e70904777d1c42284
2020-08-11 19:42:12 +00:00
Fabian Kozynski
4a82f92f5c
[DO NOT MERGE] Keep track of audio recordings that are silenced am: a059a46dba
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12327506
Change-Id: I7ecb0d00e088cee33f808fe366db2ade409722ac
2020-08-11 19:42:07 +00:00
TreeHugger Robot
8c96ba6ef4
Merge "Shorten month on AOD date" into rvc-d1-dev am: 0340d8ed50 am: 65be8ef9e0 am: cf060b9a8a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12351425
Change-Id: Ia8bd8ac866b02e33720e5ff9977eee452edca2d5
2020-08-11 19:34:42 +00:00
TreeHugger Robot
f39e53b914
Merge "Shorten month on AOD date" into rvc-d1-dev am: 0340d8ed50 am: f748ee65a1 am: 0cf5807a11
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12351425
Change-Id: Ib87addd87ac3cbafe92f83b6d468c7ea322432fb
2020-08-11 19:33:44 +00:00
TreeHugger Robot
ac81a5725d
Merge "[DO NOT MERGE] Keep track of audio recordings that are silenced" into rvc-qpr-dev
2020-08-11 19:32:24 +00:00
TreeHugger Robot
754264e60b
Merge "Keep track of audio recordings that are silenced"
2020-08-11 19:32:24 +00:00
Eric Laurent
ad95d5b370
Merge "Revert "Fix mute issue when changing audio routes""
2020-08-11 19:22:18 +00:00
TreeHugger Robot
cf060b9a8a
Merge "Shorten month on AOD date" into rvc-d1-dev am: 0340d8ed50 am: 65be8ef9e0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12351425
Change-Id: Ia004fd46bb4e5e76c3b6c9a154c94efda06fac56
2020-08-11 19:21:10 +00:00
TreeHugger Robot
0cf5807a11
Merge "Shorten month on AOD date" into rvc-d1-dev am: 0340d8ed50 am: f748ee65a1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12351425
Change-Id: I1668d9179e5212a8b4632d3e753e0d7ae1d9c8a2
2020-08-11 19:19:47 +00:00
Anthony Hugh
b56228e0c0
Update PermissionManagerService to handle pre-created users
...
Pre-created users are not being returned by the call to
UserManagerService.getUserIds(). This is causing PermissionManager to
ignore recording pre-grants when a new pre-created user is created.
This CL fixes the issue by using a user ID set that contians pre-created
users. Presumably the call to getUserIds() was previously done for
performance reasons. I have added some system tracing to see if
performance is a bottle neck here with the new API call.
I ran the test 5 times on an automotive emulator:
[1] Start system trace
[2] adb shell pm -create-user --pre-create-only
[3] Stop system trace
Average time to getUsers() before changes: .389ms
Average time to getUsers() after changes: 1.82ms
Given that this is an infrequent operation and less than 5ms change,
performance hit looks negligible.
Bug: b/160901158
Test: Manually. Run `adb shell pm -create-user --pre-create-only`.
Create a new user and check to see that Assistant has pre-granted
permissions via `adb shell dumpsys package
com.google.android.carassistant`
Change-Id: I52caeb3a71e560d09fcbc167b46becebf779fc3a
Merged-In: I52caeb3a71e560d09fcbc167b46becebf779fc3a
(cherry picked from commit 432a0377250246632927252c9d2b92411717be52)
2020-08-11 19:06:49 +00:00
TreeHugger Robot
65be8ef9e0
Merge "Shorten month on AOD date" into rvc-d1-dev am: 0340d8ed50
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12351425
Change-Id: Iebe9e92fab54022f74aeef9a6e7e452df5f897ea
2020-08-11 19:05:35 +00:00
Anthony Hugh
71914ca9a0
Merge "Update PermissionManagerService to handle pre-created users"
2020-08-11 19:05:16 +00:00
TreeHugger Robot
f748ee65a1
Merge "Shorten month on AOD date" into rvc-d1-dev am: 0340d8ed50
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12351425
Change-Id: Ide0fe1034053ab600f8a0ce0d827a3079b86d68d
2020-08-11 19:04:29 +00:00