Commit Graph

35832 Commits

Author SHA1 Message Date
Dave Mankoff
96d58dfdce Merge "Allow two finger swipes down." into qt-qpr1-dev am: 964b61262c
Change-Id: Ic6a818ec9358ed645fcc8f5060a636024e3e511a
2020-03-18 20:37:44 +00:00
Dave Mankoff
964b61262c Merge "Allow two finger swipes down." into qt-qpr1-dev 2020-03-18 20:24:54 +00:00
Evan Laird
6322d7324c DO NOT MERGE: Use status_bar_padding_top am: bc95ab7a39
Change-Id: I9f2b920cd12b7781fc0b7abcd10e69edefd10704
2020-03-18 19:03:32 +00:00
Evan Laird
27a0ee31b6 Merge "DO NOT MERGE: Use status_bar_padding_top" into qt-qpr1-dev 2020-03-18 18:37:56 +00:00
Lucas Dupin
f3ba6e6bb4 Merge "Do not allow division by 0" into qt-qpr1-dev am: a4768b7b1a
Change-Id: I8fab2e9b69876cd0137cf0bbe2af9dd71e410d1b
2020-03-18 04:49:13 +00:00
Lucas Dupin
a4768b7b1a Merge "Do not allow division by 0" into qt-qpr1-dev 2020-03-18 04:24:28 +00:00
Lucas Dupin
96aaa02edb Do not allow division by 0
Test: make
Fixes: 151128233
Change-Id: Id1a50ae18a2cd014093a17701f6b62070a62e5ff
Merged-In: Id1a50ae18a2cd014093a17701f6b62070a62e5ff
2020-03-18 00:31:49 +00:00
Xiangyu/Malcolm Chen
fab553bc7b Merge "Move filterMobileSubscriptionInSameGroup into KeyguardUpdateMonitor." into qt-qpr1-dev 2020-03-17 19:29:26 +00:00
Malcolm Chen
c5029c9007 Move filterMobileSubscriptionInSameGroup into KeyguardUpdateMonitor.
This avoids race condition that, KeyguardUpdateMonitor refreshes active
sub list however CarrierTextController filtered it based on stale active
data subId.

By move filterMobileSubscriptionInSameGroup into KeyguardUpdateMonitor,
it becomes the single source of truth about which carrier name should be
shown.

Bug: 138456731
Bug: 151600673
Test: manual and unittest
Change-Id: Ida3a90c5408b056cad7a79fbba84fe880ce1e5be
Merged-In: Ida3a90c5408b056cad7a79fbba84fe880ce1e5be
(cherry picked from commit 5c63b51d9e)
2020-03-17 19:29:12 +00:00
Evan Laird
bc95ab7a39 DO NOT MERGE: Use status_bar_padding_top
In status bar, keyguard, and quicksettings, things that live in the
"status bar" area now properly obey status_bar_padding_top.

Also refresh layout resources on configuration change in the status bar,
fixing a couple of annoying bugs

Test: manual
Bug: 151221263
Change-Id: Ib4474ae2bd52919c2eecf9400c2711fd224fcc09
2020-03-17 17:44:57 +00:00
Automerger Merge Worker
d43c32f803 Merge "Pad ime_switcher same as navbar buttons" am: c5d8c9b1aa am: 6b98b93aac
Change-Id: I7d8087a3692ec9d2b6e86f35b4ff13250b27d8c1
2020-03-14 01:48:24 +00:00
Lucas Dupin
c5d8c9b1aa Merge "Pad ime_switcher same as navbar buttons" 2020-03-14 01:17:12 +00:00
Automerger Merge Worker
bf75efd7b6 Merge "Smoother signal bar transition during CBRS data switching" am: c67dbaa94c am: 6c5e9c680c
Change-Id: I0370ca08673c969f349f42daf19125eaef9e5aa6
2020-03-14 00:19:22 +00:00
Malcolm Chen
10409ddcde Smoother signal bar transition during CBRS data switching
Upon CBRS switch or any data switch between a group, assume the target
sub validated up to 2 seconds if the previous data sub was validated.

Bug: 131776846
Test: manual - switch data between primary and CBRS and observe signal
bar transitions.

Change-Id: I45d2558510bcd1b86b001f723bbd3dd8dc3a3914
Merged-In: I45d2558510bcd1b86b001f723bbd3dd8dc3a3914
2020-03-13 23:51:45 +00:00
TreeHugger Robot
5fe2090213 Merge "DO NOT MERGE Optimizing ScreenDecorations performance" into qt-qpr1-dev 2020-03-13 16:55:51 +00:00
Bill Lin
a1c9c5433d DO NOT MERGE Optimizing ScreenDecorations performance
Avoid calling onTuningChanged() when onConfigurationChanged() trigger
Only calling onTuningChanged() when roundedCornersChanged is true.

Test: atest SystemUITests
Test: atest ScreenDecorationsTest
Bug: 148912090
Change-Id: I2507d12b277d058cef390d7c55488d0d09dde206
Merged-In: Ie33526214072ad324ca00a10074ad212dfbf4258
2020-03-13 09:53:48 +00:00
Automerger Merge Worker
513aa37296 Merge "Either reuse sensor values or don't dim down at all" into qt-qpr1-dev am: 6a1b278be8
Change-Id: I9808c3722f7d7870cbbca3add759319c2b2734a6
2020-03-13 01:02:34 +00:00
Lucas Dupin
6a1b278be8 Merge "Either reuse sensor values or don't dim down at all" into qt-qpr1-dev 2020-03-13 00:46:24 +00:00
Lucas Dupin
2263309459 Either reuse sensor values or don't dim down at all
ALS latency is unpredictable and sometimes debounced. This means that it
might take at least 3 seconds for the display to wake-up, if it wakes-up
at all. We might also get stuck and never show HUNs if the event doesn't
arrive.

This is a bug that we had in the past, but was not as noticeable because
the padlock was below the scrims, now, users are reporting that the
padlock shows up, but the hun is not.

Test: manual
Fixes: 150852696
Change-Id: Iade5ebd4c33e7c9d668b09144964f1408ef529ad
Merged-In: Iade5ebd4c33e7c9d668b09144964f1408ef529ad
2020-03-12 20:01:13 +00:00
Automerger Merge Worker
c01660a6c4 DO NOT MERGE Ignore insets on status_bar_container am: ae242892e2
Change-Id: Ia10fafd4305397064ef67c955d54c77dc9cd02c1
2020-03-12 04:36:02 +00:00
Automerger Merge Worker
889ce3e268 Merge "Camera: Add new hidden API for camera open/close callback" into qt-qpr1-dev am: ca1872dc0d
Change-Id: Ia2cb5520d80f2bcc3c1d6149ac31c281d24ba720
2020-03-12 04:35:30 +00:00
TreeHugger Robot
41edb22d75 Merge "DO NOT MERGE Ignore insets on status_bar_container" into qt-qpr1-dev 2020-03-11 20:48:55 +00:00
Automerger Merge Worker
859258cc27 Merge "SystemUI: Disable heads up debugging on user builds" am: 6bb11e48ec am: 454c145b6f
Change-Id: I0d769d6862846594df5510711ceb4fedb4cd9cf3
2020-03-11 20:34:20 +00:00
Automerger Merge Worker
c84f3239ae Merge "NfcTile: Update style to match current UI" am: 2c4007641b am: f27ff68d8c
Change-Id: I80b3bf2b86222e1da9385163be3295b309f9ae6c
2020-03-11 20:33:49 +00:00
Automerger Merge Worker
2b468ede41 API Council Feedbacks am: 9ae1afee27 am: f4ed9f5712
Change-Id: I4d0f0e5967942052a1333a518eb07531294fe084
2020-03-11 20:31:06 +00:00
Automerger Merge Worker
454c145b6f Merge "SystemUI: Disable heads up debugging on user builds" am: 6bb11e48ec
Change-Id: I4e385793e8829bf819ec589883216e98711b9443
2020-03-11 20:24:55 +00:00
Automerger Merge Worker
f27ff68d8c Merge "NfcTile: Update style to match current UI" am: 2c4007641b
Change-Id: Ia971357809197ca87e20e26cf8cb1c03edbfc657
2020-03-11 20:22:52 +00:00
Automerger Merge Worker
5f748eea73 [DO NOT MERGE] Allows the Assistant to request suppression of fling am: ace57ca0df
Change-Id: I3bd66d74f1d7e777fa11ad106352197140497a6b
2020-03-11 20:05:07 +00:00
Shuzhen Wang
ca1872dc0d Merge "Camera: Add new hidden API for camera open/close callback" into qt-qpr1-dev 2020-03-11 19:29:42 +00:00
Shuo Qian
e03edaba0e Merge "API Council Feedbacks" 2020-03-11 19:24:35 +00:00
Treehugger Robot
6bb11e48ec Merge "SystemUI: Disable heads up debugging on user builds" 2020-03-11 19:02:30 +00:00
Treehugger Robot
2c4007641b Merge "NfcTile: Update style to match current UI" 2020-03-11 18:58:09 +00:00
Govinda Wasserman
fe399658d8 Merge "[DO NOT MERGE] Allows the Assistant to request suppression of fling" into qt-qpr1-dev 2020-03-11 18:19:26 +00:00
Automerger Merge Worker
ba902e1720 Merge "Fix potential NPE while releasing worker thread of ImageWallpaper" into qt-qpr1-dev am: 85fc58ae81
Change-Id: I01505011f19a3e8288ab0ad4ae17d9361a201b00
2020-03-11 03:26:02 +00:00
TreeHugger Robot
85fc58ae81 Merge "Fix potential NPE while releasing worker thread of ImageWallpaper" into qt-qpr1-dev 2020-03-11 03:01:24 +00:00
Automerger Merge Worker
090d1d36d4 Merge "Properly rotate cutout protection rect" into qt-qpr1-dev am: d87fd3b56a
Change-Id: I84e236c134f62bca959700e320ba3e8c0d4e2dd6
2020-03-11 02:01:09 +00:00
Lucas Dupin
d87fd3b56a Merge "Properly rotate cutout protection rect" into qt-qpr1-dev 2020-03-11 01:48:46 +00:00
Automerger Merge Worker
114af68167 DO NOT MERGE: Allow corner UI to decouple from rounded_corner_radius am: 9315832913
Change-Id: Ibb20784ebb89435c419952a55cf1673cd1b39009
2020-03-11 01:42:09 +00:00
TreeHugger Robot
ead4f22509 Merge "DO NOT MERGE: Allow corner UI to decouple from rounded_corner_radius" into qt-qpr1-dev 2020-03-11 01:22:42 +00:00
Evan Laird
9315832913 DO NOT MERGE: Allow corner UI to decouple from rounded_corner_radius
frameworks/base/core/res/res/dimens value rounded_corner_radius can
change not to reflect the actual device size due to tuning the rounding
on window corners.

This change allows us to decouple corner UI's idea of what the corner
size is from the framework dimension

Test: manual
Change-Id: I6548d74921d6e71250486984869572bdd304b0d0
2020-03-10 23:04:05 +00:00
Shuo Qian
9ae1afee27 API Council Feedbacks
1) Update doc of ACTION_UPDATE_EMERGENCY_NUMBER_DB
2) Add new APIs EXTRA_VERSION and EXTRA_REQUIRED_HASH
3) Rename isDataConnectionEnabled to IsDataConnectionAllowed
4) Format the API documentations with html format
5) Throw errors for shutdownAllRadios, isAnyRadioPoweredOn
6) Modify the doc of TelephonyManager.getEmergencyNumberDbVersion
7) Add UPDATE_CONFIG permission for ACTION_UPDATE_EMERGENCY_NUMBER_DB

Test: Treehugger; Manual made a call; make -j offline-sdk-docs
Bug: 147696692
Bug: 147805285
Bug: 148217670
Bug: 148218347
Change-Id: Idf3dee3de5ebf75ca8b8fbaaf879e69f7ae4b754
Merged-In: Idf3dee3de5ebf75ca8b8fbaaf879e69f7ae4b754
(cherry picked from commit dc86120fca)
2020-03-10 21:53:36 +00:00
Lucas Dupin
7890462180 Properly rotate cutout protection rect
Test: visual
Fixes: 151054867
Change-Id: I4840e7650b30d9ce6f73c0e2ea0d0b3b47222fb4
2020-03-10 14:24:07 -07:00
Automerger Merge Worker
33ffa7eb73 DO NOT MERGE Add null check for status bar transitions am: 447394f908
Change-Id: Iab3270a54b353c9976937d1b75c7f9b7470ae156
2020-03-10 21:22:54 +00:00
Automerger Merge Worker
ee991b5502 Merge "Add error code for BluetoothDevice#getBatteryLevel to represent Bluetooth is off" am: 1bb18d83eb am: 4e85f7bb92
Change-Id: Ibc00e82d638cc4307c4356adb79cb7a92c3b70bc
2020-03-10 21:02:08 +00:00
Govinda Wasserman
ace57ca0df [DO NOT MERGE] Allows the Assistant to request suppression of fling
Test: Tested locally
BUG: 150688842
Change-Id: I8e8b2ccb87d9ff48d5a287f12ca9a6a2240a2cdb
2020-03-10 15:47:15 -04:00
Shuzhen Wang
e375ee8f8a Camera: Add new hidden API for camera open/close callback
The hidden API is used by SystemUI process to adjust the system UI based
on when a certain camera is opened or closed.

Test: Manually observe callbacks in SystemUI when running camera CTS
Bug: 150540299
Change-Id: I04cae782d96f0e32be8ef588dcd328f84b32887a
Merged-In: I04cae782d96f0e32be8ef588dcd328f84b32887a
2020-03-10 11:34:26 -07:00
Treehugger Robot
1bb18d83eb Merge "Add error code for BluetoothDevice#getBatteryLevel to represent Bluetooth is off" 2020-03-10 17:28:27 +00:00
Automerger Merge Worker
5dda186df7 Merge "Switched out PhoneConstants.PhoneKey" am: 2be788e16d am: 87f18929be
Change-Id: Ic57958a340686ee141cd207641c1e22ae9c8251e
2020-03-10 17:19:50 +00:00
Dave Mankoff
70db873eea Allow two finger swipes down.
Bug: 140715042
Test: atest SystemUITests
Change-Id: Iebfec76045897818cec89f588ebd1d72a782c942
2020-03-10 11:39:39 -04:00
Daniel Bright
71d3dacaa7 Switched out PhoneConstants.PhoneKey
Test: FrameworksTelephonyTests TeleServiceTests TelephonyProviderTests
Bug: 147465477
Merged-In: I2e147c9dc4383f7979740f2fd3ded44cd7d060e4
Change-Id: I2e147c9dc4383f7979740f2fd3ded44cd7d060e4
2020-03-09 18:03:23 -07:00