Commit Graph

421207 Commits

Author SHA1 Message Date
Nicholas Sauer
e36d59ea71 Merge "Dump all users when dumpsys overlay is invoked" into qt-qpr1-dev 2019-09-11 20:28:48 +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
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
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
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
TreeHugger Robot
0b1782d6b4 Merge "Removes strong ref to Activity from RequestFinishCallback" into qt-qpr1-dev 2019-09-10 23:23:49 +00:00
Miranda Kephart
724b363703 Merge "Merging from qt-qpr1-sysui-dev @ build 5855545" into qt-qpr1-dev 2019-09-10 20:24:03 +00:00
Varun Shah
5e67462971 Use language tags to store Configuration's locale list.
Instead of storing each Locale within a Configuration object's locale
list by its language, country, variant, and script to proto, store the
entire locale list by its language tags representation which accurately
describes each locale.

Bug: 140197723
Test: atest ConfigurationTest
Test: atest UsageStatsDatabaseTest
Test: manually with bad data
Merged-In: I53946ed4e31de0ffe9c84875c391a7dec6f5375a
Change-Id: Idaae690f79a5c680ad0059a52be62160d9dfb5e7
2019-09-10 19:53:57 +00:00
Colin Cross
c09f17d559 Merge "Revert "Use language tags to store Configuration's locale list."" into qt-dev am: dd67a548b2
am: 18bf694f3c

Change-Id: I9481fb2063b8a38a86dd52867c4c9ad52e9b8c7a
2019-09-10 12:36:03 -07:00
Colin Cross
18bf694f3c Merge "Revert "Use language tags to store Configuration's locale list."" into qt-dev
am: dd67a548b2

Change-Id: I0aaee5386c85bf33b292cfa9241c3a0c62dedd29
2019-09-10 12:29:07 -07:00
Colin Cross
dd67a548b2 Merge "Revert "Use language tags to store Configuration's locale list."" into qt-dev 2019-09-10 19:18:48 +00:00
Varun Shah
68cdb74d91 Revert "Use language tags to store Configuration's locale list."
This reverts commit ff43f4e6a6.

Reason for revert: b/140813780

Change-Id: Id5988b9ec959ca9b294f6bd5caa30c8156238d0a
2019-09-10 18:30:47 +00:00
Mark Renouf
1c25fc531f Removes strong ref to Activity from RequestFinishCallback
This change eliminates the strong reference from
RequestFinishCallback to Activity.

Bug: 139782368
Test: Open then finish an activity within an ongoing app process
      Observe the Activity instance is no longer strongly reachable
      in the app process after onDestroy() completes.

Change-Id: I13e9707e96721a2d491629147337aaedc3473651
2019-09-10 14:08:36 -04:00
Varun Shah
6540f10816 Merge "Use language tags to store Configuration's locale list." into qt-dev am: bdfd7d6adb
am: ec466c0a8e

Change-Id: If5fbf5869ebed425d2df0d5472d7bbe859fb6505
2019-09-10 10:17:23 -07:00
Varun Shah
876b7721e8 Fix bootloop issue with UsageStatsService. am: 669d886cdc
am: ee3d800165

Change-Id: I072386698c090d4609b1315c9cae03897244dc2d
2019-09-10 10:17:18 -07:00
Varun Shah
ec466c0a8e Merge "Use language tags to store Configuration's locale list." into qt-dev
am: bdfd7d6adb

Change-Id: I2ed88e4ce5bd3a00cc9ea951815c17c57a6599a2
2019-09-10 10:10:25 -07:00
Varun Shah
ee3d800165 Fix bootloop issue with UsageStatsService.
am: 669d886cdc

Change-Id: Iab6f4086aa2bd2b5709f499b85ce79359cd76829
2019-09-10 10:10:20 -07:00
Lucas Dupin
79300f15d7 Merge "Fix issue where notif wouldn't HUN" into qt-qpr1-dev 2019-09-10 16:52:19 +00:00
Varun Shah
bdfd7d6adb Merge "Use language tags to store Configuration's locale list." into qt-dev 2019-09-10 16:51:37 +00:00
TreeHugger Robot
c7bc6811ee Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev 2019-09-10 15:45:33 +00:00
TreeHugger Robot
f1d7d5e2d9 Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev 2019-09-10 15:19:55 +00:00
Bill Yi
ae5f3cd1c7 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I73f4e9c441b4ac2442ccddfd721457509d30b17a
2019-09-10 07:20:14 -07:00
Ryan Mitchell
bb2cef6b04 Dump all users when dumpsys overlay is invoked
Currently bugreports are missing OMS settings for non-system users. This
change dumps overlay information for all users when the --user flag is
not provided and it fixes the --user flag not parsing the specified id
correctly.

Bug: 137796495
Bug: 136549878
bug: 140734485
Test: manual
Change-Id: I0d545253179b3545307b88b3151d11fd9e6cbd5b
(cherry picked from commit b7ef06ac37)
2019-09-10 06:27:06 +00:00
Bill Yi
4721b6583a Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I9a01f4272e5fc8b0712515b32abdc6f562217c0f
2019-09-09 20:47:04 -07:00