OSDN Git Service
TreeHugger Robot [Tue, 29 Oct 2019 04:49:39 +0000 (04:49 +0000)]
Merge "Log display white balance in animator" into qt-qpr1-dev
Selim Cinek [Mon, 28 Oct 2019 20:31:41 +0000 (20:31 +0000)]
Merge "DO NOT MERGE Revert all scrim related changes in qpr" into qt-qpr1-dev
Bill Yi [Sun, 27 Oct 2019 03:33:35 +0000 (20:33 -0700)]
[automerger skipped] Import translations. DO NOT MERGE
am:
3447b7b66c -s ours
am skip reason: subject contains skip directive
Change-Id: I27f768b2628d15630a15159e642fd89d51be8b83
Bill Yi [Sun, 27 Oct 2019 00:48:31 +0000 (17:48 -0700)]
Import translations. DO NOT MERGE
Change-Id: I4f4a4c0efd8c96693ec5700c13a95e4dc0fa4240
Auto-generated-cl: translation import
Bill Yi [Sun, 27 Oct 2019 00:38:28 +0000 (17:38 -0700)]
Import translations. DO NOT MERGE
Change-Id: I2407d77349f697484f62cf943f5960381ffc76ae
Auto-generated-cl: translation import
Selim Cinek [Sat, 26 Oct 2019 00:37:00 +0000 (17:37 -0700)]
DO NOT MERGE Revert all scrim related changes in qpr
This reverts commit
9449cfc4a608e7d801da642958249a16c536411b.
This reverts commit
22fa97577f39524e3ffbfbbf37040eff540bcb49.
This reverts commit
bde48202e7bb1ffa04acd5c42a332c62b73f34d8.
Bug:
141649119
Bug:
143195895 is also fixed on my taimen with the above.
Bug:
143185828
Test: atest SystemUITests
Change-Id: I225b10fef2f88d3436ef3a683c09717467b071ad
Anthony Han [Wed, 4 Sep 2019 01:28:30 +0000 (18:28 -0700)]
Log display white balance in animator
Bug:
139488234
Test: atest frameworks/base/services/tests/servicestests/src/com/android/server/display/color/
Change-Id: I2768e2fc456009f1ee9da75f0ab8057ab8f39510
Philip P. Moltmann [Fri, 25 Oct 2019 18:33:56 +0000 (11:33 -0700)]
Merge "[DO NOT MERGE] Split access-media-storage from read-external-storage" into qt-dev am:
3b050525e4
am:
c6ef7c0e79
Change-Id: I4c61e048169c42d27cdb72d2050b81c65defc415
Philip P. Moltmann [Fri, 25 Oct 2019 18:33:51 +0000 (11:33 -0700)]
[DO NOT MERGE] Split access-media-storage from read-external-storage am:
f3ff750f29
am:
6f0fe03b7d
Change-Id: I5e92a710d55d91f66be9e1f7dda7fa92b59534fd
Philip P. Moltmann [Fri, 25 Oct 2019 18:22:34 +0000 (11:22 -0700)]
Merge "[DO NOT MERGE] Split access-media-storage from read-external-storage" into qt-dev
am:
3b050525e4
Change-Id: Ie40f68f660e579cf9c2b1cbd446a4e3996bfa34d
Philip P. Moltmann [Fri, 25 Oct 2019 18:22:30 +0000 (11:22 -0700)]
[DO NOT MERGE] Split access-media-storage from read-external-storage
am:
f3ff750f29
Change-Id: I0f37950a78df7d503a830ec5eff77acad7382fb8
TreeHugger Robot [Fri, 25 Oct 2019 18:08:22 +0000 (18:08 +0000)]
Merge "[DO NOT MERGE] Split access-media-storage from read-external-storage" into qt-dev
TreeHugger Robot [Fri, 25 Oct 2019 01:46:48 +0000 (01:46 +0000)]
Merge "Revert "Import translations. DO NOT MERGE"" into qt-qpr1-dev
Bill Yi [Fri, 25 Oct 2019 00:51:46 +0000 (00:51 +0000)]
Revert "Import translations. DO NOT MERGE"
This reverts commit
d7554f399f402e49fef0e088f6685bdaf79cb0b1.
Reason for revert: May have caused phone_max regression
BUG:
143316720
Change-Id: I592acd7f9f47ee2be06508236927a77b11185ace
Beverly [Thu, 24 Oct 2019 21:31:37 +0000 (14:31 -0700)]
Fix zen alarms only mode check am:
51563b5ffe
am:
a9b1fc617d
Change-Id: If606c81739741eed5d2f3fe9520130e148de55e4
Beverly [Thu, 24 Oct 2019 20:28:26 +0000 (13:28 -0700)]
Fix zen alarms only mode check
am:
51563b5ffe
Change-Id: I577da2d70a3ca8a9f2af0d574cb4406db25439f2
Philip P. Moltmann [Fri, 13 Sep 2019 22:12:34 +0000 (15:12 -0700)]
[DO NOT MERGE] Split access-media-storage from read-external-storage
And also pre-grant it to all apps that currently get any storage
permission pre-granted
Test: atest SplitPermissionTest
m -j gts && gts-tradefed run commandAndExit gts-dev -m GtsPermissionTestCases --test=com.google.android.permission.gts.DefaultPermissionGrantPolicyTest#testDefaultGrantsWithRemoteExceptions
Manual testing:
All combinations of
- App targetSdk = 28 and 29 (and 22 for extra credit)
- App having the <uses-permission> tag for
ACCESS_MEDIA_LOCATION or not
- Upgrade from P->Q-QPR and from vanilla Q->Q-QPR
Further upgrade of targetSdk from 28->29 while on Q-QPR
==> All permission behavior should make sense. Sometimes there
are weird, but expected behaviors. Hence we need to
collect the results and then look at the unexpected ones.
See SplitPermissionTest for some tests I added for the
location-background permission which was split from
the fine/coarse-location permissions
Fixes:
141048840,
140961754
Change-Id: Ib9f50d25c002036f13cf2d42fc4d1b214f20920c
(cherry picked from commit
ac7b10c135bb148edcad1aad8e19c733d333f769)
Beverly [Tue, 3 Sep 2019 21:00:51 +0000 (17:00 -0400)]
Fix zen alarms only mode check
Also fixes setting the consolidated zen policy logging.
Fixes:
140329813
Test: android.app.cts.NotificationManagerTest#testTotalSilenceOnlyMuteStreams
Test: android.app.cts.NotificationManagerTest#testAlarmsOnlyMuteStreams
Change-Id: I43d503ac23d7b0b141930d77cb76f1f589b22525
(cherry picked from commit
dcc5cfc56111676d687c8c29d1ceb6914dc1d8ce)
TreeHugger Robot [Thu, 24 Oct 2019 12:56:39 +0000 (12:56 +0000)]
Merge "Resolver: Modernize layout" into qt-qpr1-dev
Beverly Tai [Wed, 23 Oct 2019 18:03:12 +0000 (18:03 +0000)]
Merge "Add motion sense tap gesture + touch counts" into qt-qpr1-dev
TreeHugger Robot [Tue, 22 Oct 2019 03:18:00 +0000 (03:18 +0000)]
Merge "DO NOT MERGE Remove use of Dependency in SliceProvider" into qt-qpr1-dev
Kevin Hufnagle [Mon, 21 Oct 2019 22:51:06 +0000 (15:51 -0700)]
Merge "docs: App doesn't receive "first launch" broadcast" into qt-dev am:
0823f1b508
am:
e7832d514b
Change-Id: Ib2590dc07f3aa284c993bd4c65772277ea457727
Kevin Hufnagle [Mon, 21 Oct 2019 22:44:08 +0000 (15:44 -0700)]
Merge "docs: App doesn't receive "first launch" broadcast" into qt-dev
am:
0823f1b508
Change-Id: I1e775265df7964f4eb5a41d5e228308aad29ee22
Kevin Hufnagle [Mon, 21 Oct 2019 22:38:08 +0000 (15:38 -0700)]
Merge "docs: Added consent notice re. getAccounts()" into qt-dev am:
3b6bbed3af
am:
a7cca253ea
Change-Id: I217e6e62724fb00b41c1ed34f631980f5bd4a24c
Kevin Hufnagle [Mon, 21 Oct 2019 22:33:05 +0000 (22:33 +0000)]
Merge "docs: App doesn't receive "first launch" broadcast" into qt-dev
Kevin Hufnagle [Mon, 21 Oct 2019 22:32:07 +0000 (15:32 -0700)]
Merge "docs: Added consent notice re. getAccounts()" into qt-dev
am:
3b6bbed3af
Change-Id: I0a32519c272af7fc21b1544a77b6bde86843d1e7
Kevin Hufnagle [Mon, 21 Oct 2019 22:14:54 +0000 (22:14 +0000)]
Merge "docs: Added consent notice re. getAccounts()" into qt-dev
Bill Yi [Mon, 21 Oct 2019 20:17:49 +0000 (13:17 -0700)]
Import translations. DO NOT MERGE
Change-Id: I7aef87e95f92cf77c097ae971759ed55020e2bf2
Auto-generated-cl: translation import
Heemin Seog [Sat, 19 Oct 2019 23:18:38 +0000 (16:18 -0700)]
DO NOT MERGE Remove use of Dependency in SliceProvider
SliceProviders seem to be created before onCreate is called on the
application which causes some issues with using Dependency in Car System
UI.
Bug:
142974942
Test: manual for car sys ui and atest KeyguardSliceProviderTest on sdk_gphone_x86 emulator
Change-Id: I18d14d51c6b0b3219923b640d9f2145ed9b02b94
Beverly [Wed, 9 Oct 2019 22:15:27 +0000 (18:15 -0400)]
Add motion sense tap gesture + touch counts
AWARE_TAP_PAUSE_GESTURE_COUNT is the number of times the user
has used the Motion Sense tap gesture to pause media. This number
is used to determine whether to show the "Tap to pause media"
contextual tooltip.
AWARE_TAP_PAUSE_TOUCH_COUNT is the number of times the user has
touched the device to pause media instead of using the Motion Sense
tap gesture (Motion Sense and tap gesture must be active for this value
to increment). This number is also used to determine whether to show the
"Tap to pause media" contextual tip.
We back up these counts so that users moving to new devices with Motion
Sense will not be given these contextual tips again if they already know
how to use the feature.
Test: manual
Bug:
138296598
Change-Id: I702719fb7cec8b6be9dff91d212a00fb26129957
Merged-In: I702719fb7cec8b6be9dff91d212a00fb26129957
(cherry picked from commit
a6e468831ad855c7a328657e873d1320db8b433e)
Jian-Yang Liu [Mon, 21 Oct 2019 17:04:25 +0000 (17:04 +0000)]
Merge "Do not cancel car volume dialog dismiss anim" into qt-qpr1-dev
Kevin Hufnagle [Mon, 30 Sep 2019 17:59:49 +0000 (17:59 +0000)]
docs: Added consent notice re. getAccounts()
Test: make ds-docs -j32
Bug:
32704758
Change-Id: Id5e5c00840f2bde6c31a4f95f365b8bc8857884d
TreeHugger Robot [Fri, 18 Oct 2019 22:19:10 +0000 (22:19 +0000)]
Merge "Dump the system UI components config, so we can check if OEM redefines them." into qt-qpr1-dev
Felipe Leme [Mon, 14 Oct 2019 16:56:06 +0000 (09:56 -0700)]
Fix UserInfo Parcel
ag/
9372503 put the order of reading preCreated from a UserInfo parcel
in the wrong spot. We fix it here.
Test: none
Merged-In: I4502e901ff2aac977c584fa8c5a3d1263be33572
Change-Id: I4502e901ff2aac977c584fa8c5a3d1263be33572
(cherry picked from commit
e80af14d3333a7e987068187a2ec49d870a5046f)
TreeHugger Robot [Fri, 18 Oct 2019 19:49:43 +0000 (19:49 +0000)]
Merge changes from topic "user_templates" into qt-qpr1-dev
* changes:
Added new (hidden) UserManager API to get all users, including pre-created ones.
Added option to pre-create user templates to optimize first user creation time.
Bill Yi [Fri, 18 Oct 2019 18:18:01 +0000 (11:18 -0700)]
[automerger skipped] Import translations. DO NOT MERGE
am:
3c7cd66c75 -s ours
am skip reason: subject contains skip directive
Change-Id: If05a618e489d85f0d325573806cff90150515b31
Felipe Leme [Wed, 2 Oct 2019 23:27:46 +0000 (16:27 -0700)]
Added new (hidden) UserManager API to get all users, including pre-created ones.
Bug:
140750212
Test: manual verification
Merged-In: Iaef9db6216a7b18bf6f1f3e19f4a7428ec99f1da
Change-Id: Iaef9db6216a7b18bf6f1f3e19f4a7428ec99f1da
(cherry picked from commit
09a7f2df68192b9aa77577de14a6a7018e992caf)
Felipe Leme [Wed, 11 Sep 2019 16:23:26 +0000 (09:23 -0700)]
Added option to pre-create user templates to optimize first user creation time.
Initial user creation is slow because the system must prepare per-user data (like storage and
permissions) whose cost is proportional to the number of pre-installed apps. On automovive's
reference implementation, it can take more than 10s, which is a bad user experience.
This change lets OEMs pre-create some users , so that high initial-creation cost is "paid" during
the initial boot. On automotive, it improves the creation of an additional user (or guest user)
in about 7s (from ~17s to 9s).
Bug:
111451156
Bug:
132111956
Bug:
140750212
Bug:
140868593
Test: manual verification
Test: atest FrameworksServicesTests:UserControllerTest#testStartTemplateUser_background
Merged-In: I81de1b5376dc9c42b63be8853d7204c88826401f
Change-Id: I81de1b5376dc9c42b63be8853d7204c88826401f
(cherry picked from commit
c1ca4410e1f66b5fa54458a0d4178893d3f7658a)
TreeHugger Robot [Fri, 18 Oct 2019 17:45:41 +0000 (17:45 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev
Lucas Dupin [Fri, 18 Oct 2019 16:30:11 +0000 (16:30 +0000)]
Merge "Use unique Handler for media, and synchronize it" into qt-qpr1-dev
Pinyao Ting [Fri, 18 Oct 2019 16:14:24 +0000 (16:14 +0000)]
Merge "fix the issue slice cannot be triggered from uri" into qt-qpr1-dev
Pinyao Ting [Fri, 11 Oct 2019 23:59:28 +0000 (16:59 -0700)]
fix the issue slice cannot be triggered from uri
Bug:
122879432
Change-Id: Id36a45bbbdb858b5b8d9fd6f1b3f5f97eb84e9fd
Test:
1. install SliceViewer (https://github.com/android/user-interface-samples/releases)
2. adb shell am start -d "slice-https://sliceviewer.android.example.com/hello"
(cherry picked from commit
09b91e60272a6751bd61471360e1fa20c424dcdf)
TreeHugger Robot [Fri, 18 Oct 2019 15:09:52 +0000 (15:09 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev
Bill Yi [Fri, 18 Oct 2019 14:51:22 +0000 (07:51 -0700)]
Import translations. DO NOT MERGE
Change-Id: I0e4248100b05c1418d522a4ff19d7285ab0901b0
Auto-generated-cl: translation import
Bill Yi [Fri, 18 Oct 2019 14:41:12 +0000 (07:41 -0700)]
Import translations. DO NOT MERGE
Change-Id: I2206c0e454eb10858fa687a469d06c61230539b2
Auto-generated-cl: translation import
Felipe Leme [Fri, 18 Oct 2019 06:28:44 +0000 (06:28 +0000)]
Merge "Dump isPrimaryUser() / isSplitSystemUser() on 'user' service." into qt-qpr1-dev
Bill Yi [Fri, 18 Oct 2019 05:36:12 +0000 (22:36 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ie325a852dabdafb0a01527c911d4b16f011e3931
Auto-generated-cl: translation import
Lucas Dupin [Wed, 16 Oct 2019 23:39:00 +0000 (16:39 -0700)]
Use unique Handler for media, and synchronize it
Otherwise other classes can end up cancelling messages on this Handler
Test: atest KeyguardSliceProviderTest
Fixes:
142179390
Change-Id: I48568cabac8f2170d83687ac532f357f7afea9f2
JianYang Liu [Tue, 15 Oct 2019 22:38:50 +0000 (15:38 -0700)]
Do not cancel car volume dialog dismiss anim
A burst of ACTION_OUTSIDE events would cause the dialog
dismiss animation to repeatedly cancel and restart before
it could finish.
Add a flag to keep track of the dismissing state, and let
the animation finish once it has started.
Change made based on proposal from partner.
Bug:
142877093
Test: manual
Change-Id: I16a76bd7a65313027751f8f0e223d0346626c37b
(cherry picked from commit
c8d3ef17af781731b558302efada5c1e7bebd096)
Jeff Vander Stoep [Tue, 1 Oct 2019 07:49:30 +0000 (09:49 +0200)]
InetDiagSocketTest: ignore test that times out
Test: atest InetDiagSocketTest
Change-Id: Ieef0ca291924c0d81b1110bd25020d57fa9f0fec
Merged-In: Ieef0ca291924c0d81b1110bd25020d57fa9f0fec
Bug:
141870193
Bug:
141459241
(cherry picked from commit
69b83c9b3c58999f2638857d5f36d1aae48195bb)
Clean cherry pick.
Jeffrey Vander Stoep [Thu, 17 Oct 2019 10:25:36 +0000 (10:25 +0000)]
Merge "Fix FD leak in ConnectivityManager.getConnectionOwnerUid" into qt-qpr1-dev
Jeff Vander Stoep [Thu, 26 Sep 2019 11:56:50 +0000 (13:56 +0200)]
Fix FD leak in ConnectivityManager.getConnectionOwnerUid
Add unit tests to verify that bug has been fixed.
Re-enable testGetConnectionOwnerUid() unit tests in presubmit. These
were disabled due to test flakiness caused by expected failures passing
as a result of other sockets on the system. This is fixed by checking
that failures do not have the UID of the calling process instead of
INVALID_UID since previously some Qualcomm telephony sockets were
causing lookup successes.
Test: atest InetDiagSocketTest#testGetConnectionOwnerUid
Test: ls -1 /proc/<pid of system_server>/fd | wca
Test: atest --generate-new-metrics 200 InetDiagSocketTest#testGetConnectionOwnerUid
To verify flakes have been cleaned up.
Bug:
141603906
Bug:
141459241
Change-Id: Ib76674f10e4bd24952c557bac7b9c65fba42fdb2
Merged-In: Ib76674f10e4bd24952c557bac7b9c65fba42fdb2
(cherry picked from commit
59940afb16782d2cad2a7a1adbe653c2f5eb9812)
Clean cherry pick.
Seigo Nonaka [Thu, 17 Oct 2019 05:00:33 +0000 (22:00 -0700)]
[automerger skipped] Merge "RESTRICT AUTOMERGE Revive runLimit check logic" into oc-mr1-dev am:
9f7fb87dc4 -s ours am:
aa76cf3da5 -s ours am:
9c6d7fe4bb
am:
8e6b03f424
Change-Id: I0e24fafa9eda227d06e1a66d2924bd25b53ffd71
Seigo Nonaka [Thu, 17 Oct 2019 04:51:07 +0000 (21:51 -0700)]
[automerger skipped] Merge "RESTRICT AUTOMERGE Revive runLimit check logic" into pi-dev am:
d7f6ede261 -s ours am:
8d016ab4ff
am:
5181402566
Change-Id: Ia6d2cbc42f1a682eae9c98cf8f05c10239f2ef12
Seigo Nonaka [Thu, 17 Oct 2019 04:48:23 +0000 (21:48 -0700)]
[automerger skipped] RESTRICT AUTOMERGE Revive runLimit check logic am:
b730f1984f am:
2af4f537ff am:
709e9e6855 -s ours am:
37c65a3e5c -s ours am:
ac663b4595
am:
56a72fccf4
Change-Id: I052c9a2058001a18084697bde408246807ee30db
Seigo Nonaka [Thu, 17 Oct 2019 04:44:24 +0000 (21:44 -0700)]
[automerger skipped] Merge "RESTRICT AUTOMERGE Revive runLimit check logic" into oc-mr1-dev am:
9f7fb87dc4 -s ours am:
aa76cf3da5 -s ours
am:
9c6d7fe4bb
Change-Id: I1e21b2703948ee70d1f678680dd6daaa58905512
Seigo Nonaka [Thu, 17 Oct 2019 04:37:26 +0000 (21:37 -0700)]
[automerger skipped] Merge "RESTRICT AUTOMERGE Revive runLimit check logic" into oc-mr1-dev am:
9f7fb87dc4 -s ours
am:
aa76cf3da5 -s ours
am skip reason: subject contains skip directive
Change-Id: I1681d85652afe4fb20fa3d76f2f9483303e3d429
Seigo Nonaka [Thu, 17 Oct 2019 04:34:17 +0000 (21:34 -0700)]
[automerger skipped] Merge "RESTRICT AUTOMERGE Revive runLimit check logic" into pi-dev am:
d7f6ede261 -s ours
am:
8d016ab4ff
Change-Id: I32ea97ed0a26a07a741c61ddb40a0a4292a3320a
Seigo Nonaka [Thu, 17 Oct 2019 04:31:25 +0000 (21:31 -0700)]
[automerger skipped] RESTRICT AUTOMERGE Revive runLimit check logic am:
b730f1984f am:
2af4f537ff am:
709e9e6855 -s ours am:
37c65a3e5c -s ours
am:
ac663b4595
Change-Id: I8f11c57d4706f03291099be5d9d2d244ed354b78
Seigo Nonaka [Thu, 17 Oct 2019 04:11:44 +0000 (21:11 -0700)]
[automerger skipped] Merge "RESTRICT AUTOMERGE Revive runLimit check logic" into pi-dev
am:
d7f6ede261 -s ours
am skip reason: subject contains skip directive
Change-Id: I1f761fe6c5336996407892ebae25eb34a8d83538
Seigo Nonaka [Thu, 17 Oct 2019 04:08:47 +0000 (21:08 -0700)]
[automerger skipped] RESTRICT AUTOMERGE Revive runLimit check logic am:
b730f1984f am:
2af4f537ff am:
709e9e6855 -s ours
am:
37c65a3e5c -s ours
am skip reason: subject contains skip directive
Change-Id: Id5cce5424c5e712de76143a301e26e823d3df249
Seigo Nonaka [Thu, 17 Oct 2019 04:07:12 +0000 (21:07 -0700)]
[automerger skipped] Merge "RESTRICT AUTOMERGE Revive runLimit check logic" into oc-mr1-dev
am:
9f7fb87dc4 -s ours
am skip reason: subject contains skip directive
Change-Id: If95365aeca3f84f75f571dcf705f477b01425a0c
TreeHugger Robot [Thu, 17 Oct 2019 02:33:30 +0000 (02:33 +0000)]
Merge "RESTRICT AUTOMERGE Revive runLimit check logic" into pi-dev
TreeHugger Robot [Thu, 17 Oct 2019 01:46:22 +0000 (01:46 +0000)]
Merge "RESTRICT AUTOMERGE Revive runLimit check logic" into oc-mr1-dev
Seigo Nonaka [Thu, 17 Oct 2019 00:38:11 +0000 (17:38 -0700)]
[automerger skipped] RESTRICT AUTOMERGE Revive runLimit check logic am:
b730f1984f am:
2af4f537ff
am:
709e9e6855 -s ours
am skip reason: subject contains skip directive
Change-Id: Ib2c5674e2cf4442fe10d3dd5eb7ae7906e432254
Seigo Nonaka [Thu, 17 Oct 2019 00:26:09 +0000 (17:26 -0700)]
RESTRICT AUTOMERGE Revive runLimit check logic am:
b730f1984f
am:
2af4f537ff
Change-Id: Ia671d3f5a7fa62c80dd3c2468d199ce66fe734f1
Seigo Nonaka [Thu, 17 Oct 2019 00:14:15 +0000 (17:14 -0700)]
RESTRICT AUTOMERGE Revive runLimit check logic
am:
b730f1984f
Change-Id: I329515d36c12ee5e12a63262ff7db8daff350832
Seigo Nonaka [Wed, 16 Oct 2019 21:48:30 +0000 (14:48 -0700)]
RESTRICT AUTOMERGE
Revive runLimit check logic
The runLimit check logic was accidentally removed by
I7089ed9b711dddd7de2b27c9c2fa0fb4cb53a735
Bug:
142134328
Bug:
140632678
Test: Manually done with reported step
Test: StaticLayoutTest passes
Change-Id: Ib1d5efdcb9adcc18a6a43370dc016ea464f48148
Seigo Nonaka [Wed, 16 Oct 2019 21:48:30 +0000 (14:48 -0700)]
RESTRICT AUTOMERGE
Revive runLimit check logic
The runLimit check logic was accidentally removed by
I7089ed9b711dddd7de2b27c9c2fa0fb4cb53a735
Bug:
142134328
Bug:
140632678
Test: Manually done with reported step
Test: StaticLayoutTest passes
Change-Id: Ib1d5efdcb9adcc18a6a43370dc016ea464f48148
Seigo Nonaka [Wed, 16 Oct 2019 21:48:30 +0000 (14:48 -0700)]
RESTRICT AUTOMERGE
Revive runLimit check logic
The runLimit check logic was accidentally removed by
I7089ed9b711dddd7de2b27c9c2fa0fb4cb53a735
Bug:
142134328
Bug:
140632678
Test: Manually done with reported step
Test: StaticLayoutTest passes
Change-Id: Ib1d5efdcb9adcc18a6a43370dc016ea464f48148
Jian-Yang Liu [Tue, 15 Oct 2019 23:20:59 +0000 (23:20 +0000)]
Merge "Changed car status bar to show or hide by setting layout height instead of removing/adding the view." into qt-qpr1-dev
Hall Liu [Tue, 15 Oct 2019 21:00:18 +0000 (21:00 +0000)]
Merge "Add ImsReasonInfo constant for retrying without RTT" into qt-qpr1-dev
Kevin Hufnagle [Tue, 15 Oct 2019 19:47:35 +0000 (19:47 +0000)]
docs: App doesn't receive "first launch" broadcast
Test: make ds-docs -j32
Bug:
116543817
Change-Id: I9aa1f1851ce236397ad2e1a36ea487b96daa55c5
Heemin Seog [Tue, 15 Oct 2019 15:55:14 +0000 (15:55 +0000)]
Merge "DO NOT MERGE Add support for unprovisioned top nav bar" into qt-qpr1-dev
TreeHugger Robot [Tue, 15 Oct 2019 09:40:22 +0000 (09:40 +0000)]
Merge "Fixed a bug where the statusbar wasn't interactive" into qt-qpr1-dev
JianYang Liu [Thu, 10 Oct 2019 22:37:29 +0000 (15:37 -0700)]
Changed car status bar to show or hide by setting layout height instead
of removing/adding the view.
Adding/removing the car status bar via window manager causes issues if
trying to do too quickly since the calls are asynchronous. So if the
status bar is under the process of being removed when we want to show
the status bar, it will throw a BadTokenException because not all of the
references have been cleaned up.
Bug:
142272085
Test: manual
Change-Id: Ia0f46ba4f7582aaadd24dd885788609f027fa156
Selim Cinek [Mon, 14 Oct 2019 19:00:36 +0000 (12:00 -0700)]
Fixed a bug where the statusbar wasn't interactive
Our restriction if it has finished was too strict before,
let's loosen it to call whenever the animation has actually
finished not when it reached the final value
Fixes:
142189043
Test: atest SystemUITests
Change-Id: Ic8a252316346782b485b25d0f5d5458b30511f09
TreeHugger Robot [Mon, 14 Oct 2019 16:57:48 +0000 (16:57 +0000)]
Merge changes I261ad35f,Id2611b3c into qt-qpr1-dev
* changes:
Remove assist_gesture_enabled related keys from backup list
Remove aware sensor related features from backup list
Leon Scroggins [Mon, 14 Oct 2019 16:05:57 +0000 (16:05 +0000)]
Merge "Fix AnimatedImageDrawables using ByteBuffers" into qt-qpr1-dev
Edgar Wang [Tue, 8 Oct 2019 04:16:42 +0000 (12:16 +0800)]
Remove assist_gesture_enabled related keys from backup list
Bug:
142312794
Test: atest & manual
Change-Id: I261ad35f4b7a2c7ac706f092b1be85f4aa41a9d6
Merged-In: Ied7d97d4b4b0955981824d7342aabe74d06a0c1f
Edgar Wang [Fri, 4 Oct 2019 05:45:43 +0000 (13:45 +0800)]
Remove aware sensor related features from backup list
Bug:
142312794
Test: atest & manual
Change-Id: Id2611b3cbdaea57e9e8c563aac211796d27a49a7
Merged-In: Ifed4ebb5f5a2ebff0420b3ff1ab1e9a533829566
Wu Ahan [Mon, 14 Oct 2019 10:53:50 +0000 (10:53 +0000)]
Merge "DO NOT MERGE Add debug log to trace wallpaper rendering" into qt-qpr1-dev
Hall Liu [Mon, 7 Oct 2019 23:36:55 +0000 (16:36 -0700)]
Add ImsReasonInfo constant for retrying without RTT
Add CODE_RETRY_ON_IMS_WITHOUT_RTT for the IMS stack to indicate to
Telephony that a call should be retried without RTT enabled.
Bug:
141963475
Test: manual
Change-Id: Ic3aa8856e98d8c34fd98462d71834e69b857eda4
TreeHugger Robot [Sat, 12 Oct 2019 00:41:46 +0000 (00:41 +0000)]
Merge "Allow bypassing setup for Auto in startDockOrHome" into qt-qpr1-dev
Matt Pietal [Thu, 10 Oct 2019 15:21:28 +0000 (11:21 -0400)]
Resolver: Modernize layout
Visually align with the work done for sharesheet
Test: visual inspection
Bug:
139485420
Change-Id: Ie2609eefcd12552bba6c4d749ca1669c8232633c
Felipe Leme [Thu, 10 Oct 2019 23:15:31 +0000 (16:15 -0700)]
Dump the system UI components config, so we can check if OEM redefines them.
Test: adb shell dumpsys activity service com.android.systemui/.SystemUIService --config
Test: adb shell dumpsys activity service com.android.systemui/.SystemUIService
Bug:
141631055
Change-Id: I157824b69e57ea133be666194b2f11c0e1ba36e8
(cherry picked from commit
adff0b052d032cd779383a7e518b96acb16f3e44)
Selim Cinek [Thu, 10 Oct 2019 21:01:53 +0000 (21:01 +0000)]
Merge "Dismissed keyguard gone runnables when aborting" into qt-qpr1-dev
Kevin Chyn [Thu, 10 Oct 2019 20:41:48 +0000 (20:41 +0000)]
Merge "Set the negative button when configuration changes and dialog is restored" into qt-qpr1-dev
Kevin Chyn [Thu, 10 Oct 2019 18:48:16 +0000 (11:48 -0700)]
Set the negative button when configuration changes and dialog is restored
Fixes:
140607595
Test: manual, rotate the device
Change-Id: I9c9c0b9640735404d66c901011c39f28caa540da
Leon Scroggins III [Wed, 11 Sep 2019 16:33:00 +0000 (12:33 -0400)]
Fix AnimatedImageDrawables using ByteBuffers
Bug:
140715166
Test: I56dc6e9865c2701746c95ea584bcc70fe4d62a6c
AnimatedImageDrawable, when created from a ByteBuffer, needs to get a
pointer to the JNI interface in order to read the ByteBuffer (or
byte[]). But the AnimatedImageThread is not attached to the JVM. Attach
it as necessary.
Change-Id: I51b69b5b70f8c5865d5e5ed065e42267fa556202
Merged-In: I51b69b5b70f8c5865d5e5ed065e42267fa556202
(cherry picked from commit
a7ec12f7efc032211e54aa1ce28c698413f02b8d)
Roshan Pius [Thu, 10 Oct 2019 17:03:17 +0000 (17:03 +0000)]
Merge "WifiManager: Reword documenation for get/remove passpoint API" into qt-qpr1-dev
Hall Liu [Thu, 3 Oct 2019 18:48:31 +0000 (11:48 -0700)]
Fix race in TelephonyScanManager
TelephonyScanManager may sometimes encounter a race condition where
Telephony sends it the first scan result before it has saved the
returned scan ID. This causes a crash in the app that's requesting the
scan.
To fix this, synchronize on mScanInfo while requesting the network scan
so that the handler in TelephonyScanManager will wait for the scan ID to
be saved before processing the first message from Telephony.
Bug:
142068098
Test: manual
Change-Id: I0b2b4c6dc749e21641843818293941704ed870a6
TreeHugger Robot [Wed, 9 Oct 2019 20:08:47 +0000 (20:08 +0000)]
Merge "(Minor) fix on ActivityManagerService.LocalService.getCurrentUserId()" into qt-qpr1-dev
Heemin Seog [Thu, 3 Oct 2019 23:15:50 +0000 (16:15 -0700)]
DO NOT MERGE Add support for unprovisioned top nav bar
Also listen for changes to user setup rather than device provisioned
Bug:
140748928
Test: manual with custom SUW apk
Change-Id: Iabab489269d3dbfafd150a919020ac7921e45768
Felipe Leme [Thu, 13 Jun 2019 00:40:53 +0000 (17:40 -0700)]
Dump isPrimaryUser() / isSplitSystemUser() on 'user' service.
Also fixed / improved some javadocs...
Bug:
133242016
Test: manual verification
Merged-In: Ia9c50a2cd1de5ad8b0c9d5573b1760601fbcef76
Change-Id: Ia9c50a2cd1de5ad8b0c9d5573b1760601fbcef76
(cherry picked from commit
d7b88384fe15dae2e70a2245d460b98be3b487eb)
Roshan Pius [Wed, 9 Oct 2019 14:17:58 +0000 (07:17 -0700)]
WifiManager: Reword documenation for get/remove passpoint API
Bug:
141639265
Test: Compiles
Change-Id: If44ec91ca2d8a4a409677cd7f0f936972db719f6
Felipe Leme [Mon, 7 Oct 2019 18:21:15 +0000 (11:21 -0700)]
(Minor) fix on ActivityManagerService.LocalService.getCurrentUserId()
Bug:
142130022
Test: manual verification with 'adb shell dumpsys user'
Change-Id: I3aa7d847e9595e7b28428ad839234c993f7d2485
Lucas Dupin [Mon, 23 Sep 2019 18:54:56 +0000 (11:54 -0700)]
Do not register lift when sensor is not present
Bug:
141284056
Fixes:
142365481
Test: force snesor to return null
Change-Id: I45583e4f1c06ec7088a7d6335597a8671555f339
(cherry picked from commit
3b745ddf4a0105ee01b42f5024be4e0370a89b6b)
TreeHugger Robot [Wed, 9 Oct 2019 00:15:10 +0000 (00:15 +0000)]
Merge "Add NETWORK_TYPE_NR to Telephony framework" into qt-qpr1-dev
Lucas Dupin [Tue, 8 Oct 2019 23:48:13 +0000 (23:48 +0000)]
Merge "Keep interrupts on when in battery saver mode" into qt-qpr1-dev