Dave Mankoff
a2d4ed196c
Change ViewController#initInternal to #onInit
...
Bug: 171472009
Test: manual
Change-Id: Iddc6c0240486b0d3005216bba0c40bfb481b94b3
2020-10-23 09:14:58 -04:00
TreeHugger Robot
51b7fea904
Merge "Added more permissions for CarProvisioning app."
2020-10-22 19:19:23 +00:00
TreeHugger Robot
f0b085e1c4
Merge "Import translations. DO NOT MERGE ANYWHERE"
2020-10-22 18:55:48 +00:00
Sergey Nikolaienkov
5eec4cefd1
Merge "Fix WMShellFlickerTest on TV"
2020-10-22 18:29:30 +00:00
Nazanin Bakhshi
3609d63a25
Merge "Fix enum formatting for atoms: first value should be zero"
2020-10-22 17:59:26 +00:00
Chris Li
22f1a934a4
Merge "Add reset wm shell command to reset all"
2020-10-22 17:46:04 +00:00
TreeHugger Robot
e4c71a611e
Merge "Put InputTests into presubmit"
2020-10-22 17:35:02 +00:00
Jorge Gil
41ee1aa407
Merge "Move aspect ratio state into PipBoundsState"
2020-10-22 17:30:07 +00:00
TreeHugger Robot
da253452f2
Merge "Optimize Content Provider removal."
2020-10-22 17:22:58 +00:00
TreeHugger Robot
d544d34cd2
Merge "[CEC Configuration] Add debug output to adb shell dumpsys hdmi_control"
2020-10-22 17:00:08 +00:00
TreeHugger Robot
5e09343713
Merge "Keeps activity in visible state when LiveTiles task is animating"
2020-10-22 16:56:55 +00:00
Jeff DeCew
2e6891135e
Merge "Fix NPE in NotificationRow"
2020-10-22 16:56:13 +00:00
TreeHugger Robot
f547d5766a
Merge "Send initial airplane mode status to Context Hub"
2020-10-22 16:40:12 +00:00
Jeff DeCew
b851fee857
Fix NPE in NotificationRow
...
Fixes: 171461675
Test: SystemUITests
Change-Id: Iff04960d33f12abd203daa2ce519ba2ccae84f01
2020-10-22 12:30:16 -04:00
TreeHugger Robot
78bb2ffe5b
Merge "Add initInternal to ViewController."
2020-10-22 16:29:12 +00:00
TreeHugger Robot
96e4c40c7a
Merge "Fix output switcher didn't show album art"
2020-10-22 16:13:32 +00:00
TreeHugger Robot
17418998d4
Merge "[CEC Configuration] Rename getAvailableCecSettings to getUserCecSettings"
2020-10-22 15:19:41 +00:00
Arthur Ishiguro
3c90b16f7c
Send initial airplane mode status to Context Hub
...
Bug: 166845383
Test: Flash, verify setting gets sent on boot
Change-Id: Ief850d6e0e1750b60cc8e4ff83b2208b41c3fb5b
2020-10-22 07:51:15 -07:00
Dave Mankoff
dd1341ec62
Add initInternal to ViewController.
...
ViewController's init method was not ideal to override. On the one hand,
if you put a call super.init() first your onViewAttach method is called
before you're subclass's init.
Further, if you put your own code befer super.init(), you are still left
with the problem that your init is not automatically idempotent, and
multiple calls to #init() could result in multiple executions of your
code unless you handle it yourself.
With this change, #initInternal() is introduced, giving ViewControllers
a place to put their run-once code such that it runs before any
view-attachment callbacks are fired.
Fixes: 171472009
Test: manual
Change-Id: I2e284024c82e3f7c7b6f29f22a1ffa3c8aae9fcb
2020-10-22 10:49:13 -04:00
TreeHugger Robot
922b08b634
Merge changes I4b2ad6de,I9971e939
...
* changes:
Update ContextHubService to handle airplane mode settings
Adds airplane mode handing in IContextHubWrapper
2020-10-22 14:39:57 +00:00
TreeHugger Robot
229b996b99
Merge "Use null as default argument"
2020-10-22 14:33:37 +00:00
TreeHugger Robot
6c7012413e
Merge "Create CombinedVibrationEffect.aidl"
2020-10-22 14:06:09 +00:00
Wale Ogunwale
089dda160c
Merge "Made ShellTaskOrganizer thread safe"
2020-10-22 13:52:27 +00:00
Sergey Nikolaienkov
2bee685151
Fix WMShellFlickerTest on TV
...
Add intent-filter for LEANBACK_LAUNCHER to PipActivity and ImeActivity
in com.android.wm.shell.flicker.testapp.
Bug: 170484870
Test: atest WMShellFlickerTests:PipKeyboardTest
Change-Id: Ib9be4d4c30c5759a18b67be1a606c06562b47d3c
2020-10-22 13:46:05 +00:00
Sarah Chin
617a0256ad
[automerger skipped] Merge "Add HANDLE_CAR_MODE_CHANGED permission" am: 2538a16428 -s ours am: 8ab8d927f7 -s ours am: 5f5a89bcdf -s ours am: 944c797ccf -s ours
...
am skip reason: Change-Id If3ad86a2564ce3ba53afea44e8ad5bf02b8d51e0 with SHA-1 c363a3a148 is in history
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1415309
Change-Id: I53e8d6513a53e84ed92c0452b81cb41cd72bcb2e
2020-10-22 13:20:02 +00:00
Felka Chang
91581bf1bb
Merge "Remove PackageManager.getResourcesForApplicationAsUser API"
2020-10-22 13:01:35 +00:00
Michal Olech
a746443004
[CEC Configuration] Add debug output to adb shell dumpsys hdmi_control
...
Bug: 166429362
Test: adb shell dumpsys hdmi_control
Change-Id: I3ed7e23e56fc0710bb1ff99074f6cef6ad0e74de
2020-10-22 14:50:31 +02:00
Michal Olech
b71636ad79
[CEC Configuration] Rename getAvailableCecSettings to getUserCecSettings
...
Also:
* use @CecSettingName more extensively in the API and method signature.
* add getAllCecSettings() method to HdmiCecConfig.
Bug: 168020131
Test: atest HdmiCecConfigTest
Change-Id: I318357befb05324afd0132dfcbaf2d9cc6f7bf33
2020-10-22 14:50:31 +02:00
Sarah Chin
944c797ccf
[automerger skipped] Merge "Add HANDLE_CAR_MODE_CHANGED permission" am: 2538a16428 -s ours am: 8ab8d927f7 -s ours am: 5f5a89bcdf -s ours
...
am skip reason: Change-Id If3ad86a2564ce3ba53afea44e8ad5bf02b8d51e0 with SHA-1 c363a3a148 is in history
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1415309
Change-Id: I22a814926a7d639ca1962cc96210768b79db6ab0
2020-10-22 12:22:54 +00:00
Michal Olech
ec820fd42c
Merge changes from topic "CecConfigZero"
...
* changes:
[CEC Configuration] Add CEC Configuration APIs
[CEC Configuration] Add XML schema parser API
2020-10-22 11:41:21 +00:00
Sarah Chin
5f5a89bcdf
[automerger skipped] Merge "Add HANDLE_CAR_MODE_CHANGED permission" am: 2538a16428 -s ours am: 8ab8d927f7 -s ours
...
am skip reason: Change-Id If3ad86a2564ce3ba53afea44e8ad5bf02b8d51e0 with SHA-1 c363a3a148 is in history
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1415309
Change-Id: I7f522e56487b96464d094ed5b60f7cf7a424f16f
2020-10-22 10:54:24 +00:00
Kevin Hufnagle
1cb03ee5aa
Merge "docs: Use correct profile for intent" into rvc-dev am: b7eef50878 am: dc4f87a3ad am: 41f955e8b6 am: 41483ef7ed
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12879988
Change-Id: I77a66ceb10ad3f76db81fc7655c116ee10516553
2020-10-22 10:49:51 +00:00
Kevin Hufnagle
d0f3d1c5d1
Merge "docs: Use correct profile for intent" into rvc-dev am: b7eef50878 am: dc4f87a3ad am: 85cb19429e am: a870b6641d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12879988
Change-Id: Ia650da42c6ee075f82d6e751bb5b7b27d0ff3a77
2020-10-22 10:49:04 +00:00
Kevin Hufnagle
41483ef7ed
Merge "docs: Use correct profile for intent" into rvc-dev am: b7eef50878 am: dc4f87a3ad am: 41f955e8b6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12879988
Change-Id: Ie87dc58b3ef9f81b107ada81255e20a7cb171323
2020-10-22 10:14:24 +00:00
Kevin Hufnagle
a870b6641d
Merge "docs: Use correct profile for intent" into rvc-dev am: b7eef50878 am: dc4f87a3ad am: 85cb19429e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12879988
Change-Id: I03aa9aa1cceac982d2ae5141c825d2a27bcf3abc
2020-10-22 10:10:13 +00:00
TreeHugger Robot
2774758434
Merge "Add Benchmark for PackageManager.getResourcesForApplication"
2020-10-22 09:57:16 +00:00
Sarah Chin
8ab8d927f7
[automerger skipped] Merge "Add HANDLE_CAR_MODE_CHANGED permission" am: 2538a16428 -s ours
...
am skip reason: Change-Id If3ad86a2564ce3ba53afea44e8ad5bf02b8d51e0 with SHA-1 c363a3a148 is in history
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1415309
Change-Id: I02f073be29e19a58723df4d74b0d21995f169d3e
2020-10-22 09:47:51 +00:00
Kevin Hufnagle
41f955e8b6
Merge "docs: Use correct profile for intent" into rvc-dev am: b7eef50878 am: dc4f87a3ad
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12879988
Change-Id: Ia29277f79e0235194c592a6f60cec35bd59f9442
2020-10-22 09:46:41 +00:00
Michal Olech
b4fd0e8576
[CEC Configuration] Add CEC Configuration APIs
...
Bug: 166426337
Bug: 169144568
Test: atest HdmiCecConfigTest
Change-Id: I7f109027103e73955d09b251a7a94aee9beded67
2020-10-22 11:26:40 +02:00
Riddle Hsu
01d9fe8db3
Merge "Only rely on ActivityConfigurationChangeItem to update activity config"
2020-10-22 09:24:16 +00:00
Kevin Hufnagle
85cb19429e
Merge "docs: Use correct profile for intent" into rvc-dev am: b7eef50878 am: dc4f87a3ad
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12879988
Change-Id: Iabde9e51dcf46813a817f0be6d7cb1d5eb9a3915
2020-10-22 08:56:38 +00:00
Felka Chang
a0bf0ccc74
Add Benchmark for PackageManager.getResourcesForApplication
...
Add the benchmark for anwsering the performance issue.
* the cost of the createContextAsUser
* the comparsion between *AsUser and createContextAsUser
Test: atest CorePerfTests:android.content.pm.PackageManagerBenchmark
Bug: 171370490
Change-Id: I7da6d4127520c1132c6050472a0c1ba462ab03d3
2020-10-22 16:36:16 +08:00
Chiachang Wang
5875c314c8
Merge "Use alternative PhoneStateListener formal API" am: 5d0529e6d0 am: e42b9b2b4d am: 639ab78ded am: bdabe2429b
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1466222
Change-Id: I6506f7dfd3aa80fa5eec2f3b0bc8ec415aae37ad
2020-10-22 08:25:08 +00:00
Nazanin Bakhshi
1dc13bcf13
[automerger skipped] Merge "initialized carrier_certificate_string_array to an empty array instead of null, so that when a certificate is removed, it is also removed in SubscriptionInfoUpdater#updateSubscriptionByCarrierConfig" am: 12231e3a46 am: fc5c95c7db am: 1218bbd843 am: 3798b435ed -s ours
...
am skip reason: Change-Id I921007498f42119581f565fcc6625c1275c59df8 with SHA-1 d18cde663e is in history
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1469714
Change-Id: I58dcfb026ada4a4fa2b4359eb349a3d357de23fd
2020-10-22 08:21:33 +00:00
TreeHugger Robot
d00e7d7ce5
Merge "Merge "Remove unused methods from LinkProperties." am: ec3a0131b9 am: cc7d3d97f3 am: b4f637d300 am: c7c6d5ab55" into mainline-prod am: 4aa8adb073
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12891080
Change-Id: I46718037b41181e32d2749ab4620020efc403f21
2020-10-22 08:01:39 +00:00
Kevin Hufnagle
c841e87526
Merge "docs: Use correct profile for intent" into rvc-dev am: b7eef50878 am: 63314714e0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12879988
Change-Id: Ifb153b103c7a0a014f05e3b5d38fe91da1e29d38
2020-10-22 08:01:16 +00:00
TreeHugger Robot
f21b3bcb61
Merge "Ignore non test package events for AppStandbyControllerTests" into rvc-dev am: 2ac647d545 am: 27831ee373
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12788106
Change-Id: I138339f9dafde4050554656b45a719cfcdb7a5f1
2020-10-22 08:00:36 +00:00
Chiachang Wang
bdabe2429b
Merge "Use alternative PhoneStateListener formal API" am: 5d0529e6d0 am: e42b9b2b4d am: 639ab78ded
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1466222
Change-Id: I8c3099149b7b21c93efe7bda78f8330223092544
2020-10-22 07:59:56 +00:00
Nazanin Bakhshi
3798b435ed
Merge "initialized carrier_certificate_string_array to an empty array instead of null, so that when a certificate is removed, it is also removed in SubscriptionInfoUpdater#updateSubscriptionByCarrierConfig" am: 12231e3a46 am: fc5c95c7db am: 1218bbd843
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1469714
Change-Id: I53d3cea2ff838ba2fdbd0deb8ee8e39ac97a09e6
2020-10-22 07:55:19 +00:00
Chiachang Wang
639ab78ded
Merge "Use alternative PhoneStateListener formal API" am: 5d0529e6d0 am: e42b9b2b4d
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1466222
Change-Id: I7d9b3b150d0d90b1b6edcd199f7e9454a0b00a8d
2020-10-22 07:28:17 +00:00