Commit Graph

424299 Commits

Author SHA1 Message Date
Priyank Singh
3228b57d8e Status bar background color should not be transparent.
Bug: 130431689
Test: Manual
Change-Id: Ida8788f2d758eedaf5db0139f81a65402ba0b88b
2019-09-11 23:46:26 +00:00
Bryan Ferris
d796dbe3f9 Merge changes from topic "bp-135269143-q" into qt-dev am: 660c3b11c7
am: 58f725221c

Change-Id: I3ca84b5e113bdbd73b103656c0716d3417a4dbf4
2019-09-11 16:20:07 -07:00
Jeff Sharkey
da99669780 RESTRICT AUTOMERGE Strict SQLiteQueryBuilder needs to be stricter. am: 0e66ea6f32
am: 71765a75d1

Change-Id: I83961bb6bdffa90583d28e416a98cb0efd62fb32
2019-09-11 16:20:00 -07:00
Bryan Ferris
58f725221c Merge changes from topic "bp-135269143-q" into qt-dev
am: 660c3b11c7

Change-Id: Ia33da8f677ecaaa07e3d9adc1a00f0289798d011
2019-09-11 16:13:10 -07:00
Jeff Sharkey
71765a75d1 RESTRICT AUTOMERGE Strict SQLiteQueryBuilder needs to be stricter.
am: 0e66ea6f32

Change-Id: I111fcc77d1e0c8b8065f5476fc2a0e75bf88f2a2
2019-09-11 16:13:02 -07:00
Bryan Ferris
660c3b11c7 Merge changes from topic "bp-135269143-q" into qt-dev
* changes:
  RESTRICT AUTOMERGE Strict SQLiteQueryBuilder needs to be stricter.
  RESTRICT AUTOMERGE Enable stricter SQLiteQueryBuilder options.
2019-09-11 22:59:15 +00:00
Mady Mellor
a5813e0e3d qt-r1-bubbles-dev @ build 5835883
Test: presubmit setup on source branch

Bug: 126945401
Bug: 128932906
Bug: 129158983
Bug: 130237686
Bug: 130250809
Bug: 130442248
Bug: 131267438
Bug: 131609280
Bug: 131692350
Bug: 131849856
Bug: 133444037
Bug: 134064116
Bug: 134064858
Bug: 134070807
Bug: 134077101
Bug: 134090085
Bug: 134155107
Bug: 134423445
Bug: 134512898
Bug: 134514210
Bug: 134514227
Bug: 134734945
Bug: 134960381
Bug: 134989736
Bug: 135214687
Bug: 135280077
Bug: 135472021
Bug: 135475155
Bug: 135487618
Bug: 135488406
Bug: 135518045
Bug: 135633218
Bug: 136034310
Bug: 136150954
Bug: 136199542
Bug: 136538998
Bug: 137201711
Bug: 137213469
Bug: 137214359
Bug: 137214536
Bug: 137233453
Bug: 137876221
Bug: 138301618
Bug: 138445026
Bug: 138659213
Bug: 138749133
Bug: 138799651
Bug: 138801505
Bug: 138941969
Bug: 139002444
Bug: 139025304
Bug: 139816141
Change-Id: Ia7364529ea58070c8d45ecd726ab6ac7d34f2abe
Merged-In: Ic271a6a0f0803941dd5a84124dabf4d8c5fcc755
Merged-In: Ic3a4ba793db7f1361678ef51c411d9eab85d9b85
2019-09-11 22:42:54 +00:00
Philip P. Moltmann
04c5f38246 Handle "uninstall updates" in app-ops-service
When "uninstalling the updates" of a system app the package manager
triggers a ACTION_UID_REMOVED with EXTRA_REPLACING=true. In this case we
want to reset the app-op state, but the app has to still work
afterwards as the UID is not actually removed.

Removing all the state for the UID is not the right behavior
as this does not trigger a re-evualtion of app-op state for this app.

Test: Uninstalled updates for pre-installed Google Photos app and saw
storage related app-ops to be set correctly afterwards
Bug: 140731248

Change-Id: I235dbab877ce4377232799d5d0555ff7d2722ebb
2019-09-11 22:41:44 +00:00
Seigo Nonaka
643e29bd93 Merge "don't compute outside of visible range" into qt-dev am: 3a477180f4
am: f4dd720828

Change-Id: Ied3c4bcbd5d772d3573788fd678aca50e3442923
2019-09-11 15:12:38 -07:00
Seigo Nonaka
f4dd720828 Merge "don't compute outside of visible range" into qt-dev
am: 3a477180f4

Change-Id: I40a39895abd22f191333bfe29d5d3142532dd761
2019-09-11 14:59:43 -07:00
TreeHugger Robot
4514a4e44b Merge "Force FGS notifications to show for a minimum time" into qt-qpr1-dev 2019-09-11 21:54:09 +00:00
TreeHugger Robot
3a477180f4 Merge "don't compute outside of visible range" into qt-dev 2019-09-11 21:38:08 +00:00
Brad Stenning
b896c588af Fix build file such that CarSystemUi can be easily extended
This is done buy building all of CarSystemUI as a library and then including that
library as a static lib for an android_app target. Thus anyone that wants to
build a derivative to CarSystemUI can include that library and start extending.
It is the same mechanism that allows CarSystemUI to extend the phone SystemUI

Bug:140875212

Test: Build and Deploy
Change-Id: I4c83b0147c5ce8a8b4321ba0866721e4922df431
2019-09-11 21:12:10 +00:00
Evan Laird
09843a687b Force FGS notifications to show for a minimum time
It's possible for a service to do a start/stop foreground and cause a
couple of things to happen:

NotificationManagerService will enqueue a EnqueueNotificationRunnable,
post a PostNotificationRunnable (for the startForeground), and then also
enqueue a CancelNotificationRunnable. There is some racy behavior here
in that the cancel runnable can get triggered in between enqueue and
post runnables. If the cancel happens first, then
NotificationListenerServices will never get the message.

This behavior is technically allowed, however for foreground services we
want to ensure that there is a minmum amount of time that notification
listeners are aware of the foreground service so that (for instance) the
FGS notification can be shown.

This CL does two things to mitigate this problem:

1. Introduce checking in the CancelNotificationRunnable such that it
will not cancel until after PostNotificationRunnable has finished
executing.

2. Introduce a NotificationLifetimeExtender method that will allow a
lifetime extender to manage the lifetime of a notification that has been
enqueued but not inflated yet.

Bug: 119041698
Test: atest NotificationManagerServiceTest
Test: atest ForegroundServiceNotificationListenerTest
Change-Id: I0680034ed9315aa2c05282524d48faaed066ebd0
Merged-In: I0680034ed9315aa2c05282524d48faaed066ebd0
2019-09-11 21:09:34 +00:00
Siarhei Vishniakou
0c1c820d9d Add keylayout for original xbox controller
We are still missing a key layout for the original xbox controller with
product id 02dd. Add the missing layout here.

Bug: 140808513
Test: manual test by plugging in the actual joystick and using the
custom tester app

Change-Id: Ib84e3ac04ff58f890ce7743423cc9b869af347db
2019-09-11 22:07:41 +01:00
Nicholas Sauer
e36d59ea71 Merge "Dump all users when dumpsys overlay is invoked" into qt-qpr1-dev 2019-09-11 20:28:48 +00:00
Kevin Hufnagle
6e159aa9b9 docs: List BIOMETRIC_WEAK in setPasswordQuality()
Also converted curly quotes to straight in one of the notes.

Test: make ds-docs -j32

Bug: 135089189
Change-Id: I146fb7eec5da48496467a1bc7706f9d87dc339f7
2019-09-11 20:06:00 +00:00
TreeHugger Robot
4f57b5ed9c Merge "Make sure to clear previous display's last focus window when reparenting task" into qt-qpr1-dev 2019-09-11 19:52:06 +00:00
Seigo Nonaka
0a57fe099a don't compute outside of visible range
Bug: 140632678
Test: manually done
Test: TreeHugger
Change-Id: I646851973b3816bf9ba32dfe26748c0345a5a081
2019-09-11 11:28:34 -07:00
TreeHugger Robot
3d894e1dbd Merge changes from topic "no_dupe_stuiff_qpr" into qt-qpr1-dev
* changes:
  Don't send duplicated user-start broadcast when booting on headless-system mode.
  Don't start first human user twice on headless-system mode.
2019-09-11 16:49:44 +00:00
Jovana Knezevic
f6a90fd2cc Merge "Initialize mScreenLifecycle before user switcher gets created." into qt-qpr1-dev 2019-09-11 16:45:25 +00:00
Jared Henderson
8a7c8e676a Merge "Update Xbox BT controller mapping for new FW" into qt-dev am: 1f978f5a8f
am: 307e57c9a3

Change-Id: Ia34b51d59af92477fbf61469796b1f3b69085007
2019-09-11 09:44:31 -07:00
Jared Henderson
307e57c9a3 Merge "Update Xbox BT controller mapping for new FW" into qt-dev
am: 1f978f5a8f

Change-Id: I0eb40c78586f0593615fe6f0ab3e7c985c563fbf
2019-09-11 09:27:55 -07:00
TreeHugger Robot
1f978f5a8f Merge "Update Xbox BT controller mapping for new FW" into qt-dev 2019-09-11 16:14:10 +00:00
Jared Henderson
b08c0be8a0 Update Xbox BT controller mapping for new FW
The Xbox controller (product id 0x02fd) is going to have a new firmware
update this fall that sends a different keycode (316/BUTTON_MODE) for
the Xbox button.  The goal is to enable the Xbox button to make it to
apps on all Android versions -- with our without a controller-specific
key mapping file.

Unfortunately, the new Vendor_045e_Product_02fd.kl key mapping file
that was added to Android Q maps the pre-firmware-update
Xbox key code (172) to BUTTON_MODE, yet it makes no mention of key 316.
This results in apps getting a raw 316 scan code instead of
a BUTTON_MODE KeyEvent when using a controller with the latest firmware
on Android Q.

The fix is to add an additional key mapping for 316 that *also* maps to
BUTTON_MODE.  With both mappings in place, both pre and post
firmware-updated controllers will get the correct behavior for the
Xbox button on Android Q.

Test: AFAIK, no CTS tests exist for Xbox controller key mappings;
we'll need to add some at a later date.  I was unable to test this
change because I'm unable to write to the system directory on any
of my devices, but I know that mapping 316 to BUTTON_MODE will
fix the issue.

Signed-off-by: Jared Henderson <jaredh.microsoft@gmail.com>

Bug: 139512030
Bug: 140808513

Merged-In: I8600ea79a0aa8557267d6ca712e5d56680e7a98b
Change-Id: I8600ea79a0aa8557267d6ca712e5d56680e7a98b
2019-09-11 15:13:07 +01:00
Matt Pietal
553d8a4dd3 Resolver - Fix NGA (voice interaction) crash in resolver
A race condition existed whereby placeholder targets were attempting
to be published without any target information, due to bg thread
processing of resolved intents. Detect this scenario, and wait. Also
have SysUI ChooserActivity accept voice interactions in the intent
filter. Does not use DEFAULT category, as it should only ever be used
by explicit intents.

Bug: 139729579
Test: atest ResolverActivityTest
Change-Id: If8fc0c3595da47c26b1edab75bd6fc82a6dcb35e
(cherry picked from commit 2cf4c6c3d4)
2019-09-11 14:06:12 +00:00
TreeHugger Robot
400db4bfef Merge "WebView: pay attention to PACKAGE_CHANGED." into qt-qpr1-dev 2019-09-11 13:46:29 +00:00
TreeHugger Robot
844dbbbc9f Merge "Send package changed for consumers of an updated shared lib" into qt-qpr1-dev 2019-09-11 13:46:29 +00:00
Adrian Roos
298fd2cf7e GestureNav: Fix bug in exlcusion limit device config
Fixes an issue, where the DeviceConfig exclusion limit was reset
whenever another key in the android:window_manager namespace changed.

Fixes: 140190037
Test: Set limit device config flag to value >200, set unrelated flag, verify limit is still >200.
Change-Id: I2df5b6661cc5e545d7c3de38dec5c86e66baea22
Merged-In: I2df5b6661cc5e545d7c3de38dec5c86e66baea22
2019-09-11 11:16:18 +00:00
Varun Shah
667db1bea5 Merge "Use language tags to store Configuration's locale list." into qt-dev am: 6dfa267f91
am: 6947f255e4

Change-Id: Ic1954896252b758e8360c7fdf7cdeddb184bab03
2019-09-10 23:36:07 -07:00
Varun Shah
6947f255e4 Merge "Use language tags to store Configuration's locale list." into qt-dev
am: 6dfa267f91

Change-Id: Ia7f30abab7396bc36eb2d69990129143601b028b
2019-09-10 23:29:10 -07:00
TreeHugger Robot
6dfa267f91 Merge "Use language tags to store Configuration's locale list." into qt-dev 2019-09-11 06:05:23 +00:00
Zongheng Wang
27abc162b8 [automerger skipped] Set default phonebook access to ACCESS_REJECTED when user didn't choose one am: 1f9309bd11 am: a376239229 -s ours am: aee078eae7 -s ours am: 870474af0c -s ours am: 69561082c5 -s ours
am: 4a70ea3ff0 -s ours
am skip reason: change_id Iefabeb731b941f09fe1272ac7b7cd2feba75c8df with SHA1 9b3cb0f06b is in history

Change-Id: Id366929e30e4f81d36b233a120155c039eb84cd2
2019-09-10 19:13:10 -07:00
Zongheng Wang
4a70ea3ff0 [automerger skipped] Set default phonebook access to ACCESS_REJECTED when user didn't choose one am: 1f9309bd11 am: a376239229 -s ours am: aee078eae7 -s ours am: 870474af0c -s ours
am: 69561082c5 -s ours
am skip reason: change_id Iefabeb731b941f09fe1272ac7b7cd2feba75c8df with SHA1 9b3cb0f06b is in history

Change-Id: I7a11006386d200b0da8eb0e3b27741e1efedb473
2019-09-10 19:07:08 -07:00
Zongheng Wang
69561082c5 [automerger skipped] Set default phonebook access to ACCESS_REJECTED when user didn't choose one am: 1f9309bd11 am: a376239229 -s ours am: aee078eae7 -s ours
am: 870474af0c -s ours
am skip reason: change_id Iefabeb731b941f09fe1272ac7b7cd2feba75c8df with SHA1 9b3cb0f06b is in history

Change-Id: I5c210241a714fc4064e8f83cc35e77315616337e
2019-09-10 18:55:09 -07:00
Zongheng Wang
aabac7023b [automerger skipped] Set default phonebook access to ACCESS_REJECTED when user didn't choose one am: 02046b4f2c -s ours am: a6c49f091d -s ours am: 8a7c7cf04c -s ours
am: eadf7dfa79 -s ours
am skip reason: change_id Iefabeb731b941f09fe1272ac7b7cd2feba75c8df with SHA1 9b3cb0f06b is in history

Change-Id: I632e3683e003383951f80c80a988b689805498b5
2019-09-10 18:52:07 -07:00
Zongheng Wang
870474af0c [automerger skipped] Set default phonebook access to ACCESS_REJECTED when user didn't choose one am: 1f9309bd11 am: a376239229 -s ours
am: aee078eae7 -s ours
am skip reason: change_id Iefabeb731b941f09fe1272ac7b7cd2feba75c8df with SHA1 9b3cb0f06b is in history

Change-Id: Ifb20decfdf6a48b599931f87a733e97013538888
2019-09-10 18:41:23 -07:00
Zongheng Wang
eadf7dfa79 [automerger skipped] Set default phonebook access to ACCESS_REJECTED when user didn't choose one am: 02046b4f2c -s ours am: a6c49f091d -s ours
am: 8a7c7cf04c -s ours
am skip reason: change_id Iefabeb731b941f09fe1272ac7b7cd2feba75c8df with SHA1 9b3cb0f06b is in history

Change-Id: I2a6ea0a79ee30b3f40597b25ea9d4e936d24147a
2019-09-10 18:40:02 -07:00
Zongheng Wang
8d11b8f9e1 [automerger skipped] Merge "Set default phonebook access to ACCESS_REJECTED when user didn't choose one" into pi-dev am: 20d46e4bf1 -s ours am: a36fc3bb2c -s ours
am: 8c17cb7e3d -s ours
am skip reason: change_id Iefabeb731b941f09fe1272ac7b7cd2feba75c8df with SHA1 efdcff2452 is in history

Change-Id: Iba01f5b6dc61c1a1c8040726faef7f1da7447fd9
2019-09-10 18:38:10 -07:00
Zongheng Wang
4cbd91c71c Merge "Set default phonebook access to ACCESS_REJECTED when user didn't choose one" into qt-dev am: 4e4b2875d5
am: 596b6f71b4

Change-Id: I31c5b51efb95050b2a39e94e44fed63dfdffefcb
2019-09-10 18:35:10 -07:00
Zongheng Wang
8a7c7cf04c [automerger skipped] Set default phonebook access to ACCESS_REJECTED when user didn't choose one am: 02046b4f2c -s ours
am: a6c49f091d -s ours
am skip reason: change_id Iefabeb731b941f09fe1272ac7b7cd2feba75c8df with SHA1 9b3cb0f06b is in history

Change-Id: Iebe662b90075b9fcc0fdeabcd6424b84355b05fb
2019-09-10 18:30:59 -07:00
Zongheng Wang
aee078eae7 [automerger skipped] Set default phonebook access to ACCESS_REJECTED when user didn't choose one am: 1f9309bd11
am: a376239229 -s ours
am skip reason: change_id Iefabeb731b941f09fe1272ac7b7cd2feba75c8df with SHA1 02046b4f2c is in history

Change-Id: I3cc4d873250f924af768b37e97338024ee236e6e
2019-09-10 18:30:55 -07:00
Zongheng Wang
8c17cb7e3d [automerger skipped] Merge "Set default phonebook access to ACCESS_REJECTED when user didn't choose one" into pi-dev am: 20d46e4bf1 -s ours
am: a36fc3bb2c -s ours
am skip reason: change_id Iefabeb731b941f09fe1272ac7b7cd2feba75c8df with SHA1 efdcff2452 is in history

Change-Id: Ifdfc5a0d8f73cbd1338b53651cf8d293a2625726
2019-09-10 18:27:14 -07:00
Zongheng Wang
a36fc3bb2c [automerger skipped] Merge "Set default phonebook access to ACCESS_REJECTED when user didn't choose one" into pi-dev
am: 20d46e4bf1 -s ours
am skip reason: change_id Iefabeb731b941f09fe1272ac7b7cd2feba75c8df with SHA1 efdcff2452 is in history

Change-Id: I695edafa45fc296fff1b84d786c8a804f5996934
2019-09-10 18:21:53 -07:00
Zongheng Wang
a6c49f091d [automerger skipped] Set default phonebook access to ACCESS_REJECTED when user didn't choose one
am: 02046b4f2c -s ours
am skip reason: change_id Iefabeb731b941f09fe1272ac7b7cd2feba75c8df with SHA1 9b3cb0f06b is in history

Change-Id: I6003b908b417a8bb1d687b5eafe2f2646f63e814
2019-09-10 18:20:49 -07:00
Zongheng Wang
a376239229 Set default phonebook access to ACCESS_REJECTED when user didn't choose one
am: 1f9309bd11

Change-Id: I142d2737f6444b5148963c1ca7af84e8cf0eded3
2019-09-10 18:16:49 -07:00
Zongheng Wang
596b6f71b4 Merge "Set default phonebook access to ACCESS_REJECTED when user didn't choose one" into qt-dev
am: 4e4b2875d5

Change-Id: I370cf06dd4cf268663a062b0b0d7cd4dea6dd0e2
2019-09-10 18:15:58 -07:00
TreeHugger Robot
20d46e4bf1 Merge "Set default phonebook access to ACCESS_REJECTED when user didn't choose one" into pi-dev 2019-09-11 00:46:54 +00:00
TreeHugger Robot
4e4b2875d5 Merge "Set default phonebook access to ACCESS_REJECTED when user didn't choose one" into qt-dev 2019-09-11 00:46:08 +00:00
jovanak
504e75313d Initialize mScreenLifecycle before user switcher gets created.
Fixes:139682542
Test: turn screen on and off, set lockscreen, switch users
Change-Id: Id10b2e62230b5ee4e5a5ef7419a1500112673049
(cherry picked from commit 4c4971d04a)
2019-09-10 23:33:02 +00:00