OSDN Git Service
Kevin Hufnagle [Mon, 30 Sep 2019 16:29:21 +0000 (09:29 -0700)]
Merge "docs: Added link to multi-window drag how-to guide" into qt-dev am:
667b944522
am:
52145e2481
Change-Id: Ide5e154813dce831fb117a7d23e85737088b63bb
Kevin Hufnagle [Mon, 30 Sep 2019 16:23:00 +0000 (09:23 -0700)]
Merge "docs: Added link to multi-window drag how-to guide" into qt-dev
am:
667b944522
Change-Id: Ic5039fb781c73c2e1691c4c32afc7e35a9713683
Kevin Hufnagle [Mon, 30 Sep 2019 16:10:39 +0000 (16:10 +0000)]
Merge "docs: Added link to multi-window drag how-to guide" into qt-dev
Bernardo Rufino [Mon, 30 Sep 2019 11:25:00 +0000 (04:25 -0700)]
Merge "Don't consider tasks with INITIALIZING top activity as visible" into qt-dev am:
0a252361dd
am:
48c2a0f493
Change-Id: I58ac53455d40a3c96a738dd29e7e90b9e99a8af3
Anna Malova [Mon, 30 Sep 2019 11:21:53 +0000 (04:21 -0700)]
Merge "[WebView] Minor javadoc fix for WebSettings." into qt-dev am:
63c65616ae
am:
e4cbd008c0
Change-Id: I723bd55fbf1e525876290436deb8acf7ae337b22
Bernardo Rufino [Mon, 30 Sep 2019 11:12:52 +0000 (04:12 -0700)]
Merge "Don't consider tasks with INITIALIZING top activity as visible" into qt-dev
am:
0a252361dd
Change-Id: I077cf0c3e82ddcec213b50b5efdba97699a7ed0d
Anna Malova [Mon, 30 Sep 2019 11:08:44 +0000 (04:08 -0700)]
Merge "[WebView] Minor javadoc fix for WebSettings." into qt-dev
am:
63c65616ae
Change-Id: I3ee0487212dfb139da111e9a7314dc781db66b63
Bernardo Rufino [Mon, 30 Sep 2019 11:00:13 +0000 (11:00 +0000)]
Merge "Don't consider tasks with INITIALIZING top activity as visible" into qt-dev
Anna Malova [Mon, 30 Sep 2019 10:54:16 +0000 (10:54 +0000)]
Merge "[WebView] Minor javadoc fix for WebSettings." into qt-dev
TreeHugger Robot [Sat, 28 Sep 2019 21:16:43 +0000 (21:16 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev
Bill Yi [Sat, 28 Sep 2019 08:44:58 +0000 (01:44 -0700)]
Import translations. DO NOT MERGE
Change-Id: I356d3d006e0ddd620d8b7e85fec872a05684c198
Auto-generated-cl: translation import
TreeHugger Robot [Sat, 28 Sep 2019 02:54:40 +0000 (02:54 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev
Suprabh Shukla [Sat, 28 Sep 2019 02:51:31 +0000 (19:51 -0700)]
[automerger skipped] Merge "DO NOT MERGE revoke certain app-ops on suspend" into pi-dev am:
0e8f1fa5e9 -s ours am:
c6a2982b86 -s ours
am:
2fa2bae0fe -s ours
am skip reason: change_id Ie95555856afdd56728125f7e60b6a78cf9fc0e58 with SHA1
873e19f63f is in history
Change-Id: I19af5ee7f83feb9790ecff4a65972432248e390e
Suprabh Shukla [Sat, 28 Sep 2019 02:49:03 +0000 (19:49 -0700)]
Merge "DO NOT MERGE revoke certain app-ops on suspend" into qt-dev am:
b036952896
am:
1e7e924881
Change-Id: I7ba614a192b4aaaa36cc5cd7153cd654c1161505
Suprabh Shukla [Sat, 28 Sep 2019 02:44:44 +0000 (19:44 -0700)]
DO NOT MERGE revoke certain app-ops on suspend am:
873e19f63f
am:
53ca466732
Change-Id: I5f7456bc746affacbb949a9883484dfb8aaf7234
Suprabh Shukla [Sat, 28 Sep 2019 02:38:34 +0000 (19:38 -0700)]
[automerger skipped] Merge "DO NOT MERGE revoke certain app-ops on suspend" into pi-dev am:
0e8f1fa5e9 -s ours
am:
c6a2982b86 -s ours
am skip reason: change_id Ie95555856afdd56728125f7e60b6a78cf9fc0e58 with SHA1
873e19f63f is in history
Change-Id: I8c9e309eae92633cb6193f147f81d109cc812d7c
Suprabh Shukla [Sat, 28 Sep 2019 02:31:55 +0000 (19:31 -0700)]
Merge "DO NOT MERGE revoke certain app-ops on suspend" into qt-dev
am:
b036952896
Change-Id: Ieb5d9cc6e8aee976069c7ebd0b8d01db9982d886
Suprabh Shukla [Sat, 28 Sep 2019 02:31:51 +0000 (19:31 -0700)]
DO NOT MERGE revoke certain app-ops on suspend
am:
873e19f63f
Change-Id: I2447a90e4935e53fc0d55510bb50938fdaea23fa
Suprabh Shukla [Sat, 28 Sep 2019 02:31:47 +0000 (19:31 -0700)]
[automerger skipped] Merge "DO NOT MERGE revoke certain app-ops on suspend" into pi-dev
am:
0e8f1fa5e9 -s ours
am skip reason: subject contains skip directive
Change-Id: I53678027aa329651d6d6c9652aee847ee36b9b30
TreeHugger Robot [Sat, 28 Sep 2019 02:15:10 +0000 (02:15 +0000)]
Merge "DO NOT MERGE revoke certain app-ops on suspend" into pi-dev
TreeHugger Robot [Sat, 28 Sep 2019 02:08:05 +0000 (02:08 +0000)]
Merge "DO NOT MERGE revoke certain app-ops on suspend" into qt-dev
Kevin Hufnagle [Fri, 27 Sep 2019 23:51:27 +0000 (23:51 +0000)]
docs: Added link to multi-window drag how-to guide
Test: make ds-docs -j32
Bug:
71008103
Change-Id: Ifcc50920cf3828697add018d1d3a6a827c7c9f98
Bill Yi [Fri, 27 Sep 2019 22:42:49 +0000 (15:42 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ifa63cc635ba88e89cb4d2e12b8615c986d274cd1
Auto-generated-cl: translation import
Bill Yi [Fri, 27 Sep 2019 13:06:13 +0000 (06:06 -0700)]
Import translations. DO NOT MERGE
Change-Id: I93db9fc6d1c2fb642f0c72006e21414aaa2b5293
Auto-generated-cl: translation import
Kevin Chyn [Fri, 27 Sep 2019 02:53:34 +0000 (02:53 +0000)]
Merge changes from topic "face_slice_update-qt-qpr1-dev" into qt-qpr1-dev
* changes:
Clear face re-enroll setting when all faces removed
Added secure setting for face re enrollment.
TreeHugger Robot [Fri, 27 Sep 2019 00:21:54 +0000 (00:21 +0000)]
Merge "Revert "Import translations. DO NOT MERGE"" into qt-qpr1-dev
Curtis Belmonte [Thu, 26 Sep 2019 23:02:41 +0000 (16:02 -0700)]
Clear face re-enroll setting when all faces removed
Test: manual
Bug:
141254937
Change-Id: Ib6d23a39ac3d5a8251c3752d6d8b5e698a3069bb
Bill Yi [Thu, 26 Sep 2019 23:10:40 +0000 (23:10 +0000)]
Revert "Import translations. DO NOT MERGE"
This reverts commit
0b874d5344aa0c1488fd82604ab4e15f8e22fc91.
Reason for revert: this might have caused performance regression
Change-Id: Ic1927292fb13a3acfb6c6e8d069f689e426f5a8b
BUG:
141561372
joshmccloskey [Fri, 20 Sep 2019 23:43:27 +0000 (16:43 -0700)]
Added secure setting for face re enrollment.
Test: Verified that the flag could be modified with
adb shell settings put secure...
Bug:
141380252
Change-Id: Ifa24b688a487482e5b02689c1046d85423f73280
TreeHugger Robot [Thu, 26 Sep 2019 00:42:31 +0000 (00:42 +0000)]
Merge "Fix Password entry won't enable when lockout finished in screen-off" into qt-qpr1-dev
TreeHugger Robot [Wed, 25 Sep 2019 22:35:36 +0000 (22:35 +0000)]
Merge "Fix wrong Notification refactor" into qt-qpr1-dev
Evan Laird [Wed, 25 Sep 2019 20:51:40 +0000 (13:51 -0700)]
[automerger skipped] DO NOT MERGE Allow for HTML styling in mobile data type content descriptions
am:
a3b5dd1b89 -s ours
am skip reason: change_id Idf387111b0cdc34ad3762eac0ec6c2b484b393e3 with SHA1
83c87e50b1 is in history
Change-Id: Ieaa24de8d2c65314e146ae9b447731db61d44020
Philip P. Moltmann [Wed, 25 Sep 2019 18:02:16 +0000 (18:02 +0000)]
Merge "Put package name in extra not data" into qt-qpr1-dev
TreeHugger Robot [Wed, 25 Sep 2019 17:57:10 +0000 (17:57 +0000)]
Merge "DO NOT MERGE Allow for HTML styling in mobile data type content descriptions" into qt-qpr1-dev
Anna Malova [Wed, 25 Sep 2019 11:19:27 +0000 (12:19 +0100)]
[WebView] Minor javadoc fix for WebSettings.
No change to logic.
Test: N/A
Bug:
132394762
Change-Id: I957b0d8a03cd937b38611e32f6c012b01a6ad7da
Evan Laird [Tue, 24 Sep 2019 23:14:05 +0000 (19:14 -0400)]
DO NOT MERGE Allow for HTML styling in mobile data type content descriptions
This CL implements a (somewhat hacky) way to enable HTML attributes in
the mobile data type content description strings. This way we can use
some basic styling in the Quick Settings cellular data tile which uses
it in a TextView.
We do this by assuming that the content description is valid, escaped
HTML, and send two separate CharSequences to all of the listeners, all
of which can then decide if they need the regular content description or
the prettified version.
Test: atest SystemUITests; system ui demo mode
Bug:
141177147
Change-Id: Idf387111b0cdc34ad3762eac0ec6c2b484b393e3
Merged-In: Idf387111b0cdc34ad3762eac0ec6c2b484b393e3
Evan Laird [Tue, 24 Sep 2019 23:14:05 +0000 (19:14 -0400)]
DO NOT MERGE Allow for HTML styling in mobile data type content descriptions
This CL implements a (somewhat hacky) way to enable HTML attributes in
the mobile data type content description strings. This way we can use
some basic styling in the Quick Settings cellular data tile which uses
it in a TextView.
We do this by assuming that the content description is valid, escaped
HTML, and send two separate CharSequences to all of the listeners, all
of which can then decide if they need the regular content description or
the prettified version.
Test: atest SystemUITests; system ui demo mode
Bug:
141177147
Change-Id: Idf387111b0cdc34ad3762eac0ec6c2b484b393e3
Lucas Dupin [Tue, 24 Sep 2019 00:07:35 +0000 (17:07 -0700)]
Fix wrong Notification refactor
We're wrongly showing the BigText content after ag/
5928752
Fixes:
141446552
Test: post big text notification, look at lock screen
Change-Id: I02506a160afefb457f86eb00adccdaff44ddbd29
Kevin Hufnagle [Tue, 24 Sep 2019 22:14:14 +0000 (15:14 -0700)]
Merge "docs: Modernized AccessibilityNodeProvider example" into qt-dev am:
e49cbb3a5d
am:
786e8a2849
Change-Id: I71ff61397d44812647124042e73a655a6710ff01
Kevin Hufnagle [Tue, 24 Sep 2019 22:06:18 +0000 (15:06 -0700)]
Merge "docs: Modernized AccessibilityNodeProvider example" into qt-dev
am:
e49cbb3a5d
Change-Id: I24a281dd7194ea5c731ecc02371734fe1fa315f8
Kevin Hufnagle [Tue, 24 Sep 2019 21:18:39 +0000 (21:18 +0000)]
Merge "docs: Modernized AccessibilityNodeProvider example" into qt-dev
Philip P. Moltmann [Tue, 24 Sep 2019 19:33:46 +0000 (12:33 -0700)]
Put package name in extra not data
as broadcast receivers filter on data, not on extras. Hence changing
data changes the API.
Fixes:
141452043
Test: Uninstalled updates from system app and saw correct app-ops method
to be called
atest CtsHostsideNetworkTests:com.android.cts.net.HostsideRestrictBackgroundNetworkTests#testDataSaverMode_reinstall
Change-Id: Icab1fcea6153d5bbf0bf2af51e71d7fd6b5cb3e5
lumark [Tue, 24 Sep 2019 09:13:35 +0000 (17:13 +0800)]
Fix Password entry won't enable when lockout finished in screen-off
CL [1] introduced a check to see if password entry need to show
soft-keyboard for fixing keyboard popup unexpected issue.
But it shouldn't need to block the password entry re-enable when
lockout finished in screen-off state.
Move the original check right before the showSoftInput to fix the case.
[1]: I3c43d09d4206c48f1afcd8dad79e7978337f1b7d
Fix:
128563724
Bug:
112811602
Test: manual as issue steps:
1). Set up Password as screen lock.
2). Enter lock screen.
3). Input wrong password 5 times, and it will show "Try again in 30 seconds" message.
4). Wait device screen off auto, and then wait 30 seconds.
5). Screen on device.
6). Swipe up and then try to input password to unlock, expected password entry
should enabled and can invoke soft-keyboard.
Change-Id: I3e0eeffdb3536588c0e039c8fbeaf8833e7af06e
Kevin Hufnagle [Mon, 23 Sep 2019 23:19:39 +0000 (16:19 -0700)]
Merge "docs: List BIOMETRIC_WEAK in setPasswordQuality()" into qt-dev am:
2a082b1e9e
am:
096ece8f53
Change-Id: I03b4f71aaa643e08a661fe383f2cff91c7a136f9
Kevin Hufnagle [Mon, 23 Sep 2019 23:08:03 +0000 (16:08 -0700)]
Merge "docs: List BIOMETRIC_WEAK in setPasswordQuality()" into qt-dev
am:
2a082b1e9e
Change-Id: I74d42b68ebed97c2db3a179e92ba3196ffc7a04f
Kevin Hufnagle [Mon, 23 Sep 2019 22:45:45 +0000 (22:45 +0000)]
Merge "docs: List BIOMETRIC_WEAK in setPasswordQuality()" into qt-dev
TreeHugger Robot [Sun, 22 Sep 2019 02:06:50 +0000 (02:06 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev
Bill Yi [Sat, 21 Sep 2019 13:37:27 +0000 (06:37 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ia8bfd64c60f7bfec74773ad3ec13a60040e9eb65
Auto-generated-cl: translation import
Edgar Wang [Sat, 21 Sep 2019 08:54:47 +0000 (08:54 +0000)]
Merge "Add log metrics for Aware Display Settings" into qt-qpr1-dev
TreeHugger Robot [Sat, 21 Sep 2019 01:14:13 +0000 (01:14 +0000)]
Merge "Revert "Fixed default angle to be Orientation.LEFT_RIGHT"" into qt-qpr1-dev
Lorenzo Colitti [Sat, 21 Sep 2019 01:00:55 +0000 (01:00 +0000)]
Merge "notify netd about uid internet permission changes when package replaced" into qt-qpr1-dev
TreeHugger Robot [Sat, 21 Sep 2019 00:59:16 +0000 (00:59 +0000)]
Merge "Apply front scrim to doze pulsing" into qt-qpr1-dev
Nader Jawad [Thu, 19 Sep 2019 22:04:13 +0000 (22:04 +0000)]
Revert "Fixed default angle to be Orientation.LEFT_RIGHT"
This reverts commit
d31d0967209775ae352092d3125adfd59c8040d0.
Reason for revert: Although this change fixed the behavior change for for creation of
GradientDrawables defined in xml, the default value for GradientDrawables defined
programmatically is different. The default orientation for GradientDrawables defined
in xml is LEFT_RIGHT, however, the default orientation for GradientDrawables defined
programmatically is TOP_BOTTOM. Since a fix for AAPT has been made to automatically
insert an angle measurement of 0 if one is not defined, we can revert this CL and target
a proper fix in master.
Change-Id: Ib8983386832fb25f53b5e68e76e9d41d9d26fec9
Merged-In: Ib8983386832fb25f53b5e68e76e9d41d9d26fec9
Philip P. Moltmann [Fri, 20 Sep 2019 23:09:43 +0000 (23:09 +0000)]
Merge "[DO NOT MERGE] Split access-media-storage from read-external-storage" into qt-qpr1-dev
Kevin Hufnagle [Fri, 20 Sep 2019 22:47:23 +0000 (15:47 -0700)]
Merge "docs: Fixed link to material design for ScrollView" into qt-dev am:
80b543b45a
am:
71f8040c3b
Change-Id: I317e75554f4741551e8221bfacb447ad0e914f4e
Kevin Hufnagle [Fri, 20 Sep 2019 22:39:50 +0000 (15:39 -0700)]
Merge "docs: Fixed link to material design for ScrollView" into qt-dev
am:
80b543b45a
Change-Id: Ic7cc4494a88e6feaedf85626270ed1e8057189f5
Kevin Hufnagle [Fri, 20 Sep 2019 22:14:46 +0000 (22:14 +0000)]
Merge "docs: Fixed link to material design for ScrollView" into qt-dev
Philip P. Moltmann [Fri, 20 Sep 2019 20:33:48 +0000 (20:33 +0000)]
Merge "Fix dumpsys for appops proxy field" into qt-qpr1-dev
TreeHugger Robot [Fri, 20 Sep 2019 20:22:59 +0000 (20:22 +0000)]
Merge "Remove 'x' policy for non-default DSDS SIM" into qt-qpr1-dev
TreeHugger Robot [Fri, 20 Sep 2019 19:38:21 +0000 (19:38 +0000)]
Merge "Fixed an issue where the notification icons could overlap the clock" into qt-qpr1-dev
TreeHugger Robot [Fri, 20 Sep 2019 18:58:38 +0000 (18:58 +0000)]
Merge "Fix strings for ConfirmUserCreationActivity." into qt-qpr1-dev
TreeHugger Robot [Fri, 20 Sep 2019 17:49:55 +0000 (17:49 +0000)]
Merge "Hold Display Suspend blocker when going to Doze" into qt-qpr1-dev
TreeHugger Robot [Fri, 20 Sep 2019 17:27:27 +0000 (17:27 +0000)]
Merge "Ensure that handles are hidden and stay hidden when not fully awake" into qt-qpr1-dev
Jason Parks [Wed, 21 Aug 2019 15:18:37 +0000 (10:18 -0500)]
Fix strings for ConfirmUserCreationActivity.
Bug: b/
139790551
Test: Manual
Change-Id: I11eedfca8e5d88c821640b9001099f3392d0a35c
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
Dave Mankoff [Fri, 20 Sep 2019 16:43:14 +0000 (16:43 +0000)]
Merge "DO NOT MERGE Revert line from master-cp that should be different in qpr1" into qt-qpr1-dev
Dave Mankoff [Fri, 20 Sep 2019 16:05:07 +0000 (12:05 -0400)]
DO NOT MERGE Revert line from master-cp that should be different in qpr1
In master, we retrieve the KeyguardUpdateMonitor through Dependency.get().
This change has not landed in qpr1 and should use a different method of
access.
Bug:
140270231
Test: atest SystemUITests
Change-Id: Icbba30e52d4d011fc01cba13262b18a3a235316c
Matt Casey [Fri, 20 Sep 2019 16:13:42 +0000 (16:13 +0000)]
Merge "Revert "Add shadow to assistant handles"" into qt-qpr1-dev
Santos Cordon [Thu, 19 Sep 2019 15:59:01 +0000 (16:59 +0100)]
Hold Display Suspend blocker when going to Doze
The transition to Doze is asynchronous from the release of the display
suspend blocker. This created a race condition where we could
potentially suspend before Doze service had a chance to transition to
Doze. This change holds the Display Suspend blocker until Doze service
acquires the DOZE lock.
Bug:
138828701
Test: atest PowerManagerService
Test: Manual, verify no repro of the bug. Additional verify the device
does release the Display suspend blocker once we are in DOZE.
Change-Id: I777bc7963b1ab445378164b0f4d3f79113510b81
Evan Laird [Thu, 19 Sep 2019 20:52:58 +0000 (16:52 -0400)]
Remove 'x' policy for non-default DSDS SIM
This CL changes the policy for showing the 'x' on the mobile signal
indicator such that we do not show an 'x' when a subscription has an
icon group of NOT_DEFAULT_DATA, except in the case where mobile data is
turned off on the default subscription
Test: atest SystemUITests; manual
Fixes:
135457552
Change-Id: Ie21462be12a9920d9b2830039f4095c5bd82bd2c
Miranda Kephart [Thu, 19 Sep 2019 16:33:05 +0000 (16:33 +0000)]
Revert "Add shadow to assistant handles"
This reverts commit
c445bbf3eb07ab0282ef94cf666545a9f683b18d.
Reason for revert: Causes memory issues on the GPU (~50mb -> ~70mb)
Test: Memory usage goes back down to 53mb with this revert.
https://sponge.corp.google.com/invocation?tab=Logfile+Index&id=
7643bf50-41bb-45a7-8c93-
d0ddb1f82a04&searchFor=
(last file, search for com.android.systemui#anon-and-swap-avg-median)
Bug:
141187457
Change-Id: Ia48eca3f95097562771abc3a523bd32b74f2d443
TreeHugger Robot [Fri, 20 Sep 2019 11:40:03 +0000 (11:40 +0000)]
Merge "Log display white balance intermediate data" into qt-qpr1-dev
Gavin Corkery [Fri, 20 Sep 2019 10:27:10 +0000 (10:27 +0000)]
Merge "Don't send SESSION_COMMITTED broadcast for staged installs" into qt-qpr1-dev
Edgar Wang [Thu, 19 Sep 2019 11:20:14 +0000 (19:20 +0800)]
Add log metrics for Aware Display Settings
Bug:
136610131
Test: rebuild
Merged-In: I5b96a3a04a1d2c1ba01b9ec1f707dec040a331c3
Change-Id: Ibfdcba4be652cf7885f46e7549c344e12ae11127
wangmingming1 [Wed, 14 Aug 2019 07:38:22 +0000 (15:38 +0800)]
notify netd about uid internet permission changes when package replaced
1. If a previous version of an app doesn't declare internet permission;
2. The User upgraded it to a new version and the new one does declare the
internet permission;
3. The new app are not allowed to access the internet until next boot
Bug:
137864893
Test: Manual, just make sure the onPackageChanged would be executed on package changes
Change-Id: I69cdbb16a027a9c4e974b32371b1f64a23a51a23
Signed-off-by: wangmingming1 <wangmingming1@xiaomi.com>
Joanne Chung [Fri, 20 Sep 2019 02:32:09 +0000 (02:32 +0000)]
Merge "Prevent flicker when typing any character for filter." into qt-qpr1-dev
Kevin Hufnagle [Wed, 18 Sep 2019 01:52:45 +0000 (01:52 +0000)]
docs: Fixed link to material design for ScrollView
Test: make ds-docs -j32
Bug:
141024886
Change-Id: I69d05cdf99d91f74143454c78c000128d1da42ce
Selim Cinek [Thu, 19 Sep 2019 23:43:33 +0000 (16:43 -0700)]
Fixed an issue where the notification icons could overlap the clock
Because we were cancelling an animation but never reseting the translation
we could be stuck in weird transition states.
Fixes:
136117476
Test: lock and unlock quickly with overlapping animations, observe no overlap
Change-Id: Iee389fa77588289417d0e3e5bdc31aeda1aac58a
Philip P. Moltmann [Thu, 19 Sep 2019 21:52:38 +0000 (14:52 -0700)]
Fix dumpsys for appops proxy field
- Make flags is the last parameters in access decipher methods.
All calling code assumes this.
- Get proxyUid info from the appropriate field
- Don't create proxy entries if uid is invalid
- Fixed some incorrect docs
Test: adb shell dumpsys appops now shows proxy information
Fixes:
141328071
Change-Id: I2f94e9b171133141643e628c9224d8d74ec5ad87
Mady Mellor [Thu, 19 Sep 2019 23:11:16 +0000 (23:11 +0000)]
Merge changes from topic "landscape-jeeze" into qt-qpr1-dev
* changes:
Restrict height of expanded view in landscape & fix left / right padding
Restrict the space bubbles are centered in while in landscape
Mady Mellor [Thu, 19 Sep 2019 23:10:44 +0000 (23:10 +0000)]
Merge "Notify display is empty even if it's not the expanded bubble" into qt-qpr1-dev
Anthony Han [Mon, 26 Aug 2019 21:00:28 +0000 (14:00 -0700)]
Log display white balance intermediate data
Bug:
139488234
Test: atest frameworks/base/services/tests/servicestests/src/com/android/server/display/color/
Change-Id: Ifb11a6d80391d4629b507030a4db35fb2323b2ed
TreeHugger Robot [Thu, 19 Sep 2019 22:01:07 +0000 (22:01 +0000)]
Merge "SSIN: Use the application's context to load icon resources." into qt-qpr1-dev
Dave Mankoff [Thu, 19 Sep 2019 21:54:03 +0000 (21:54 +0000)]
Merge "Add new ProximitySensor wrapper that automatically uses appropriate sensor." into qt-qpr1-dev
Mingguang Xu [Thu, 19 Sep 2019 21:06:44 +0000 (21:06 +0000)]
Merge "Wifi usability: Change the unit of the threshold for tx/rx throughput from Mbps to Kbps" into qt-qpr1-dev
Eric Laurent [Thu, 19 Sep 2019 18:28:31 +0000 (18:28 +0000)]
Merge "SoundTriggerHelper: fix state after audioserver death" into qt-qpr1-dev
TreeHugger Robot [Thu, 19 Sep 2019 17:57:35 +0000 (17:57 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev
Santos Cordon [Thu, 19 Sep 2019 15:16:01 +0000 (08:16 -0700)]
Merge "Acquire display suspend blocker for DozeService" into qt-dev am:
576a6f4ac5
am:
23da52265b
Change-Id: Ic09e1264f90a41e51018a849949a3bc45a23735b
Santos Cordon [Thu, 19 Sep 2019 15:08:30 +0000 (08:08 -0700)]
Merge "Acquire display suspend blocker for DozeService" into qt-dev
am:
576a6f4ac5
Change-Id: I75471698513cfc72c87f0149d4da891d7156fa3b
TreeHugger Robot [Thu, 19 Sep 2019 14:50:10 +0000 (14:50 +0000)]
Merge "Acquire display suspend blocker for DozeService" into qt-dev
TreeHugger Robot [Thu, 19 Sep 2019 14:13:57 +0000 (14:13 +0000)]
Merge "DO NOT MERGE: Revert "Force FGS notifications to show for a minimum time"" into qt-qpr1-dev
Gavin Corkery [Tue, 17 Sep 2019 17:41:54 +0000 (18:41 +0100)]
Don't send SESSION_COMMITTED broadcast for staged installs
Staged sessions currently send a SESSION_COMMITTED broadcast
when they are created, but not upon activation. Since there
is nobody active at activation to listen to the broadcast,
it should not be sent. This also prevents app shortcuts being
added to the launcher before a new version has been activated.
Bug:
139663018
Test: atest StagedInstallTest
Change-Id: Icf51b5611a1903eee58c3310bfb875eaf737c26f
Evan Laird [Wed, 18 Sep 2019 20:09:34 +0000 (20:09 +0000)]
DO NOT MERGE: Revert "Force FGS notifications to show for a minimum time"
This reverts commit
09843a687bc19f8e360b2f5b0493a1f378bb603b.
Reason for revert: There is possible reentrant behavior when posting the safeToRemove callback after a FGS has been canceled/reposted
Bug:
140948482
Change-Id: I2c5b9135e57a87f412dce8c167147dcb38f6bbae
Ricky Wai [Thu, 19 Sep 2019 10:26:13 +0000 (10:26 +0000)]
Merge "Do not return synthetic launcher activity for completely headless apps" into qt-qpr1-dev
Bill Yi [Thu, 19 Sep 2019 09:44:14 +0000 (02:44 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ia59167fa6651dcbb24c9422864985b5fe58526f7
Auto-generated-cl: translation import
TreeHugger Robot [Thu, 19 Sep 2019 08:41:37 +0000 (08:41 +0000)]
Merge "Use mContext directly, and enforce via logging" into qt-qpr1-dev
TreeHugger Robot [Thu, 19 Sep 2019 08:41:37 +0000 (08:41 +0000)]
Merge "Revert "Use mContext directly"" into qt-qpr1-dev
Bernardo Rufino [Thu, 29 Aug 2019 18:12:28 +0000 (19:12 +0100)]
Don't consider tasks with INITIALIZING top activity as visible
To fix b/
130645908, tasks with top activities in INITIALIZING state were
considered visible. This allowed apps to circumvent background activity
launch restriction by starting 2 activities when in a background stack.
The first activity will remain in INITIALIZING state (since it's in the
bg), so the second launch is permitted since top activity is
INITIALIZING.
Removing '|| topActivity.isState(INITIALIZING)' removes the
vulnerability and curiously still allow the legitimate use case of the
bug linked above to work, i.e. the test in ag/
7088262 still passes. This
is because of 2 reasons:
1) Grace period introduced in ag/
7638265.
2) Allow bg activity starts to put activity on top of bg task (instead of
fg’ing it) in ag/
7190176.
I verified (2) by removing the grace period check, reverting the linked
CL and verifying that the test failed.
This essentially reverts ag/
7090415.
Test: atest BackgroundActivityLaunchTest \
RootWindowContainerTests \
WmTests:ActivityStarterTests \
CtsWindowManagerDeviceTestCases:ActivityStarterTests
Bug:
138583650
Bug:
130645908
Change-Id: Iee4ba841c6c83888b55c5cb55fffc949048d2030
Mingguang Xu [Thu, 19 Sep 2019 07:37:47 +0000 (00:37 -0700)]
Wifi usability: Change the unit of the threshold for tx/rx throughput from Mbps to Kbps
Data stall event can be triggered if the tx/rx tput is consecutively below a threshold over multiple RSSI polls. Changing the unit of the threshold from Mbps to Kbps allows us to configure a value below 1Mbps, e.g., 400Kbps.
Bug:
141027476
Test: frameworks/base/wifi/tests/runtests.sh
Signed-off-by: Mingguang Xu <mingguangxu@google.com>
Change-Id: Ib7b398fb6975c0d03b09550db9bf68a2bb8bddfb
Merged-In: I76d6338cd2d482d198fde1e5a2d1a0540c087ca6
TreeHugger Robot [Thu, 19 Sep 2019 00:40:59 +0000 (00:40 +0000)]
Merge "No need to use getExpandedBubble for singleTaskDisplayDrawn/Empty callbacks" into qt-qpr1-dev