OSDN Git Service
TreeHugger Robot [Wed, 27 Mar 2019 05:09:25 +0000 (05:09 +0000)]
Merge "DO NOT MERGE Atoms: Add BluetoothClassicPairingEvent" into pi-dev
TreeHugger Robot [Tue, 26 Mar 2019 19:36:47 +0000 (19:36 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
Bill Yi [Mon, 25 Mar 2019 20:31:58 +0000 (13:31 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: Idf2fed403af24397c26d6ee44a60a27ec9424274
Bill Yi [Sun, 24 Mar 2019 16:52:11 +0000 (09:52 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I3fe34039e30e8fe80efc4c0cb9cfb1d373cee7b6
Jack He [Thu, 21 Mar 2019 00:38:11 +0000 (17:38 -0700)]
DO NOT MERGE Atoms: Add BluetoothClassicPairingEvent
* Add BluetoothClassicPairingEvent to log pairing and encryption
related statistics
Bug:
124301137
Test: test drive with statsd
Change-Id: Idca6f6d340e03af91c5a6fb4102666d44167635b
TreeHugger Robot [Tue, 19 Mar 2019 02:00:38 +0000 (02:00 +0000)]
Merge "Revert "Revert "Update VPN capabilities when its underlying network set is null.""" into pi-dev
TreeHugger Robot [Tue, 19 Mar 2019 02:00:38 +0000 (02:00 +0000)]
Merge "Remove ConnectivityManager and its usages from NetworkStatsService." into pi-dev
Varun Anand [Thu, 14 Mar 2019 18:28:00 +0000 (18:28 +0000)]
Revert "Revert "Update VPN capabilities when its underlying network set is null.""
This reverts commit
6a050c7c50fa0838d7e29b8c6e244018044246db.
Reason for revert: Retargeted for June monthly release
Bug:
119129310
Change-Id: I9d543415c5707859cfa2a14a1a8ce5909aae7d11
Merged-In: Id0abc4d304bb096e92479a118168690ccce634ed
Todd Kennedy [Fri, 1 Mar 2019 21:56:47 +0000 (13:56 -0800)]
Change target SDK to '28'
Bug:
121306802
Test: none
Change-Id: I3e7302ab42987c177f9e538fd7fdf66c35f0bb79
Tiger Huang [Wed, 13 Mar 2019 00:21:27 +0000 (00:21 +0000)]
Merge "DO NOT MERGE: Don't let previous activity wait if next activity won't be visible" into pi-dev
TreeHugger Robot [Mon, 11 Mar 2019 23:59:07 +0000 (23:59 +0000)]
Merge "onPageFinished javadoc cleanup" into pi-dev
Shimi Zhang [Sat, 23 Feb 2019 01:47:28 +0000 (17:47 -0800)]
onPageFinished javadoc cleanup
PictureListener was deprecated, we need to replace its mentioning in
onPageFinished() javadoc with postVisualStateCallback().
Bug:
125939241
Test: make ds-docs
Change-Id: I7c1641c86632bb6c8214fd701e052096952deeec
mavishsu [Tue, 5 Mar 2019 09:22:50 +0000 (17:22 +0800)]
DO NOT MERGE Add carrier config to use 3GPP application on CDMA/CDMA-LTE phone.
Bug:
124524824
Test: atest GsmCdmaPhoneTest
Change-Id: I002ece2bae63c1ce578a822f9961220ba1971557
TreeHugger Robot [Fri, 8 Mar 2019 00:55:04 +0000 (00:55 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
Varun Anand [Thu, 7 Mar 2019 22:50:47 +0000 (22:50 +0000)]
Merge "Revert "Update VPN capabilities when its underlying network set is null."" into pi-dev
Bill Yi [Thu, 7 Mar 2019 18:24:56 +0000 (10:24 -0800)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I32003be7ab473918497b871a6b34f229f01ae5b2
Varun Anand [Tue, 5 Mar 2019 19:23:50 +0000 (19:23 +0000)]
Revert "Update VPN capabilities when its underlying network set is null."
This reverts commit
ad8805a6c217338b12511f220cce22211a19080a.
Bug:
126245192
Reason for revert: This change can lead to a deadlock that was fixed in http://ag/
6580635. However, platform PMs think that fixing this is risky enough as this is not a recent problem and has been in the field for 3/4 of the year.
Note: The merged-in tag is used to avoid this change from getting merged into pi-dev-plus-aosp. This is to avoid merge conflicts since we mostly work in aosp/master which merges into pi-dev-plus-aosp.
Change-Id: I3814bcec87efb059f50f00617406501aaeac3b4d
Merged-In: Id0abc4d304bb096e92479a118168690ccce634ed
Wyatt Riley [Mon, 4 Mar 2019 15:18:55 +0000 (07:18 -0800)]
[automerger skipped] Merge "DO NOT MERGE - SUPL ES Extension - Safer Init and Not After Boot" into oc-dev am:
809231680f am:
21c4a58435
am:
499b803c52 -s ours
am skip reason: subject contains skip directive
Change-Id: I4771454a5cdfdd6641983f438139a97f216cec5c
Wyatt Riley [Mon, 4 Mar 2019 15:11:25 +0000 (07:11 -0800)]
Merge "DO NOT MERGE - SUPL ES Extension - Safer Init and Not After Boot" into oc-dev am:
809231680f
am:
21c4a58435
Change-Id: I3d4e666268ac37f41c6d94e10f5e5e1f2928ef7f
WyattRiley [Mon, 4 Mar 2019 15:07:55 +0000 (07:07 -0800)]
[automerger skipped] [automerger] DO NOT MERGE - SUPL ES Extension - Safer Init and Not After Boot am:
b5e7bbe5b8 am:
1bb102e37d am:
1c348395f5 am:
26fda93676 skipped:
cf76183e6c am:
cf81345649 am:
94029593c4
am:
c03d767ee8 -s ours
am skip reason: subject contains skip directive
Change-Id: If7999e30c065ed880e9c105c5ecb661cd8c8d79e
WyattRiley [Mon, 4 Mar 2019 15:02:56 +0000 (07:02 -0800)]
[automerger] DO NOT MERGE - SUPL ES Extension - Safer Init and Not After Boot am:
b5e7bbe5b8 am:
1bb102e37d am:
1c348395f5 am:
26fda93676 skipped:
cf76183e6c am:
cf81345649
am:
94029593c4
Change-Id: I816c914fd79f9589efa0e6b587649cd6264113bc
Wyatt Riley [Mon, 4 Mar 2019 14:56:23 +0000 (06:56 -0800)]
Merge "DO NOT MERGE - SUPL ES Extension - Safer Init and Not After Boot" into oc-dev
am:
809231680f
Change-Id: If2f27dd775d4d5d543d23d10dcce10bc1bc4f51a
WyattRiley [Mon, 4 Mar 2019 14:51:02 +0000 (06:51 -0800)]
[automerger] DO NOT MERGE - SUPL ES Extension - Safer Init and Not After Boot am:
b5e7bbe5b8 am:
1bb102e37d am:
1c348395f5 am:
26fda93676 skipped:
cf76183e6c
am:
cf81345649
Change-Id: I8f2f2edaaa607378d75e3c852d0b8cedbc4fbb67
Wyatt Riley [Mon, 4 Mar 2019 14:29:06 +0000 (14:29 +0000)]
Merge "DO NOT MERGE - SUPL ES Extension - Safer Init and Not After Boot" into pi-dev
Wyatt Riley [Mon, 4 Mar 2019 14:29:06 +0000 (14:29 +0000)]
Merge "DO NOT MERGE - SUPL ES Extension - Safer Init and Not After Boot" into oc-dev
Bill Yi [Sat, 2 Mar 2019 10:12:29 +0000 (02:12 -0800)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: Iab1d4df902c4245f932febe720a06a7918ebc704
Tiger Huang [Wed, 27 Feb 2019 16:33:51 +0000 (00:33 +0800)]
DO NOT MERGE: Don't let previous activity wait if next activity won't be visible
If the next resumed activity won't be visible because of keyguard, it
doesn't make sense to let the previous activity wait for the next
activity becoming visible. Worse, it would make other activities going
to the stopped state need to wait unnecessarily.
Bug:
125550126
Bug:
124556520
Test: atest ActivityManagerDisplayLockedKeyguardTests
Change-Id: Id6f2e562c84b167b6736813ea6dc183536587d30
WyattRiley [Thu, 28 Feb 2019 20:05:56 +0000 (12:05 -0800)]
DO NOT MERGE - SUPL ES Extension - Safer Init and Not After Boot
Safe order of pointer setting and background thread start
Verifying mCallEndElapsedRealtimeMillis is not the initial value
Bug:
112159033
Bug:
115361555
Bug:
125124724
Test: Verified not-after-boot with test code b/
115361555#comment14
Test: Reproed NPE with test thread sleep and verify fix
Change-Id: I25dcd5a5b36c218ea8b7ab88d6909382709fd7ab
WyattRiley [Thu, 28 Feb 2019 19:43:12 +0000 (11:43 -0800)]
DO NOT MERGE - SUPL ES Extension - Safer Init and Not After Boot
Safe order of pointer setting and background thread start
Verifying mCallEndElapsedRealtimeMillis is not the initial value
Bug:
112159033
Bug:
115361555
Bug:
125124724
Test: Verified not-after-boot with test code b/
115361555#comment14
Test: Reproed NPE with test thread sleep and verify fix
Change-Id: Icd2ea91d71da71c8fda109ceb70514733d35060b
Android Build Merger (Role) [Fri, 1 Mar 2019 21:01:49 +0000 (21:01 +0000)]
[automerger] DO NOT MERGE - SUPL ES Extension - Safer Init and Not After Boot am:
b5e7bbe5b8 am:
1bb102e37d am:
1c348395f5 am:
26fda93676 skipped:
cf76183e6c
Change-Id: Ifd0a52ac469b9d59aa43b3849b5cfbabeac99ed5
Android Build Merger (Role) [Fri, 1 Mar 2019 21:01:39 +0000 (21:01 +0000)]
[automerger] DO NOT MERGE - SUPL ES Extension - Safer Init and Not After Boot am:
b5e7bbe5b8 am:
1bb102e37d am:
1c348395f5 am:
26fda93676
Change-Id: I87431bd661f6d5243d4c442e3caf6db247dc89bd
Android Build Merger (Role) [Fri, 1 Mar 2019 21:01:31 +0000 (21:01 +0000)]
[automerger] DO NOT MERGE - SUPL ES Extension - Safer Init and Not After Boot am:
b5e7bbe5b8 am:
1bb102e37d am:
1c348395f5
Change-Id: I5c7df1fd86ece1f84fba51250568a0d049b591f9
Android Build Merger (Role) [Fri, 1 Mar 2019 21:01:22 +0000 (21:01 +0000)]
[automerger] DO NOT MERGE - SUPL ES Extension - Safer Init and Not After Boot am:
b5e7bbe5b8 am:
1bb102e37d
Change-Id: I0499fab6407457adb226a0fef751e22c9566179f
Android Build Merger (Role) [Fri, 1 Mar 2019 21:01:11 +0000 (21:01 +0000)]
[automerger] DO NOT MERGE - SUPL ES Extension - Safer Init and Not After Boot am:
b5e7bbe5b8
Change-Id: I6a05a6ca8ad3313c901a2ad692851d2096b21e7b
WyattRiley [Tue, 19 Feb 2019 21:19:13 +0000 (13:19 -0800)]
DO NOT MERGE - SUPL ES Extension - Safer Init and Not After Boot
Safe order of pointer setting and background thread start
Verifying mCallEndElapsedRealtimeMillis is not the initial value
Bug:
112159033
Bug:
115361555
Bug:
125124724
Test: Verified not-after-boot with test code b/
115361555#comment14
Test: Reproed NPE on Nexus 5x with test thread sleep and verify fix
Change-Id: I596f913bc79873274c2743132c93ef2381d9f3c7
Varun Anand [Thu, 7 Feb 2019 22:13:13 +0000 (14:13 -0800)]
Remove ConnectivityManager and its usages from NetworkStatsService.
NSS needed it for getting VpnInfo[], NetworkState[] and
activeLinkProperties which it used to query via ConnectivityManager.
For VpnInfo[], this was racy as NSS may ignore intermediate changes to a
VPN's underlying networks. See http://b/
123961098 for more context.
It may also lead to deadlocks b/w ConnectivityService and
NetworkStatsService. See http://b/
126245192 for more info.
This change will ensure that NSS is never contending on any of
ConnectivityService locks.
This change also is cherry-picking cleanup made to NSS in
http://aosp/628368.
Bug:
123961098
Bug:
126245192
Bug:
120145746
Test: atest FrameworksNetTests
Change-Id: Ia687845888434c8ddd24bdf44b4c70dfe80e03f5
Merged-In: I57e117bb4e9efe491b19d6b5a479f2d58d1c58e6
TreeHugger Robot [Tue, 26 Feb 2019 23:35:10 +0000 (23:35 +0000)]
Merge "DO NOT MERGE: Disable night UI mode in battery saver." into pi-dev
Dan Sandler [Mon, 25 Feb 2019 23:26:04 +0000 (18:26 -0500)]
DO NOT MERGE: Disable night UI mode in battery saver.
Apps are simply not ready for this.
Bug:
122968431
Test: Toggle battery saver; confirm that a config change is not generated
Change-Id: I792d42e31254c8189e95c3f076b9eaea893209a6
Qasid Sadiq [Fri, 22 Feb 2019 23:43:54 +0000 (23:43 +0000)]
Merge "Revert "Fix a11y cache correctness bug"" into pi-dev
Mikhail Naganov [Fri, 22 Feb 2019 22:55:06 +0000 (22:55 +0000)]
Merge "Visualizer: fix native crash when visualizer release" into pi-dev
zengjing [Sat, 29 Sep 2018 05:19:15 +0000 (13:19 +0800)]
Visualizer: fix native crash when visualizer release
Visualizer should not be destroyed before mCaptureThread exit.
Bug:
124833084
Test: CTS VisualizerTest
Change-Id: I0cda2ff2be8ce487e10b5311fbdc043fa57d91d4
Merged-In: I0cda2ff2be8ce487e10b5311fbdc043fa57d91d4
Signed-off-by: zengjing <zengjing@xiaomi.com>
Bill Lin [Fri, 22 Feb 2019 12:10:00 +0000 (12:10 +0000)]
Merge "DO NOT MERGE Fix flaky tests in OverheatAlarm feature" into pi-dev
Qasid Ahmad Sadiq [Fri, 22 Feb 2019 05:06:22 +0000 (21:06 -0800)]
Revert "Fix a11y cache correctness bug"
This fix introduced a painful crash that ends up disabling accessibility
services for certain users.
This happens when a client of AccessibilityCache tries to add a node, with the same id as a node previously in the cache, but fewer children, where the removed child is not in the cache.
This is because, when children are removed, and a the node is updated, the cache tries to clear the child trees. But if the child is not in the cache, the cache clears the whole tree. Every node is recycled.
Then the original node being replaced is attempted to be recycled again, and voila crash.
The fix also didn't fix the original issue based on the discussion in
b/
114133438.
The risk for this is pretty low, since nothing was built on top of this.
This reverts commit
2f69c16c3dd0ea9522deebd9141ccc189b4a118e.
Bug:
124676705
Test: Tested to see if above usecase still happens.
Change-Id: I8a39698c4532a1613ba47e1c6ca70201cd496212
TreeHugger Robot [Fri, 22 Feb 2019 01:40:49 +0000 (01:40 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
Bill Yi [Thu, 21 Feb 2019 20:25:26 +0000 (12:25 -0800)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: If0bc0cddb97e786602b5be83f1a165ad6c94ef9c
TreeHugger Robot [Thu, 21 Feb 2019 18:42:40 +0000 (18:42 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
Daniel Sandler [Thu, 21 Feb 2019 18:27:45 +0000 (18:27 +0000)]
Merge "Skip empty slice permissions files during backup" into pi-dev
Daniel Sandler [Thu, 21 Feb 2019 18:27:36 +0000 (18:27 +0000)]
Merge "Make notifications from the default dialer and SMS app unblockable." into pi-dev
TreeHugger Robot [Thu, 21 Feb 2019 04:32:58 +0000 (04:32 +0000)]
Merge "Clarify WebResourceResponse's stream handling." into pi-dev
Lucas Dupin [Wed, 20 Feb 2019 20:26:25 +0000 (20:26 +0000)]
Merge "Improve the performance when loading image wallpaper colors" into pi-dev
TreeHugger Robot [Wed, 20 Feb 2019 20:09:39 +0000 (20:09 +0000)]
Merge "Override old alarms in zen schedule" into pi-dev
TreeHugger Robot [Wed, 20 Feb 2019 19:39:41 +0000 (19:39 +0000)]
Merge "Update VPN capabilities when its underlying network set is null." into pi-dev
Varun Anand [Wed, 6 Feb 2019 18:13:38 +0000 (10:13 -0800)]
Update VPN capabilities when its underlying network set is null.
Previously, they were only updated when underlying network set was
non-null.
This change also ensures that all the calls b/w ConnectivityService and
Vpn that leads to updating capabilities are on ConnectivityService
handler thread.
Additionally, it also ensures that capabilities are propagated after VPN
enters connected state.
This change also updates VPN capabilities inline from
ConnectivityService handler thread. Previously, there was an additional
loop where Vpn would update capabilities via NetworkAgent thru
AsyncChannel which posts back to CS handler thread, which could
potentially lead to delays in updating VPN capabilities.
Bug:
119129310
Bug:
118856062
Bug:
124268198
Test: atest FrameworksNetTests
Test: manual - verified VPNs capabilities are getting updated and
DownloadManager is working correctly.
(cherry picked from commit
4fa80e8a2f03557221e0371a987e780df7788faa)
Change-Id: Iae5f2024b19df04c31938815b52687781d016cde
Merged-In: Id0abc4d304bb096e92479a118168690ccce634ed
Bill Yi [Wed, 20 Feb 2019 17:50:43 +0000 (09:50 -0800)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I0dbe18bb869d94b281c80f9514a99f5fdb35a089
TreeHugger Robot [Wed, 20 Feb 2019 17:19:48 +0000 (17:19 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Wed, 20 Feb 2019 16:25:17 +0000 (16:25 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Wed, 20 Feb 2019 16:20:24 +0000 (16:20 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Wed, 20 Feb 2019 16:14:10 +0000 (16:14 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
Bill Yi [Wed, 20 Feb 2019 12:22:27 +0000 (04:22 -0800)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: Id0e3afb74226f19cf422bdc5e33455a195676055
Bill Yi [Wed, 20 Feb 2019 07:57:32 +0000 (23:57 -0800)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I1e9a93f1b40f89db42865246b67fdea660184808
Bill Yi [Wed, 20 Feb 2019 07:23:09 +0000 (23:23 -0800)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I106603e2d97492c9c95bab4e6b65ccb6d040ee9c
TreeHugger Robot [Wed, 20 Feb 2019 03:45:28 +0000 (03:45 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
Bill Yi [Wed, 20 Feb 2019 03:39:48 +0000 (19:39 -0800)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: Idb887c01b8b6d9dd1fbb282306d2b140e65c50eb
TreeHugger Robot [Wed, 20 Feb 2019 03:35:07 +0000 (03:35 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Wed, 20 Feb 2019 03:30:10 +0000 (03:30 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Wed, 20 Feb 2019 03:27:17 +0000 (03:27 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Wed, 20 Feb 2019 03:25:36 +0000 (03:25 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Wed, 20 Feb 2019 03:24:46 +0000 (03:24 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Wed, 20 Feb 2019 03:24:18 +0000 (03:24 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Wed, 20 Feb 2019 03:23:28 +0000 (03:23 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Wed, 20 Feb 2019 03:15:27 +0000 (03:15 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Wed, 20 Feb 2019 03:14:37 +0000 (03:14 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Tue, 19 Feb 2019 22:45:16 +0000 (22:45 +0000)]
Merge "[DO NOT MERGE] AML: Handle NoDisplayActivities correctly" into pi-dev
Bill Yi [Tue, 19 Feb 2019 22:40:06 +0000 (14:40 -0800)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I01b16b7e400b569350aad675ab5f75bd28dac24c
Bill Yi [Tue, 19 Feb 2019 22:05:27 +0000 (14:05 -0800)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: Ieee5c947030f588c5f8a8a153e2c42661342d60f
Bill Yi [Tue, 19 Feb 2019 21:31:17 +0000 (13:31 -0800)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: Idb5d5034ebd53ffc67f8628b74be7a53f58aa7d3
Bill Yi [Tue, 19 Feb 2019 20:56:46 +0000 (12:56 -0800)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I6743c980549e1620354ea082664333e8612c28e0
Dan Sandler [Tue, 20 Nov 2018 02:36:13 +0000 (21:36 -0500)]
Make notifications from the default dialer and SMS app unblockable.
OEM devices should overlay this resource to match the
built-in dialer and messaging client.
Bug:
119563448
Test: manual, on aosp
Change-Id: I94ff199741040e637f91e7b1db36208ab5c79182
(cherry picked from commit
f5a8f213822754f65344c4e013c7574ddfdd18d0)
Bill Yi [Tue, 19 Feb 2019 20:22:45 +0000 (12:22 -0800)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I6db2d08a67d01afeb8d22beaaf24d7548b88fdda
Beverly [Tue, 14 Aug 2018 18:58:18 +0000 (14:58 -0400)]
Override old alarms in zen schedule
Change-Id: I371a586d470e3e341a42fb5ae3b8f32929214c18
Merged-in: I371a586d470e3e341a42fb5ae3b8f32929214c18
Fixes:
112493468
Test: ScheduleCalendarTest
(cherry picked from commit
4e76191a9f6e3aa7ddfb158e3e97994d6ca562b8)
Bill Yi [Tue, 19 Feb 2019 20:07:54 +0000 (12:07 -0800)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I16612db31b21037fb7f56d8b34d84df0c7e37cf1
Bill Yi [Tue, 19 Feb 2019 19:32:44 +0000 (11:32 -0800)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: Ieb2802240cd7e1f91014579d3367d9f6bf2d152c
Bill Yi [Tue, 19 Feb 2019 18:58:10 +0000 (10:58 -0800)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I3d9dd70565d27f7af23d3828508e4d44f840e91d
Bill Yi [Tue, 19 Feb 2019 18:23:58 +0000 (10:23 -0800)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I0286c19387a614103c795956a2f6b4e672ff4133
TreeHugger Robot [Tue, 19 Feb 2019 18:02:30 +0000 (18:02 +0000)]
Merge "Update keyguard charging text to indicate wireless" into pi-dev
wilsonshih [Wed, 13 Feb 2019 04:20:01 +0000 (12:20 +0800)]
Improve the performance when loading image wallpaper colors
When SystemUI start up, ColorExtractor will get wallpaper colors so
status bar can use it to update theme, however, this will also block
SystemUI start up process if the wallpaper is image wallpaper.
In order to break the latency, we can extract getWallpaperColors
method from ColorExtractor's contructor, and do it at another thread,
so it won't block SystemUI start up.
Bug:
124279857
Test: atest ColorExtractorTest
Test: Manual test change theme feature can work normally.
Merged-In: I8589b28a17b0a2b33b4bbbda2265080af983f26a
Change-Id: I8589b28a17b0a2b33b4bbbda2265080af983f26a
Bill Yi [Mon, 18 Feb 2019 19:58:21 +0000 (11:58 -0800)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: Iac677129e3b4f27cb4db6bf5ce21d921a9f45116
Bill Yi [Sat, 16 Feb 2019 10:35:23 +0000 (02:35 -0800)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I225416157c786e316deb115552412a72118b9122
Beverly [Mon, 11 Feb 2019 18:58:27 +0000 (13:58 -0500)]
Update keyguard charging text to indicate wireless
- Keyguard charging text indicates the device is wirelessly charging
Test: manual
Change-Id: I9cce8ecaf07f8870164d9ef8a569fcf30db69d85
Merged-in: I9cce8ecaf07f8870164d9ef8a569fcf30db69d85
Fixes:
124084552
TreeHugger Robot [Thu, 14 Feb 2019 16:22:18 +0000 (16:22 +0000)]
Merge "RESTRICT AUTOMERGE Close TextClassifier native resources." into pi-dev
TreeHugger Robot [Wed, 13 Feb 2019 15:34:31 +0000 (15:34 +0000)]
Merge "Fixed temporary brightness getting stuck bug." into pi-dev
TreeHugger Robot [Wed, 13 Feb 2019 15:31:32 +0000 (15:31 +0000)]
Merge "Added hysteresis check to screen brightness." into pi-dev
Zhi An Ng [Tue, 12 Feb 2019 19:23:30 +0000 (19:23 +0000)]
Merge "Do not load xml metadata for unchanged packages in RegisteredServicesCache" into pi-dev
Ng Zhi An [Thu, 24 Jan 2019 21:45:57 +0000 (13:45 -0800)]
Do not load xml metadata for unchanged packages in RegisteredServicesCache
RegisteredServicesCache caches services in an xml, so the system doesn't
have to scan all the apks. Whenever a package is changed
(add/remove/replaced), the broadcast receiver in RegisteredServicesCache
will refresh this cache by quering all matching services and reading
their
xml metadata. There is extra work done here, because only the changed
package
will have services added/removed.
The edge case is after a cache is invalidated, we want to query package
manager for everything, regardless of what changedUids is (we could
have arrived here if invalidateCache is called, and then a package
change event fires, before a getAllServices is called to rescan
everything).
Add a new test to verify that the optimization takes care of the case
when the cache is invalidated.
Bug:
117755076
Bug:
122912184
Test: atest RegisteredServicesCache
Test: dumpsys content # check sync adapters
Merged-In: I5c1f57108c4b67d24b198000d57216c63d35290a
Change-Id: I5c1f57108c4b67d24b198000d57216c63d35290a
Allen Su [Sun, 10 Feb 2019 10:29:35 +0000 (10:29 +0000)]
Merge "DO NOT MERGE Add CarrierConfig to overlay incorrect country ISO" into pi-dev
Abodunrinwa Toki [Tue, 22 Jan 2019 21:42:56 +0000 (21:42 +0000)]
RESTRICT AUTOMERGE Close TextClassifier native resources.
Bug:
122904322
Test: atest android.view.textclassifier.TextClassificationManagerTest
Test: (MANUAL)
1. Start an app with a TextView
2. Select the text to trigger the text selection toolbar and TextClassifier
3. Close the app's activity by repeatedly clicking back on the nav bar
4. Start a Profiler for the app and observe for memory growth
5. Repeat 1 - 3 several times and observe.
If the bug still exists, memory should grow at about 4 - 5MB.
If the bug is fixed, Memory should remain about the same across activity restarts.
Change-Id: Id9a60dea85cf3949de030042537287ddb29842a2
Abodunrinwa Toki [Fri, 8 Feb 2019 01:49:47 +0000 (17:49 -0800)]
[automerger skipped] DO NOT MERGE No smart text assist for unprovisioned device. am:
7c8a46e0dd -s ours am:
67722b0557 -s ours
am:
447f279010 -s ours
am skip reason: subject contains skip directive
Change-Id: Ibb681c28fce1178d35aecd26591d3744bf85e0df
Abodunrinwa Toki [Fri, 8 Feb 2019 01:43:56 +0000 (17:43 -0800)]
[automerger skipped] DO NOT MERGE No smart text assist for unprovisioned device. am:
7c8a46e0dd -s ours
am:
67722b0557 -s ours
am skip reason: change_id I360250a5c2a92d09c8d8f559b51c74f490f70c2c with SHA1
9796a1bd00 is in history
Change-Id: I7a33224747c5eb233032dfa905112067d2c61c39
Abodunrinwa Toki [Fri, 8 Feb 2019 01:38:52 +0000 (17:38 -0800)]
[automerger skipped] DO NOT MERGE No smart text assist for unprovisioned device.
am:
7c8a46e0dd -s ours
am skip reason: change_id I360250a5c2a92d09c8d8f559b51c74f490f70c2c with SHA1
9796a1bd00 is in history
Change-Id: I431250313c81a1aee082503e3b39798ff4e5056e
Christopher Tate [Tue, 11 Dec 2018 22:55:19 +0000 (14:55 -0800)]
Be more comprehensive about boot time RTC check
If we detect that the RTC is uninitialized at boot time, we advance
to the nearest safe estimated time that we can determine. We can't
necessarily touch read/write filesystems at this point, so we have
been using the timestamp of the root filesystem. Unfortunately, on
retail devices that timestamp is often artificial, and quite far in
the past by today's standards (e.g. some time in 2009).
We now consult a variety of milestones to get a better estimate for
the latest possible "the current date cannot be earlier than this"
reference point: the root filesystem timestamp, the Build.TIME
system variable, and the [ro.build.date.utc] system property if
available. The latter two, in particular, are typically within
at most two years of the current real time/date, rather than the
eight or nine years of offset that we see with the root filesystem
timestamp.
This is a cherrypick of a later change back to Android P.
Test: manually boot with system time forced to the 0 epoch
Test: CTS
Bug:
65354678
Bug:
63711349
Bug:
122883482
Merged-In: I36bbe6dfebba79ad83ce536917d6893427a026dd
Change-Id: I36bbe6dfebba79ad83ce536917d6893427a026dd