Commit Graph

420285 Commits

Author SHA1 Message Date
Jack Yu
09ef1cb126 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
2019-08-19 10:02:11 -07:00
Adrian Roos
1ac726e718 Merge "API: Explicitly track incompatibilities with previous API versions" into qt-dev
am: d3b53e080d

Change-Id: I6da708a8b05f762af1b781db75aa2511aa895abf
2019-08-15 13:20:20 -07:00
TreeHugger Robot
d3b53e080d Merge "API: Explicitly track incompatibilities with previous API versions" into qt-dev 2019-08-15 18:07:32 +00:00
Dave Mankoff
9dccbdca70 Merge "Allow for more wiggle room (literally) in BrightlineFalsingManager." into qt-r1-dev 2019-08-15 14:37:06 +00:00
TreeHugger Robot
9a0d576b4d Merge "Fix interfaceVersion in DhcpServerCallbacks" into qt-r1-dev 2019-08-15 03:27:35 +00:00
Jack Yu
24397e7a07 Merge "Added debug messages and watchdog" into qt-r1-dev 2019-08-15 03:15:12 +00:00
Kevin Hufnagle
4125bd9b25 Merge "Revert "docs: Added desc. of launcher app criteria in Q"" into qt-dev
am: 81d74c6c72

Change-Id: I964a029a53fb5f14d872baceee9883391da24cd3
2019-08-14 17:35:05 -07:00
Jack Yu
36e2bfbaad Added debug messages and watchdog
Added debug messages and watchdog to catch
unresponsive data service issue.

Bug: 139076980
Test: Manual
Change-Id: I52dd126fddc1b1e8b18d5388a92aabaa3e2e48d5
2019-08-15 00:07:07 +00:00
Kevin Hufnagle
81d74c6c72 Merge "Revert "docs: Added desc. of launcher app criteria in Q"" into qt-dev 2019-08-14 23:32:22 +00:00
Hongwei Wang
f8108f81cc Merge "Enables back gesture nav in screen pinning" into qt-r1-dev 2019-08-14 20:50:57 +00:00
Kevin Hufnagle
ae80734298 Merge "docs: Added desc. of launcher app criteria in Q" into qt-dev
am: a5e5c177d1

Change-Id: I270a33ab91ec0185bda3c82e600b18c9cca6c8ec
2019-08-14 13:23:33 -07:00
Brian Duddie
7eeb6f60f9 Merge "docs: Correct sensor runtime permission documentation" into qt-dev
am: 119f1220cd

Change-Id: I380c1dab916509ac0878e8a60712e7f08e7451a5
2019-08-14 13:09:45 -07:00
Kevin Hufnagle
7ae4cbeeda Revert "docs: Added desc. of launcher app criteria in Q"
This reverts commit 786f22e416.

Reason for revert: Need further feedback from SMEs

Bug: 130352392

Change-Id: I51b3bd19e27d28fe3aea300893da50bbf889ec73
2019-08-14 19:35:23 +00:00
Kevin Hufnagle
a5e5c177d1 Merge "docs: Added desc. of launcher app criteria in Q" into qt-dev 2019-08-14 19:22:11 +00:00
Brian Duddie
119f1220cd Merge "docs: Correct sensor runtime permission documentation" into qt-dev 2019-08-14 17:32:05 +00:00
Dave Mankoff
f1455b056d Allow for more wiggle room (literally) in BrightlineFalsingManager.
Bug: 138812628
Change-Id: I8590b2daff0337a395d333c07c2231cc10d236a3
Test: manual testing with different people to find better values.
2019-08-14 13:10:48 -04:00
Prabir Pradhan
5cd874d792 Merge "apply empty transaction in startActivitySync" into qt-dev
am: f928b661d9

Change-Id: Ic4b27be6729a3a7627a8fc499cd99fdec42cad35
2019-08-14 01:40:41 -07:00
TreeHugger Robot
f928b661d9 Merge "apply empty transaction in startActivitySync" into qt-dev 2019-08-14 06:42:05 +00:00
Vagdevi Kondeti
d7a23cc714 Merge "[AT&T] Add key to show 4g for 3g RAT." into qt-r1-dev 2019-08-13 18:57:29 +00:00
Brian Duddie
0fcaef12c0 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
2019-08-13 18:48:26 +00:00
Hongwei Wang
c0cc6218aa Enables back gesture nav in screen pinning
Bug: 138969972
Test: Back gesture in screen pinning mode
Change-Id: I0ddb7a6e7978e7ec82d7949048e75147c5ece3c8
2019-08-13 10:50:43 -07:00
TreeHugger Robot
f64c698ec7 Merge "bootanimation: Change bootanim ioprio to highest in IOPRIO_CLASS_RT" into qt-r1-dev 2019-08-13 17:45:57 +00:00
TreeHugger Robot
41b006d8d6 Merge "Freezing screen when dismiss pip if orientation is going to change." into qt-r1-dev 2019-08-13 04:09:12 +00:00
TreeHugger Robot
fba4296329 Merge "Fix sensor triggering issue" into qt-r1-dev 2019-08-13 00:24:14 +00:00
Kevin Hufnagle
786f22e416 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
2019-08-12 16:52:41 -07:00
TreeHugger Robot
fa38ed5296 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 2019-08-12 23:18:04 +00:00
TreeHugger Robot
85224a5834 Merge "Using the keyguard fading away duration for the scrim" into qt-r1-dev 2019-08-12 22:44:56 +00:00
Lucas Dupin
cf06eb3a92 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
2019-08-12 14:29:50 -07:00
Adrian Roos
369246b4cc API: Explicitly track incompatibilities with previous API versions
Bug: 139128921
Test: make checkapi
Change-Id: I1f17b57705e2f7350b55ab278e06fc4e988771ff
Merged-In: I1f17b57705e2f7350b55ab278e06fc4e988771ff
2019-08-12 16:11:57 +00:00
Dave Mankoff
9249d828a1 Merge "Disable falsing manager when face-authed." into qt-r1-dev 2019-08-12 15:17:39 +00:00
Bill Yi
a6e7345636 [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
2019-08-11 21:31:51 -07:00
TreeHugger Robot
8931739c16 Merge "Import translations. DO NOT MERGE" into qt-dev 2019-08-12 04:00:48 +00:00
Selim Cinek
72cd9a7358 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
2019-08-09 18:01:27 -07:00
vagdevi
3f2b9a5ac9 [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
2019-08-09 16:44:11 -07:00
Ned Burns
f5933683a7 [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
2019-08-09 15:38:03 -07:00
Ned Burns
68f3bb1305 Merge "Ensure isTopBucket() gets set when there is just one notification" into qt-dev 2019-08-09 22:21:45 +00:00
Bill Yi
419814670d Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ibb92c8650e8f63fd70e7a23dcbde26ce19868d4a
2019-08-09 15:06:46 -07:00
Dave Mankoff
d61f01b9e2 Disable falsing manager when face-authed.
Bug: 139202921
Test: manual
Change-Id: Icc24dfaa2958443d0927567c1e90184059fc7ae7
2019-08-09 17:58:56 -04:00
TreeHugger Robot
2862d538b6 Merge "Hide the home handle in lock task home when home and overview are disabled" into qt-r1-dev 2019-08-09 21:51:03 +00:00
Miguel de Dios
b717e8e8c2 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
2019-08-09 14:06:42 -07:00
Bill Yi
5c0d577dea [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
2019-08-09 12:26:12 -07:00
TreeHugger Robot
fe2d421fab Merge "Import translations. DO NOT MERGE" into qt-dev 2019-08-09 18:42:27 +00:00
TreeHugger Robot
331cdb72e6 Merge "Fade from black when reach" into qt-r1-dev 2019-08-09 17:39:40 +00:00
Ned Burns
6c34506dd8 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 2d35980e72)
2019-08-09 17:28:27 +00:00
Ned Burns
9a38205327 Merge "Ensure isTopBucket() gets set when there is just one notification" into qt-r1-dev 2019-08-09 17:27:58 +00:00
TreeHugger Robot
c7a7eaa776 Merge "Import translations. DO NOT MERGE" into qt-r1-dev 2019-08-09 16:52:31 +00:00
Remi NGUYEN VAN
7d018e9b56 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 c6c1c69378)

Change-Id: I16b08e77351399d937b037c700b6e454b09f6d16
2019-08-09 09:43:10 +00:00
Hyunyoung Song
36d7a2f8cf 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
2019-08-08 22:40:27 -07:00
Bill Yi
a5576ff9aa Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I68fcda4e1f4d0abaebf711f96f3770411b85fb5d
2019-08-08 21:48:16 -07:00
Adam Cohen
55d3821609 Merge "Make the back longpress timeout a system property" into qt-r1-dev 2019-08-09 03:37:37 +00:00