Commit Graph

424299 Commits

Author SHA1 Message Date
Jay Aliomer
730fc5b2c9 Battery Saver capitilized in tile
When the phone is in battery saver mode, the "Battery Saver" secondary
label should be capitalized

Test: manual

Fixes: 145694753
Change-Id: Ia88547aa05ad441b07da3044e7148e1a918c28b5
2019-12-18 02:07:12 +00:00
TreeHugger Robot
334284974e Merge "DO NOT MERGE: Exclude nearby_sharing_component from backup test" into qt-qpr1-dev 2019-12-18 01:42:06 +00:00
Dan Sandler
d4af97c549 DO NOT MERGE: Exclude nearby_sharing_component from backup test
Fixes: 146019461
Test: atest SettingsBackupTest
Change-Id: Ieb953284f2c00d69220e776f2b628f73013140e0
2019-12-18 01:08:13 +00:00
TreeHugger Robot
d52eff6727 Merge "Fix lock screen wallpaper" into qt-qpr1-dev 2019-12-18 00:34:12 +00:00
Automerger Merge Worker
18c0fbfacd Merge "docs: Fixed typo" into qt-dev am: 3e4f4f9933 am: 6231cffbb8
Change-Id: I1653273a1d9c0eae7b8a8406bc188e2e909ffaa0
2019-12-17 23:43:26 +00:00
Automerger Merge Worker
6231cffbb8 Merge "docs: Fixed typo" into qt-dev am: 3e4f4f9933
Change-Id: Ic625ffed3ce23a7766a12a153d9794a4abf7a6b5
2019-12-17 23:31:47 +00:00
Andrew Solovay
3e4f4f9933 Merge "docs: Fixed typo" into qt-dev 2019-12-17 23:20:29 +00:00
Emilian Peev
e6818d5f6c Camera: Fix typo when comparing display size height
Call "getHeight()" instead of "getWidth()" when
comparing against preview size height.

Bug: 146364316
Test: Camera CTS
Change-Id: I588fd3b331380ff20762c24762e997d4a878cc44
Merged-In: I588fd3b331380ff20762c24762e997d4a878cc44
(cherry picked from commit 8649a91686)
2019-12-17 22:59:38 +00:00
Jay Aliomer
a8a1e592aa Merge "Dark theme battery saver tile secondary text" into qt-qpr1-dev 2019-12-17 21:58:37 +00:00
TreeHugger Robot
f63047c04b Merge "Avoid lock inversion." into qt-qpr1-dev 2019-12-17 21:27:34 +00:00
Lucas Dupin
2b8bc15d9d Fix lock screen wallpaper
LockscreenWallpaper was set to null on NotificationMediaManager because
StatusBar#mWallpaperSupported was not initialized yet.

Fixes: 146252300
Test: manual
Change-Id: I4c5151ad6b40d0f0996fdbb825745729cc003425
Merged-In: I4c5151ad6b40d0f0996fdbb825745729cc003425
2019-12-17 21:19:29 +00:00
Jay Aliomer
f19ce4af1d Dark theme battery saver tile secondary text
Dark theme tile on battery saver should show
"Dark theme" and "Battery saver" on two lines

Test: manual. turn battery saver on while dark theme on auto

Fixes: 146439388
Change-Id: I460b582ca7fcf244b406d6eaf70c10e4edc52d85
2019-12-17 20:57:08 +00:00
Automerger Merge Worker
c06564375b docs: Removing most of the intro to PowerManager API am: 3fea8d1042 am: f92878e651
Change-Id: I07ea69318879ad5c70c99880c6cc6c57a348d76a
2019-12-17 20:18:50 +00:00
Automerger Merge Worker
f92878e651 docs: Removing most of the intro to PowerManager API am: 3fea8d1042
Change-Id: I25c41e4998197ef1df2c95fb1f2360360970389f
2019-12-17 19:58:53 +00:00
TreeHugger Robot
0454ccde27 Merge "[DO NOT MERGE] Better timestamp for shutdown and startup events." into qt-qpr1-dev 2019-12-17 19:01:59 +00:00
Hui Yu
7e53cb7166 Merge "[DO NOT MERGE] Reset mTrackingReportedValues in endSample()" into qt-qpr1-dev 2019-12-17 19:01:15 +00:00
Walter Jang
e5a34c8bc1 Remove contacts affinity from contact permission descriptions
Bug: 146210091
Bug: 111210683
Test: NOne
Change-Id: I44c80a08e541503c1f910c4410fbcce3dd05a24e
Merged-In: I44c80a08e541503c1f910c4410fbcce3dd05a24e
(cherry picked from commit 1e713c1eab)
2019-12-17 14:56:28 +00:00
TreeHugger Robot
ee9c25e7ea Merge "DO NOT MERGE - Fix StatusBar.updateIsKeyguard() when suspending to RAM." into qt-qpr1-dev 2019-12-17 03:21:16 +00:00
Hui Yu
7293dfca7c [DO NOT MERGE] Reset mTrackingReportedValues in endSample()
Otherwise, when next SamplingTimer.update() is called, it will take
zero as start time.

Bug: 142466892
Test: NA.

Change-Id: I04625fadd8fd8bab3ba83b8e7cd10737ad34e60b
(cherry picked from commit c7d49e01dd)
2019-12-17 00:45:31 +00:00
Adam He
483da5385f DO NOT MERGE - Temporary fix to disable augmented autofill requests coming from
password fields.

Bug: 141703197
Test: atest android.autofillservice.cts.augmented
Change-Id: I09a75ad5674a0cfdb169b49461bfec2a129e781f
2019-12-16 16:39:28 -08:00
Andrew Solovay
b0c09e4ba6 docs: Fixed typo
Fixed a clear copy/paste error, docs had said "call getHeight() to
get the width" when it should have been "...to get the height".

Skipping staging since it's a simple text change.

Change-Id: Ic06557ac38517f409943585054835d774240ccf3
Test: make ds-docs
Exempt-from-owner-approval: Docs-only change
Bug: 144537947
2019-12-16 14:54:09 -08:00
Felipe Leme
fea5c4af0e DO NOT MERGE - Fix StatusBar.updateIsKeyguard() when suspending to RAM.
That method was throwing a NPE on automotive because it's called before start()

Test: check logcat while running 'adb shell dumpsys car_service suspend'
Fixes: 146144370
Change-Id: Id863acac44f75b06c8cd1a0f0bcd6f23f8ab6fd9
(cherry picked from commit 20e362a92b8376b590d5df615265050dd6838c91)
2019-12-16 14:32:54 -08:00
Hui Yu
8d83364c5f [DO NOT MERGE] Better timestamp for shutdown and startup events.
Fix the bug that during android P to Q upgrade, DEVICE_SHUTDOWN
event mistakenly gets a newer timestamp than DEVICE_STARTUP event.

Bug: 139656029
Test: flash the device with android P, then upgrade to android Q,
then "adb shell dumpsys usagestats", observe DEVICE_SHUTDOWN
is before DEVICE_STARTUP.

Change-Id: I5429fe7648529be8379270adefd26bd98a31357c
2019-12-16 22:26:45 +00:00
Andrew Solovay
3fea8d1042 docs: Removing most of the intro to PowerManager API
The intro text says PowerManager is discouraged, and almost
all the available wakelock options have long been deprecated.
Given that, I think it makes sense to remove most of that
intro and just point devs to FLAG_KEEP_SCREEN_ON instead.

Staged to:
go/dac-stage/reference/android/os/PowerManager

Test: make ds-docs
Bug: 145699347
Change-Id: I517366903f3d9743166d7edaddc08471af0803d9
2019-12-16 22:05:12 +00:00
Alex Lin
7fd29af1f0 Merge "[DO NOT MERGE] Add country blacklist support" into qt-qpr1-dev 2019-12-16 21:34:45 +00:00
Alex Lin
97dad931df [DO NOT MERGE] Add country blacklist support
Adding a country blacklist, except for pixel2(walleye, taimen) will still uses whitelist
Bug: 144702079
Test: manually tested

Change-Id: I21c146556e5406ecf5c72f74767ea8d5fc643aec
2019-12-16 12:30:39 -08:00
TreeHugger Robot
248a73969f Merge "Check for wallpaper service on DozeWallpaperState." into qt-qpr1-dev 2019-12-16 19:42:05 +00:00
davidln
b6dce0b74f Concurrent collections for Bluetooth callbacks.
This allows callback classes to remove themselves or add additional
callbacks in response to state change dispatches.

Bug: 129060225
Bug: 144357642

Test: build and deploy, pair multiple devices, switch users

Change-Id: I8eed81bbc9c12321ec41b2491d006764e2e483d6
Merged-In: I8eed81bbc9c12321ec41b2491d006764e2e483d6
2019-12-16 18:47:18 +00:00
Jayachandran Chinnakkannu
e941f726bc Merge "Remove READ_SMS permission for ACTION_SMS_MMS_DB_CREATED" into qt-qpr1-dev 2019-12-16 18:07:07 +00:00
TreeHugger Robot
30468d0963 Merge "DO NOT MERGE - Do not show Bluetooth icon when headset is not active" into qt-qpr1-dev 2019-12-16 11:04:37 +00:00
TreeHugger Robot
90387eb27f Merge "more precise definition for undecorated remoteviews" into qt-qpr1-dev 2019-12-14 16:49:31 +00:00
Eric Berglund
c8a530ea65 DO NOT MERGE Fixing build, missing parameter.
Bug: 145946470, 146228232
Test: Builds locally
Change-Id: I7f3632c90ca424d70b1cc6e20f88e741ff25efaa
2019-12-13 22:27:36 +00:00
Jayachandran C
b9da911011 Remove READ_SMS permission for ACTION_SMS_MMS_DB_CREATED
Bug: 144739528
Test: Build
Change-Id: I27341bf7c1f6fc640ba51360f8a6035cdb86052b
Merged-In: I27341bf7c1f6fc640ba51360f8a6035cdb86052b
2019-12-13 13:55:14 -08:00
Felipe Leme
b849ed5085 Check for wallpaper service on DozeWallpaperState.
It's disabled by default on automotive builds.

Bug: 146157808
Test: check logcat while running 'adb shell dumpsys car_service suspend'

Change-Id: Ifb0815f260d61bb8307f4b7c7798d9a5684d0d20
(cherry picked from commit 6844c394fbb6e0170f893de58520a73fabaa1229)
2019-12-13 13:24:17 -08:00
Chris Wren
6cbf57b4b0 more precise definition for undecorated remoteviews
Bug: 145994957
Test: atest NotificationRecordTest
Change-Id: I9427137879dc87f32231fbc5cb8ed34cf5ce787a
2019-12-13 15:42:19 -05:00
Eric Berglund
721ba25c03 Merge "DO NOT MERGE Triggering status bar refresh on locale change so that the notifications panel updates to the new language." into qt-qpr1-dev 2019-12-13 20:01:18 +00:00
Automerger Merge Worker
aea739b3f4 Merge "Put userId at the end of parcel" into qt-dev am: 899f8301e0 am: 056b56c6b7
Change-Id: Id17055f72243306cac9e46abff2cf313492f5e7c
2019-12-13 19:31:04 +00:00
Automerger Merge Worker
056b56c6b7 Merge "Put userId at the end of parcel" into qt-dev am: 899f8301e0
Change-Id: If6ce5c989102c8fb6cdc1fa82cde79817f6c3423
2019-12-13 19:11:21 +00:00
TreeHugger Robot
899f8301e0 Merge "Put userId at the end of parcel" into qt-dev 2019-12-13 18:50:54 +00:00
Heemin Seog
480ea64acb Merge "DO NOT MERGE Make fixes to make sysui more customizable" into qt-qpr1-dev 2019-12-13 18:47:31 +00:00
Automerger Merge Worker
04a579c98b [automerger skipped] Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into oc-dev am: 0f41dc420f am: 5f1d7675ea am: ad56194783 -s ours am: 929b23ac43 -s ours am: d98efda2ba am: 0626709062
Change-Id: I80d933328f24433bf7f0b5087feaa25072f4b99a
2019-12-13 18:19:00 +00:00
Automerger Merge Worker
7ff4dc9b9e [automerger skipped] RESTRICT AUTOMERGE am: fe4bf7926e am: 9680a6d75d am: e0465e2881 -s ours am: 8c5af9b7d9 -s ours am: 1ed77b86cf am: ee0de45fee
Change-Id: I5133d09b6f17678932516ace8650d884e84175d5
2019-12-13 18:18:45 +00:00
Automerger Merge Worker
0626709062 [automerger skipped] Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into oc-dev am: 0f41dc420f am: 5f1d7675ea am: ad56194783 -s ours am: 929b23ac43 -s ours am: d98efda2ba
Change-Id: I7feee02b0dfab2d74ee82fee39a2ba5a77c27f99
2019-12-13 18:04:31 +00:00
Automerger Merge Worker
ee0de45fee [automerger skipped] RESTRICT AUTOMERGE am: fe4bf7926e am: 9680a6d75d am: e0465e2881 -s ours am: 8c5af9b7d9 -s ours am: 1ed77b86cf
Change-Id: Icdc837b6af117638414dea01063a66161ce8465c
2019-12-13 18:04:14 +00:00
Automerger Merge Worker
d98efda2ba [automerger skipped] Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into oc-dev am: 0f41dc420f am: 5f1d7675ea am: ad56194783 -s ours am: 929b23ac43 -s ours
am skip reason: subject contains skip directive

Change-Id: I53d35a4d2f2c517ec50cfdbc22008bda2e4041c5
2019-12-13 17:50:17 +00:00
Automerger Merge Worker
1ed77b86cf [automerger skipped] RESTRICT AUTOMERGE am: fe4bf7926e am: 9680a6d75d am: e0465e2881 -s ours am: 8c5af9b7d9 -s ours
am skip reason: subject contains skip directive

Change-Id: I05c1ed670d07b677a8e6a20b4d50a06b7482cbc6
2019-12-13 17:49:57 +00:00
Automerger Merge Worker
929b23ac43 [automerger skipped] Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into oc-dev am: 0f41dc420f am: 5f1d7675ea am: ad56194783 -s ours
am skip reason: subject contains skip directive

Change-Id: I5b7670226082f60abc45ae023e687a8b0191f20e
2019-12-13 17:37:31 +00:00
Automerger Merge Worker
8c5af9b7d9 [automerger skipped] RESTRICT AUTOMERGE am: fe4bf7926e am: 9680a6d75d am: e0465e2881 -s ours
am skip reason: subject contains skip directive

Change-Id: I67f8185d1a6d3b75fad924d07e8eb6e8e9db0207
2019-12-13 17:37:15 +00:00
Automerger Merge Worker
b29239f66f [automerger skipped] Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into oc-mr1-dev am: b64534ceb2 -s ours am: 4505eccb39 -s ours am: 3c352b62af am: 8e3b22b5d7
Change-Id: Ib6b1c893ff93650a06919b3cfe333ba3ac6186f1
2019-12-13 17:31:02 +00:00
Automerger Merge Worker
f210526ceb [automerger skipped] Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into pi-dev am: 4b6e07283c -s ours am: 2b4b2c3d5a am: 512268ba7b
Change-Id: I129c434e45648047df954e6ef9d2c291f8d2817d
2019-12-13 17:30:35 +00:00