OSDN Git Service
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:31:51 +0000 (19:31 -0700)]
DO NOT MERGE revoke certain app-ops on suspend
am:
873e19f63f
Change-Id: I2447a90e4935e53fc0d55510bb50938fdaea23fa
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
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
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
Kevin Hufnagle [Thu, 19 Sep 2019 00:39:27 +0000 (17:39 -0700)]
Merge "docs: Add condition for hiding synth. activities" into qt-dev am:
00537efd07
am:
12298403b0
Change-Id: I7a71cdb8fd5ecfd008d0e8257185cdd8c5366ce0
Kevin Hufnagle [Thu, 19 Sep 2019 00:32:55 +0000 (17:32 -0700)]
Merge "docs: Add condition for hiding synth. activities" into qt-dev
am:
00537efd07
Change-Id: I1ec3fb8fea7f6b5fe292807b3951fb265a9cbb94
Kevin Hufnagle [Thu, 19 Sep 2019 00:20:47 +0000 (00:20 +0000)]
Merge "docs: Add condition for hiding synth. activities" into qt-dev
Govinda Wasserman [Wed, 18 Sep 2019 18:35:35 +0000 (14:35 -0400)]
Ensure that handles are hidden and stay hidden when not fully awake
Previously handles used either the wakefulness lifecycle or the doze
state to determine whether to hide the handles. This change makes them
use both and hides if either signal indicates that the phone is not
fully awake.
Test: atest google/perf/jank/SystemUI/UbSystemUIJankTests-Lock:android.platform.systemui.tests.jank.SystemUiJankTests#testUnlock -v
Test: atest AssistHandleLikeHomeBehaviorTest
BUG:
141219006
FIX:
141219006
Change-Id: Iedbf5421c369440a3170f1a0b1add66bd289ec7a
Merged-In: Iedbf5421c369440a3170f1a0b1add66bd289ec7a
TreeHugger Robot [Wed, 18 Sep 2019 20:54:27 +0000 (20:54 +0000)]
Merge "Camera: fix NPE from bad requestID" into qt-qpr1-dev
Seigo Nonaka [Wed, 18 Sep 2019 20:30:17 +0000 (13:30 -0700)]
Merge "Do not compute outside given range in TextLine" into qt-dev am:
01082fe6ae
am:
a2778ebe0d
Change-Id: I07c9f4c9a8bd9b6cdfa0f4da215d1b6f63ca9961
Seigo Nonaka [Wed, 18 Sep 2019 20:17:17 +0000 (13:17 -0700)]
Merge "Do not compute outside given range in TextLine" into qt-dev
am:
01082fe6ae
Change-Id: I9d88c47a16747009fda893660fd36d325d212a40
TreeHugger Robot [Wed, 18 Sep 2019 20:05:29 +0000 (20:05 +0000)]
Merge "Do not compute outside given range in TextLine" into qt-dev
Dave Mankoff [Thu, 12 Sep 2019 17:39:42 +0000 (13:39 -0400)]
Add new ProximitySensor wrapper that automatically uses appropriate sensor.
Bug:
140270231
Test: manual && atest SystemUITests
Change-Id: Id151ce8f702f7deadab73ee3904a0a883870b237
Merged-In: Id151ce8f702f7deadab73ee3904a0a883870b237
Mingguang Xu [Wed, 18 Sep 2019 18:28:02 +0000 (18:28 +0000)]
Merge "Wifi usability: Data stall detection based on link layer stats" into qt-qpr1-dev
Yin-Chia Yeh [Mon, 17 Jun 2019 21:44:35 +0000 (14:44 -0700)]
Camera: fix NPE from bad requestID
This avoid NPE exception and accompanying logspam from binder
callbacks.
Test: N/A
Bug:
141250131
Merged-In: I729f4905c94698c95733570abe92ca3ba9163cc5
Change-Id: I729f4905c94698c95733570abe92ca3ba9163cc5
(cherry picked from commit
67bd78ad73dc76086ca5c31f5b9e7ba424dee584)
Lucas Dupin [Wed, 18 Sep 2019 17:42:58 +0000 (17:42 +0000)]
Merge "Avoid going to SHADE_LOCKED when already in SHADE" into qt-qpr1-dev
Lucas Dupin [Tue, 17 Sep 2019 15:19:53 +0000 (11:19 -0400)]
Avoid going to SHADE_LOCKED when already in SHADE
It's not possible for the device to go to SHADE_LOCKED after you're
already unlocked, still it's possible that it would happen.
Added an extra condition to avoid it, and logs to catch the regression
if it happens again.
Fixes:
139259891
Test: pull down notification while authenticating
Change-Id: I5c2b81906fa444dfd07d040b81a527245d4130e6
Ricky Wai [Thu, 5 Sep 2019 17:21:29 +0000 (18:21 +0100)]
Do not return synthetic launcher activity for completely headless apps
Bug:
140477182
Test: Headless app: no icon is shown on launcher
Test: App with launchable activity but disabled by default: no icon
Test: App with launchable activity, enabled by default but then disabled by command: has an icon on launcher
Change-Id: I58a36ac93d34583b2d4e50464b73cced77ce8edb
Merged-In: I58a36ac93d34583b2d4e50464b73cced77ce8edb
(cherry picked from commit
3eb1cc6588b81102732a446a2adcdc799a2cf3d0)
Mingguang Xu [Sat, 14 Sep 2019 00:21:13 +0000 (17:21 -0700)]
Wifi usability: Data stall detection based on link layer stats
This is an effort to define new criterion for triggering Wifi data stall:
(1) Defined data stall criterion based on transmit and/or receive throughput, transmit packet error rate, and CCA level. Data stall is triggered when transmit and/or receive links are consecutively bad over multiple RSSI polls.
(2) Added DeviceConfig flags (that is disabled by default) which may be configured on the server side to tune the thresholds at which data stall gets triggered.
Bug:
141027476
Test: frameworks/base/wifi/tests/runtests.sh
Change-Id: I895fd54cc7ec32815bce1899354ca265d4e93ea9
Signed-off-by: Mingguang Xu <mingguangxu@google.com>
Merged-In: I76d6338cd2d482d198fde1e5a2d1a0540c087ca6
Gustav Sennton [Fri, 13 Sep 2019 11:00:50 +0000 (12:00 +0100)]
SSIN: Use the application's context to load icon resources.
SSIN = Smart Suggestions in Notifications.
When posting a notification with contextual/smart actions app developers
supply their own icons for their actions. These icons can reference
resources from within the application package. Therefore we need to use
a Context from that package to load icon resources.
Before this CL we were using the SystemUi context which doesn't have
access to the same resources as the app context - meaning we were not
able to load the icon the app developer was providing us (unless they
provided an Icon instance rather than just a resource ID for their icon).
Bug:
137044913
Test: atest SmartReplyViewTest
Test: manual - create a notification with a
contextual action whose icon is referenced through a resource ID (not an
Icon instance). Ensure the icon is shown correctly in the notification.
Change-Id: Ia6d7b3689c46b65558437e00a947ba3cd330e4ca
Chris.CC Lee [Mon, 16 Sep 2019 04:17:19 +0000 (12:17 +0800)]
Apply front scrim to doze pulsing
When ambient goes dark, apply the same front scrim opacity during doze
pulsing. The would then be a common behavior to all pulsing reaons.
Bug:
139445074
Test: Manual tests
Test: atest ScrimControllerTest
Change-Id: I3f1f7ca00b9d200ce4a7120b5328527ab9d9fb13
Cheonho Park [Wed, 18 Sep 2019 05:04:12 +0000 (05:04 +0000)]
Merge "Allow signing key rotation" into qt-qpr1-dev
Jaegeuk Kim [Wed, 18 Sep 2019 02:28:03 +0000 (02:28 +0000)]
Merge "IdleMaint: run more frequently during 3AM to 4AM" into qt-qpr1-dev
Mady Mellor [Thu, 22 Aug 2019 00:26:26 +0000 (17:26 -0700)]
Restrict height of expanded view in landscape & fix left / right padding
Previously the height & width of expanded view was not updated when
switching between landscape & portrait. This CL:
* Adjusts max height calculation so it accounts for landscape
* Updates the position, height, & left / right padding of the expanded
view when the orientation changes, also accounting for notches / navbar
* Also accounts display cutout when calculating IME inset for expanded
view
Test: manual - have multiple bubbles with different heights (small & max)
- expand the stack
- go to each bubble and rotate to landscape / portrait
=> in landscape the heights should be restricted & width
of the view shouldn't overlap notches (turn them on/off)
or navbar (turn gesture nav on/off), in portrait
the max height should increase
Bug:
135487618
Change-Id: Iaffcef0a070d3eb2d6b21248be3c94a861d77d5d
Mady Mellor [Thu, 22 Aug 2019 00:25:02 +0000 (17:25 -0700)]
Restrict the space bubbles are centered in while in landscape
In landscape don't use the full screen width, instead, restrict to a
percentage of the screen & enforce a minimum of the width of the screen.
* Updates the displaySize passed to ExpandedAnimationController
to be the "real size", this is consistent with what BubbleExpandedView
uses now
* Alters positioning calculations in ExpandedAnimationController &
accounts for notches / screen decorations
Test: manual - have multiple bubbles
- expand the stack
- rotate the device
=> observe that the bubbles look nicely centered (i.e. not
too much space or too little space) in landscape & portrait
Bug:
135487618
Change-Id: Ief7fc6f762f8cc130e37963d48005f15a1bea743
TreeHugger Robot [Wed, 18 Sep 2019 00:56:12 +0000 (00:56 +0000)]
Merge "Passing caller package name to setBluetoothTethering" into qt-qpr1-dev
TreeHugger Robot [Wed, 18 Sep 2019 00:26:34 +0000 (00:26 +0000)]
Merge "Enter quick doze with non-wakeup alarm." into qt-qpr1-dev