Commit Graph

530366 Commits

Author SHA1 Message Date
Brad Ebinger
03a843a281 Decouple the ImsFeature status listener from creating the feature
Add the listener after the ImsFeature has been created to ensure
that listeners do not miss the state update due to the feature not
being tracked internally yet.

(This is part 1 of a two part process to clean up ImsFeature
connecting).

Test: atest CtsTelephonyTestCases FrameworksTelephonyTests ImsCommonTests
Change-Id: I6a0cf4a4dfae2593ea77d3b098cd7a93325ea740
2020-09-15 11:22:30 -07:00
Leon Scroggins III
d172a0cff8 ImageDecoder: Use AssetFileDescriptor's length
Bug: 166069819
Test: ImageDecoderTest (cts)

The contained asset may only be a subset of the AssetFileDescriptor.
SkWebpCodec reads the entire stream into a contiguous block of memory.
(This is because libwebp does not provide a streaming API for creating
its demuxer.) If the AssetFileDescriptor contains data after the webp
file, this wastes memory. In some cases, there may be a *lot* of data
after the webp file, so this can use too much memory, particularly on
low memory devices.

Merged-In: I8d8e520f43a7ef0d7e4534ef165d8c7e4d2a0b55
Change-Id: I8d8e520f43a7ef0d7e4534ef165d8c7e4d2a0b55
2020-09-15 15:52:38 +00:00
Michael Plass
2d7adeed89 Update wifi OWNERS (base)
Bug: 168325766
Test: builds
Change-Id: I74b44fbe9f8da58a84695d5b27a961ae1636ea02
2020-09-15 08:02:51 -07:00
lucaslin
9429531062 Rename mUserHandle to mUserId for better understanding
- mUserHandle is not good for understanding.
- In fact, mUserHandle or userHandle in Vpn.java means user id.

Bug: 168576152
Test: atest FrameworkNetTests
Change-Id: I3ec8ee21f45283b400ea451ade31be7c6c24102b
2020-09-15 08:53:28 +00:00
Chalard Jean
5f385ba620 Remove a useless method
No seriously ?

Test: builds
Change-Id: Ie1508ce50a39e4c69a4b238067bab1e83ddaf019
2020-09-15 16:18:56 +09:00
Sergii Piatakov
302822b2dd fix broadcast receivers overflow for system_server
Every time when user is switched the `UsbSettingsManager` creates a new
instance of settings object for the new user. It leads to creating
several receivers and subscribing to some broadcast messages. Then
system is switched on other user, settings for the old user are removed
from the internal container, but receivers are not unsubscribed. As a
result, the number of receivers for the `system_server` process is
continuously increased and may exceed the allowed limit.

It is proposed to explicitly unscribe receivers before remove settings.

Test: flash a DUT with user build and then run:
      > run cts -m CtsDevicePolicyManagerTestCases
      at least two times, check that DUT is not in the recovery mode;
      or switch user ~1000 times:
      $ adb shell am switch-user 0
      $ adb shell am switch-user 10
      and check that logcat doesn't contain a line:
      E SystemServiceManager: java.lang.IllegalStateException: \
          Too many receivers, total of 1000, registered
Change-Id: I4bb9feb408ce7c321a56d0e573c45c8794ed6860
Signed-off-by: Sergii Piatakov <sergii.piatakov@globallogic.com>
2020-09-15 08:47:04 +03:00
Treehugger Robot
b0394a14a0 Merge "Fix navigation input consumer not working when first window is invisible" am: 0a2c4f34c9 am: 1f03dce40c am: 72098d8cb2
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1426652

Change-Id: I75f03419d174befc26136c60c4472ccef6cd93c6
2020-09-15 04:06:25 +00:00
Treehugger Robot
72098d8cb2 Merge "Fix navigation input consumer not working when first window is invisible" am: 0a2c4f34c9 am: 1f03dce40c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1426652

Change-Id: I8cf8a43ba98cf8458c072b436b47253b415ee737
2020-09-15 03:24:49 +00:00
Treehugger Robot
1f03dce40c Merge "Fix navigation input consumer not working when first window is invisible" am: 0a2c4f34c9
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1426652

Change-Id: Ia094050b9e35f509f7c69dce48e8d95f156ea093
2020-09-15 02:54:22 +00:00
Treehugger Robot
0a2c4f34c9 Merge "Fix navigation input consumer not working when first window is invisible" 2020-09-15 02:18:56 +00:00
Hall Liu
2ef041183d Expose Telecom constants for use in Telephony
Expose Telecom constants that are used in Telephony in preparation for
mainline. Exposure is a combination of public/system -- those which made
sense for 3pty apps to access were made public.

Fixes: 168551099
Test: atest CtsTelecomTestCases
Change-Id: I688f04ba4ddf0498bad3463888fae71cdff2844a
2020-09-14 18:37:44 -07:00
Jeff Sharkey
da7478b570 Merge changes from topic "sep11" am: c0b288133a am: 69e6f07347 am: 741c0a78cc
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1426195

Change-Id: I9b79dbf3e9983523db11599d8ae289b05aabf80c
2020-09-14 23:42:34 +00:00
Jeff Sharkey
741c0a78cc Merge changes from topic "sep11" am: c0b288133a am: 69e6f07347
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1426195

Change-Id: I7da537200efe31e803234bd1a0236843064186c8
2020-09-14 23:10:42 +00:00
Jeff Sharkey
69e6f07347 Merge changes from topic "sep11" am: c0b288133a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1426195

Change-Id: I4fd71573b4301e5473d44517a72d73858b3928c8
2020-09-14 22:36:51 +00:00
Treehugger Robot
e022945d69 Merge "Replace 'whitelist' with 'allowlist'" am: 8ac6819c0e am: 3563eeb4ae am: 1d3e694b97
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1427048

Change-Id: I6b4bb71859b54fde6a857680e880e3f389b20c74
2020-09-14 22:03:18 +00:00
Meng Wang
217369162b Merge "Skip notify celllocation of not really changed." am: 87a7929958 am: 96e61153a1 am: 584c1588a6
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1425373

Change-Id: I3a199c7d958a1cd8ba30c4ab9ff70ebc0e8a47a3
2020-09-14 22:02:00 +00:00
Ioannis Ilkos
6c3d76a967 Merge "Additional LMK diagnostic information" am: f3aeac8f09 am: 6a6ad9af99 am: 17af4e9b9b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1424810

Change-Id: Ic5e6efa76873644a8fd73d626dcf12c608cd8287
2020-09-14 21:56:11 +00:00
Jeff Sharkey
c0b288133a Merge changes from topic "sep11"
* changes:
  Update language to comply with Android's inclusive language guidance
  Update language to comply with Android's inclusive language guidance
  Update language to comply with Android's inclusive language guidance
  Update language to comply with Android's inclusive language guidance
  Update language to comply with Android's inclusive language guidance
  Update language to comply with Android's inclusive language guidance
  Update language to comply with Android's inclusive language guidance
  Update language to comply with Android's inclusive language guidance
2020-09-14 21:52:13 +00:00
Bill Yi
fdf0be5a24 [automerger skipped] Merge "Merge mainline-release 6664920 to stage-aosp-master - DO NOT MERGE" into stage-aosp-master am: 938d3bb1f5 -s ours am: 5c62f01896 -s ours
am skip reason: Change-Id I8f9b41ca6388fdeeda287e7919ef05e56f9da1a6 with SHA-1 f72a5498af is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12577741

Change-Id: I0fe501d77d176eb43d9e308e7fe3e01c579f22bb
2020-09-14 21:50:56 +00:00
Treehugger Robot
1d3e694b97 Merge "Replace 'whitelist' with 'allowlist'" am: 8ac6819c0e am: 3563eeb4ae
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1427048

Change-Id: I70eb21c1ea9411974a1c07f6aaaf611760110c34
2020-09-14 21:27:14 +00:00
Meng Wang
584c1588a6 Merge "Skip notify celllocation of not really changed." am: 87a7929958 am: 96e61153a1
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1425373

Change-Id: I1b54aa49bf4f22a91cac210a139ec0c890c0cceb
2020-09-14 21:25:08 +00:00
Ioannis Ilkos
17af4e9b9b Merge "Additional LMK diagnostic information" am: f3aeac8f09 am: 6a6ad9af99
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1424810

Change-Id: Ie90648747a83b97b79061d8d6af48df3f128c67d
2020-09-14 21:24:45 +00:00
Bill Yi
5c62f01896 [automerger skipped] Merge "Merge mainline-release 6664920 to stage-aosp-master - DO NOT MERGE" into stage-aosp-master am: 938d3bb1f5 -s ours
am skip reason: Change-Id I8f9b41ca6388fdeeda287e7919ef05e56f9da1a6 with SHA-1 f72a5498af is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12577741

Change-Id: I9b5e1a916081cb266eaca328b86506481e938c7f
2020-09-14 21:18:54 +00:00
Treehugger Robot
3563eeb4ae Merge "Replace 'whitelist' with 'allowlist'" am: 8ac6819c0e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1427048

Change-Id: Ifd5f2a31ba5d3fbe9aaedca7b4c83d665cc61b9f
2020-09-14 20:26:42 +00:00
Treehugger Robot
8ac6819c0e Merge "Replace 'whitelist' with 'allowlist'" 2020-09-14 19:53:04 +00:00
Julia Reynolds
71c18d2afc Replace 'whitelist' with 'allowlist'
Change-Id: If7422064e59e6c055c9dae092ead298b81cf41e8
Test: atest
Bug: 161889253
Merged-In: I94a43c1c995052b034d8a5377786e1a15e4c9c59
2020-09-14 18:29:23 +00:00
Meng Wang
96e61153a1 Merge "Skip notify celllocation of not really changed." am: 87a7929958
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1425373

Change-Id: I2a9ccf5cc711411829c66f1a91715bb289e7a144
2020-09-14 18:14:33 +00:00
Meng Wang
87a7929958 Merge "Skip notify celllocation of not really changed." 2020-09-14 17:43:53 +00:00
Ioannis Ilkos
6a6ad9af99 Merge "Additional LMK diagnostic information" am: f3aeac8f09
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1424810

Change-Id: I6045fb5ecd45f58175393e9cc4b90c9a4064eae0
2020-09-14 17:32:25 +00:00
Ioannis Ilkos
f3aeac8f09 Merge "Additional LMK diagnostic information" 2020-09-14 17:15:51 +00:00
Jeff Sharkey
10fc5bc904 Update language to comply with Android's inclusive language guidance
See https://source.android.com/setup/contribute/respectful-code for reference

Test: none
Bug: 168334533
Exempt-From-Owner-Approval: docs updates
Change-Id: Ic93fe142433b1aa9035a72031b80e875d14c9cc0
2020-09-14 10:00:16 -06:00
Jeff Sharkey
9b37625b9b Update language to comply with Android's inclusive language guidance
See https://source.android.com/setup/contribute/respectful-code for reference

Test: none
Bug: 168334533
Exempt-From-Owner-Approval: docs updates
Change-Id: Ia37d0180a2d687fa788eea854f7d89ad5faab593
2020-09-14 10:00:14 -06:00
Jeff Sharkey
05e513d1c5 Update language to comply with Android's inclusive language guidance
See https://source.android.com/setup/contribute/respectful-code for reference

Test: none
Bug: 168334533
Exempt-From-Owner-Approval: docs updates
Change-Id: I8aa4186f44957fc69aebceeeff1e6584b4eebd5a
2020-09-14 10:00:12 -06:00
Jeff Sharkey
4172f8a62c Update language to comply with Android's inclusive language guidance
See https://source.android.com/setup/contribute/respectful-code for reference

Test: none
Bug: 168334533
Exempt-From-Owner-Approval: docs updates
Change-Id: If75259aab72329f9f8b0e1972a96370ca5134e2c
2020-09-14 10:00:10 -06:00
Jeff Sharkey
a8cec413b6 Update language to comply with Android's inclusive language guidance
See https://source.android.com/setup/contribute/respectful-code for reference

Test: none
Bug: 168334533
Exempt-From-Owner-Approval: docs updates
Change-Id: I245b8d9cac722da76ea67983738a3cbb9deb68df
2020-09-14 10:00:07 -06:00
Jeff Sharkey
16dd960d6f Update language to comply with Android's inclusive language guidance
See https://source.android.com/setup/contribute/respectful-code for reference

Test: none
Bug: 168334533
Exempt-From-Owner-Approval: docs updates
Change-Id: Id1a0f2a38e41badee3a34bd71af240511f273a7b
2020-09-14 10:00:05 -06:00
Jeff Sharkey
6516a83886 Update language to comply with Android's inclusive language guidance
See https://source.android.com/setup/contribute/respectful-code for reference

Test: none
Bug: 168334533
Exempt-From-Owner-Approval: docs updates
Change-Id: Ifce5239991e3b78dd4757712e3b88093ad7161f0
2020-09-14 10:00:02 -06:00
Jeff Sharkey
705f6bec2d Update language to comply with Android's inclusive language guidance
See https://source.android.com/setup/contribute/respectful-code for reference

Test: none
Bug: 168334533
Exempt-From-Owner-Approval: docs updates
Change-Id: I53003332717baf57dc088b2f6b969cdb1863f65e
2020-09-14 09:59:01 -06:00
arthurhung
941770b9c2 Fix navigation input consumer not working when first window is invisible
The nav InputConsumer should be the top window without being related
to some window or it may be hidden if the window is not visible.

Test: atest com.android.server.wm
Test: atest WindowInsetsControllerTests
Bug: 167940326
Merged-In: I842114e68eaedaa008972a0a84c6b6394174f232
Change-Id: I842114e68eaedaa008972a0a84c6b6394174f232
(cherry picked from commit 74a9a609ac)
2020-09-14 21:54:15 +08:00
Louis Chang
a1903d6928 Update language to comply with Android's inclusive language guidance
See https://source.android.com/setup/contribute/respectful-code for
reference.

Bug: 162536543
Test: Treehugger
Change-Id: I6dac60aac172a8fccf4b5671107b41c5c84ccd76
Merged-In: I6dac60aac172a8fccf4b5671107b41c5c84ccd76
2020-09-14 18:03:49 +08:00
Bill Yi
938d3bb1f5 Merge "Merge mainline-release 6664920 to stage-aosp-master - DO NOT MERGE" into stage-aosp-master 2020-09-14 05:33:38 +00:00
Junyu Lai
7e62609e37 Merge "Handle lockdown VPN reset intent in ConnectivityService" am: fc6fbde5df am: 8ea944d77a am: 1183f4a548
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1413614

Change-Id: I907b35a02c0957ae57f55ae960df1ff5fce0be8e
2020-09-14 05:02:21 +00:00
Junyu Lai
1183f4a548 Merge "Handle lockdown VPN reset intent in ConnectivityService" am: fc6fbde5df am: 8ea944d77a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1413614

Change-Id: I4eb9d53d1136ba6e4b9e1fdb884e0920567db2f7
2020-09-14 04:26:15 +00:00
Junyu Lai
8ea944d77a Merge "Handle lockdown VPN reset intent in ConnectivityService" am: fc6fbde5df
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1413614

Change-Id: I19ffa2e0d367fecd0859e30c698612f3bdef99e4
2020-09-14 03:52:33 +00:00
Junyu Lai
fc6fbde5df Merge "Handle lockdown VPN reset intent in ConnectivityService" 2020-09-14 03:14:51 +00:00
Bill Yi
75f38e0ff3 Merge mainline-release 6664920 to stage-aosp-master - DO NOT MERGE
Merged-In: I8f9b41ca6388fdeeda287e7919ef05e56f9da1a6
Change-Id: If78e130888b8d4653ef128d747e18cc46844d732
2020-09-13 07:58:42 -07:00
Meng Wang
75f256cb08 Skip notify celllocation of not really changed.
Readability cleanup.

Bug: 145949028
Test: make
Change-Id: I668a95f8f30ef6fdf6493fbc37757f3f97f76c9f
2020-09-12 02:21:44 +00:00
Treehugger Robot
d39fbcc29e Merge "Quiet excessive logging of missing lambdas during preload" am: 70b20ee0b8 am: 1f2781c323 am: f72a5498af
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1424919

Change-Id: Icaa3321c187b2c4f64fc7d56d9917fdb5b4e216b
2020-09-11 21:16:58 +00:00
Treehugger Robot
f72a5498af Merge "Quiet excessive logging of missing lambdas during preload" am: 70b20ee0b8 am: 1f2781c323
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1424919

Change-Id: I8f9b41ca6388fdeeda287e7919ef05e56f9da1a6
2020-09-11 20:39:22 +00:00
Treehugger Robot
1f2781c323 Merge "Quiet excessive logging of missing lambdas during preload" am: 70b20ee0b8
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1424919

Change-Id: Ied248c50c7c3150604390c6cd4734d81e050d6fd
2020-09-11 19:09:26 +00:00