OSDN Git Service
Ahan Wu [Wed, 6 Nov 2019 09:52:42 +0000 (01:52 -0800)]
[automerger skipped] Merge "DO NOT MERGE Validate wallpaper dimension while generating crop" into oc-dev am:
17fd658061 am:
9c9c1c0f8a am:
7c50686c92 -s ours am:
a234d64df2 -s ours am:
76e1059b1a
am:
0eef3050da
Change-Id: If9807639144a0ab551759edc3a33cfe66ad9915e
Ahan Wu [Wed, 6 Nov 2019 09:45:45 +0000 (01:45 -0800)]
[automerger skipped] DO NOT MERGE Validate wallpaper dimension while generating crop am:
160c28c36d am:
f4c3460e24 am:
145dcf2c25 -s ours am:
554254d2c0 -s ours am:
d89c22ad01
am:
0eee9ee83b
Change-Id: Ida5c9856871c4109bd78cec8c9ec188638809678
Ahan Wu [Wed, 6 Nov 2019 09:45:40 +0000 (01:45 -0800)]
[automerger skipped] Merge "DO NOT MERGE Validate wallpaper dimension while generating crop" into oc-dev am:
17fd658061 am:
9c9c1c0f8a am:
7c50686c92 -s ours am:
a234d64df2 -s ours
am:
76e1059b1a
Change-Id: I319ea9a78307bb36e157d16254f8f13c64e43202
Ahan Wu [Wed, 6 Nov 2019 09:38:45 +0000 (01:38 -0800)]
[automerger skipped] Merge "DO NOT MERGE Validate wallpaper dimension while generating crop" into oc-dev am:
17fd658061 am:
9c9c1c0f8a am:
7c50686c92 -s ours
am:
a234d64df2 -s ours
am skip reason: subject contains skip directive
Change-Id: Idf6c540baa337eec7c2c23ac5c1b27ded3c3adc0
Ahan Wu [Wed, 6 Nov 2019 09:38:43 +0000 (01:38 -0800)]
[automerger skipped] DO NOT MERGE Validate wallpaper dimension while generating crop am:
160c28c36d am:
f4c3460e24 am:
145dcf2c25 -s ours am:
554254d2c0 -s ours
am:
d89c22ad01
Change-Id: Id32ab2f8770b32ff6151265904d7aa1f7289c7f6
Ahan Wu [Wed, 6 Nov 2019 09:32:41 +0000 (01:32 -0800)]
[automerger skipped] DO NOT MERGE Validate wallpaper dimension while generating crop am:
160c28c36d am:
f4c3460e24 am:
145dcf2c25 -s ours
am:
554254d2c0 -s ours
am skip reason: subject contains skip directive
Change-Id: Ib3fe50e963294791acf04246045461b63957b0cc
Ahan Wu [Wed, 6 Nov 2019 09:32:40 +0000 (01:32 -0800)]
[automerger skipped] Merge "DO NOT MERGE Validate wallpaper dimension while generating crop" into oc-dev am:
17fd658061 am:
9c9c1c0f8a
am:
7c50686c92 -s ours
am skip reason: subject contains skip directive
Change-Id: I0c0d041dada006775e7fab48e312d61c3ee5f492
Ahan Wu [Wed, 6 Nov 2019 09:27:05 +0000 (01:27 -0800)]
[automerger skipped] DO NOT MERGE Validate wallpaper dimension while generating crop am:
160c28c36d am:
f4c3460e24
am:
145dcf2c25 -s ours
am skip reason: subject contains skip directive
Change-Id: Id9c033a137dcc5ce774fe864b940a3afa0f65093
Ahan Wu [Wed, 6 Nov 2019 09:23:55 +0000 (01:23 -0800)]
Merge "DO NOT MERGE Validate wallpaper dimension while generating crop" into oc-dev am:
17fd658061
am:
9c9c1c0f8a
Change-Id: I02286162c176e9edc5962f91c65c993767f83afc
Ahan Wu [Wed, 6 Nov 2019 09:20:31 +0000 (01:20 -0800)]
DO NOT MERGE Validate wallpaper dimension while generating crop am:
160c28c36d
am:
f4c3460e24
Change-Id: I7a866644b805e7e71f188051fb3c7d30c5a8b7fb
Ahan Wu [Wed, 6 Nov 2019 09:08:34 +0000 (01:08 -0800)]
Merge "DO NOT MERGE Validate wallpaper dimension while generating crop" into oc-dev
am:
17fd658061
Change-Id: I5d783568dd734e880b7d5a88117cbfad30c880ef
Ahan Wu [Wed, 6 Nov 2019 09:08:32 +0000 (01:08 -0800)]
DO NOT MERGE Validate wallpaper dimension while generating crop
am:
160c28c36d
Change-Id: Icee3d103aee1d5775a7d8feeb7a0ac3fc9b7fa26
Ahan Wu [Wed, 6 Nov 2019 05:20:14 +0000 (21:20 -0800)]
[automerger skipped] Merge "DO NOT MERGE Validate wallpaper dimension while generating crop" into pi-dev am:
b92ba1bd57 -s ours am:
46c40154ad
am:
2415babdd1
Change-Id: I95c4984f1f5cfbacbda9039cac0f6ce06a8419d5
Ahan Wu [Wed, 6 Nov 2019 05:14:15 +0000 (21:14 -0800)]
[automerger skipped] Merge "DO NOT MERGE Validate wallpaper dimension while generating crop" into pi-dev am:
b92ba1bd57 -s ours
am:
46c40154ad
Change-Id: I9a7c0a0fdd6cf8acb686ce28532a6bd56239e3a6
Ahan Wu [Wed, 6 Nov 2019 05:08:22 +0000 (21:08 -0800)]
[automerger skipped] Merge "DO NOT MERGE Validate wallpaper dimension while generating crop" into pi-dev
am:
b92ba1bd57 -s ours
am skip reason: subject contains skip directive
Change-Id: I5a1adc8590c03971a0dbee8f461162ed123450a5
TreeHugger Robot [Wed, 6 Nov 2019 04:58:32 +0000 (04:58 +0000)]
Merge "DO NOT MERGE Validate wallpaper dimension while generating crop" into pi-dev
TreeHugger Robot [Wed, 6 Nov 2019 04:45:50 +0000 (04:45 +0000)]
Merge "DO NOT MERGE Validate wallpaper dimension while generating crop" into oc-dev
Ahan Wu [Wed, 6 Nov 2019 04:26:11 +0000 (20:26 -0800)]
Merge "Validate wallpaper dimension while generating crop" into qt-dev am:
5d4aa134a9
am:
a5e3ee28a9
Change-Id: Icf436269af159e14d5959a08c8870b05ab1b19cc
Ahan Wu [Wed, 6 Nov 2019 04:20:10 +0000 (20:20 -0800)]
Merge "Validate wallpaper dimension while generating crop" into qt-dev
am:
5d4aa134a9
Change-Id: I004c0d0b9c368874489b306cce968c9cfdf1380e
TreeHugger Robot [Wed, 6 Nov 2019 03:59:30 +0000 (03:59 +0000)]
Merge "Validate wallpaper dimension while generating crop" into qt-dev
Jing Ji [Wed, 6 Nov 2019 00:58:58 +0000 (16:58 -0800)]
[automerger skipped] Merge "Prevent system uid component from running in an isolated app process" into oc-dev am:
909ff7dc71 am:
68f3234072 am:
038be975a1 am:
e385cb9204 -s ours am:
eda85079c2 -s ours
am:
179ab14f4b -s ours
am skip reason: change_id I5a1618fab529cb0300d4a8e9c7762ee218ca09eb with SHA1
84f2b227b0 is in history
Change-Id: Ib9364163124611eaeacef63f6832afc22741f17c
Todd Kennedy [Wed, 6 Nov 2019 00:54:07 +0000 (16:54 -0800)]
[automerger skipped] Only allow INSTALL_ALLOW_TEST from shell or root am:
702d394762 am:
8ff59f6a14 am:
aa1d74e287 am:
3b0553b17a -s ours am:
bc68c31327 -s ours
am:
7b03d29737 -s ours
am skip reason: change_id Ib6dcca7901aa549d620448c0165c22270a3042be with SHA1
b5afc87483 is in history
Change-Id: I56c7746ac49ff4c0769a693e07b052f7788120fb
Jing Ji [Wed, 6 Nov 2019 00:54:02 +0000 (16:54 -0800)]
[automerger skipped] Merge "Prevent system uid component from running in an isolated app process" into oc-dev am:
909ff7dc71 am:
68f3234072 am:
038be975a1 am:
e385cb9204 -s ours
am:
eda85079c2 -s ours
am skip reason: change_id I5a1618fab529cb0300d4a8e9c7762ee218ca09eb with SHA1
84f2b227b0 is in history
Change-Id: I238f43fe7dd1f2abf758aef016a8c6f4ed832a5a
Todd Kennedy [Wed, 6 Nov 2019 00:42:48 +0000 (16:42 -0800)]
[automerger skipped] Only allow INSTALL_ALLOW_TEST from shell or root am:
702d394762 am:
8ff59f6a14 am:
aa1d74e287 am:
3b0553b17a -s ours
am:
bc68c31327 -s ours
am skip reason: change_id Ib6dcca7901aa549d620448c0165c22270a3042be with SHA1
b5afc87483 is in history
Change-Id: I149ed66a63c683d65a4232c22858a030a00db3e4
Jing Ji [Wed, 6 Nov 2019 00:39:58 +0000 (16:39 -0800)]
[automerger skipped] Merge "Prevent system uid component from running in an isolated app process" into oc-dev am:
909ff7dc71 am:
68f3234072 am:
038be975a1
am:
e385cb9204 -s ours
am skip reason: change_id I5a1618fab529cb0300d4a8e9c7762ee218ca09eb with SHA1
84f2b227b0 is in history
Change-Id: Ia74b8de26e9dc24d23094ff2335e4c9f4320e033
Todd Kennedy [Wed, 6 Nov 2019 00:33:54 +0000 (16:33 -0800)]
[automerger skipped] Only allow INSTALL_ALLOW_TEST from shell or root am:
702d394762 am:
8ff59f6a14 am:
aa1d74e287
am:
3b0553b17a -s ours
am skip reason: change_id Ib6dcca7901aa549d620448c0165c22270a3042be with SHA1
b5afc87483 is in history
Change-Id: Ibb601e676fc557ee717c12e48c7f48fc63f51f02
Jing Ji [Wed, 6 Nov 2019 00:32:53 +0000 (16:32 -0800)]
Merge "Prevent system uid component from running in an isolated app process" into oc-dev am:
909ff7dc71 am:
68f3234072
am:
038be975a1
Change-Id: Ib4d8700eb5f5a8275a0a917ef6f6db2a0a3b85de
Todd Kennedy [Wed, 6 Nov 2019 00:27:32 +0000 (16:27 -0800)]
Only allow INSTALL_ALLOW_TEST from shell or root am:
702d394762 am:
8ff59f6a14
am:
aa1d74e287
Change-Id: If511af964e4705e65e76a9ccb502cddb4f4b0012
Jing Ji [Wed, 6 Nov 2019 00:24:07 +0000 (16:24 -0800)]
Merge "Prevent system uid component from running in an isolated app process" into oc-dev am:
909ff7dc71
am:
68f3234072
Change-Id: I2393d4b5c683892d489398c906790c966a38b36b
Todd Kennedy [Wed, 6 Nov 2019 00:20:48 +0000 (16:20 -0800)]
Only allow INSTALL_ALLOW_TEST from shell or root am:
702d394762
am:
8ff59f6a14
Change-Id: I13fc086058cf0f40614bdb5d19cb53211772e628
Jing Ji [Wed, 6 Nov 2019 00:13:50 +0000 (16:13 -0800)]
Merge "Prevent system uid component from running in an isolated app process" into oc-dev
am:
909ff7dc71
Change-Id: Ib725e69bbd84c7e1e141c32c62c5204bd552b12f
Todd Kennedy [Wed, 6 Nov 2019 00:07:44 +0000 (16:07 -0800)]
Only allow INSTALL_ALLOW_TEST from shell or root
am:
702d394762
Change-Id: I6e19c9738e083ce8863ffd1d9d467cae2f973c37
Jing Ji [Tue, 5 Nov 2019 23:52:53 +0000 (23:52 +0000)]
Merge "Prevent system uid component from running in an isolated app process" into oc-dev
Torne (Richard Coles) [Tue, 5 Nov 2019 23:20:34 +0000 (15:20 -0800)]
Merge "WebView: note deprecation of onscreen zoom controls." into qt-dev am:
b0bcbb0c35
am:
016ee6777e
Change-Id: Ibc89c85870f87d002f23aaa8fbbada0f3cd705ae
Torne (Richard Coles) [Tue, 5 Nov 2019 23:14:34 +0000 (15:14 -0800)]
Merge "WebView: note deprecation of onscreen zoom controls." into qt-dev
am:
b0bcbb0c35
Change-Id: If316cbd120ac807313f4d89a212be01b5e4a313e
TreeHugger Robot [Tue, 5 Nov 2019 22:57:36 +0000 (22:57 +0000)]
Merge "WebView: note deprecation of onscreen zoom controls." into qt-dev
Jing Ji [Tue, 5 Nov 2019 22:01:58 +0000 (14:01 -0800)]
Prevent system uid component from running in an isolated app process am:
84f2b227b0
am:
1c93e1d26c
Change-Id: I91b934962e65476e6efccce3d8ccdf4285f444d4
Jing Ji [Tue, 5 Nov 2019 21:55:26 +0000 (13:55 -0800)]
Prevent system uid component from running in an isolated app process
am:
84f2b227b0
Change-Id: Iba55ca710d5ee6e443520ceb899980c792fe5b2a
Xiangyu/Malcolm Chen [Tue, 5 Nov 2019 21:51:28 +0000 (21:51 +0000)]
Merge "Add a carrier config to specify validation timeout for data switch." into qt-qpr1-dev
Tony Mak [Mon, 4 Nov 2019 16:15:08 +0000 (16:15 +0000)]
Make smart actions icon to respect dark theme setting
Problem:
The context from getPackageContext() does not have the theme set.
Solution:
Use the SystemUI theme to inflate the icon.
And we probably want to have a unified theme for all action chips anyway.
Test: Send myself a message "Code 12345", Verify that the
icon works in both light and dark theme.
Test: Send myself a message "www.android.com", verify that the
app icon is shown properly in both light and dark theme
Fixes:
142972040
Merged-In: I60f5fbea802fe1fdf498e93dfa4fdcebf38af78c
Change-Id: I60f5fbea802fe1fdf498e93dfa4fdcebf38af78c
TreeHugger Robot [Tue, 5 Nov 2019 03:59:25 +0000 (03:59 +0000)]
Merge "Add Tap Gesture for Aware Settings" into qt-qpr1-dev
Jing Ji [Mon, 4 Nov 2019 22:22:27 +0000 (14:22 -0800)]
Prevent system uid component from running in an isolated app process
Bug:
140055304
Test: Manua
Change-Id: Ie7f6ed23f0c6009aad0f67a00af119b02cdceac3
Merged-In: I5a1618fab529cb0300d4a8e9c7762ee218ca09eb
Jing Ji [Mon, 4 Nov 2019 19:35:49 +0000 (11:35 -0800)]
Prevent system uid component from running in an isolated app process
Bug:
140055304
Test: Manual
Change-Id: I5a1618fab529cb0300d4a8e9c7762ee218ca09eb
Merged-In: I5a1618fab529cb0300d4a8e9c7762ee218ca09eb
Edgar Wang [Tue, 5 Nov 2019 00:06:54 +0000 (00:06 +0000)]
Merge "Add log metrics for Tap Gesture" into qt-qpr1-dev
Malcolm Chen [Thu, 31 Oct 2019 22:06:19 +0000 (15:06 -0700)]
Add a carrier config to specify validation timeout for data switch.
Bug:
142884903
Test: manual test
Change-Id: Id8dc2da05efdf4dd53d03b133cc9f47efd196e02
Merged-In: Id8dc2da05efdf4dd53d03b133cc9f47efd196e02
TreeHugger Robot [Mon, 4 Nov 2019 18:25:20 +0000 (18:25 +0000)]
Merge "Crash app on foreground service notification error." into qt-qpr1-dev
TreeHugger Robot [Mon, 4 Nov 2019 12:21:54 +0000 (12:21 +0000)]
Merge "Try to rebind disconnected wallpaper service for 10 seconds." into qt-qpr1-dev
Kamaljeet Maini [Tue, 22 Oct 2019 23:49:05 +0000 (16:49 -0700)]
Allow customization of display timeout value for volume dialog
Bug: b/
141850913
Test: Local build
Change-Id: I571df53bc458ecbe6c7d70759aa6129501bc03f2
TreeHugger Robot [Thu, 31 Oct 2019 19:00:24 +0000 (19:00 +0000)]
Merge "Switch CarVolumeItems when group volume changes." into qt-qpr1-dev
John Reck [Thu, 31 Oct 2019 17:33:44 +0000 (17:33 +0000)]
Merge "Ensure SKP serialization occurs on RenderThread" into qt-qpr1-dev
Edgar Wang [Tue, 15 Oct 2019 10:32:14 +0000 (18:32 +0800)]
Add log metrics for Tap Gesture
Bug:
138296598
Test: rebuild
Change-Id: I468eee30b58921d4c0378278672a19b3fa7754ca
Merged-In: I0ffaf58fa5fbe8af9f0959f653dc213e3c3d7435
Edgar Wang [Mon, 14 Oct 2019 10:54:13 +0000 (18:54 +0800)]
Add Tap Gesture for Aware Settings
- Add new settings provider key for tap gesture.
Bug:
138296598
Test: atest & manual
Change-Id: Icf0073ded0063ba5ed128bd3e3ea7d28a9336715
Merged-In: Ib76327b37a415512145a150a4b0e176a6cb114d7
TreeHugger Robot [Thu, 31 Oct 2019 16:38:02 +0000 (16:38 +0000)]
Merge "Handles null outInfo in deleteSystemPackageLI" into qt-qpr1-dev
TreeHugger Robot [Thu, 31 Oct 2019 14:32:15 +0000 (14:32 +0000)]
Merge "ImageWriter: Do not override UNKNOWN format twice" into qt-qpr1-dev
wilsonshih [Wed, 9 Oct 2019 12:50:44 +0000 (20:50 +0800)]
Try to rebind disconnected wallpaper service for 10 seconds.
When we received the wallpaper service disconnected, we could not
immediately know the reason for the disconnection, so if the service
was disconnected because the package was updating, and we received
the update broadcast after 1 second, in original design we will only
revert to the built-in wallpaper. However, it will be too late to bind
the original service after we receiving the package update broadcast.
In this CL, if currently wallpaper service is accidentally disconnected,
we will try to re-bind it for 10 seconds.
Fix:
138973259
Test: Manual install wallpaper service and delay the package update
broadcast on purpose, verify the service can be bind back.
Test: atest WallpaperManagerTest
Change-Id: I11891098164372002b36c558f670621d8c852af8
(cherry picked from commit
b87530296b3b42638138d90effdc8dcb067206f1)
Patrick Baumann [Fri, 23 Aug 2019 20:50:23 +0000 (13:50 -0700)]
Handles null outInfo in deleteSystemPackageLI
This change adds null checks before accessing outInfo in
deleteSystemPackageLI.
Bug:
142083996
Test: manual; remove static dependency on eng build and reboot
Change-Id: If0fd48343e89cbb77ccd25826656194195d5b0cd
(cherry picked from commit
17471016508bb9c9ffb8c3946dda0b4897d722f1)
Abhijoy Saha [Thu, 24 Oct 2019 20:46:42 +0000 (13:46 -0700)]
Switch CarVolumeItems when group volume changes.
If volume dialog is not expanded, then we just replace the old default
CarVolumeItem with the new group.
Bug:
141752233
Fixes:
141752233
Test: Manual
Change-Id: Idfa6ad3a1129e069a297f1c1cfd47b40a61773cc
TreeHugger Robot [Wed, 30 Oct 2019 23:43:03 +0000 (23:43 +0000)]
Merge "Check for amInternal nullness on user.dump()" into qt-qpr1-dev
TreeHugger Robot [Wed, 30 Oct 2019 23:39:47 +0000 (23:39 +0000)]
Merge "Fixed guest check so it allows multiple pre-created users." into qt-qpr1-dev
TreeHugger Robot [Wed, 30 Oct 2019 23:14:48 +0000 (23:14 +0000)]
Merge "Don't disable GPS in Doze until the device is stationary." into qt-qpr1-dev
Shuzhen Wang [Wed, 30 Oct 2019 15:01:59 +0000 (08:01 -0700)]
ImageWriter: Do not override UNKNOWN format twice
Currently when application calls ImageWriter.newInstance(Surface, int,
int), the default format of UNKNOWN is overridden to surface format in
Java side before being overridden again to user specified format (from
RGBA to IMPLEMENTATION_DEFINED). This breaks backward compatibility with
certain gralloc implementations.
Do not override UNKNOWN format in Java side.
Test: testWriterFormatOverride
Bug:
143637345
Change-Id: Ie61157bca11f623eff2b8c0ed2a988c86da07cb2
Heemin Seog [Wed, 30 Oct 2019 17:50:28 +0000 (17:50 +0000)]
Merge "Make the default user the current user (not 0)" into qt-qpr1-dev
Sunil Ravi [Wed, 30 Oct 2019 17:24:14 +0000 (17:24 +0000)]
Merge "wifi: Change WIFI_FEATURE_XXX type from int to long" into qt-qpr1-dev
Torne (Richard Coles) [Wed, 30 Oct 2019 16:57:39 +0000 (09:57 -0700)]
Merge "Clarify CookieManager RFC reference." into qt-dev am:
7186df9e6f
am:
45a9d4bc79
Change-Id: I9a3ea8dcbece844051fd8383deea6a00ae92fe07
Heemin Seog [Thu, 24 Oct 2019 16:36:34 +0000 (09:36 -0700)]
Make the default user the current user (not 0)
In #clearValuesAndCheck, values are placed in the value map based on a
key that depends on the current user. When these values are checked
in #call, it uses default user 0 (unless CALL_METHOD_USER_KEY is
populated).
Considering we don't even use getStringForUser when checking the values,
it seems to make sense to check against the userId used to set the
values in #clearValuesAndCheck.
Bug:
143529292
Bug:
143480221
Test: atest VolumeDialogControllerImplTest before and after the patch
Merged-In: I0ee9313b1394515d9405344482dc1779d15c0819
Change-Id: I0ee9313b1394515d9405344482dc1779d15c0819
Torne (Richard Coles) [Wed, 30 Oct 2019 16:51:40 +0000 (09:51 -0700)]
Merge "Clarify CookieManager RFC reference." into qt-dev
am:
7186df9e6f
Change-Id: I91a6a53d029b8ec2567eaac93056c91642b5177e
Keun-young Park [Wed, 30 Oct 2019 16:37:28 +0000 (16:37 +0000)]
Merge "Migrate car sysui to use new createCar call and prevent crash" into qt-qpr1-dev
TreeHugger Robot [Wed, 30 Oct 2019 16:31:03 +0000 (16:31 +0000)]
Merge "Clarify CookieManager RFC reference." into qt-dev
Lucas Dupin [Tue, 29 Oct 2019 22:53:39 +0000 (22:53 +0000)]
Merge "Fix clock alpha when awake" into qt-qpr1-dev
Jian-Yang Liu [Tue, 29 Oct 2019 22:02:15 +0000 (22:02 +0000)]
Merge "Changed Notification shade's background alpha initial and final values to be configurable." into qt-qpr1-dev
JianYang Liu [Fri, 25 Oct 2019 00:19:44 +0000 (17:19 -0700)]
Changed Notification shade's background alpha initial and final values
to be configurable.
Bug:
143372960
Test: manual - took before and after videos
Merged-In: Ia0b6a56859889d538e21f807a88bc5217d89e64a
Change-Id: Ia0b6a56859889d538e21f807a88bc5217d89e64a
Nathan Harold [Tue, 29 Oct 2019 18:20:19 +0000 (18:20 +0000)]
Merge "[DO NOT MERGE] Check CellInfoCallback Detail for Null" into qt-qpr1-dev
Kweku Adams [Wed, 28 Aug 2019 14:45:00 +0000 (07:45 -0700)]
Don't disable GPS in Doze until the device is stationary.
GPS is normally disabled when the device is Dozing. This means that GPS
is turned off in Battery Saver when quick doze is enabled. This
interferes with navigation and possibly other use cases. This changes
the behavior so that GPS is only disabled during Dozing if the device is
stationary. This will not interfere with regular Doze since the device
has to be stationary before it will enter regular Doze, and also allows
GPS to continue to work when Quick Doze activates while the user is
still carrying the device around.
Bug:
140162457
Test: atest BatterySaverLocationTest
Test: atest com.android.server.DeviceIdleControllerTest
Test: [manual] Shorten motion timeout, step into idle, check gps
provider dump after short timeout to check mDisableGpsForPowerManager=true
Merged-In: I7bc68c8a5e6744aac3a160ac14fc3375f9374d82
Change-Id: I7bc68c8a5e6744aac3a160ac14fc3375f9374d82
(cherry picked from commit
810c77d5a0551942a1863a6fbad8478f0e3ee792)
Felipe Leme [Fri, 4 Oct 2019 23:23:16 +0000 (16:23 -0700)]
Check for amInternal nullness on user.dump()
Bug:
133242016
Test: manual verification
Change-Id: I4f669c94b0be5f15465446cf768d16e483b440a4
Felipe Leme [Mon, 14 Oct 2019 22:37:44 +0000 (15:37 -0700)]
Fixed guest check so it allows multiple pre-created users.
Also fixed shell cmd so it does not require name for pre-created users
Bug:
111451156
Bug:
132111956
Test: adb shell pm create-user --pre-create-only --guest # couple times
Change-Id: Ie256d55bdfe685f040d16223fcc70f2f2b7969da
(cherry picked from commit
e35f5b01f816ba41e20292e3410a055f9204ac7e)
Sunil Ravi [Fri, 25 Oct 2019 20:41:47 +0000 (13:41 -0700)]
wifi: Change WIFI_FEATURE_XXX type from int to long
This change is to avoid issues in assigning signed integer
feature (WIFI_FEATURE_DPP) to long featureSet. The
assignement was resulting in large, signed integer.
Bug:
143363031
Test: atest com.android.wifi.server
Test: Wifi ON/OFF, Connect and data transfer
Test: Added logs and verified feature set saved in iface.
Change-Id: Ic3828e675e49a8c1628368a7e6cf7f01e420bd96
(cherry picked from commit
26ac48bcd76cc5dc0f5fa646be29d076d7862632)
Nate Fischer [Tue, 29 Oct 2019 07:32:55 +0000 (00:32 -0700)]
WebView: clarify docs for onShowCustomView am:
aaaa660a44
am:
3ea1a6d6ff
Change-Id: I9cf9fd9b8cecb266d2cc2aa2cacf5e9fc2339ede
Nate Fischer [Tue, 29 Oct 2019 07:26:23 +0000 (00:26 -0700)]
WebView: clarify docs for onShowCustomView
am:
aaaa660a44
Change-Id: Idaa495f908c914057ac785bfeca1f2f15a0a5fd8
TreeHugger Robot [Tue, 29 Oct 2019 04:49:39 +0000 (04:49 +0000)]
Merge "Log display white balance in animator" into qt-qpr1-dev
Keun young Park [Sat, 12 Oct 2019 03:00:22 +0000 (20:00 -0700)]
Migrate car sysui to use new createCar call and prevent crash
- createCar(context) will lead into crash when car service is crashed.
- Migrate all createCar to new style which can handle car service crash
while removing unnecessary delay for connect.
Bug:
142543455
Test: kill car service and check if systemui survives
Change-Id: I69298f763a2a2e63c0cf8deae13f747ea19bbf9d
Merged-In: I69298f763a2a2e63c0cf8deae13f747ea19bbf9d
(cherry picked from commit
c83d7b93ae0620bac34af2a937d5855b05058213)
Nate Fischer [Fri, 25 Oct 2019 03:35:54 +0000 (20:35 -0700)]
WebView: clarify docs for onShowCustomView
No change to logic, only docs.
This clarifies the docs for onShowCustomView. This @links to
FLAG_FULLSCREEN, reminds the developer they must override both
onShowCustomView and onHideCustomView, and provides guidance for
CustomViewCallback.
Bug:
143247282
Test: make -j4 docs
Change-Id: I64de3723674da5c138438921cc8232c4bf2a3d98
Selim Cinek [Mon, 28 Oct 2019 20:31:41 +0000 (20:31 +0000)]
Merge "DO NOT MERGE Revert all scrim related changes in qpr" into qt-qpr1-dev
Nathan Harold [Tue, 15 Oct 2019 18:28:00 +0000 (11:28 -0700)]
[DO NOT MERGE] Check CellInfoCallback Detail for Null
In cases where the source of the CellInfo fails
but does not generate a Throwable, the detail info
will not be provided and should be null. Inside the
user process, we need to check for null before
dereferencing the detail object. Oops. :-(
Bug:
142706765
Bug:
142421696
Test: manual
Merged-In: I1307d1d7aacef0bbd33bfc73700ee774e12e64c1
Change-Id: I1307d1d7aacef0bbd33bfc73700ee774e12e64c1
(cherry picked from commit
fff052067c1926bd0e5ef5f852d4adba5333934d)
Bill Yi [Sun, 27 Oct 2019 03:33:35 +0000 (20:33 -0700)]
[automerger skipped] Import translations. DO NOT MERGE
am:
3447b7b66c -s ours
am skip reason: subject contains skip directive
Change-Id: I27f768b2628d15630a15159e642fd89d51be8b83
Bill Yi [Sun, 27 Oct 2019 00:48:31 +0000 (17:48 -0700)]
Import translations. DO NOT MERGE
Change-Id: I4f4a4c0efd8c96693ec5700c13a95e4dc0fa4240
Auto-generated-cl: translation import
Bill Yi [Sun, 27 Oct 2019 00:38:28 +0000 (17:38 -0700)]
Import translations. DO NOT MERGE
Change-Id: I2407d77349f697484f62cf943f5960381ffc76ae
Auto-generated-cl: translation import
Selim Cinek [Sat, 26 Oct 2019 00:37:00 +0000 (17:37 -0700)]
DO NOT MERGE Revert all scrim related changes in qpr
This reverts commit
9449cfc4a608e7d801da642958249a16c536411b.
This reverts commit
22fa97577f39524e3ffbfbbf37040eff540bcb49.
This reverts commit
bde48202e7bb1ffa04acd5c42a332c62b73f34d8.
Bug:
141649119
Bug:
143195895 is also fixed on my taimen with the above.
Bug:
143185828
Test: atest SystemUITests
Change-Id: I225b10fef2f88d3436ef3a683c09717467b071ad
Anthony Han [Wed, 4 Sep 2019 01:28:30 +0000 (18:28 -0700)]
Log display white balance in animator
Bug:
139488234
Test: atest frameworks/base/services/tests/servicestests/src/com/android/server/display/color/
Change-Id: I2768e2fc456009f1ee9da75f0ab8057ab8f39510
Torne (Richard Coles) [Fri, 25 Oct 2019 20:38:30 +0000 (16:38 -0400)]
WebView: note deprecation of onscreen zoom controls.
Inform developers that having onscreen zoom controls is deprecated and
that it's therefore not recommended to enable them in WebView, with
reference to ZoomButtonsController (which is what WebView uses to
implement them).
Bug:
141732094
Test: make ds-docs
Change-Id: I134551b87d3a93072e28aef56667507214b3e9c4
Philip P. Moltmann [Fri, 25 Oct 2019 18:33:56 +0000 (11:33 -0700)]
Merge "[DO NOT MERGE] Split access-media-storage from read-external-storage" into qt-dev am:
3b050525e4
am:
c6ef7c0e79
Change-Id: I4c61e048169c42d27cdb72d2050b81c65defc415
Philip P. Moltmann [Fri, 25 Oct 2019 18:33:51 +0000 (11:33 -0700)]
[DO NOT MERGE] Split access-media-storage from read-external-storage am:
f3ff750f29
am:
6f0fe03b7d
Change-Id: I5e92a710d55d91f66be9e1f7dda7fa92b59534fd
Philip P. Moltmann [Fri, 25 Oct 2019 18:22:34 +0000 (11:22 -0700)]
Merge "[DO NOT MERGE] Split access-media-storage from read-external-storage" into qt-dev
am:
3b050525e4
Change-Id: Ie40f68f660e579cf9c2b1cbd446a4e3996bfa34d
Philip P. Moltmann [Fri, 25 Oct 2019 18:22:30 +0000 (11:22 -0700)]
[DO NOT MERGE] Split access-media-storage from read-external-storage
am:
f3ff750f29
Change-Id: I0f37950a78df7d503a830ec5eff77acad7382fb8
TreeHugger Robot [Fri, 25 Oct 2019 18:08:22 +0000 (18:08 +0000)]
Merge "[DO NOT MERGE] Split access-media-storage from read-external-storage" into qt-dev
TreeHugger Robot [Fri, 25 Oct 2019 01:46:48 +0000 (01:46 +0000)]
Merge "Revert "Import translations. DO NOT MERGE"" into qt-qpr1-dev
Bill Yi [Fri, 25 Oct 2019 00:51:46 +0000 (00:51 +0000)]
Revert "Import translations. DO NOT MERGE"
This reverts commit
d7554f399f402e49fef0e088f6685bdaf79cb0b1.
Reason for revert: May have caused phone_max regression
BUG:
143316720
Change-Id: I592acd7f9f47ee2be06508236927a77b11185ace
Todd Kennedy [Fri, 20 Sep 2019 20:45:15 +0000 (13:45 -0700)]
Only allow INSTALL_ALLOW_TEST from shell or root
Bug:
141169173
Test: Manual. App can't be installed as test-only
Change-Id: Ib6dcca7901aa549d620448c0165c22270a3042be
Merged-In: Ib6dcca7901aa549d620448c0165c22270a3042be
Beverly [Thu, 24 Oct 2019 21:31:37 +0000 (14:31 -0700)]
Fix zen alarms only mode check am:
51563b5ffe
am:
a9b1fc617d
Change-Id: If606c81739741eed5d2f3fe9520130e148de55e4
Beverly [Thu, 24 Oct 2019 20:28:26 +0000 (13:28 -0700)]
Fix zen alarms only mode check
am:
51563b5ffe
Change-Id: I577da2d70a3ca8a9f2af0d574cb4406db25439f2
Philip P. Moltmann [Fri, 13 Sep 2019 22:12:34 +0000 (15:12 -0700)]
[DO NOT MERGE] Split access-media-storage from read-external-storage
And also pre-grant it to all apps that currently get any storage
permission pre-granted
Test: atest SplitPermissionTest
m -j gts && gts-tradefed run commandAndExit gts-dev -m GtsPermissionTestCases --test=com.google.android.permission.gts.DefaultPermissionGrantPolicyTest#testDefaultGrantsWithRemoteExceptions
Manual testing:
All combinations of
- App targetSdk = 28 and 29 (and 22 for extra credit)
- App having the <uses-permission> tag for
ACCESS_MEDIA_LOCATION or not
- Upgrade from P->Q-QPR and from vanilla Q->Q-QPR
Further upgrade of targetSdk from 28->29 while on Q-QPR
==> All permission behavior should make sense. Sometimes there
are weird, but expected behaviors. Hence we need to
collect the results and then look at the unexpected ones.
See SplitPermissionTest for some tests I added for the
location-background permission which was split from
the fine/coarse-location permissions
Fixes:
141048840,
140961754
Change-Id: Ib9f50d25c002036f13cf2d42fc4d1b214f20920c
(cherry picked from commit
ac7b10c135bb148edcad1aad8e19c733d333f769)