Martijn Coenen
fa4c9a7044
Merge "Revert "Revert "Fixup app-private dirs that are not writable.""" into sc-dev am: 166400b045
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14327561
Change-Id: I66952550bce3a6ae9dcc673fd3410822aaeb944f
2021-04-29 09:15:27 +00:00
Martijn Coenen
166400b045
Merge "Revert "Revert "Fixup app-private dirs that are not writable.""" into sc-dev
2021-04-29 09:02:45 +00:00
Chris Li
a01c1a23b5
Merge "Determine whether to support activities in multi window (1/n)" into sc-dev am: 328079de27
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14333302
Change-Id: Iab144cb21bc50fc72941f62337b885f3abf0e455
2021-04-29 02:45:54 +00:00
Chris Li
328079de27
Merge "Determine whether to support activities in multi window (1/n)" into sc-dev
2021-04-29 01:09:53 +00:00
Felipe Leme
9eb222625e
Merge "Disabled DevicePolicyManager.setLocationEnabled() for automotive." into sc-dev am: 056452001f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14299132
Change-Id: Idd5ba4639b2254fd530b55dcf0262a7224a10222
2021-04-28 16:33:04 +00:00
Felipe Leme
056452001f
Merge "Disabled DevicePolicyManager.setLocationEnabled() for automotive." into sc-dev
2021-04-28 16:31:45 +00:00
Adrian Roos
13f7ac9eba
Merge "Revert "Fixup app-private dirs that are not writable."" into sc-dev am: 3e7a628f0f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14327560
Change-Id: I69c8c4737d18bb8d249d27ef637ba872a69df403
2021-04-28 15:27:45 +00:00
Martijn Coenen
d6b7b6b3aa
Revert "Revert "Fixup app-private dirs that are not writable.""
...
Fixup non-writable app-private dirs that could have been left around by
an earlier race condition in the setup of the FUSE filesystem.
Bug: 181726193
Bug: 182088154
Test: erase userdata, check Youtube dirs are fixed up correctly
Reason for revert: fixing issue in original CL
Change-Id: Ifacf807f62dec3c9e22b5e5af0f2b00c4423ede4
2021-04-28 15:23:15 +00:00
Adrian Roos
3e7a628f0f
Merge "Revert "Fixup app-private dirs that are not writable."" into sc-dev
2021-04-28 15:17:46 +00:00
Adrian Roos
20705fdb10
Revert "Fixup app-private dirs that are not writable."
...
This reverts commit 13f793aec9 .
Reason for revert: Breaks device health checks; crashes if dir is null.
Bug: 181726193
Bug: 182088154
Fixes: 186633787
Change-Id: Ia28df79c6ff4aacd6bdadf1d9c540f49dcace707
2021-04-28 15:16:55 +00:00
Martijn Coenen
8d5147d4f8
Merge "Fixup app-private dirs that are not writable." into sc-dev am: 8e176d97ae
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14327551
Change-Id: I8ecc1c301e27f81a9e7f91fabce10ab6d6a51cad
2021-04-28 13:59:23 +00:00
Martijn Coenen
8e176d97ae
Merge "Fixup app-private dirs that are not writable." into sc-dev
2021-04-28 13:43:51 +00:00
Tom Natan
1fe14a0b45
Merge "Document version codes in CompatChanges API" am: d4691f8a31 am: de7b72d03e am: bfc894c34f am: ba2767ef4a
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1688067
Change-Id: I8ceed061eb4741bc0b845b1275fe381391ac7e3d
2021-04-28 10:31:46 +00:00
Tom Natan
ba2767ef4a
Merge "Document version codes in CompatChanges API" am: d4691f8a31 am: de7b72d03e am: bfc894c34f
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1688067
Change-Id: I6bc5d31fa7fc02194fd7e638658f7120f1b68500
2021-04-28 10:26:25 +00:00
Tom Natan
bfc894c34f
Merge "Document version codes in CompatChanges API" am: d4691f8a31 am: de7b72d03e
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1688067
Change-Id: Ibf988dded00d18d3ceb7e7642e466641eea27862
2021-04-28 10:00:17 +00:00
Stanislav Zholnin
6145fb551d
Merge "Bug fixes and testing support for DiscreteRegistry" into sc-dev am: bd45b82617
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14327550
Change-Id: I4d4a985e003f868fb5396924f387d9ef4dd38e99
2021-04-28 09:17:51 +00:00
Stanislav Zholnin
bd45b82617
Merge "Bug fixes and testing support for DiscreteRegistry" into sc-dev
2021-04-28 09:09:35 +00:00
Martijn Coenen
13f793aec9
Fixup app-private dirs that are not writable.
...
Fixup non-writable app-private dirs that could have been left around by
an earlier race condition in the setup of the FUSE filesystem.
Bug: 181726193
Bug: 182088154
Test: erase userdata, check Youtube dirs are fixed up correctly
Change-Id: I7972f79d14893571289a2245f98e90e6c8c69f0a
2021-04-28 09:48:50 +02:00
Chris Li
cde271685f
Determine whether to support activities in multi window (1/n)
...
Add a field of supportsMultiWindow to TaskInfo for WM Shell to use.
Because we will change to Task#supportsMultiWindow to check the
support based on the root activity's resizibilty, min widht/height,
and the device settings, using this to replace the check in
ActivityTaskManager, which is pure device settings.
Bug: 176061101
Test: atest WMShellFlickerTests
Change-Id: Iad94b39506e71b6224d923f02bd7fc454cae02c8
2021-04-27 23:59:38 -07:00
Rhed Jao
23cb6351d8
Merge "Add a synchronized lock into the SplitDependencyLoaderImpl" into sc-dev am: f4baaf8a8e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14278089
Change-Id: If4298c4b30c6ea2d47bc5774973a30461d393c9e
2021-04-28 04:04:56 +00:00
Rhed Jao
f4baaf8a8e
Merge "Add a synchronized lock into the SplitDependencyLoaderImpl" into sc-dev
2021-04-28 03:42:05 +00:00
Stanislav Zholnin
c5f09f687b
Bug fixes and testing support for DiscreteRegistry
...
Fixed following bugs:
- in certain cases deduplication could fail
- while requesting discrete ops, beginTimeMillis parameter was
ignored
- device_config parameters above guardrails were
still applied after reboot
Added support tests (coming in next CL):
- ability to offsetHistory for test
- ability to change quantization parameter to any value for tests
Test: coming in next CL
Bug: 183238944
Bug: 183239281
Bug: 176965672
Change-Id: I838a7897058b38aa0957a3666d4b37a5378e36be
2021-04-27 18:31:30 +01:00
Chavi Weingarten
ec2340ee01
Merge "Added takeScreenshot of a Window to UiAutomation" into sc-dev am: 7131ac5913
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14188369
Change-Id: Ia244203de921a54fedeec0fafb2d2d46d3805895
2021-04-27 17:10:17 +00:00
Chavi Weingarten
7131ac5913
Merge "Added takeScreenshot of a Window to UiAutomation" into sc-dev
2021-04-27 17:06:14 +00:00
Benjamin Franz
d6124893c0
Document version codes in CompatChanges API
...
Bug: 184654568
Test: make docs
Change-Id: Ie3bc5cccefd794cdd75be9c61d707b8679025ad8
2021-04-27 12:29:31 +00:00
Rhed Jao
83e849ce64
Merge "Fix a crash when starting a service in the isolated split" into sc-dev am: bf53e16efd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14260709
Change-Id: Id424e33da4973f85348374a8c3c31d87beada40c
2021-04-27 06:15:21 +00:00
Rhed Jao
bf53e16efd
Merge "Fix a crash when starting a service in the isolated split" into sc-dev
2021-04-27 06:06:16 +00:00
Louis Chang
ab731a19e4
Merge "Revert "Do not relaunch bg activities when application info changes"" into sc-dev am: 9caa70a8d3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14305132
Change-Id: Ib00734a051598906c0cf201220cccd85921f41ee
2021-04-27 02:25:35 +00:00
Louis Chang
9caa70a8d3
Merge "Revert "Do not relaunch bg activities when application info changes"" into sc-dev
2021-04-27 02:23:11 +00:00
Louis Chang
24af61a988
Revert "Do not relaunch bg activities when application info changes"
...
This reverts commit 8b5afd93b6 .
Reason for revert: b/186367826
Bug: 185301309
Change-Id: I7a68f1a32aff194d68af1c3ef55dc60ffbde5df9
2021-04-27 02:21:55 +00:00
Felipe Leme
e3cfe3c7f6
Disabled DevicePolicyManager.setLocationEnabled() for automotive.
...
Location is a fundamental feature for automotive, which should be
out of reach of device admins (for example, disabling it could
affect the navigation app).
Test: atest com.android.cts.devicepolicy.DeviceOwnerTest#testSetLocationEnabled # on automotive and phone
Bug: 186263875
Fixes: 185523465
Change-Id: I8a9d3347080d56c8f064038b66b5b1826e377f64
2021-04-26 18:23:07 -07:00
chaviw
0cad605aa1
Added takeScreenshot of a Window to UiAutomation
...
Added a way to capture just a window instead of the entire screen
to make tests easier.
Test: Builds
Bug: 185390632
Change-Id: I5138777bc87cdabcd2d8f574b1758509fc887c56
2021-04-26 17:54:54 -05:00
Flavio Fiszman
538793b5c8
Merge "Handling group chat sender" into sc-dev am: bf0507b001
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14296205
Change-Id: I33178c116c51995fad695dcb847cc814cced3684
2021-04-26 17:03:26 +00:00
Flavio Fiszman
bf0507b001
Merge "Handling group chat sender" into sc-dev
2021-04-26 17:01:12 +00:00
Alex Johnston
ad6f9bde51
Merge "Remove PasswordMetrics.validatePasswordMetrics isPin param" into sc-dev am: 3f716ff7a2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14211746
Change-Id: Ia639e09d734bd8f50deeaa2dde30b7169159e2ba
2021-04-26 15:31:11 +00:00
Alex Johnston
3f716ff7a2
Merge "Remove PasswordMetrics.validatePasswordMetrics isPin param" into sc-dev
2021-04-26 15:24:16 +00:00
Flavio Fiszman
47b06875bd
Handling group chat sender
...
Change-Id: I4e4ff94e3452f3eb74bf8d7af2969e0ce2d3ac91
Test: manual and people/
Bug: 183084944
2021-04-26 14:43:35 +01:00
Mathew Inwood
8a46fb77b2
Merge "Revert^2 "API changes as requested by API council."" am: 0bd58c09b2 am: 67084eda34
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1684202
Change-Id: Ide1a12e8e7507383b4c233ff88a1a63590f0210e
2021-04-26 08:55:23 +00:00
Rhed Jao
129aa44896
Add a synchronized lock into the SplitDependencyLoaderImpl
...
- There's a potential race condition going on when components
from the isolated split are creating the split class loader.
Add a synchronized lock for the array of cached class loaders
and resource paths to prevent the race.
- Remove the synchronized class reference of LoadedApk. Using an
explicit mLock object to synchronize the
#createOrUpdateClassLoaderLocked() and cached split class loader
instead.
Bug: 172602571
Test: atest IsolatedSplitsTests
Test: atest ClassloaderSplitsTest
Test: atest SplitTests
Change-Id: Ifb77d067ddf06b5192d7ce9d4e78958b56faac7c
2021-04-26 12:49:20 +08:00
Louis Chang
efcbd39e5c
Merge "Do not relaunch bg activities when application info changes" into sc-dev am: d41d71e4f8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14161099
Change-Id: If61633504dd11a39bc411f2d06ddaeefa35ed8a9
2021-04-26 01:29:52 +00:00
Louis Chang
d41d71e4f8
Merge "Do not relaunch bg activities when application info changes" into sc-dev
2021-04-26 01:19:44 +00:00
TreeHugger Robot
aa3fe6e1f1
Merge "Add missing javadocs" into sc-dev am: d1a2e3f3bc
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14293209
Change-Id: I3527dc72e7bae608d04280ca2fd5ecc6aede932a
2021-04-23 19:25:01 +00:00
TreeHugger Robot
d1a2e3f3bc
Merge "Add missing javadocs" into sc-dev
2021-04-23 19:07:41 +00:00
Flavio Fiszman
cac1294919
Merge "Check if username is null" into sc-dev am: 7852984973
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14269155
Change-Id: I0604859deb0bfd5a241f5eb5899a64d0fcc022c0
2021-04-23 16:04:32 +00:00
Flavio Fiszman
7852984973
Merge "Check if username is null" into sc-dev
2021-04-23 15:59:09 +00:00
Julia Reynolds
ccbfb05dd9
Add missing javadocs
...
Test: build
Fixes: 186211207
Change-Id: Ie7da3a9de4afd6eb8f7aeed7c588091be87409f5
2021-04-23 14:48:09 +00:00
Caitlin Cassidy
cf790bdf56
Merge "[Ongoing Call Chip] Don't show the chip on lockscreen." into sc-dev am: efaeb0c564
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14189052
Change-Id: I1cc6fb3270e06f8eeaf36c1f68197fb887838d0e
2021-04-23 14:22:26 +00:00
Caitlin Cassidy
efaeb0c564
Merge "[Ongoing Call Chip] Don't show the chip on lockscreen." into sc-dev
2021-04-23 14:01:58 +00:00
Alex Johnston
ad5cac3115
Remove PasswordMetrics.validatePasswordMetrics isPin param
...
* Remove isPin parameter and use actualMetrics.credType,
which now includes CREDENTIAL_TYPE_PIN
Bug: 184103377
Test: manual testing
atest com.android.server.devicepolicy.DevicePolicyManagerTest
atest com.android.cts.devicepolicy.ProfileOwnerTest
atest com.android.cts.devicepolicy.MixedManagedProfileOwnerTest
atest com.android.cts.devicepolicy.MixedManagedProfileOwnerTest
Change-Id: Ib79856b14981ef715c941e3cd56bd29ca196f3bb
2021-04-23 13:11:24 +01:00
Flavio Fiszman
249cef5cf5
Check if username is null
...
Change-Id: If5409e98f9e5a9bca4fea111af3a463bdf86324b
Test: manual
Bug: 185916268
2021-04-23 10:32:51 +01:00