Commit Graph

519022 Commits

Author SHA1 Message Date
TreeHugger Robot
a65a36bfb5 Merge "Temporarily disable checkstyle hook" into rvc-dev am: 17f8a7e553
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12121346

Change-Id: I9b45fcf41f66f29f1a6b8afac3e43b5ae426b191
2020-07-09 22:40:25 +00:00
TreeHugger Robot
17f8a7e553 Merge "Temporarily disable checkstyle hook" into rvc-dev 2020-07-09 22:18:54 +00:00
Jing Ji
f76c853a88 Keep warming services out of cached adj
Add a pre-configured list that will help to prevent those services
which will keep critical code path of the host processes warm
from falling into cached adj; in case of multi-user, such service
running in the background user won't get this capability, unless it's
singleton.

The list will be empty by default and subjected to be overlaid
by device configurations.

Bug: 158685897
Test: atest MockingOomAdjusterTests
Test: Manual - Add test service into the pre-configured list
      start it and verify it won't get into cached state
Change-Id: I062f5ec3947ad3acebcc2ffe79e420beb23443a2
Merged-In: I062f5ec3947ad3acebcc2ffe79e420beb23443a2
2020-07-09 22:17:54 +00:00
Sooraj Sasindran
d9ca8a3aa9 [automerger skipped] Merge "Use FLAG_UPDATED_SYSTEM_APP" am: 68a510ac32 am: 4aa8851cc4 -s ours am: b5398d04e8 -s ours
am skip reason: Change-Id I1991e98bb1edb7d0628a7011df7488fbf5de3579 with SHA-1 af41d87ede is in history

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

Change-Id: Ie37629a2e67ecd34d038508e5e80b886bda6f0b0
2020-07-09 22:05:01 +00:00
Sooraj Sasindran
b5398d04e8 [automerger skipped] Merge "Use FLAG_UPDATED_SYSTEM_APP" am: 68a510ac32 am: 4aa8851cc4 -s ours
am skip reason: Change-Id I1991e98bb1edb7d0628a7011df7488fbf5de3579 with SHA-1 af41d87ede is in history

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

Change-Id: I82573c36fa140cbd15f207c8a649660f258e31ee
2020-07-09 21:48:56 +00:00
Automerger Merge Worker
3c31ba8d12 Merge "Merge "Insets: make decorFitsSystemWindowInsets apply cutout insets" into rvc-dev am: e15860371f am: 2b8011102c" into rvc-d1-dev-plus-aosp 2020-07-09 21:43:01 +00:00
TreeHugger Robot
7314b310c2 Merge "Insets: make decorFitsSystemWindowInsets apply cutout insets" into rvc-dev am: e15860371f am: b7bc3b7d64
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12117342

Change-Id: I7dcf2e5af4c55580879b320aaa8e6bc0d7208922
2020-07-09 21:42:51 +00:00
TreeHugger Robot
9dcfa2991d Merge "Insets: make decorFitsSystemWindowInsets apply cutout insets" into rvc-dev am: e15860371f am: 2b8011102c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12117342

Change-Id: Ic7c77ef47d86492a0a37ab09e2bb1b67138df5ca
2020-07-09 21:42:50 +00:00
Sooraj Sasindran
4aa8851cc4 Merge "Use FLAG_UPDATED_SYSTEM_APP" am: 68a510ac32
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1358923

Change-Id: I216ca26c4366c8f9e74e5b086f291cab24b96426
2020-07-09 21:39:47 +00:00
TreeHugger Robot
b7bc3b7d64 Merge "Insets: make decorFitsSystemWindowInsets apply cutout insets" into rvc-dev am: e15860371f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12117342

Change-Id: I8369e696a9a6e1d7dd74f1c2420e519b167c03f1
2020-07-09 21:31:45 +00:00
TreeHugger Robot
2b8011102c Merge "Insets: make decorFitsSystemWindowInsets apply cutout insets" into rvc-dev am: e15860371f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12117342

Change-Id: I11fa689dee1ccd7ec08f38ede598996d2ddceabe
2020-07-09 21:30:59 +00:00
Sooraj Sasindran
68a510ac32 Merge "Use FLAG_UPDATED_SYSTEM_APP" 2020-07-09 21:21:10 +00:00
TreeHugger Robot
e15860371f Merge "Insets: make decorFitsSystemWindowInsets apply cutout insets" into rvc-dev 2020-07-09 21:18:44 +00:00
Aurimas Liutikas
8497789b3b Temporarily disable checkstyle hook
checkstyle uses inefficient git calls that make it really slow for --partial-clone

Bug: 160796554
Change-Id: I3bb2ac1bebdb6f778b2d2ff159eefb27664aa177
2020-07-09 20:51:58 +00:00
Ben Murdoch
8b0ac8fc8e Fix crashes in UserDetailViewAdapterTest.
ag/12048551 exposed some issues running these tests with mocks.

1. Once UserDetailItemView was created from the mocked convertView, it
   returned null from getResources. Fix by calling getResources through
   Context instead.
2. CircleFramedDrawable needs a real bitmap to work. Using a mock ended
   up in a native crash somewhere in libhwui.

Bug: 160794744
Test: atest UserDetailViewAdapterTest
Change-Id: I85a84dbd454ebb1627e4ded21e6708c7fedac11c
2020-07-09 21:02:53 +01:00
TreeHugger Robot
1adfcb6adc [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 0811c47412 -s ours am: 34d81efcdd -s ours
am skip reason: subject contains skip directive

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

Change-Id: I4ee51db0d0f2a836eec79829a358da21448d1ee1
2020-07-09 19:41:41 +00:00
TreeHugger Robot
2bdbac1354 [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 0811c47412 -s ours am: ede58b18fa -s ours
am skip reason: subject contains skip directive

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

Change-Id: Id4dbc7d1d43f94fe4714b9256d0acedc2bd551a6
2020-07-09 19:30:48 +00:00
TreeHugger Robot
c17473ca47 [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-d1-dev am: 0636427470 -s ours
am skip reason: subject contains skip directive

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

Change-Id: If4cc5f109f3487469ec1ead3bc3a880d83fb9294
2020-07-09 19:30:25 +00:00
TreeHugger Robot
34d81efcdd [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 0811c47412 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ifc61648c1e0feb1ed607b546866d2bdae81230cb
2020-07-09 19:30:04 +00:00
TreeHugger Robot
ede58b18fa [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 0811c47412 -s ours
am skip reason: subject contains skip directive

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

Change-Id: If48971c536375cbcb046ea62b42bb37025c6aece
2020-07-09 19:30:04 +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
TreeHugger Robot
0636427470 Merge "Import translations. DO NOT MERGE" into rvc-d1-dev 2020-07-09 19:18:25 +00:00
TreeHugger Robot
0811c47412 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-07-09 19:16:43 +00:00
Jing Ji
3d6abee35a Merge "Fix javadoc error in ApplicationExitInfo#getDefiningUid()" into rvc-dev am: 42ef19d57c am: 6cca58b722
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12118644

Change-Id: I6a06fa28b6c6b4a374d954a9c285766b9671d278
2020-07-09 18:15:13 +00:00
Jing Ji
b3342aba8b Merge "Fix javadoc error in ApplicationExitInfo#getDefiningUid()" into rvc-dev am: 42ef19d57c am: 207e715943
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12118644

Change-Id: Ic056c072c593b575ef312b0958a610a8002d88b0
2020-07-09 18:14:38 +00:00
Jing Ji
6cca58b722 Merge "Fix javadoc error in ApplicationExitInfo#getDefiningUid()" into rvc-dev am: 42ef19d57c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12118644

Change-Id: I4cbbe16fcf62d01fa76e7756c4a4b554dce78926
2020-07-09 18:14:25 +00:00
Automerger Merge Worker
d432f0e1fd Merge "Merge "Fix "Allow/Deny" popup window no respond when enable pointer location" into rvc-dev am: d22b5fbe34 am: a3d9937577" into rvc-d1-dev-plus-aosp 2020-07-09 18:14:16 +00:00
TreeHugger Robot
df8f8b735e Merge "Fix "Allow/Deny" popup window no respond when enable pointer location" into rvc-dev am: d22b5fbe34 am: a3d9937577
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12086304

Change-Id: Ibc0d4b8d31d81c3a4455b2fe1d4be7d242846443
2020-07-09 18:14:05 +00:00
Jing Ji
207e715943 Merge "Fix javadoc error in ApplicationExitInfo#getDefiningUid()" into rvc-dev am: 42ef19d57c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12118644

Change-Id: I2a3a7609ca76fb24c5298589951b1cc3d4634c3d
2020-07-09 18:13:59 +00:00
TreeHugger Robot
5fce67a1fa Merge "Fix "Allow/Deny" popup window no respond when enable pointer location" into rvc-dev am: d22b5fbe34 am: cc6239dc7d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12086304

Change-Id: I103db02cbeab26fdcc30a84862983076a422571c
2020-07-09 18:13:57 +00:00
Jing Ji
42ef19d57c Merge "Fix javadoc error in ApplicationExitInfo#getDefiningUid()" into rvc-dev 2020-07-09 18:11:00 +00:00
TreeHugger Robot
a3d9937577 Merge "Fix "Allow/Deny" popup window no respond when enable pointer location" into rvc-dev am: d22b5fbe34
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12086304

Change-Id: Ic3f33589a09c4538ca05047aa08a39fa0be141b6
2020-07-09 18:00:12 +00:00
TreeHugger Robot
cc6239dc7d Merge "Fix "Allow/Deny" popup window no respond when enable pointer location" into rvc-dev am: d22b5fbe34
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12086304

Change-Id: I706c530fedfac30a6a270d7a86686190de6826ff
2020-07-09 17:59:55 +00:00
Bill Yi
b614cf9129 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I02b0ad06665a51b03d15decac87215e46049525e
2020-07-09 10:55:47 -07:00
Nathan Harold
d307f437a6 Merge changes from topic "servicelocation" am: 63ced6b508 am: 0b41b930a8 am: dbe2b4c8a9
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1355808

Change-Id: I2e49623477ad361f422fb8d79684e88eeb1eaca2
2020-07-09 17:54:56 +00:00
Nathan Harold
cf4bcdca28 Add Location Checks on CellLocation#requestLocationUpdate am: 32deda2df3 am: 3b7647b8d6 am: b169887af7
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1355807

Change-Id: I6f4cb805511cc1ea4601d516fdc69578a05df38a
2020-07-09 17:54:47 +00:00
TreeHugger Robot
d22b5fbe34 Merge "Fix "Allow/Deny" popup window no respond when enable pointer location" into rvc-dev 2020-07-09 17:50:48 +00:00
Nathan Harold
dbe2b4c8a9 Merge changes from topic "servicelocation" am: 63ced6b508 am: 0b41b930a8
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1355808

Change-Id: I1992b4e1c9d7c2cf442515b4c397a9975478df85
2020-07-09 17:34:30 +00:00
Nathan Harold
b169887af7 Add Location Checks on CellLocation#requestLocationUpdate am: 32deda2df3 am: 3b7647b8d6
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1355807

Change-Id: I44159f46bb114dcc181e4974fabcc22c881b5395
2020-07-09 17:34:25 +00:00
Bill Yi
3fcba41cb1 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I9bd4e94276357c8fd68e943aa20d7e36652f5ee6
2020-07-09 10:28:17 -07:00
Nathan Harold
0b41b930a8 Merge changes from topic "servicelocation" am: 63ced6b508
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1355808

Change-Id: Ib08f1ddac156e789aacc9420ecf4e51a5e5cea5a
2020-07-09 17:25:48 +00:00
Nathan Harold
3b7647b8d6 Add Location Checks on CellLocation#requestLocationUpdate am: 32deda2df3
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1355807

Change-Id: I39b0cc26bbe2f84e065f0f3b7080aabfd14c7606
2020-07-09 17:25:46 +00:00
Steven Moreland
c6f1fb4a80 Merge "HwBinder.setTrebleTestingOverride" am: 3804ae082c am: 8b6e909cbf am: cd5a2a3037
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1358164

Change-Id: I8c06adefb681d1e00dde180221c96edd96778581
2020-07-09 17:24:59 +00:00
Adrian Roos
853341ca99 Merge "Fix IME flicker: move hiding the surface into the control target" into rvc-dev am: 895a2e626a am: 4ffd88f7a3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12070682

Change-Id: I38a2b5a0d839cab51de6dedb53bf9825e3659676
2020-07-09 17:24:39 +00:00
Adrian Roos
2b8b39ec24 Merge "Fix IME flicker: move hiding the surface into the control target" into rvc-dev am: 895a2e626a am: 2f07569650
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12070682

Change-Id: Id91802e75d496b824c22d53bb2ee86868cb80d79
2020-07-09 17:24:23 +00:00
Steven Moreland
cd5a2a3037 Merge "HwBinder.setTrebleTestingOverride" am: 3804ae082c am: 8b6e909cbf
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1358164

Change-Id: Ia8da014470547dc469b2de12700aa57fea4c9af1
2020-07-09 17:19:18 +00:00
Nathan Harold
63ced6b508 Merge changes from topic "servicelocation"
* changes:
  Remove Support for Deprecated Location Updating
  Add Location Checks on CellLocation#requestLocationUpdate
2020-07-09 17:15:07 +00:00
Adrian Roos
2f07569650 Merge "Fix IME flicker: move hiding the surface into the control target" into rvc-dev am: 895a2e626a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12070682

Change-Id: Ib984a4bc34f0527c809de35919340019a04b017a
2020-07-09 17:12:41 +00:00
Adrian Roos
4ffd88f7a3 Merge "Fix IME flicker: move hiding the surface into the control target" into rvc-dev am: 895a2e626a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12070682

Change-Id: I2d7c590f30beb36c397231d55cd98fabee4f3597
2020-07-09 17:12:40 +00:00
Steven Moreland
8b6e909cbf Merge "HwBinder.setTrebleTestingOverride" am: 3804ae082c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1358164

Change-Id: I40185eae30a1304e8602657289a64a7b235c32a7
2020-07-09 17:06:45 +00:00