OSDN Git Service
TreeHugger Robot [Sat, 17 Aug 2019 16:37:30 +0000 (16:37 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev
TreeHugger Robot [Sat, 17 Aug 2019 13:58:53 +0000 (13:58 +0000)]
Merge "Get resource based on subId for multi-SIM" into qt-r1-dev
Bill Yi [Sat, 17 Aug 2019 05:55:20 +0000 (22:55 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I94e4a89f9517f1991432295abba850d842d07877
TreeHugger Robot [Fri, 16 Aug 2019 19:43:52 +0000 (19:43 +0000)]
Merge "Do not stop idmap2d after OMS initialization" into qt-r1-dev
Adrian Roos [Thu, 15 Aug 2019 20:20:20 +0000 (13:20 -0700)]
Merge "API: Explicitly track incompatibilities with previous API versions" into qt-dev
am:
d3b53e080d
Change-Id: I6da708a8b05f762af1b781db75aa2511aa895abf
TreeHugger Robot [Thu, 15 Aug 2019 18:07:32 +0000 (18:07 +0000)]
Merge "API: Explicitly track incompatibilities with previous API versions" into qt-dev
Dave Mankoff [Thu, 15 Aug 2019 14:37:06 +0000 (14:37 +0000)]
Merge "Allow for more wiggle room (literally) in BrightlineFalsingManager." into qt-r1-dev
TreeHugger Robot [Thu, 15 Aug 2019 03:27:35 +0000 (03:27 +0000)]
Merge "Fix interfaceVersion in DhcpServerCallbacks" into qt-r1-dev
Jack Yu [Thu, 15 Aug 2019 03:15:12 +0000 (03:15 +0000)]
Merge "Added debug messages and watchdog" into qt-r1-dev
Kevin Hufnagle [Thu, 15 Aug 2019 00:35:05 +0000 (17:35 -0700)]
Merge "Revert "docs: Added desc. of launcher app criteria in Q"" into qt-dev
am:
81d74c6c72
Change-Id: I964a029a53fb5f14d872baceee9883391da24cd3
Jack Yu [Wed, 14 Aug 2019 09:32:17 +0000 (02:32 -0700)]
Added debug messages and watchdog
Added debug messages and watchdog to catch
unresponsive data service issue.
Bug:
139076980
Test: Manual
Change-Id: I52dd126fddc1b1e8b18d5388a92aabaa3e2e48d5
Kevin Hufnagle [Wed, 14 Aug 2019 23:32:22 +0000 (23:32 +0000)]
Merge "Revert "docs: Added desc. of launcher app criteria in Q"" into qt-dev
Hongwei Wang [Wed, 14 Aug 2019 20:50:57 +0000 (20:50 +0000)]
Merge "Enables back gesture nav in screen pinning" into qt-r1-dev
Kevin Hufnagle [Wed, 14 Aug 2019 20:23:33 +0000 (13:23 -0700)]
Merge "docs: Added desc. of launcher app criteria in Q" into qt-dev
am:
a5e5c177d1
Change-Id: I270a33ab91ec0185bda3c82e600b18c9cca6c8ec
Brian Duddie [Wed, 14 Aug 2019 20:09:45 +0000 (13:09 -0700)]
Merge "docs: Correct sensor runtime permission documentation" into qt-dev
am:
119f1220cd
Change-Id: I380c1dab916509ac0878e8a60712e7f08e7451a5
Kevin Hufnagle [Wed, 14 Aug 2019 19:22:59 +0000 (19:22 +0000)]
Revert "docs: Added desc. of launcher app criteria in Q"
This reverts commit
786f22e4169126c82358490ad6e9c70028fc102b.
Reason for revert: Need further feedback from SMEs
Bug:
130352392
Change-Id: I51b3bd19e27d28fe3aea300893da50bbf889ec73
Kevin Hufnagle [Wed, 14 Aug 2019 19:22:11 +0000 (19:22 +0000)]
Merge "docs: Added desc. of launcher app criteria in Q" into qt-dev
Ryan Mitchell [Wed, 14 Aug 2019 17:25:26 +0000 (10:25 -0700)]
Do not stop idmap2d after OMS initialization
The OMS was calling stopIdmapService after OMS initialization finished.
This method was not setting the cached service binder to null and the
service binder was being reused when an overlay is enabled or disabled
within the 10 seconds the connection to the service is still opened.
This change no longer calls stopIdmapService and makes startIdmapService
and stopIdmapService private to IdmapDaemon.
Bug:
139307780
Test: enabled overlay within 10 seconds of OMS startup ending and
observed state STATE_ENABLED.
Change-Id: I46b6a3631278c4dbdf5e5d373e085bac5186ed9a
Brian Duddie [Wed, 14 Aug 2019 17:32:05 +0000 (17:32 +0000)]
Merge "docs: Correct sensor runtime permission documentation" into qt-dev
Dave Mankoff [Tue, 13 Aug 2019 21:52:01 +0000 (17:52 -0400)]
Allow for more wiggle room (literally) in BrightlineFalsingManager.
Bug:
138812628
Change-Id: I8590b2daff0337a395d333c07c2231cc10d236a3
Test: manual testing with different people to find better values.
Chiachang Wang [Wed, 14 Aug 2019 11:54:59 +0000 (04:54 -0700)]
Get resource based on subId for multi-SIM
The resource loading is done based on the last SIM to come up
which is not a deterministic design. Thus, update the way to get
the resource based on the subId.
Test: atest FrameworksNetTests
Test: manually test with avoid bad wifi feature supported sim
Bug:
138956509
Change-Id: Ib5b085d97103889600773d269e03b939c29ca47d
Merged-In: Ib5b085d97103889600773d269e03b939c29ca47d
(cherry picked from commit
5e994ea02c7a820543f3726186240548676f4b4e)
Prabir Pradhan [Wed, 14 Aug 2019 08:40:41 +0000 (01:40 -0700)]
Merge "apply empty transaction in startActivitySync" into qt-dev
am:
f928b661d9
Change-Id: Ic4b27be6729a3a7627a8fc499cd99fdec42cad35
TreeHugger Robot [Wed, 14 Aug 2019 06:42:05 +0000 (06:42 +0000)]
Merge "apply empty transaction in startActivitySync" into qt-dev
Vagdevi Kondeti [Tue, 13 Aug 2019 18:57:29 +0000 (18:57 +0000)]
Merge "[AT&T] Add key to show 4g for 3g RAT." into qt-r1-dev
Brian Duddie [Tue, 13 Aug 2019 18:42:19 +0000 (11:42 -0700)]
docs: Correct sensor runtime permission documentation
The ACTIVITY_RECOGNITION permission applies to TYPE_STEP_DETECTOR, not
TYPE_GEOMAGNETIC_ROTATION_VECTOR.
Bug:
139363621
Test: n/a, comment update only
Change-Id: Ibce74be1e704ded04ae710988d0e03df43ab1cf9
Hongwei Wang [Mon, 12 Aug 2019 18:26:14 +0000 (11:26 -0700)]
Enables back gesture nav in screen pinning
Bug:
138969972
Test: Back gesture in screen pinning mode
Change-Id: I0ddb7a6e7978e7ec82d7949048e75147c5ece3c8
TreeHugger Robot [Tue, 13 Aug 2019 17:45:57 +0000 (17:45 +0000)]
Merge "bootanimation: Change bootanim ioprio to highest in IOPRIO_CLASS_RT" into qt-r1-dev
TreeHugger Robot [Tue, 13 Aug 2019 04:09:12 +0000 (04:09 +0000)]
Merge "Freezing screen when dismiss pip if orientation is going to change." into qt-r1-dev
TreeHugger Robot [Tue, 13 Aug 2019 00:24:14 +0000 (00:24 +0000)]
Merge "Fix sensor triggering issue" into qt-r1-dev
Kevin Hufnagle [Mon, 12 Aug 2019 23:52:41 +0000 (16:52 -0700)]
docs: Added desc. of launcher app criteria in Q
As of Android Q, an app is included in the return value of
LauncherApps#getActivityList() unless it fulfills specific criteria.
This CL describes the conditions necessary for an app's activities
to *not* appear in the list.
Test: make ds-docs -j32
Bug:
130352392
Change-Id: Iad888a7a7f47d090da1b143ac152705577144d20
TreeHugger Robot [Mon, 12 Aug 2019 23:18:04 +0000 (23:18 +0000)]
Merge "Log various types of back gesture using StatsLog Bug:
135152789 Test: m statsd_testdrive -j31 Test: out/host/linux-x86/bin/statsd_testdrive 224" into qt-r1-dev
TreeHugger Robot [Mon, 12 Aug 2019 22:44:56 +0000 (22:44 +0000)]
Merge "Using the keyguard fading away duration for the scrim" into qt-r1-dev
Lucas Dupin [Mon, 12 Aug 2019 21:14:08 +0000 (14:14 -0700)]
Fix sensor triggering issue
Code duplication was causing the wrong sensor to be re-registered,
also, binned brightness isn't a drop-in replacement for proximity
as expected.
Brightness can be low when prox is not covered, the correct behavior
is to verify if brightness is not 0
Test: manual, covering sensor
Test: atest DozeSensorsTest
Fixes:
139298207
Change-Id: I8673e7d9bcb56d7a34741cfad35cf397d976c18d
Adrian Roos [Mon, 12 Aug 2019 15:47:39 +0000 (17:47 +0200)]
API: Explicitly track incompatibilities with previous API versions
Bug:
139128921
Test: make checkapi
Change-Id: I1f17b57705e2f7350b55ab278e06fc4e988771ff
Merged-In: I1f17b57705e2f7350b55ab278e06fc4e988771ff
Dave Mankoff [Mon, 12 Aug 2019 15:17:39 +0000 (15:17 +0000)]
Merge "Disable falsing manager when face-authed." into qt-r1-dev
Bill Yi [Mon, 12 Aug 2019 04:31:51 +0000 (21:31 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am:
8931739c16 -s ours
am skip reason: subject contains skip directive
Change-Id: I968bb1d6987ac3baab44a20b642ef4196026a408
TreeHugger Robot [Mon, 12 Aug 2019 04:00:48 +0000 (04:00 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev
Selim Cinek [Sat, 10 Aug 2019 00:19:57 +0000 (17:19 -0700)]
Using the keyguard fading away duration for the scrim
Previously we were using a fixed duration and as a result the
scrims duration was much shorter right after boot when the
fading away duration takes 2 seconds. We're now always using
the fading away duration which simplifies also the bypass
transition.
Fixes:
138305791
Test: atest SystemUITests
Change-Id: I2eba68c75c9777ab1ba6ffadadafed3836eb74e3
vagdevi [Fri, 9 Aug 2019 16:45:14 +0000 (09:45 -0700)]
[AT&T] Add key to show 4g for 3g RAT.
This key is introduced for AT&T
This will also require a carrier-config side change
to set show_4g_for_3g_data_icon_bool to true.
This will replace H/H+ that is shown by AT&T today.
Bug:
138655095
Test: manually
Change-Id: I480e14be41f8edbe607472351efd39d6d91b81b0
Ned Burns [Fri, 9 Aug 2019 22:38:03 +0000 (15:38 -0700)]
[automerger skipped] Merge "Ensure isTopBucket() gets set when there is just one notification" into qt-dev
am:
68f3bb1305 -s ours
am skip reason: change_id I615b2f7fddca30dae67dbaab0e5d54a824a4c441 with SHA1
2d35980e72 is in history
Change-Id: I37cdb13b72ac7c4da5df1db6ee07209ed20353db
Ned Burns [Fri, 9 Aug 2019 22:21:45 +0000 (22:21 +0000)]
Merge "Ensure isTopBucket() gets set when there is just one notification" into qt-dev
Bill Yi [Fri, 9 Aug 2019 22:06:46 +0000 (15:06 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: Ibb92c8650e8f63fd70e7a23dcbde26ce19868d4a
Dave Mankoff [Fri, 9 Aug 2019 21:58:56 +0000 (17:58 -0400)]
Disable falsing manager when face-authed.
Bug:
139202921
Test: manual
Change-Id: Icc24dfaa2958443d0927567c1e90184059fc7ae7
TreeHugger Robot [Fri, 9 Aug 2019 21:51:03 +0000 (21:51 +0000)]
Merge "Hide the home handle in lock task home when home and overview are disabled" into qt-r1-dev
Miguel de Dios [Wed, 7 Aug 2019 22:07:51 +0000 (15:07 -0700)]
bootanimation: Change bootanim ioprio to highest in IOPRIO_CLASS_RT
We see cases where bootanim is IO sleeping on boot and its causing
jank. Change the ioprio to the highest in an attempt to reduce this.
Bug:
138459662
Test: manual - flash and factory reset, looking for artifacts in the boot animation
Change-Id: I9734edea37c92e365a2b359a5180303e9b9284f7
Bill Yi [Fri, 9 Aug 2019 19:26:12 +0000 (12:26 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am:
fe2d421fab -s ours
am skip reason: subject contains skip directive
Change-Id: I2b7c8c005bb0d174a451243b9f0b4148f6c427bb
TreeHugger Robot [Fri, 9 Aug 2019 18:42:27 +0000 (18:42 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Fri, 9 Aug 2019 17:39:40 +0000 (17:39 +0000)]
Merge "Fade from black when reach" into qt-r1-dev
Ned Burns [Thu, 8 Aug 2019 17:43:57 +0000 (13:43 -0400)]
Ensure isTopBucket() gets set when there is just one notification
My descendants will vilify this CL for generations to come. We'll
clean it up for R, but this is our last, best hope for fixing things
in Q.
Bug:
138775282
Test: manual
Change-Id: I615b2f7fddca30dae67dbaab0e5d54a824a4c441
Merged-In: I615b2f7fddca30dae67dbaab0e5d54a824a4c441
(cherry picked from commit
2d35980e7201e042e253fadd0eb55e1866fc28d9)
Ned Burns [Fri, 9 Aug 2019 17:27:58 +0000 (17:27 +0000)]
Merge "Ensure isTopBucket() gets set when there is just one notification" into qt-r1-dev
TreeHugger Robot [Fri, 9 Aug 2019 16:52:31 +0000 (16:52 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev
Remi NGUYEN VAN [Thu, 8 Aug 2019 13:43:40 +0000 (06:43 -0700)]
Fix interfaceVersion in DhcpServerCallbacks
The getInterfaceVersion method was missed when freezing the AIDL
interface version.
This causes Q devices to return 0 instead of 3 on this interface.
Fixes:
139110717
Test: toggle tethering, dumpsys network_stack version
Merged-In: I782f479de2d7d4c6579f206645a580c905009d85
(cherry picked from commit
c6c1c69378872d489b9635adf6ca9496a0479d00)
Change-Id: I16b08e77351399d937b037c700b6e454b09f6d16
Hyunyoung Song [Tue, 6 Aug 2019 00:19:54 +0000 (17:19 -0700)]
Log various types of back gesture using StatsLog
Bug:
135152789
Test: m statsd_testdrive -j31
Test: out/host/linux-x86/bin/statsd_testdrive 224
<Verified all four types of back gesture>
data {
elapsed_timestamp_nanos:
113275964369614
atom {
back_gesture_reported_reported {
type: INCOMPLETE
y_coordinate: 900
x_location: LEFT
}
}
}
data {
elapsed_timestamp_nanos:
113281680894558
atom {
back_gesture_reported_reported {
type: COMPLETED
y_coordinate: 912
x_location: LEFT
}
}
}
data {
elapsed_timestamp_nanos:
113285878610809
atom {
back_gesture_reported_reported {
type: INCOMPLETE_EXCLUDED
y_coordinate: 2496
x_location: LEFT
}
}
}
data {
elapsed_timestamp_nanos:
39490430338
atom {
back_gesture_reported_reported {
type: COMPLETED_REJECTED
y_coordinate: 856
x_location: LEFT
}
}
}
Change-Id: I986a64c296cc2a1e33db8f7ea81b05b0ee96cdd5
Bill Yi [Fri, 9 Aug 2019 04:48:16 +0000 (21:48 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I68fcda4e1f4d0abaebf711f96f3770411b85fb5d
Adam Cohen [Fri, 9 Aug 2019 03:37:37 +0000 (03:37 +0000)]
Merge "Make the back longpress timeout a system property" into qt-r1-dev
Ned Burns [Thu, 8 Aug 2019 17:43:57 +0000 (13:43 -0400)]
Ensure isTopBucket() gets set when there is just one notification
My descendants will vilify this CL for generations to come. We'll
clean it up for R, but this is our last, best hope for fixing things
in Q.
Bug:
138775282
Test: manual
Change-Id: I615b2f7fddca30dae67dbaab0e5d54a824a4c441
Bill Yi [Fri, 9 Aug 2019 01:58:21 +0000 (18:58 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: If8df5134da53280a8a52b21df9d4769d31230d0a
Bill Yi [Fri, 9 Aug 2019 01:25:06 +0000 (18:25 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am:
801d177995 -s ours
am skip reason: subject contains skip directive
Change-Id: I71e66cacaa799e8bcb1f2d994862290644fd47c5
TreeHugger Robot [Fri, 9 Aug 2019 01:08:59 +0000 (01:08 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev
Lucas Dupin [Thu, 8 Aug 2019 23:58:50 +0000 (16:58 -0700)]
Fade from black when reach
Previously, we were fading from the previous state, which could
be transparent. The screen would seem to flash if the wallpaper
were light.
Test: manual
Fixes:
138097741
Change-Id: Ic86024b8970e01ed405e90bf12ef2dc27acf1c29
Hall Liu [Thu, 8 Aug 2019 23:47:58 +0000 (23:47 +0000)]
Merge "Add carrier config for allowing merge of RTT calls" into qt-r1-dev
Sunny Goyal [Thu, 8 Aug 2019 23:36:14 +0000 (16:36 -0700)]
Hide the home handle in lock task home when home and overview are disabled
Bug:
137626984
Test: Verified the home handle is hidden with CtsVerifier app
Change-Id: I0c21ae5b6f0d094e84b2ba4200a93fd9c4295a55
Adam Cohen [Wed, 7 Aug 2019 22:29:34 +0000 (15:29 -0700)]
Make the back longpress timeout a system property
issue
138944380
Test: manual
Change-Id: I9cebea1f7f44298a8723d04df17349cc3cb03067
Andrew Sapperstein [Thu, 8 Aug 2019 21:30:33 +0000 (14:30 -0700)]
Merge "Add a blacklist for preinstalled carrier apps." into qt-dev
am:
aa3689c4d9
Change-Id: I4a9898f5a205b7ff13ef8631870cbe3f8451923b
Andrew Sapperstein [Thu, 8 Aug 2019 20:50:09 +0000 (20:50 +0000)]
Merge "Add a blacklist for preinstalled carrier apps." into qt-dev
bsears [Thu, 8 Aug 2019 18:02:43 +0000 (11:02 -0700)]
Merge "Avoid using secondary displays as launch params when not support" into qt-dev
am:
c5568f9aac
Change-Id: I28c1abc4eea843fdbffc95d9bccde910e415a468
bsears [Thu, 8 Aug 2019 17:51:11 +0000 (17:51 +0000)]
Merge "Avoid using secondary displays as launch params when not support" into qt-dev
Bill Yi [Thu, 8 Aug 2019 17:30:47 +0000 (10:30 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I1fc9b1dc26f21604c06de951f0bfc0ec4e5e1155
Patrick Baumann [Thu, 8 Aug 2019 16:56:08 +0000 (09:56 -0700)]
Merge "Cleans up sharedUser regardless of creation logic" into qt-dev
am:
a1bf282e43
Change-Id: Ic721f31332bbcbb9d64e501b3b94b6b457c8af51
TreeHugger Robot [Thu, 8 Aug 2019 16:18:33 +0000 (16:18 +0000)]
Merge "Cleans up sharedUser regardless of creation logic" into qt-dev
Andrew Sapperstein [Wed, 7 Aug 2019 22:04:35 +0000 (15:04 -0700)]
Add a blacklist for preinstalled carrier apps.
Allows an OEM to specify that a preinstalled carrier app, even if
TelephonyManager says it should have carrier privileges, does not
get granted the default permissions and does not get enabled when
a compatible SIM is inserted.
Bug:
138150105
Test: verified locally
Change-Id: I0afec28f1f18227947c1fe9e6bb5fd0dad3b5dac
Merged-In: I0afec28f1f18227947c1fe9e6bb5fd0dad3b5dac
wilsonshih [Thu, 8 Aug 2019 09:48:46 +0000 (17:48 +0800)]
Freezing screen when dismiss pip if orientation is going to change.
When skip pip animation to fullscreen, the stack will move to another
fullscreen stack then resume top activity, if one of activity is not
paused, the remaining resume steps will be skip till all activities
paused. In that case the fullscreen stack will shows up before rotation
animation.
To let the animation smooth, freeze screen once we know the orientation
is going to change when dismiss pip.
Fix:
138820136
Test: atest ActivityLifecyclePipTests
Change-Id: I808b1a797a322ffce039de4bcad316973e732672
Patrick Baumann [Thu, 8 Aug 2019 00:56:58 +0000 (17:56 -0700)]
Cleans up sharedUser regardless of creation logic
Prior to this change, we were not updating the shared user a package
setting belongs to if the package setting was not deep copied. In the
case that shared users didn't match, we were not deep copying and so
were not updating later. There is a more fundamental change to be made
here, but we're limiting risk by keeping this change as small as
possible.
Bug:
138919405
Test: atest AppSecurityTests
Test: manual; flash P then flash this build: observe consistent PackageSettings
Change-Id: Ib22f9e6a1fb3104bec4eb3e5b1de983e19d49dce
Hall Liu [Mon, 29 Jul 2019 23:18:30 +0000 (16:18 -0700)]
Add carrier config for allowing merge of RTT calls
Add a carrier config key that specifies whether merging an RTT call is
allowed.
Bug:
136035168
Test: manual
Change-Id: I8cfdf68c69b50abed88d7c835db0480a53755f5a
Kevin Hufnagle [Wed, 7 Aug 2019 22:23:39 +0000 (15:23 -0700)]
Merge "docs: Removed dates in obsolete field messages." into qt-dev
am:
45855214b5
Change-Id: I549026ea364645a8d60a1a06df9b20886a6df97a
Kevin Hufnagle [Wed, 7 Aug 2019 22:05:16 +0000 (22:05 +0000)]
Merge "docs: Removed dates in obsolete field messages." into qt-dev
Prabir Pradhan [Fri, 26 Jul 2019 21:21:21 +0000 (14:21 -0700)]
apply empty transaction in startActivitySync
Force SurfaceFlinger to update synchronously by applying an empty
transaction. Without this, SurfaceFlinger will only update after the
next vsync, which may only happen after the instrumentation already
starts.
Since InputFlinger will only have the proper InputWindowInfo after
SurfaceFlinger updates, waiting for the vsync caused some
instruemntation tests to be flaky.
Bug:
138263890
Test: atest android.view.cts.HoverTest
Change-Id: I5457ab67ac574530dc1aa84549ca11e7e3f0d714
Ryan Mitchell [Wed, 7 Aug 2019 16:50:33 +0000 (16:50 +0000)]
Merge "Stop idmap2d after several seconds pass" into qt-r1-dev
TreeHugger Robot [Wed, 7 Aug 2019 16:33:36 +0000 (16:33 +0000)]
Merge "GestureNav: Fix AbsSeekBar thumb exclusion" into qt-r1-dev
Adrian Roos [Tue, 6 Aug 2019 14:43:31 +0000 (16:43 +0200)]
GestureNav: Fix AbsSeekBar thumb exclusion
Fix two issues that caused the exclusion for SeekBar thumbs to be to small and offset
from the thumb:
Account for padding and thumb offset; the thumb drawable is drawn with an offset
from the View's Canvas; the same offset must be applied when udpating the exclusion
rects.
The thumb is typically much smaller than the drag zone; the thumb rect alone doesn't
provide an appropriately large exclusion for reliably hitting it, so it is enlarged
to the height of the seek bar (up to 48dp).
Bug:
138992366
Test: manual, show exclusion zones with: adb shell setprop debug.pointerlocation.showexclusion 150 && adb shell settings put system pointer_location 1
Test: atest android.widget.AbsSeekBarTest
Change-Id: I2b670c6f3f33451bdccdfd3d75a75e90260257ff
Bill Yi [Wed, 7 Aug 2019 05:53:39 +0000 (22:53 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am:
6aa3f38983 -s ours
am skip reason: subject contains skip directive
Change-Id: I9bb07364b95726b5e1b1f447f83ec5f9443706d6
TreeHugger Robot [Wed, 7 Aug 2019 05:28:25 +0000 (05:28 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Wed, 7 Aug 2019 03:26:38 +0000 (03:26 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev
Kevin Hufnagle [Wed, 7 Aug 2019 01:17:11 +0000 (18:17 -0700)]
docs: Removed dates in obsolete field messages.
Notices about obsolete fields and methods now mention the publish
location (Google Play Store) or Android version (Q and higher).
Test: make ds-docs
Bug:
122482744
Change-Id: Idb60fef711401d43af8eb71343f157590c311571
Bill Yi [Tue, 6 Aug 2019 21:17:57 +0000 (14:17 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I177c5cfe63c60448882e1849f76a96d9103ed305
Bill Yi [Tue, 6 Aug 2019 21:07:31 +0000 (14:07 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: Ic7853a4d8574d496f1ee03a8163fff2671cafafd
Beth Thibodeau [Tue, 6 Aug 2019 20:11:27 +0000 (20:11 +0000)]
Merge "Stop timer when notification is not visible" into qt-r1-dev
Beth Thibodeau [Thu, 1 Aug 2019 14:57:29 +0000 (10:57 -0400)]
Stop timer when notification is not visible
This combines ag/
8888937 and ag/
9019277 into one CL, plus fixes another issue
where the timer could restart if the user had removed a notification and then
restarted the stream
Fixes:
138261464
Test: manual, atest NotificationMediaTemplateViewWrapperTest
Also checked the changes on the master branch since that had very
obvious issues when locking / unlocking the phone before
Change-Id: I6a0bbc675d33a5c7d4ce7f0884aec19606bff4fa
Kevin Hufnagle [Tue, 6 Aug 2019 16:09:56 +0000 (09:09 -0700)]
Merge "docs: Clarified when onRestoreInstanceState() executes" into qt-dev
am:
c80fe63001
Change-Id: I332332fc88e565a3842297b04769778ee1c344ca
Kevin Hufnagle [Tue, 6 Aug 2019 15:53:40 +0000 (15:53 +0000)]
Merge "docs: Clarified when onRestoreInstanceState() executes" into qt-dev
TreeHugger Robot [Tue, 6 Aug 2019 08:45:23 +0000 (08:45 +0000)]
Merge "[RESTRICT AUTOMERGE] CameraServiceProxy: More granularity to NFC / Camera interaction" into qt-r1-dev
Eino-Ville Talvala [Fri, 2 Aug 2019 19:14:05 +0000 (12:14 -0700)]
[RESTRICT AUTOMERGE] CameraServiceProxy: More granularity to NFC / Camera interaction
Instead of disabling NFC active polling on all camera use, or never
disabling NFC active polling, support disabling based on camera facing.
Test: 'adb shell dumpsys nfc' while trying all 4 possible NFC options and
using front/back cameras via default camera and via face authentication.
Bug:
138851393
Change-Id: I81eb014f0c2058258384538dce7c01b575c44df4
TreeHugger Robot [Tue, 6 Aug 2019 02:08:23 +0000 (02:08 +0000)]
Merge "Only show the thermal shutdown warning when thermal reboot" into qt-r1-dev
TreeHugger Robot [Tue, 6 Aug 2019 01:32:23 +0000 (01:32 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev
Sherry Huang [Fri, 2 Aug 2019 18:36:44 +0000 (02:36 +0800)]
Only show the thermal shutdown warning when thermal reboot
showThermalShutdownWarning() is on the path where systemui starts
and restarts. Previously, we just checked the boot reason in
determining whether to show the warning, which makes it unexpectedly
seen when systemui restarts from crashes.
This CL caches the last boot count and compares with the current one
to ensure that there is a thermal reboot before the warning is shown.
Test: atest PowerUITest
Bug:
138089094
Change-Id: I0a51d00703d291ba10a6ab4f348308a14000a20e
Bill Yi [Mon, 5 Aug 2019 22:27:32 +0000 (15:27 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: Ief52f624ef932c1941ae4bb5a8264e57bd0495f5
TreeHugger Robot [Mon, 5 Aug 2019 22:23:20 +0000 (22:23 +0000)]
Merge "Add a documentation in EmergencyNumber#getNumber" into qt-r1-dev
Adrian Roos [Wed, 3 Jul 2019 16:31:46 +0000 (18:31 +0200)]
GestureNav: Log exclusion rect heights
Logs the rejected and requested exclusion rect heights.
Test: adb shell device_config put android:window_manager key_system_gesture_exclusion_log_debounce_millis 1000
Bug:
135152789
Change-Id: Ie12640f4bf0a8b40b666e604188a0bedd85e8981
Exempt-From-Owner-Approval: DeviceConfig.java: Adding constant to WindowManager namespace.
Jorim Jaggi [Mon, 5 Aug 2019 18:12:56 +0000 (18:12 +0000)]
Merge "Fix overlapping remote and recents animations" into qt-r1-dev
Jorim Jaggi [Tue, 30 Jul 2019 14:50:13 +0000 (16:50 +0200)]
Fix overlapping remote and recents animations
Test: Open app and immediately swipe up while opening. Verify
Thread prioties in systrace
Test: WindowProcessControllerTests
Fixes:
137881181
Change-Id: Ic1d7403d2a648e6f1d1b6a3d55b56bf37bc57a2c