TreeHugger Robot
1488119306
Merge "Added UserInfo.convertedFromPreCreated" into rvc-qpr-dev am: 7d2354bdc5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12495367
Change-Id: I164ccf69a41291610cf7f87f8cbbb453aa2aba2b
2020-09-21 19:20:55 +00:00
TreeHugger Robot
7d2354bdc5
Merge "Added UserInfo.convertedFromPreCreated" into rvc-qpr-dev
2020-09-21 18:40:48 +00:00
Treehugger Robot
2046ae1522
Merge "Clarify docs for FLAG_SYSTEM" am: 40dcbcad28 am: b4ff7c066f am: 687923e2c7 am: 8ce81bcb12
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1426971
Change-Id: I903496a4c0b124d39643a590e8eb42b45bb458ef
2020-09-17 23:25:32 +00:00
Treehugger Robot
8ce81bcb12
Merge "Clarify docs for FLAG_SYSTEM" am: 40dcbcad28 am: b4ff7c066f am: 687923e2c7
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1426971
Change-Id: I8b6e9e6de24d6c6332a5a224d1375ebc63c08899
2020-09-17 21:43:35 +00:00
Felipe Leme
4c0f6907fb
Added UserInfo.convertedFromPreCreated
...
This attribute is useful to identify (on bugreports) whether a
user was created "from scratch" or converted from a pre-created user.
Test: adb shell cmd user list --all -v
Test: adb shell dumpsys user
Test: atest UserControllerTest UserManagerServiceUserInfoTest
Fixes: 165703573
Change-Id: Iee9df636db5677b4d968d49bb5f5b3fbb9a7f02d
Merged-In: Iee9df636db5677b4d968d49bb5f5b3fbb9a7f02d
(cherry picked from commit c5986436a9779bbe9068609062fb231aff37e1d4)
2020-09-17 06:47:26 +00:00
TreeHugger Robot
a8f4e86533
Merge "Update language to comply with Android's inclusive language guidance" into rvc-qpr-dev am: 792e2be0fd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12593704
Change-Id: I31fc971801d9c30bbc61e8fbd97b5aed4d5a775a
2020-09-17 03:45:48 +00:00
Charles Munger
3bec6b94fe
Clarify docs for FLAG_SYSTEM
...
Bug: 168557744
Change-Id: Ia27aaae7b4f60f843013bd629ebcce4c662828d2
2020-09-15 18:46:49 +00:00
Louis Chang
c22364237a
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-15 10:23:23 +08:00
Jeff Sharkey
487d394296
Merge changes from topic "sep11" am: c0b288133a am: 69e6f07347 am: 741c0a78cc am: da7478b570
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1426195
Change-Id: I79488866c538bf9e76d0a6429e30262978f6fdab
2020-09-15 00:13:08 +00: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
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
Xin Li
628590d7ec
Merge Android R (rvc-dev-plus-aosp-without-vendor@6692709)
...
Bug: 166295507
Merged-In: I3d92a6de21a938f6b352ec26dc23420c0fe02b27
Change-Id: Ifdb80563ef042738778ebb8a7581a97c4e3d96e2
2020-08-31 21:21:38 -07:00
TreeHugger Robot
577539c9a0
Merge "Fix transfer API." into rvc-qpr-dev am: 92d9af6c47
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12478084
Change-Id: I9cc0cc4e7856f22f6917a2e22b6d40a3494142df
2020-08-28 17:38:30 +00:00
Alex Buynytskyy
b1d0a839f1
Fix transfer API.
...
Transfer API should throw security exception when transfering the
session which is not installing the original installer.
Moving it onto commit stage and still fail the installation.
Fixes: 165775712
Test: atest InstallSessionTransferTest
Test: atest -p frameworks/base/services/core/java/com/android/server/pm
Change-Id: I8511d4357788e70f83bcbd366908b42a691afbcb
Merged-In: I8511d4357788e70f83bcbd366908b42a691afbcb
2020-08-28 05:06:41 +00:00
Jackal Guo
5666ed9b0d
Merge "Update language to comply with Android's inclusive language guidance" am: 0090d82f18 am: c3972b8d97 am: 460fc577c9 am: c6564bee2a
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1398286
Change-Id: Idbf4ff204c708c80dadc421d50934e9a041b0378
2020-08-17 01:52:11 +00:00
Jackal Guo
c6564bee2a
Merge "Update language to comply with Android's inclusive language guidance" am: 0090d82f18 am: c3972b8d97 am: 460fc577c9
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1398286
Change-Id: Ia18cae33d2efc71f61c1a2a37b25a1fb2147ccfb
2020-08-17 01:43:16 +00:00
Jackal Guo
460fc577c9
Merge "Update language to comply with Android's inclusive language guidance" am: 0090d82f18 am: c3972b8d97
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1398286
Change-Id: Iefb939a07702b1aecfab75a03decf85ab6b55b50
2020-08-17 01:30:51 +00:00
Jackal Guo
008df2af16
Update language to comply with Android's inclusive language guidance
...
See https://source.android.com/setup/contribute/respectful-code for
reference
Bug: 163975639
Test: m docs
Change-Id: Id2af5961bc016d886f25c1f1fa989e6da1d1f44a
2020-08-14 09:15:49 +00:00
TreeHugger Robot
986681192e
Merge "Don't clone the locale redundantly in Configuration.setTo()" into rvc-qpr-dev am: 786165bae0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12152573
Change-Id: Ia37b90f198ce8ca923ff5a1909d08225d2e30d35
2020-08-03 19:07:19 +00:00
TreeHugger Robot
786165bae0
Merge "Don't clone the locale redundantly in Configuration.setTo()" into rvc-qpr-dev
2020-08-03 18:42:10 +00:00
Treehugger Robot
49fc83bc70
Merge "Update language to comply with Android's inclusive language guidance" am: ea575e7bc4 am: 0166574738 am: fd6b8e0da4
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1382385
Change-Id: I784c5050682c23e64796689caed846e0952bfed5
2020-07-31 15:08:28 +00:00
Lais Andrade
d2ce0e0f17
Merge "Update language to comply with Android's inclusive language guidance" am: cb51202601 am: 6c6e238f23 am: 40bdc0c86f
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1382537
Change-Id: Iad19e0977aab66758c01a3b8448a8f432fa92d89
2020-07-31 15:07:19 +00:00
Treehugger Robot
fd6b8e0da4
Merge "Update language to comply with Android's inclusive language guidance" am: ea575e7bc4 am: 0166574738
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1382385
Change-Id: I2367b78e9b80b2ffe284cc18adf07e29925656a8
2020-07-31 14:47:01 +00:00
Lais Andrade
40bdc0c86f
Merge "Update language to comply with Android's inclusive language guidance" am: cb51202601 am: 6c6e238f23
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1382537
Change-Id: I19ef5e99506ffbb2b7dcb79f72fae92161b77f8b
2020-07-31 14:46:24 +00:00
Treehugger Robot
ea575e7bc4
Merge "Update language to comply with Android's inclusive language guidance"
2020-07-31 14:12:37 +00:00
Lais Andrade
d877fa3317
Update language to comply with Android's inclusive language guidance
...
See https://source.android.com/setup/contribute/respectful-code for reference
#inclusivefixit
BUG=162536543
Change-Id: I8059d138ed476e89c7b796f0b1ad002692987a6f
2020-07-31 12:39:40 +00:00
Lais Andrade
d3797976d8
Update language to comply with Android's inclusive language guidance
...
See https://source.android.com/setup/contribute/respectful-code for reference
#inclusivefixit
BUG=162536543
Change-Id: I0ff4f00b9251789820023f25623f3bb9f8a437af
2020-07-31 11:12:40 +00:00
Jackal Guo
2603293071
Correct protectionToString am: 379eb5c25f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12265005
Change-Id: Ib4da555c392f4b93e1fcd7be0056188881a49a35
2020-07-30 09:03:30 +00:00
Jackal Guo
379eb5c25f
Correct protectionToString
...
The information of protectionLevel companion is missing when dumping
to string.
Bug: 161855740
Test: atest CtsPermission2TestCases:PermissionPolicyTest
Change-Id: Ifa9099541df1c287e5883a801ed14d34dad6287b
Merged-In: Ifa9099541df1c287e5883a801ed14d34dad6287b
2020-07-30 05:22:53 +00:00
Treehugger Robot
2863f04c43
Merge "Update language to comply with Android's inclusive language guidance" am: f8ca47966f am: 26d3e569db
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1374759
Change-Id: I090f2b972cd5d0221da4d690d98df29f4a5b0445
2020-07-30 01:25:39 +00:00
Treehugger Robot
fee9000990
Merge "Update language to comply with Android's inclusive language guidance" am: 18e37909f3 am: 2009a6f05e
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1374877
Change-Id: Ib3c12e47deb8b856ae276d238c70f445107dbccf
2020-07-30 01:25:12 +00:00
Treehugger Robot
f8ca47966f
Merge "Update language to comply with Android's inclusive language guidance"
2020-07-30 01:09:16 +00:00
Treehugger Robot
18e37909f3
Merge "Update language to comply with Android's inclusive language guidance"
2020-07-30 01:00:04 +00:00
Treehugger Robot
0cc93e30c4
Merge "Update language to comply with Android's inclusive language guidance" am: df9c0ce0d6 am: 9d5f5e2a5e
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1374899
Change-Id: I71bc9fc5d79daa5631e67380041d24ef1e907a76
2020-07-30 00:58:29 +00:00
Treehugger Robot
66ea204537
Merge "Update language to comply with Android's inclusive language guidance" am: 0b7e8cc6bc am: b5cf67da5a
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1375856
Change-Id: I041cc607ebe35c8d6e57cb78fa30170f38817ae3
2020-07-30 00:57:55 +00:00
Treehugger Robot
df9c0ce0d6
Merge "Update language to comply with Android's inclusive language guidance"
2020-07-30 00:43:35 +00:00
Saint Chou
e3f0cc2cc8
Update language to comply with Android's inclusive language guidance
...
See https://source.android.com/setup/contribute/respectful-code for reference
#inclusivefixit
Bug: 161896447
Change-Id: Ib3879e8dac4ac85c35e6a56cd45fb18fd26be058
Test: NA (Comment only)
2020-07-29 08:26:38 +00:00
Saint Chou
a668a62399
Update language to comply with Android's inclusive language guidance
...
See https://source.android.com/setup/contribute/respectful-code for reference
#inclusivefixit
Bug: 161896447
Change-Id: I39301089c02ab2860124a2390470ac607770a071
Test: NA (Comment only)
2020-07-29 07:50:26 +00:00
Saint Chou
0d62a0cca3
Update language to comply with Android's inclusive language guidance
...
See https://source.android.com/setup/contribute/respectful-code for reference
#inclusivefixit
Bug: 161896447
Test: NA (Comment only)
Change-Id: Idb9cf2a5bdad0e1d15c8b553b2fc5380a504676e
2020-07-29 07:19:12 +00:00
Saint Chou
a3bda85ce9
Update language to comply with Android's inclusive language guidance
...
See https://source.android.com/setup/contribute/respectful-code for reference
#inclusivefixit
Bug: 161896447
Test: NA (Comment only)
Change-Id: I3e86de365f5a3eb2649ce7166ac34079484cfabd
2020-07-29 06:50:15 +00:00
Christopher Tate
7652ae9080
Don't clone the locale redundantly in Configuration.setTo()
...
When updating an existing Configuration instance, don't create a new
clone of the pattern's embedded Locale unless it is materially different
from the existing instance's own.
Bug: 161264248
Test: boot & run
Test: atest AppConfigurationTests
Test: atest ConfigChangeTests
Test: atest LocaleListTest
Change-Id: I5dc0598b89305c488ba50c1774ecdabf939a6ccc
Merged-In: I5dc0598b89305c488ba50c1774ecdabf939a6ccc
2020-07-15 16:35:30 +00:00
Hall Liu
5169953baf
Merge "Skip carrier priv check for trusted UIDs" into rvc-dev am: f1a6972937
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12141306
Change-Id: Iac6c6a95dc0df15e45e2ef4f25a3b92e162800b0
2020-07-13 23:46:14 +00:00
Hall Liu
12a3f5cfdc
Skip carrier priv check for trusted UIDs
...
Checking carrier privileges for UIDs with lots of shared apps can incur
a significant performance hit. For UIDs that are fixed and trusted
(system and phone), skip the permission check and always allow.
Also, double the cache size for getPackageInfo in order to reduce the
rate of cache misses.
Bug: 160971853
Test: manual verification -- observed lower rate of cache misses for
getPackageInfo from com.android.phone.
Change-Id: I1399cab579308479d7cf191b8795441cbcd3ff65
2020-07-13 12:45:00 -07:00
Patrick Baumann
8f65482603
Merge "Don't assume host is wildcard if not provided" into rvc-dev am: a1b6280ec8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12118654
Change-Id: Id420df09eff3c591d4bab1ef7640d7ddf071b93a
2020-07-09 23:44:38 +00:00
Patrick Baumann
a1b6280ec8
Merge "Don't assume host is wildcard if not provided" into rvc-dev
2020-07-09 23:31:56 +00:00
Patrick Baumann
aab67c2b9d
Don't assume host is wildcard if not provided
...
This change ensures that while parsing a package, we require an explicit
wildcard in the queries->intent->data->host field. Prior to this change,
we were defaulting to wildcard when not provided. This resulted in,
e.g. someone trying to get visibility to just browsers actually getting
access to all packages that handle any web intent.
Fixes: 160868841
Test: atest AppEnumerationTests IntentFilterTest
Change-Id: I771845467928b6655fe19efe89bd2ca548dca6e5
2020-07-09 12:28:54 -07:00
Charles Chen
8d53c79a02
Merge "Fix NPE when invoking Context#isUiContext" into rvc-dev am: 5c25605da0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12105622
Change-Id: Ic5670956e2cec2fd6e63a9d0e6c4fa86f2ec991e
2020-07-08 17:59:55 +00:00
Charles Chen
5c25605da0
Merge "Fix NPE when invoking Context#isUiContext" into rvc-dev
2020-07-08 17:46:09 +00:00