OSDN Git Service

android-x86/frameworks-base.git
4 years agoMerge "Mark USAGE_NOTIFICATION_EVENT vibrations as notifications" into qt-r1-dev
TreeHugger Robot [Wed, 21 Aug 2019 19:04:49 +0000 (19:04 +0000)]
Merge "Mark USAGE_NOTIFICATION_EVENT vibrations as notifications" into qt-r1-dev

4 years agoMerge "Add carrier config for ignoring user RTT setting" into qt-r1-dev
Hall Liu [Wed, 21 Aug 2019 18:28:20 +0000 (18:28 +0000)]
Merge "Add carrier config for ignoring user RTT setting" into qt-r1-dev

4 years agoMerge "Treat SENSOR_DIRTY as user not detected" into qt-r1-dev
TreeHugger Robot [Wed, 21 Aug 2019 17:25:15 +0000 (17:25 +0000)]
Merge "Treat SENSOR_DIRTY as user not detected" into qt-r1-dev

4 years agoTreat SENSOR_DIRTY as user not detected
Ilya Matyukhin [Tue, 20 Aug 2019 22:38:57 +0000 (15:38 -0700)]
Treat SENSOR_DIRTY as user not detected

Bug: 139620163
Test: no double vibration on authentication timeout while the sensor
is covered.

Change-Id: I26ec9ca0f911fb029eb9175fe1923c8e9a27e693

4 years ago[automerger skipped] Merge "DO NOT MERGE: Fixed an issue where the notification icons...
Selim Cinek [Wed, 21 Aug 2019 00:14:38 +0000 (17:14 -0700)]
[automerger skipped] Merge "DO NOT MERGE: Fixed an issue where the notification icons wouldn't show while docked" into qt-dev
am: cceea08cc7 -s ours
am skip reason: change_id I8f7bd7a6a0562942ed3e12f28705043722d177e8 with SHA1 65c96f2fd4 is in history

Change-Id: I5451e6467e8ffebd08360abfab9f86a429ed0721

5 years agoMerge "EglDisplay may be null and cause Null point exception" into qt-r1-dev
Selim Cinek [Tue, 20 Aug 2019 23:40:41 +0000 (23:40 +0000)]
Merge "EglDisplay may be null and cause Null point exception" into qt-r1-dev

5 years agoMerge "DO NOT MERGE: Fixed an issue where the notification icons wouldn't show while...
Selim Cinek [Tue, 20 Aug 2019 23:39:13 +0000 (23:39 +0000)]
Merge "DO NOT MERGE: Fixed an issue where the notification icons wouldn't show while docked" into qt-dev

5 years agoDO NOT MERGE: Fixed an issue where the notification icons wouldn't show while docked
Selim Cinek [Mon, 19 Aug 2019 18:57:11 +0000 (11:57 -0700)]
DO NOT MERGE: Fixed an issue where the notification icons wouldn't show while docked

Since we're using the pulsing state for docking, the icons would now
become clipped while pulsing.

Fixes: 139096431
Test: dock, observe notification icons showing
Change-Id: If251e6b18c03b2824b4d3ea4dab82d4a403565f1
Merged-In: I8f7bd7a6a0562942ed3e12f28705043722d177e8

5 years agoMerge "Fixed null callback issue" into qt-r1-dev
Jayachandran Chinnakkannu [Tue, 20 Aug 2019 17:37:03 +0000 (17:37 +0000)]
Merge "Fixed null callback issue" into qt-r1-dev

5 years agoMark USAGE_NOTIFICATION_EVENT vibrations as notifications
Alexey Kuzmin [Tue, 20 Aug 2019 17:02:14 +0000 (18:02 +0100)]
Mark USAGE_NOTIFICATION_EVENT vibrations as notifications

Non-notification background vibrations are ignored. However, we don't
want to ignore notifications that represent various events, such as
reminders.
Test: Create a calendar event with a reminder. Close calendar and wait
for reminder. The device should vibrate when the reminder pops up.
Bug: 139523314

Change-Id: I231239daf7cc85bf69aaeef1da31218a23fcf311

5 years agoMerge "Remove unused setting" into qt-r1-dev
Kevin Chyn [Mon, 19 Aug 2019 21:50:22 +0000 (21:50 +0000)]
Merge "Remove unused setting" into qt-r1-dev

5 years agoMerge "Increased precision of Lat/Lng decoder and enabled BSSID list to be explicit...
TreeHugger Robot [Mon, 19 Aug 2019 20:37:12 +0000 (20:37 +0000)]
Merge "Increased precision of Lat/Lng decoder and enabled BSSID list to be explicit (client)" into qt-r1-dev

5 years agoMerge "WebView: prettyprint docs" into qt-dev
Nate Fischer [Mon, 19 Aug 2019 20:22:49 +0000 (13:22 -0700)]
Merge "WebView: prettyprint docs" into qt-dev
am: 20f2f0b5ea

Change-Id: Iad51d33c434a42272c448ba7a807bdcbe6cb51d0

5 years agoMerge "Fixing a bug where content capture sessions with child sessions could get...
Mihir Patel [Mon, 19 Aug 2019 20:11:44 +0000 (20:11 +0000)]
Merge "Fixing a bug where content capture sessions with child sessions could get stuck in a state where no event flushing other than forced flushes would occur" into qt-r1-dev

5 years agoMerge "WebView: prettyprint docs" into qt-dev
TreeHugger Robot [Mon, 19 Aug 2019 19:06:32 +0000 (19:06 +0000)]
Merge "WebView: prettyprint docs" into qt-dev

5 years agoFixed null callback issue
Jack Yu [Mon, 19 Aug 2019 01:51:30 +0000 (18:51 -0700)]
Fixed null callback issue

Fixed the vendor data/network service non-responsive
issue. The callback binder passed from frameworks
might be GC'd so that vendor data/network service skipped
calling the callback. This eventually caused data
connection state machine messed up.

Fixed by turning the weak refernce to the callback into
a strong reference. This ensure the binder alive when
vendor service needs to invoke the callback.

Test: Telephony sanity tests
Bug: 139076980
Change-Id: Ica0b7b810ffd5416ffd1b2b61f7ebc4af0dcb8ce

5 years agoMerge "Import translations. DO NOT MERGE" into qt-r1-dev
TreeHugger Robot [Sun, 18 Aug 2019 06:47:23 +0000 (06:47 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 18 Aug 2019 05:33:19 +0000 (22:33 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ic933893725676e939dff7615cbdae520d0597e84

5 years agoMerge "Import translations. DO NOT MERGE" into qt-r1-dev
TreeHugger Robot [Sun, 18 Aug 2019 01:42:27 +0000 (01:42 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 17 Aug 2019 19:52:27 +0000 (12:52 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I1007992fe397102078f19c63aa04cb63fe7c8765

5 years agoMerge "Import translations. DO NOT MERGE" into qt-r1-dev
TreeHugger Robot [Sat, 17 Aug 2019 16:37:30 +0000 (16:37 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev

5 years agoMerge "Get resource based on subId for multi-SIM" 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

5 years agoImport translations. DO NOT MERGE
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

5 years agoRemove unused setting
Kevin Chyn [Fri, 16 Aug 2019 23:51:47 +0000 (16:51 -0700)]
Remove unused setting

Bug: 139554930

Test: manual
Change-Id: I5c4af200b0c61efb9a0f76d00c2f047d4880d77b
Merged-In: I5c4af200b0c61efb9a0f76d00c2f047d4880d77b

5 years agoIncreased precision of Lat/Lng decoder and enabled BSSID list to be explicit (client)
Roy Want [Thu, 15 Aug 2019 18:14:19 +0000 (11:14 -0700)]
Increased precision of Lat/Lng decoder and enabled BSSID list to be explicit (client)

Bug: 139448024
Bug: 139448573
Test: All tests pass (with increased precision), end-to-end tests pass.
Change-Id: I1e1dd3b26df707279e6cc2d59951f28d7878efe8

5 years agoMerge "Do not stop idmap2d after OMS initialization" into qt-r1-dev
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

5 years agoMerge "API: Explicitly track incompatibilities with previous API versions" into qt-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

5 years agoMerge "API: Explicitly track incompatibilities with previous API versions" into qt-dev
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

5 years agoMerge "Allow for more wiggle room (literally) in BrightlineFalsingManager." into...
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

5 years agoMerge "Fix interfaceVersion in DhcpServerCallbacks" 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

5 years agoMerge "Added debug messages and watchdog" 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

5 years agoMerge "Revert "docs: Added desc. of launcher app criteria in Q"" into qt-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

5 years agoAdded debug messages and watchdog
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

5 years agoMerge "Revert "docs: Added desc. of launcher app criteria in Q"" into qt-dev
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

5 years agoMerge "Enables back gesture nav in screen pinning" into qt-r1-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

5 years agoMerge "docs: Added desc. of launcher app criteria in Q" into qt-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

5 years agoMerge "docs: Correct sensor runtime permission documentation" into qt-dev
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

5 years agoRevert "docs: Added desc. of launcher app criteria in Q"
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

5 years agoMerge "docs: Added desc. of launcher app criteria in Q" into qt-dev
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

5 years agoDo not stop idmap2d after OMS initialization
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

5 years agoMerge "docs: Correct sensor runtime permission documentation" into qt-dev
Brian Duddie [Wed, 14 Aug 2019 17:32:05 +0000 (17:32 +0000)]
Merge "docs: Correct sensor runtime permission documentation" into qt-dev

5 years agoAllow for more wiggle room (literally) in BrightlineFalsingManager.
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.

5 years agoGet resource based on subId for multi-SIM
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)

5 years agoMerge "apply empty transaction in startActivitySync" into qt-dev
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

5 years agoMerge "apply empty transaction in startActivitySync" into qt-dev
TreeHugger Robot [Wed, 14 Aug 2019 06:42:05 +0000 (06:42 +0000)]
Merge "apply empty transaction in startActivitySync" into qt-dev

5 years agoWebView: prettyprint docs
Nate Fischer [Tue, 13 Aug 2019 03:44:51 +0000 (20:44 -0700)]
WebView: prettyprint docs

No change to logic, only docs.

Use class=prettyprint so docs are syntax highlighted. This also fixes a
section which should have been an ordered list but abused <pre> instead.

Bug: 125526827
Test: make -j4 docs
Change-Id: Iac780ace066be35620d5121b1977df404eaf18c1

5 years agoMerge "[AT&T] Add key to show 4g for 3g RAT." into qt-r1-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

5 years agodocs: Correct sensor runtime permission documentation
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

5 years agoEnables back gesture nav in screen pinning
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

5 years agoMerge "bootanimation: Change bootanim ioprio to highest in IOPRIO_CLASS_RT" into...
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

5 years agoEglDisplay may be null and cause Null point exception
Bill Lin [Mon, 12 Aug 2019 03:45:27 +0000 (11:45 +0800)]
EglDisplay may be null and cause Null point exception

Add null check on EglDisplay in case unexpected NPE

Fixes: 139195633
Fixes: 139113237
Test: Run Forest for CTS  x86 CtsAppTestCases on cf_x86_phone-userdebug
Test: atest com.android.systemui.glwallpaper.EglHelperTest

Change-Id: Iefb17082746bacf46b664b253a8baa8ee4b7cd68

5 years agoMerge "Freezing screen when dismiss pip if orientation is going to change." into...
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

5 years agoMerge "Fix sensor triggering issue" 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

5 years agodocs: Added desc. of launcher app criteria in Q
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

5 years agoMerge "Log various types of back gesture using StatsLog Bug: 135152789 Test: m statsd...
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

5 years agoMerge "Using the keyguard fading away duration for the scrim" 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

5 years agoFix sensor triggering issue
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

5 years agoAPI: Explicitly track incompatibilities with previous API versions
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

5 years agoMerge "Disable falsing manager when face-authed." into qt-r1-dev
Dave Mankoff [Mon, 12 Aug 2019 15:17:39 +0000 (15:17 +0000)]
Merge "Disable falsing manager when face-authed." into qt-r1-dev

5 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-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

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Mon, 12 Aug 2019 04:00:48 +0000 (04:00 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoUsing the keyguard fading away duration for the scrim
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

5 years ago[AT&T] Add key to show 4g for 3g RAT.
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

5 years ago[automerger skipped] Merge "Ensure isTopBucket() gets set when there is just one...
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

5 years agoMerge "Ensure isTopBucket() gets set when there is just one notification" into qt-dev
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

5 years agoImport translations. DO NOT MERGE
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

5 years agoDisable falsing manager when face-authed.
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

5 years agoMerge "Hide the home handle in lock task home when home and overview are disabled...
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

5 years agoFixing a bug where content capture sessions with child sessions could get stuck in...
Mihir Patel [Fri, 9 Aug 2019 21:00:42 +0000 (14:00 -0700)]
Fixing a bug where content capture sessions with child sessions could get stuck in a state where no event flushing other than forced flushes would occur

Fixes: 139202268
Test: atest CtsContentCaptureServiceTestCases
Change-Id: I21e9d4db2402fe5210b7d938dac2f12e7557c146

5 years agobootanimation: Change bootanim ioprio to highest in IOPRIO_CLASS_RT
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

5 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
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

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Fri, 9 Aug 2019 18:42:27 +0000 (18:42 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoMerge "Fade from black when reach" into qt-r1-dev
TreeHugger Robot [Fri, 9 Aug 2019 17:39:40 +0000 (17:39 +0000)]
Merge "Fade from black when reach" into qt-r1-dev

5 years agoEnsure isTopBucket() gets set when there is just one notification
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)

5 years agoMerge "Ensure isTopBucket() gets set when there is just one notification" into qt...
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

5 years agoMerge "Import translations. DO NOT MERGE" 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

5 years agoFix interfaceVersion in DhcpServerCallbacks
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

5 years agoLog various types of back gesture using StatsLog
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

5 years agoImport translations. DO NOT MERGE
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

5 years agoMerge "Make the back longpress timeout a system property" into qt-r1-dev
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

5 years agoEnsure isTopBucket() gets set when there is just one notification
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

5 years agoImport translations. DO NOT MERGE
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

5 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
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

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Fri, 9 Aug 2019 01:08:59 +0000 (01:08 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoAdd carrier config for ignoring user RTT setting
Hall Liu [Wed, 24 Jul 2019 01:39:15 +0000 (18:39 -0700)]
Add carrier config for ignoring user RTT setting

Add a carrier config to ignore the user's RTT mode setting for purposes
of IMS registration and default outgoing/incoming call behavior.

Bug: 136035164
Test: manual
Change-Id: I481fb945fd76181a0c59cb433c2959b532127153

5 years agoFade from black when reach
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

5 years agoMerge "Add carrier config for allowing merge of RTT calls" into qt-r1-dev
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

5 years agoHide the home handle in lock task home when home and overview are disabled
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

5 years agoMake the back longpress timeout a system property
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

5 years agoMerge "Add a blacklist for preinstalled carrier apps." into qt-dev
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

5 years agoMerge "Add a blacklist for preinstalled carrier apps." into qt-dev
Andrew Sapperstein [Thu, 8 Aug 2019 20:50:09 +0000 (20:50 +0000)]
Merge "Add a blacklist for preinstalled carrier apps." into qt-dev

5 years agoMerge "Avoid using secondary displays as launch params when not support" 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

5 years agoMerge "Avoid using secondary displays as launch params when not support" into qt-dev
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

5 years agoImport translations. DO NOT MERGE
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

5 years agoMerge "Cleans up sharedUser regardless of creation logic" into qt-dev
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

5 years agoMerge "Cleans up sharedUser regardless of creation logic" into qt-dev
TreeHugger Robot [Thu, 8 Aug 2019 16:18:33 +0000 (16:18 +0000)]
Merge "Cleans up sharedUser regardless of creation logic" into qt-dev

5 years agoAdd a blacklist for preinstalled carrier apps.
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

5 years agoFreezing screen when dismiss pip if orientation is going to change.
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

5 years agoCleans up sharedUser regardless of creation logic
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

5 years agoAdd carrier config for allowing merge of RTT calls
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