Commit Graph

424299 Commits

Author SHA1 Message Date
Automerger Merge Worker
0cf089521a Merge changes I8ae4e331,Id4e37c3e,If0fd4834 into oc-dev am: e422bc0c8f am: 43d5e3bb62 am: 929c2c5e1b
Change-Id: I59ffea6df5c62eb899b3603c8767318e96af195a
2020-01-09 01:50:54 +00:00
Automerger Merge Worker
d6f29b2711 Use KNOWN_PACKAGES when shared lib consumers am: 08315953bc am: e580843476 am: d46ef183b1
Change-Id: I6a21d79dc45635a49540f5d821094925b2e71d01
2020-01-09 01:50:38 +00:00
Automerger Merge Worker
9f31fb9eaf Handles null outInfo in deleteSystemPackageLI am: 6afabce549 am: ae901aceda am: 3e28284fb8
Change-Id: Ib34f13ac3d1e34dbe639dc19c1c664aab9d7f17d
2020-01-09 01:50:24 +00:00
Automerger Merge Worker
929c2c5e1b Merge changes I8ae4e331,Id4e37c3e,If0fd4834 into oc-dev am: e422bc0c8f am: 43d5e3bb62
Change-Id: I5df542202c561a4ed931b918ccbaed317a8ba942
2020-01-09 01:04:14 +00:00
Automerger Merge Worker
d46ef183b1 Use KNOWN_PACKAGES when shared lib consumers am: 08315953bc am: e580843476
Change-Id: I64af9ee49999f2de11f1a6779e116357649f63b2
2020-01-09 01:03:58 +00:00
Automerger Merge Worker
3e28284fb8 Handles null outInfo in deleteSystemPackageLI am: 6afabce549 am: ae901aceda
Change-Id: I2741bc7999cd2b1c1e16b982791f72e3023361c7
2020-01-09 01:03:45 +00:00
Automerger Merge Worker
43d5e3bb62 Merge changes I8ae4e331,Id4e37c3e,If0fd4834 into oc-dev am: e422bc0c8f
Change-Id: I7efbfda4517e46abf406fd53487836704a941a2e
2020-01-09 00:08:31 +00:00
Automerger Merge Worker
e580843476 Use KNOWN_PACKAGES when shared lib consumers am: 08315953bc
Change-Id: I3ab4cc8d36bd79f3b7342cf0d0fa3056d08988e7
2020-01-09 00:08:14 +00:00
Automerger Merge Worker
ae901aceda Handles null outInfo in deleteSystemPackageLI am: 6afabce549
Change-Id: I077e6febea84013403feb65842ae99bc449ac737
2020-01-09 00:08:02 +00:00
TreeHugger Robot
59fbd30e4f Merge "DO NOT MERGE - Temporary fix to disable augmented autofill requests coming from password fields." into qt-qpr1-dev 2020-01-09 00:02:49 +00:00
Bryan Ferris
e422bc0c8f Merge changes I8ae4e331,Id4e37c3e,If0fd4834 into oc-dev
* changes:
  Fixes NPE when preparing app data during init
  Use KNOWN_PACKAGES when shared lib consumers
  Handles null outInfo in deleteSystemPackageLI
2020-01-08 22:46:45 +00:00
Patrick Baumann
5d3fc339b5 Fixes NPE when preparing app data during init
When deleting an unused static shared library on Q, the user manager was
fetched via mContext.getSystemService. At this time during boot, the
service wasn't registered and so null was returned. This has already
been addressed in R with a move to injecting dependencies in the
PackageManagerService constructor.

Bug: 142083996
Bug: 141413692
Test: manual; remove static dependency on eng Q build and reboot
Change-Id: I8ae4e331d09b4734c54cdc6887b273705dce88b1
Merged-In: I8ae4e331d09b4734c54cdc6887b273705dce88b1
2020-01-08 22:46:16 +00:00
Patrick Baumann
08315953bc Use KNOWN_PACKAGES when shared lib consumers
This change ensures we find ALL known packages that could be consuming a
shared library, not only currently installed ones. Without this check,
the system may get into a state in which we have currently uninstalled
but on-device apps that depend on a shared library that does not exist
on device.

This change also leaves static shared library packages on device even if
it's not installed for any of the remaining users as it could still be
used, but marked uninstalled for users in which it is consumed.

Bug: 141413692
Bug: 142083996
Test: Manual; attempt to remove shared lib after marking its consumer uninstalled.
Test: atest StaticSharedLibsHostTests
Change-Id: Id4e37c3e4d3ea3ad5fddae5d2c7305e56f50eeea
Merged-In: Id4e37c3e4d3ea3ad5fddae5d2c7305e56f50eeea
2020-01-08 22:45:56 +00:00
Daniel Sandler
9595ad654b Merge "DO NOT MERGE: Add another exception to the nearby-sharing chip code." into qt-qpr1-dev 2020-01-08 15:10:35 +00:00
SongFerngWang
9dfd9a5f33 Supplementary Services(SS) gray out when airplane mode on in Call Settings menu.
add carrier config "KEY_SS_DISABLE_WHEN_AIRPLANE_MODE_BOOL".

Bug: 141284019
Test: when airplane mode on, all of SS UIs are gray out.
Change-Id: I869a267fa5aaebf3b48f20bc70d21d612cd84586
(cherry picked from commit 08972c5b2b)
Merged-In: I869a267fa5aaebf3b48f20bc70d21d612cd84586
2020-01-08 22:05:46 +08:00
Christopher Tate
6cf5f92825 Revoke 'always' web handler status when not autoverifying
If an app has previously used autoVerify to make claims about its status
re handling web navigation intents, but is updated such that it no
longer makes those claims, step down its "official handler" status as
though it had never invoked autoVerify in the first place.

Bug: 146204120
Test: manual: as described in bug; observe policy before/after via
      'adb shell dumpsys package d'
Test: atest CtsOsHostTestCases
Change-Id: I58502d1b32d793aba9aa772fa2ad5ac38acca48a
Merged-In: I58502d1b32d793aba9aa772fa2ad5ac38acca48a
2020-01-07 17:49:18 -08:00
Automerger Merge Worker
01629a21a6 Merge "DO NOT MERGE - Temporary fix to disable augmented autofill requests coming from password fields." into qt-dev am: be7f868e7a
Change-Id: Iafcfda17fa43b90f8b9511618a6a7bbca238e781
2020-01-08 01:35:31 +00:00
Automerger Merge Worker
4314a0ca65 DO NOT MERGE - Temporary fix to disable augmented autofill requests coming from am: 483da5385f
Change-Id: Ia144921ee6ad424c565ca14713a275b9383e52cb
2020-01-08 01:35:27 +00:00
Adam He
be7f868e7a Merge "DO NOT MERGE - Temporary fix to disable augmented autofill requests coming from password fields." into qt-dev 2020-01-08 01:16:40 +00:00
Dan Sandler
3187e48e1f DO NOT MERGE: Add another exception to the nearby-sharing chip code.
Fixes: 146690046
Test: Share from Chrome
Change-Id: I41b3965ca2289f628a2d1de3a6da7daf01385a54
2020-01-08 00:26:37 +00:00
Christopher Tate
a8fb6dc167 Revoke 'always' web handler status when not autoverifying
If an app has previously used autoVerify to make claims about its status
re handling web navigation intents, but is updated such that it no
longer makes those claims, step down its "official handler" status as
though it had never invoked autoVerify in the first place.

Bug: 146204120
Test: manual: as described in bug; observe policy before/after via
      'adb shell dumpsys package d'
Test: atest CtsOsHostTestCases
Change-Id: I58502d1b32d793aba9aa772fa2ad5ac38acca48a
Merged-In: I58502d1b32d793aba9aa772fa2ad5ac38acca48a
2020-01-07 16:03:37 -08:00
Patrick Baumann
6afabce549 Handles null outInfo in deleteSystemPackageLI
This change adds null checks before accessing outInfo in
deleteSystemPackageLI.

Bug: 142083996
Bug: 141413692
Test: manual; remove static dependency on eng build and reboot
Change-Id: If0fd48343e89cbb77ccd25826656194195d5b0cd
(cherry picked from commit 1747101650)
Merged-In: If0fd48343e89cbb77ccd25826656194195d5b0cd
2020-01-07 22:56:56 +00:00
Automerger Merge Worker
45dbf8cc5a Merge "docs: Add documentation for equals() method" into qt-dev am: 732a127636 am: 8bc1955d0e
Change-Id: Ie77e185c38a1a5eda8efa73577d98babadb6e90d
2020-01-07 22:54:47 +00:00
Automerger Merge Worker
8bc1955d0e Merge "docs: Add documentation for equals() method" into qt-dev am: 732a127636
Change-Id: I306e8e186d2350f2dabb7238ad8b5c55d8e04e1d
2020-01-07 22:41:40 +00:00
Christopher Tate
ce22265eed Revoke 'always' web handler status when not autoverifying
If an app has previously used autoVerify to make claims about its status
re handling web navigation intents, but is updated such that it no
longer makes those claims, step down its "official handler" status as
though it had never invoked autoVerify in the first place.

Bug: 146204120
Test: manual: as described in bug; observe policy before/after via
      'adb shell dumpsys package d'
Test: atest CtsOsHostTestCases
Change-Id: I58502d1b32d793aba9aa772fa2ad5ac38acca48a
Merged-In: I58502d1b32d793aba9aa772fa2ad5ac38acca48a
2020-01-07 14:39:52 -08:00
Kevin Hufnagle
732a127636 Merge "docs: Add documentation for equals() method" into qt-dev 2020-01-07 22:29:32 +00:00
Kevin Hufnagle
1757a96d7c docs: Add documentation for equals() method
Explain the conditions that must be true in order for two objects
of type `ComponentName` to be considered equal.

Test: make ds-docs -j32

Bug: 62991861

Change-Id: I162ecd825b187ca688af11271a937e3740a4a833
Exempt-From-Owner-Approval: Docs-only change
2020-01-07 18:30:50 +00:00
Automerger Merge Worker
fc94ebae09 docs: Fix typo in IMPORTANCE_SERVICE description am: 08a4e470b8 am: edcfda720b
Change-Id: Id0683ebab467f7baaac1650b15dd8e98f8057306
2020-01-06 18:24:58 +00:00
Automerger Merge Worker
edcfda720b docs: Fix typo in IMPORTANCE_SERVICE description am: 08a4e470b8
Change-Id: I32360f63be584c4223c6aae692beb48c0bdf4802
2020-01-06 18:13:01 +00:00
TreeHugger Robot
835a9b4e4f Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev 2020-01-06 05:10:55 +00:00
Bill Yi
393657ce91 Import translations. DO NOT MERGE
Change-Id: Ic0a95801207612d600d8072163aaa5c5b8da51b3
Auto-generated-cl: translation import
2020-01-05 17:21:55 -08:00
Bill Yi
db92bf07a2 Import translations. DO NOT MERGE
Change-Id: I7edb50b15c89ca55770d4be0dcca7a066856ada7
Auto-generated-cl: translation import
2020-01-04 23:39:30 -08:00
Kevin Hufnagle
08a4e470b8 docs: Fix typo in IMPORTANCE_SERVICE description
Test: make ds-docs -j32

Bug: 140783404

Change-Id: Ife86109eebefe9c87f7c9ed4a0587676e3392d90
Exempt-From-Owner-Approval: Docs-only change
2020-01-03 20:05:31 +00:00
Automerger Merge Worker
03bdd73cca Merge "Fix MediaCodec FLAC Javadoc" into oc-mr1-dev am: 546c644f27 am: af521c4ced am: 98274d96f5 am: 9868e4c737
Change-Id: I60a049225fd042ee6c559c0a1dcbc99b4b49d92e
2020-01-02 21:50:42 +00:00
Automerger Merge Worker
9868e4c737 Merge "Fix MediaCodec FLAC Javadoc" into oc-mr1-dev am: 546c644f27 am: af521c4ced am: 98274d96f5
Change-Id: Id7b90a1a2f4f89e3303e43c1a2a78d7a9587feb3
2020-01-02 21:25:50 +00:00
Automerger Merge Worker
98274d96f5 Merge "Fix MediaCodec FLAC Javadoc" into oc-mr1-dev am: 546c644f27 am: af521c4ced
Change-Id: Id28175d26ec9910e184d5520cdf280e3ab831cf4
2020-01-02 21:11:32 +00:00
Automerger Merge Worker
af521c4ced Merge "Fix MediaCodec FLAC Javadoc" into oc-mr1-dev am: 546c644f27
Change-Id: I511da6d59c3b525cb678d6bb08a6cfa8e4e5a94f
2020-01-02 20:47:01 +00:00
TreeHugger Robot
546c644f27 Merge "Fix MediaCodec FLAC Javadoc" into oc-mr1-dev 2020-01-02 20:31:27 +00:00
TreeHugger Robot
15783772f4 Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev 2019-12-30 19:29:33 +00:00
TreeHugger Robot
3e2b79aa28 Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev 2019-12-30 16:00:27 +00:00
Bill Yi
6c42f1a123 Import translations. DO NOT MERGE
Change-Id: I1108db974400d6e4b0c80482517916f2cf1b7d02
Auto-generated-cl: translation import
2019-12-30 07:17:43 -08:00
Bill Yi
8ac9803f69 Import translations. DO NOT MERGE
Change-Id: I3b741dd925de582bc2c9f649785af77ae88ee9bc
Auto-generated-cl: translation import
2019-12-30 02:52:09 -08:00
TreeHugger Robot
e3757f4f11 Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev 2019-12-30 08:45:28 +00:00
Bill Yi
25879f476b Import translations. DO NOT MERGE
Change-Id: I4397ed43be999a7e5379baf5661913455b7e098e
Auto-generated-cl: translation import
2019-12-29 15:00:10 -08:00
Bill Yi
55a28df6f2 Import translations. DO NOT MERGE
Change-Id: Id836f5783ad2d8a4ffa9f3f0be7a75c400af7e38
Auto-generated-cl: translation import
2019-12-28 15:06:28 -08:00
Etan Cohen
20fd656400 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
2019-12-28 01:30:18 +00:00
Etan Cohen
7c8fce66ab [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
2019-12-27 12:47:18 -08:00
Etan Cohen
66a71e55b3 [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
2019-12-27 12:46:28 -08:00
Bill Yi
ee3c92f68a Import translations. DO NOT MERGE
Change-Id: I1571b49977856a781e697c3d868217b23c1da05c
Auto-generated-cl: translation import
2019-12-27 11:50:01 -08:00
TreeHugger Robot
870f67cc63 Merge "Camera: Fix typo when comparing display size height" into qt-qpr1-dev 2019-12-26 17:16:35 +00:00