OSDN Git Service
Automerger Merge Worker [Thu, 2 Jan 2020 21:50:42 +0000 (21:50 +0000)]
Merge "Fix MediaCodec FLAC Javadoc" into oc-mr1-dev am:
546c644f27 am:
af521c4ced am:
98274d96f5 am:
9868e4c737
Change-Id: I60a049225fd042ee6c559c0a1dcbc99b4b49d92e
Automerger Merge Worker [Thu, 2 Jan 2020 21:25:50 +0000 (21:25 +0000)]
Merge "Fix MediaCodec FLAC Javadoc" into oc-mr1-dev am:
546c644f27 am:
af521c4ced am:
98274d96f5
Change-Id: Id7b90a1a2f4f89e3303e43c1a2a78d7a9587feb3
Automerger Merge Worker [Thu, 2 Jan 2020 21:11:32 +0000 (21:11 +0000)]
Merge "Fix MediaCodec FLAC Javadoc" into oc-mr1-dev am:
546c644f27 am:
af521c4ced
Change-Id: Id28175d26ec9910e184d5520cdf280e3ab831cf4
Automerger Merge Worker [Thu, 2 Jan 2020 20:47:01 +0000 (20:47 +0000)]
Merge "Fix MediaCodec FLAC Javadoc" into oc-mr1-dev am:
546c644f27
Change-Id: I511da6d59c3b525cb678d6bb08a6cfa8e4e5a94f
TreeHugger Robot [Thu, 2 Jan 2020 20:31:27 +0000 (20:31 +0000)]
Merge "Fix MediaCodec FLAC Javadoc" into oc-mr1-dev
TreeHugger Robot [Mon, 30 Dec 2019 19:29:33 +0000 (19:29 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev
TreeHugger Robot [Mon, 30 Dec 2019 16:00:27 +0000 (16:00 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev
Bill Yi [Mon, 30 Dec 2019 15:17:43 +0000 (07:17 -0800)]
Import translations. DO NOT MERGE
Change-Id: I1108db974400d6e4b0c80482517916f2cf1b7d02
Auto-generated-cl: translation import
Bill Yi [Mon, 30 Dec 2019 10:52:09 +0000 (02:52 -0800)]
Import translations. DO NOT MERGE
Change-Id: I3b741dd925de582bc2c9f649785af77ae88ee9bc
Auto-generated-cl: translation import
TreeHugger Robot [Mon, 30 Dec 2019 08:45:28 +0000 (08:45 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev
Bill Yi [Sun, 29 Dec 2019 23:00:10 +0000 (15:00 -0800)]
Import translations. DO NOT MERGE
Change-Id: I4397ed43be999a7e5379baf5661913455b7e098e
Auto-generated-cl: translation import
Bill Yi [Sat, 28 Dec 2019 23:06:28 +0000 (15:06 -0800)]
Import translations. DO NOT MERGE
Change-Id: Id836f5783ad2d8a4ffa9f3f0be7a75c400af7e38
Auto-generated-cl: translation import
Etan Cohen [Sat, 28 Dec 2019 01:30:18 +0000 (01:30 +0000)]
Merge changes I9a0bf442,Id4c7c086 into qt-qpr1-dev
* changes:
[WIFI] Protect broadcasts used by the Wi-Fi framework
[WIFI] Protect broadcasts used by the Wi-Fi framework
Etan Cohen [Fri, 27 Dec 2019 20:47:18 +0000 (12:47 -0800)]
[WIFI] Protect broadcasts used by the Wi-Fi framework
Make sure the broadcasts used by the Wi-Fi framework are protected:
i.e. can only be transmitted by privileged components (as opposed to
any 3rd party app).
Broadcast: Suggestion API
Bug:
146642727
Test: atest android.net.wifi
Test: atest com.android.server.wifi
Merged-In: I9a0bf4428774b13cc6414a223f378e09341a6a55
Change-Id: I9a0bf4428774b13cc6414a223f378e09341a6a55
Etan Cohen [Mon, 23 Dec 2019 22:39:54 +0000 (14:39 -0800)]
[WIFI] Protect broadcasts used by the Wi-Fi framework
Make sure the broadcasts used by the Wi-Fi framework are protected:
i.e. can only be transmitted by privileged components (as opposed to
any 3rd party app).
Broadcast: MAC randomization
Bug:
146642727
Test: atest android.net.wifi
Test: atest com.android.server.wifi
Change-Id: Id4c7c0868ced4b3edb8752e10c0350c190cee862
Merged-In: I9a0bf4428774b13cc6414a223f378e09341a6a55
Bill Yi [Fri, 27 Dec 2019 19:50:01 +0000 (11:50 -0800)]
Import translations. DO NOT MERGE
Change-Id: I1571b49977856a781e697c3d868217b23c1da05c
Auto-generated-cl: translation import
TreeHugger Robot [Thu, 26 Dec 2019 17:16:35 +0000 (17:16 +0000)]
Merge "Camera: Fix typo when comparing display size height" into qt-qpr1-dev
TreeHugger Robot [Mon, 23 Dec 2019 00:28:29 +0000 (00:28 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev
TreeHugger Robot [Mon, 23 Dec 2019 00:28:25 +0000 (00:28 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev
TreeHugger Robot [Mon, 23 Dec 2019 00:26:28 +0000 (00:26 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev
Bill Yi [Sun, 22 Dec 2019 07:49:40 +0000 (23:49 -0800)]
Import translations. DO NOT MERGE
Change-Id: I32f17d8f813231a017f27b1dfa7bb7d2e9a36180
Auto-generated-cl: translation import
Bill Yi [Sun, 22 Dec 2019 03:12:35 +0000 (19:12 -0800)]
Import translations. DO NOT MERGE
Change-Id: I405792e178d6413ca6d626aec23e53ef6a08c00b
Auto-generated-cl: translation import
Bill Yi [Sun, 22 Dec 2019 02:57:04 +0000 (18:57 -0800)]
Import translations. DO NOT MERGE
Change-Id: Ifd1a3cdeed186ac23685dd4f2e7c0cf2e96b7730
Auto-generated-cl: translation import
Bill Yi [Sun, 22 Dec 2019 02:41:01 +0000 (18:41 -0800)]
Import translations. DO NOT MERGE
Change-Id: I4164b5e70c81b29635ced882adbb77dcf2a67219
Auto-generated-cl: translation import
TreeHugger Robot [Sat, 21 Dec 2019 00:38:00 +0000 (00:38 +0000)]
Merge "Fix system service crash on radio session death. DO NOT MERGE" into qt-qpr1-dev
Lucas Dupin [Thu, 21 Nov 2019 23:15:36 +0000 (15:15 -0800)]
Support @left marker
By default cutouts are centered and support a @right marker to allow
them to be right aligned. Let's also support left alignment by
introducing a @left marker.
Test: atest DisplayCutoutTest
Test: manual
Bug:
143222961
Bug:
145707162
Change-Id: Ic5a645bd9f0513f3665f31c8b0f1861585bf30e6
Merged-In: Ic5a645bd9f0513f3665f31c8b0f1861585bf30e6
(cherry picked from commit
6e9636c5e0bde377e43fafaef80d13e8cb57fb92)
TreeHugger Robot [Fri, 20 Dec 2019 18:37:49 +0000 (18:37 +0000)]
Merge "Re-register SMD after motion detected." into qt-qpr1-dev
Remi NGUYEN VAN [Fri, 20 Dec 2019 08:27:55 +0000 (08:27 +0000)]
Merge "Fix parceling of LinkProperties Inet6Addr" into qt-qpr1-dev
Gavin Corkery [Fri, 20 Dec 2019 08:02:11 +0000 (08:02 +0000)]
Merge changes from topic "cp-log-watchdog" into qt-qpr1-dev
* changes:
Log native crashing process
Log watchdog-initiated rollback reason
Add package failure flags to Package Watchdog
TreeHugger Robot [Fri, 20 Dec 2019 05:23:43 +0000 (05:23 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev
Bill Yi [Fri, 20 Dec 2019 03:55:47 +0000 (19:55 -0800)]
Import translations. DO NOT MERGE
Change-Id: I0414a5c64fbb577fb060ee7e93cb1f3e861a0f5a
Auto-generated-cl: translation import
Kweku Adams [Fri, 20 Dec 2019 02:59:42 +0000 (18:59 -0800)]
Re-register SMD after motion detected.
One shot sensors need to be re-registered after they've been triggered.
Since DeviceIdleController wasn't doing that, we weren't properly
tracking motion to inform stationary listeners. This change makes sure
to re-register the motion sensor after some time to make sure motion is
properly tracked.
Bug:
140162457
Test: atest com.android.server.DeviceIdleControllerTest
Change-Id: Ic712e46bdc9d107d56cea3bce72c2e7b2187530a
Merged-In: I8600a8382b7c773be9e200afba96a7f1a74f6e10
Jiashen Wang [Fri, 20 Dec 2019 00:15:16 +0000 (00:15 +0000)]
Merge "[DO NOT MERGE] Exclude euicc_unsupported_countries from backup test" into qt-qpr1-dev
Heemin Seog [Fri, 20 Dec 2019 00:09:53 +0000 (00:09 +0000)]
Merge "DO NOT MERGE Only refresh car notif on language change" into qt-qpr1-dev
Heemin Seog [Thu, 19 Dec 2019 21:36:12 +0000 (13:36 -0800)]
DO NOT MERGE Only refresh car notif on language change
Refreshing all of status bar causes issues with some listeners being
triggered before it is ready to be called.
Bug:
145946470
Bug:
146163621
Bug:
146521766
Test: manual (flash + change language + watch logcat for sysui crash)
Change-Id: If9b2d0fd81698aba21ed3d5708ac68d09bdba0a7
TreeHugger Robot [Thu, 19 Dec 2019 23:12:33 +0000 (23:12 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev
SzuWei Lin [Thu, 19 Dec 2019 14:56:56 +0000 (22:56 +0800)]
[DO NOT MERGE] Exclude euicc_unsupported_countries from backup test
Bug:
146550929
Test: atest SettingsBackupTest
Change-Id: I48c255a4e8999be903e5642ca6d7b312b214d05f
Bill Yi [Thu, 19 Dec 2019 21:52:22 +0000 (13:52 -0800)]
Import translations. DO NOT MERGE
Change-Id: Ic59785b6426a503b06cd1ab16ac7060791dda8ef
Auto-generated-cl: translation import
Tomasz Wasilczyk [Thu, 19 Dec 2019 21:03:38 +0000 (13:03 -0800)]
Fix system service crash on radio session death. DO NOT MERGE
This is a partial cherry-pick from ag/
7063548
Bug:
140203726
Test: adb shell am start -S -W -n com.android.car.radio/.RadioActivity
(multiple times)
Change-Id: I6f16ff6eb82fca63c697d284fb3f45c2bb2be38c
Beverly [Mon, 16 Dec 2019 18:29:08 +0000 (13:29 -0500)]
Update Ranking's equal method [DO NOT MERGE]
[Cherry picked from master]
Include check for whether mVisuallyInterruptive has changed
Test: atest BubbleDataTest
Change-Id: I5c4706667e6ca4cde44ef3671daa24afaf2b14f3
(cherry picked from commit
e1541e7ec9c40a81a99ceafe1fba4e594ac53c6c)
Automerger Merge Worker [Thu, 19 Dec 2019 03:29:50 +0000 (03:29 +0000)]
Fix parceling of LinkProperties Inet6Addr
IPv6 addresses parceled for DNS servers, private DNS servers, PCSCF
servers were parceled without the scope. This causes issues with
link-local DNS servers.
Test: atest FrameworksNetTests
Bug:
145181158
(cherry picked from commit
091f1d790cffc7c0d3ea8c85f540755584df4077)
Merged-In: Ie5b7782d788717dd1cc440e502d6cdf2d1c18eaa
Change-Id: I51313f50de8220988c2c1d26981c27d07dfb55f9
TreeHugger Robot [Thu, 19 Dec 2019 07:49:32 +0000 (07:49 +0000)]
Merge "Fix drag surface would be stuck (1/2)" into qt-qpr1-dev
TreeHugger Robot [Thu, 19 Dec 2019 07:49:32 +0000 (07:49 +0000)]
Merge "Revert "Fix drag and drop (3/3)"" into qt-qpr1-dev
TreeHugger Robot [Thu, 19 Dec 2019 07:49:32 +0000 (07:49 +0000)]
Merge "Revert "Fix drag and drop (2/3)"" into qt-qpr1-dev
TreeHugger Robot [Thu, 19 Dec 2019 07:49:32 +0000 (07:49 +0000)]
Merge "Revert "Fix drag and drop (1/3)"" into qt-qpr1-dev
Dan Sandler [Wed, 18 Dec 2019 02:20:18 +0000 (21:20 -0500)]
DO NOT MERGE: Allow nearby sharing to substitute name & icon in chip
meta-data bundle keys (values are resids):
CHIP_LABEL_METADATA_KEY = "android.service.chooser.chip_label"
CHIP_ICON_METADATA_KEY = "android.service.chooser.chip_icon"
Test: manual, confirm that correct name & icon are used
and that custom icon is tinted in light/dark theme
(and that the copy chip is tinted right, too!)
Bug:
144290152
Change-Id: I57157e07630fa8bec3057e6d18336c59944fcb4f
Dan Sandler [Wed, 18 Dec 2019 01:57:59 +0000 (20:57 -0500)]
DO NOT MERGE: Fix alignment of share chips.
Bug:
144290152
Test: visual inspection in landscape & portrait
Change-Id: Ib60b7b56bdf23a45c61416b8309a921451010e8e
TreeHugger Robot [Thu, 19 Dec 2019 00:25:15 +0000 (00:25 +0000)]
Merge "Security Fix: Race Condition + NPE" into qt-qpr1-dev
TreeHugger Robot [Thu, 19 Dec 2019 00:23:29 +0000 (00:23 +0000)]
Merge "AudioService: setMasterMute protected by MODIFY_AUDIO_ROUTING" into qt-qpr1-dev
Walter Jang [Wed, 18 Dec 2019 23:28:13 +0000 (23:28 +0000)]
Merge "Remove contacts affinity from contact permission descriptions" into qt-qpr1-dev
Jean-Michel Trivi [Fri, 1 Nov 2019 18:07:09 +0000 (11:07 -0700)]
AudioService: setMasterMute protected by MODIFY_AUDIO_ROUTING
Require MODIFY_AUDIO_ROUTING system permission to exercise
hidden (non-SDK, non-SystemApi) method setMasterMute
Bug:
141622311
Test: see bug for POC app
Change-Id: I4ee93276daa1285c55c4c838e2b43833135d76f6
Tej Singh [Sat, 21 Sep 2019 02:28:53 +0000 (19:28 -0700)]
Security Fix: Race Condition + NPE
ShellSubscriber is lazily initialized, and multiple threads can attempt
to write the same pointer since it is not initialized in threadsafe
code. Additionally, there is an NPE that crashes statsd when a null
ResultReceiver is passed in, which allows an attacker to repeatedly
crash statsd until the race condition occurs. More details, including a
proof of concept attack, are in the bug.
Bug:
141243101
Test: repro steps in bug no longer crash statsd
Test: with only the lock on iniitiallizing mShellSubscriber, statsd
still crashed but after ~7 minutes, no race condition occurred.
Change-Id: Ib56f888620497fb41d1627c07867693eb251738e
Lucas Dupin [Wed, 18 Dec 2019 18:29:07 +0000 (18:29 +0000)]
Merge "Remove keyguard_indication_area_overlay" into qt-qpr1-dev
Gavin Corkery [Wed, 18 Dec 2019 17:56:24 +0000 (17:56 +0000)]
Merge changes from topic "cp-fingerprint" into qt-qpr1-dev
* changes:
Don't mark terminal staged sessions as failed
Add build fingerprint checks to APK sessions
Alison Cichowlas [Wed, 18 Dec 2019 15:41:33 +0000 (15:41 +0000)]
Merge "Do not restart activity when pinned set changes - just re-sort." into qt-qpr1-dev
Gavin Corkery [Tue, 10 Dec 2019 19:48:50 +0000 (19:48 +0000)]
Log native crashing process
Use the new sys.init.updatable_crashing_process_name in
Watchdog-triggered rollback logs in order to track the
process that causes updatable_crashing to be set.
Test: Run atest StagedRollbackTest#testNativeWatchdogTriggersRollback,
manually test correct process "zygote" is sent to logs.
Bug:
146415463
Change-Id: I81b55dbf9dc74c9b8d505988b99f7e97ef659fe9
Merged-In: I81b55dbf9dc74c9b8d505988b99f7e97ef659fe9
(cherry picked from commit
cf6a399e006d24dbe5bf8ae2e946f8d2e648b630)
Gavin Corkery [Wed, 27 Nov 2019 19:11:13 +0000 (19:11 +0000)]
Log watchdog-initiated rollback reason
To help with monitoring Mainline releases, log the reason
for a watchdog-initiated rollback. This may be due to
native crashes, app crashes, ANRs or explicit health check
failures.
Add a mapping from PackageWatchdog failure reason to the
new metrics.
Bug:
146415463
Test: atest PackageWatchdogTest
Test: atest StatsdHostTestCases
Change-Id: Ia3e73d955508297004591eac762555665c557b8a
Merged-In: Ia3e73d955508297004591eac762555665c557b8a
(cherry picked from commit
dd1dabaef7dfae54b20f225ee407f182e86411ac)
Gavin Corkery [Wed, 27 Nov 2019 15:46:29 +0000 (15:46 +0000)]
Add package failure flags to Package Watchdog
This is a prerequisite for adding additional logging of
the Watchdog-triggered rollback reason. Add flags which
indicate the failure observed (native, crash, ANR, explicit
health check). These will be used in the future by
RollbackPackageHealthObserver to map the failure type to the
(new) set of available logging metrics.
Test: atest PackageWatchdogTest
Bug:
146415463
Change-Id: I7e7c5e5399011e2761dada2b989a95c2013307e9
Merged-In: I7e7c5e5399011e2761dada2b989a95c2013307e9
(cherry picked from commit
f305f4def072363087595a610043852127c399e2)
TreeHugger Robot [Wed, 18 Dec 2019 04:10:00 +0000 (04:10 +0000)]
Merge "Make preview text focusable." into qt-qpr1-dev
Alison Cichowlas [Wed, 18 Dec 2019 02:50:46 +0000 (21:50 -0500)]
Make preview text focusable.
Otherwise, the parent item gets focus, and Talkback will read
the preview text but perform an Action Row action on click.
Bug:
145720818
Test: Manual per bug repro steps
Change-Id: I8938606882e121b4a86e9e1723e6fba3c6d75eeb
Alison Cichowlas [Wed, 18 Dec 2019 00:42:29 +0000 (19:42 -0500)]
Do not restart activity when pinned set changes - just re-sort.
Bug:
145703939
Test: Share dialog via screenshot, long press for pin, observe behavior.
Change-Id: I6e9e03b77e1486093097ea1488fa589e3c7bd482
Merged-In: I6e9e03b77e1486093097ea1488fa589e3c7bd482
TreeHugger Robot [Wed, 18 Dec 2019 02:27:28 +0000 (02:27 +0000)]
Merge "[Wi-Fi] Fix transition mode problems" into qt-qpr1-dev
Jay Aliomer [Tue, 17 Dec 2019 22:59:27 +0000 (17:59 -0500)]
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
TreeHugger Robot [Wed, 18 Dec 2019 01:42:06 +0000 (01:42 +0000)]
Merge "DO NOT MERGE: Exclude nearby_sharing_component from backup test" into qt-qpr1-dev
Dan Sandler [Tue, 17 Dec 2019 03:32:23 +0000 (22:32 -0500)]
DO NOT MERGE: Exclude nearby_sharing_component from backup test
Fixes:
146019461
Test: atest SettingsBackupTest
Change-Id: Ieb953284f2c00d69220e776f2b628f73013140e0
TreeHugger Robot [Wed, 18 Dec 2019 00:34:12 +0000 (00:34 +0000)]
Merge "Fix lock screen wallpaper" into qt-qpr1-dev
Automerger Merge Worker [Tue, 17 Dec 2019 23:43:26 +0000 (23:43 +0000)]
Merge "docs: Fixed typo" into qt-dev am:
3e4f4f9933 am:
6231cffbb8
Change-Id: I1653273a1d9c0eae7b8a8406bc188e2e909ffaa0
Automerger Merge Worker [Tue, 17 Dec 2019 23:31:47 +0000 (23:31 +0000)]
Merge "docs: Fixed typo" into qt-dev am:
3e4f4f9933
Change-Id: Ic625ffed3ce23a7766a12a153d9794a4abf7a6b5
Andrew Solovay [Tue, 17 Dec 2019 23:20:29 +0000 (23:20 +0000)]
Merge "docs: Fixed typo" into qt-dev
Emilian Peev [Mon, 16 Dec 2019 21:57:12 +0000 (13:57 -0800)]
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
8649a916868979e5b46ebc70c7ec14602aff0998)
Jay Aliomer [Tue, 17 Dec 2019 21:58:37 +0000 (21:58 +0000)]
Merge "Dark theme battery saver tile secondary text" into qt-qpr1-dev
TreeHugger Robot [Tue, 17 Dec 2019 21:27:34 +0000 (21:27 +0000)]
Merge "Avoid lock inversion." into qt-qpr1-dev
Lucas Dupin [Tue, 17 Dec 2019 21:14:53 +0000 (13:14 -0800)]
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
Jay Aliomer [Tue, 17 Dec 2019 20:04:15 +0000 (15:04 -0500)]
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
Automerger Merge Worker [Tue, 17 Dec 2019 20:18:50 +0000 (20:18 +0000)]
docs: Removing most of the intro to PowerManager API am:
3fea8d1042 am:
f92878e651
Change-Id: I07ea69318879ad5c70c99880c6cc6c57a348d76a
Automerger Merge Worker [Tue, 17 Dec 2019 19:58:53 +0000 (19:58 +0000)]
docs: Removing most of the intro to PowerManager API am:
3fea8d1042
Change-Id: I25c41e4998197ef1df2c95fb1f2360360970389f
TreeHugger Robot [Tue, 17 Dec 2019 19:01:59 +0000 (19:01 +0000)]
Merge "[DO NOT MERGE] Better timestamp for shutdown and startup events." into qt-qpr1-dev
Hui Yu [Tue, 17 Dec 2019 19:01:15 +0000 (19:01 +0000)]
Merge "[DO NOT MERGE] Reset mTrackingReportedValues in endSample()" into qt-qpr1-dev
Walter Jang [Wed, 11 Dec 2019 21:01:38 +0000 (13:01 -0800)]
Remove contacts affinity from contact permission descriptions
Bug:
146210091
Bug:
111210683
Test: NOne
Change-Id: I44c80a08e541503c1f910c4410fbcce3dd05a24e
Merged-In: I44c80a08e541503c1f910c4410fbcce3dd05a24e
(cherry picked from commit
1e713c1eabc015a2a45b05c52f81c76d0a7da01b)
TreeHugger Robot [Tue, 17 Dec 2019 03:21:16 +0000 (03:21 +0000)]
Merge "DO NOT MERGE - Fix StatusBar.updateIsKeyguard() when suspending to RAM." into qt-qpr1-dev
Hui Yu [Sat, 23 Nov 2019 02:35:12 +0000 (18:35 -0800)]
[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
c7d49e01dd97aeefd365f2e808c7f5749db0c837)
Andrew Solovay [Mon, 16 Dec 2019 22:52:12 +0000 (14:52 -0800)]
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
Felipe Leme [Thu, 12 Dec 2019 20:17:53 +0000 (12:17 -0800)]
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)
Hui Yu [Wed, 4 Sep 2019 00:45:49 +0000 (17:45 -0700)]
[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
Andrew Solovay [Thu, 5 Dec 2019 21:05:38 +0000 (13:05 -0800)]
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
Alex Lin [Mon, 16 Dec 2019 21:34:45 +0000 (21:34 +0000)]
Merge "[DO NOT MERGE] Add country blacklist support" into qt-qpr1-dev
Alex Lin [Tue, 10 Dec 2019 19:10:34 +0000 (11:10 -0800)]
[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
TreeHugger Robot [Mon, 16 Dec 2019 19:42:05 +0000 (19:42 +0000)]
Merge "Check for wallpaper service on DozeWallpaperState." into qt-qpr1-dev
Jayachandran Chinnakkannu [Mon, 16 Dec 2019 18:07:07 +0000 (18:07 +0000)]
Merge "Remove READ_SMS permission for ACTION_SMS_MMS_DB_CREATED" into qt-qpr1-dev
TreeHugger Robot [Mon, 16 Dec 2019 11:04:37 +0000 (11:04 +0000)]
Merge "DO NOT MERGE - Do not show Bluetooth icon when headset is not active" into qt-qpr1-dev
TreeHugger Robot [Sat, 14 Dec 2019 16:49:31 +0000 (16:49 +0000)]
Merge "more precise definition for undecorated remoteviews" into qt-qpr1-dev
Eric Berglund [Fri, 13 Dec 2019 21:10:13 +0000 (13:10 -0800)]
DO NOT MERGE Fixing build, missing parameter.
Bug:
145946470,
146228232
Test: Builds locally
Change-Id: I7f3632c90ca424d70b1cc6e20f88e741ff25efaa
Jayachandran C [Fri, 13 Dec 2019 19:46:48 +0000 (11:46 -0800)]
Remove READ_SMS permission for ACTION_SMS_MMS_DB_CREATED
Bug:
144739528
Test: Build
Change-Id: I27341bf7c1f6fc640ba51360f8a6035cdb86052b
Merged-In: I27341bf7c1f6fc640ba51360f8a6035cdb86052b
Felipe Leme [Thu, 12 Dec 2019 20:17:53 +0000 (12:17 -0800)]
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)
Chris Wren [Thu, 12 Dec 2019 20:33:21 +0000 (15:33 -0500)]
more precise definition for undecorated remoteviews
Bug:
145994957
Test: atest NotificationRecordTest
Change-Id: I9427137879dc87f32231fbc5cb8ed34cf5ce787a
Eric Berglund [Fri, 13 Dec 2019 20:01:18 +0000 (20:01 +0000)]
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
Automerger Merge Worker [Fri, 13 Dec 2019 19:31:04 +0000 (19:31 +0000)]
Merge "Put userId at the end of parcel" into qt-dev am:
899f8301e0 am:
056b56c6b7
Change-Id: Id17055f72243306cac9e46abff2cf313492f5e7c
Automerger Merge Worker [Fri, 13 Dec 2019 19:11:21 +0000 (19:11 +0000)]
Merge "Put userId at the end of parcel" into qt-dev am:
899f8301e0
Change-Id: If6ce5c989102c8fb6cdc1fa82cde79817f6c3423
TreeHugger Robot [Fri, 13 Dec 2019 18:50:54 +0000 (18:50 +0000)]
Merge "Put userId at the end of parcel" into qt-dev
Heemin Seog [Fri, 13 Dec 2019 18:47:31 +0000 (18:47 +0000)]
Merge "DO NOT MERGE Make fixes to make sysui more customizable" into qt-qpr1-dev