OSDN Git Service
Hyunyoung Song [Tue, 20 Aug 2019 07:53:24 +0000 (00:53 -0700)]
[DO NOT MERGE] qt-qpr1-sysui-dev @ build
5814791
Test: presubmit setup on source branch
Bug:
130289146 Create a Gradle build for SystemUI
Bug:
136279712 Daggerize FalsingManager
Bug:
137324767 "Unable to instantiate service com.android.systemui.doze.DozeService" exception breaks launcher tests
Bug:
137563419 Remove Bouncer reveal delay from bypass flow
Bug:
138787339 Allow Services and Activities to be injected into directly.
Bug:
139128921 [AS 3.5 RC2, SDK API 29 rev 2] Overload resolution ambiguity: while removing element from HashMap
Bug:
64712476 Import translations for dev branches
Change-Id: Ib7fd4706c070907fd556c3532957f3b1b046de6d
Curtis Belmonte [Tue, 20 Aug 2019 01:11:59 +0000 (01:11 +0000)]
Merge "Fix face auth not triggering after lock icon pressed" into qt-qpr1-dev
Nathan Harold [Mon, 19 Aug 2019 23:58:38 +0000 (23:58 +0000)]
Merge "Add Debounce text to ACTION_NETWORK_COUNTRY_CHANGE" into qt-qpr1-dev
Daniel Sandler [Mon, 19 Aug 2019 23:34:20 +0000 (16:34 -0700)]
Merge "ktlint fixes" into qt-qpr1-dev
am:
34c392a367
Change-Id: I50226b10f8aa5bf3d4714d61bc90f86b60609eee
Dave Mankoff [Mon, 19 Aug 2019 23:33:37 +0000 (16:33 -0700)]
Merge "Allow for more wiggle room (literally) in BrightlineFalsingManager." into qt-r1-dev am:
9dccbdca70
am:
48fffed698
Change-Id: I919b6630f503ae7b325e0ed4604aab8649fa6a69
Felipe Leme [Mon, 19 Aug 2019 23:32:43 +0000 (16:32 -0700)]
Fixed SystemServiceRegistry to return a null AppPredictionManager when the service is not defined.
am:
87c5855e17
Change-Id: Ibf1e8dce145906729c13c5df7942c5055b86e3e6
Remi NGUYEN VAN [Mon, 19 Aug 2019 23:31:59 +0000 (16:31 -0700)]
Merge "Fix interfaceVersion in DhcpServerCallbacks" into qt-r1-dev am:
9a0d576b4d
am:
bdf173ad92
Change-Id: I79f618af50d2f56ae01f142fcdaab008f288dc40
Jack Yu [Mon, 19 Aug 2019 23:31:07 +0000 (16:31 -0700)]
Merge "Added debug messages and watchdog" into qt-r1-dev am:
24397e7a07
am:
f14bf1ee93
Change-Id: I6ee95a1bfc22b8fc58e1ec2e995e75d343df0925
Kevin Hufnagle [Mon, 19 Aug 2019 23:30:25 +0000 (16:30 -0700)]
Merge "Revert "docs: Added desc. of launcher app criteria in Q"" into qt-dev am:
81d74c6c72 am:
4125bd9b25
am:
e6d042dbb3
Change-Id: I6531484067a7cc84db038bbd96fca7aa6ec3120f
Hongwei Wang [Mon, 19 Aug 2019 23:29:37 +0000 (16:29 -0700)]
Merge "Enables back gesture nav in screen pinning" into qt-r1-dev am:
f8108f81cc
am:
c55e4e668f
Change-Id: I3d96d002604cad286c89c79966ae1f699398e161
Miranda Kephart [Mon, 19 Aug 2019 23:28:49 +0000 (16:28 -0700)]
Merge "Set a minimum height for invocation lights" into qt-qpr1-dev
am:
bec44cdd6f
Change-Id: I974f4b85e1d48d6c22a8583657e31e4fc9835851
Kevin Hufnagle [Mon, 19 Aug 2019 23:27:42 +0000 (16:27 -0700)]
Merge "docs: Added desc. of launcher app criteria in Q" into qt-dev am:
a5e5c177d1 am:
ae80734298
am:
5cf3d202b0
Change-Id: Ib9fb72bc289f254053e277c7af6a64d1ca9fdae3
Brian Duddie [Mon, 19 Aug 2019 23:26:47 +0000 (16:26 -0700)]
Merge "docs: Correct sensor runtime permission documentation" into qt-dev am:
119f1220cd am:
7eeb6f60f9
am:
e1d3f8e84a
Change-Id: I0a824e981f1ecffa7d529f402f17b740f715bae6
Fabian Kozynski [Mon, 19 Aug 2019 23:25:57 +0000 (16:25 -0700)]
Merge "Fix number of pages in PagedTileLayout" into qt-qpr1-dev
am:
41aaa99f9b
Change-Id: I733fabb87ba5966545bb7495bf4e0ee89e5782ae
Prabir Pradhan [Mon, 19 Aug 2019 23:25:04 +0000 (16:25 -0700)]
Merge "apply empty transaction in startActivitySync" into qt-dev am:
f928b661d9 am:
5cd874d792
am:
fa6f50e13d
Change-Id: I563c3459ec859b62d100a9103f9e741c9088d686
Wei Wang [Mon, 19 Aug 2019 23:24:10 +0000 (16:24 -0700)]
Merge "ThermalService: add event log when temperature changed" into qt-qpr1-dev
am:
a046613c02
Change-Id: I28f65acb31eac27869a245e2e9e13ffea45748d0
Daniel Sandler [Mon, 19 Aug 2019 22:41:36 +0000 (22:41 +0000)]
Merge "resolve merge conflicts of
07d866a10e2633902270173108eb6d9d53e31eac to qt-qpr1-sysui-dev" into qt-qpr1-sysui-dev
Kevin Chyn [Mon, 19 Aug 2019 22:08:27 +0000 (15:08 -0700)]
Merge "Remove unused setting" into qt-r1-dev
am:
95a675ce91
Change-Id: I5d1d1d70a0936c4542d26f7f7216a2d6a66eb1e6
Curtis Belmonte [Fri, 16 Aug 2019 21:32:14 +0000 (14:32 -0700)]
Fix face auth not triggering after lock icon pressed
Long-pressing on the lock icon after the device has been unlocked causes
it to relock until the user manually authenticates. This intentionally
disables face unlock, since we don't want the device to unlock again
immediately after the lock icon has been pressed. However, when the
device screen turns off, pressing the power button again should
re-trigger face auth.
This commit fixes a bug in that flow where, if a user long presses the
lock icon, then turns the screen off and back on very quickly, face auth
is not retriggered. It does this by resetting the lock icon pressed
status when the device begins going to sleep, rather than when the
screen has been fully turned off.
Test: manual
1. Enroll face and turn off "skip lock screen"
2. Lock device, then wake and unlock with face
3. Long-press on the lock icon to relock device
4. Enter PIN/pattern/password to unlock the device
5. Press power twice in quick succession (without triggering camera)
Before: Lock screen would be shown but face auth would not trigger
After: Lock screen is shown and face auth is triggered
Fixes:
138974321
Change-Id: I7d6a8c2b9cc95d3003f006a403866796dab67e82
Merged-In: Icecd7cb76688cd19f7e3b445a8228b21e1599068
Kevin Chyn [Mon, 19 Aug 2019 21:50:22 +0000 (21:50 +0000)]
Merge "Remove unused setting" into qt-r1-dev
Roy Want [Mon, 19 Aug 2019 21:02:46 +0000 (14:02 -0700)]
Merge "Increased precision of Lat/Lng decoder and enabled BSSID list to be explicit (client)" into qt-r1-dev
am:
4e027572e3
Change-Id: Ic1ad369b2571259930e080574d7ce4c994940308
Nate Fischer [Mon, 19 Aug 2019 20:41:11 +0000 (13:41 -0700)]
Merge "WebView: prettyprint docs" into qt-dev am:
20f2f0b5ea
am:
6201d28952
Change-Id: I06fdaa6d8f5b5d1cc75263338c8bb56da9bcca51
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
Mihir Patel [Mon, 19 Aug 2019 20:34:24 +0000 (13:34 -0700)]
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
am:
4aa0aeadff
Change-Id: Iadf1c43fc5b38ab432e4bc2f47d50dd911f725ed
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
Jordan Liu [Mon, 19 Aug 2019 20:16:33 +0000 (20:16 +0000)]
Merge "Do not notify SS change with invalid subId" into qt-qpr1-dev
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
TreeHugger Robot [Mon, 19 Aug 2019 19:06:32 +0000 (19:06 +0000)]
Merge "WebView: prettyprint docs" into qt-dev
SongFerng Wang [Mon, 19 Aug 2019 18:26:03 +0000 (18:26 +0000)]
Merge "Extends carrier config KEY_5G_ICON_CONFIGURATION_STRING to support more scenarios." into qt-qpr1-dev
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
(cherry picked from commit
369246b4cc3143a42eb176057d168473783d3d6b)
Bill Yi [Sun, 18 Aug 2019 07:16:04 +0000 (00:16 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-r1-dev
am:
4769e819e9 -s ours
am skip reason: subject contains skip directive
Change-Id: I28086d495911ad8df40e2e77bc888722864cec48
TreeHugger Robot [Sun, 18 Aug 2019 06:47:23 +0000 (06:47 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev
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
Bill Yi [Sun, 18 Aug 2019 01:56:09 +0000 (18:56 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-r1-dev
am:
ab5629ef3c -s ours
am skip reason: subject contains skip directive
Change-Id: Ibfef1d8782bff3f4d211105fa8069f7c8d368e67
TreeHugger Robot [Sun, 18 Aug 2019 01:42:27 +0000 (01:42 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev
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
Bill Yi [Sat, 17 Aug 2019 16:56:45 +0000 (09:56 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-r1-dev
am:
6f1fc7fd3f -s ours
am skip reason: subject contains skip directive
Change-Id: I9ef48ef60149032f1b5fdc65c56ff6f53f1072cd
TreeHugger Robot [Sat, 17 Aug 2019 16:37:30 +0000 (16:37 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev
Chiachang Wang [Sat, 17 Aug 2019 14:17:48 +0000 (07:17 -0700)]
Merge "Get resource based on subId for multi-SIM" into qt-r1-dev
am:
559e7a3de1
Change-Id: I0183e42f4b116c6fc44147a9ab6ef7d800bd3687
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
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
Mehdi Alizadeh [Thu, 15 Aug 2019 23:31:38 +0000 (16:31 -0700)]
Skip using the AppPredictionService if the component is not available
This CL adds a safeguard in ShareSheet to avoid calls to
AppPredictionService when the service is defined but is not available,
for example in the case of a wrong AiAi apk pushed from GooglePlay.
Bug:
138595943
Test: Manual test by removing the AiAi package from device
Change-Id: I4109c5122faa753d5111ee45698301cb6ccdd7b5
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
Ryan Mitchell [Fri, 16 Aug 2019 20:11:37 +0000 (13:11 -0700)]
Merge "Do not stop idmap2d after OMS initialization" into qt-r1-dev
am:
3186b40edf
Change-Id: I0374997faf945a2cd60179cf1c35a7fbcd255285
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
Jordan Liu [Mon, 24 Jun 2019 18:27:34 +0000 (11:27 -0700)]
Do not notify SS change with invalid subId
(This is a reupload of ag/
8541406.)
If a service state change is reported as a subscription is becoming
invalid (i.e. no longer connected to a phone), the current behavior can
sometimes notify this change to all PhoneStateListeners regardless of
which subId they registered to listen on (namely this happens when the
subscription was attached to the default phone).
This change removes that behavior so that no listeners are notified if
the subscription is invalid.
Test: manually verified on DSDS that when
1. erasing eSIM when it is default and
2. removing pSIM when it is default,
the service state triangle for the other SIM is unaffected
Also made sure that signal strength is rebroadcast when sub becomes
valid, so b/
138357571 did not show up 5/5 times
Bug:
133140128
Change-Id: I2ba6a971fff4e29ccd2166c381308fcd953f5bc0
SongFerngWang [Wed, 14 Aug 2019 08:59:29 +0000 (16:59 +0800)]
Extends carrier config KEY_5G_ICON_CONFIGURATION_STRING to support more scenarios.
Add RRC state condition to support more scenarios.
Carrier config KEY_5G_ICON_CONFIGURATION_STRING change default value.
Bug:
138932186
Test: atest NetworkControllerDataTest.java#testNr5GIcon_NrNotRestrictedRrcCon_show5GIcon
atest NetworkControllerDataTest.java#testNr5GIcon_NrNotRestrictedRrcIdle_show5GIcon
Change-Id: Icb8af599f95a09c5e709f00d7710e018218a23cc
TreeHugger Robot [Fri, 16 Aug 2019 01:59:02 +0000 (01:59 +0000)]
Merge "Update the string on how to exit pinning mode in gesture navigation" into qt-qpr1-dev
Adrian Roos [Thu, 15 Aug 2019 20:41:58 +0000 (13:41 -0700)]
Merge "API: Explicitly track incompatibilities with previous API versions" into qt-dev am:
d3b53e080d
am:
1ac726e718
Change-Id: Ie0aa594144d841a3a5f3ead1c67fb543b06f7593
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
Lucas Dupin [Thu, 15 Aug 2019 18:41:52 +0000 (11:41 -0700)]
Only delay bouncer if bypass is off
Test: pull up bouncer with bypass on and off
Test: atest KeyguardBouncerTest
Fixes:
137563419
Change-Id: I5ca00ebacda2c893bf62d5c882fe0a244b77f4fc
Hongwei Wang [Wed, 14 Aug 2019 21:55:27 +0000 (14:55 -0700)]
Update the string on how to exit pinning mode in gesture navigation
Bug:
139438042
Test: Back gesture in screen pinning mode
Change-Id: Ia21e0324cb9a78c6664f4ba787189c6a2423a03d
Merged-In: Ia21e0324cb9a78c6664f4ba787189c6a2423a03d
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 15:41:34 +0000 (15:41 +0000)]
Merge changes from topic "
b138787339-daggerize" into qt-qpr1-dev
* changes:
Pass FalsingManager down through more classes.
Allow Services to be created through Dagger.
Daniel Sandler [Thu, 15 Aug 2019 15:21:54 +0000 (15:21 +0000)]
Merge "ktlint fixes" into qt-qpr1-dev
Dave Mankoff [Thu, 15 Aug 2019 14:53:35 +0000 (07:53 -0700)]
Merge "Allow for more wiggle room (literally) in BrightlineFalsingManager." into qt-r1-dev
am:
9dccbdca70
Change-Id: I56ca831bd6929c8692ac4c93aed52d5c1fb46e24
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
Felipe Leme [Thu, 15 Aug 2019 01:14:55 +0000 (18:14 -0700)]
Fixed SystemServiceRegistry to return a null AppPredictionManager when the service is not defined.
Test: manual verification
Test: atest CtsAssistTestCases
Fixes:
139416391
Change-Id: Ieb2ae3f39bd42dc077ed3db1c6acdf429a39d519
Remi NGUYEN VAN [Thu, 15 Aug 2019 03:44:53 +0000 (20:44 -0700)]
Merge "Fix interfaceVersion in DhcpServerCallbacks" into qt-r1-dev
am:
9a0d576b4d
Change-Id: Ibea00c309b18939c12275d760ee35539e0b157ba
Jack Yu [Thu, 15 Aug 2019 03:34:47 +0000 (20:34 -0700)]
Merge "Added debug messages and watchdog" into qt-r1-dev
am:
24397e7a07
Change-Id: I22a4a8e6599e46a0c3aba931af82bf98d7f48ece
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:44:51 +0000 (17:44 -0700)]
Merge "Revert "docs: Added desc. of launcher app criteria in Q"" into qt-dev am:
81d74c6c72
am:
4125bd9b25
Change-Id: I546bb1192d0cd85a8d8f0df1e723aebdc4718020
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 21:31:18 +0000 (14:31 -0700)]
Merge "Enables back gesture nav in screen pinning" into qt-r1-dev
am:
f8108f81cc
Change-Id: Ibc491beb050da96ea742194c0f539d44c46f845b
TreeHugger Robot [Wed, 14 Aug 2019 21:23:10 +0000 (21:23 +0000)]
Merge "Removing unnecessary R.java declaration for subpackages, to make gradle setup simpler" into qt-qpr1-sysui-dev
TreeHugger Robot [Wed, 14 Aug 2019 21:12:29 +0000 (21:12 +0000)]
Merge "Set a minimum height for invocation lights" into qt-qpr1-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:36:06 +0000 (13:36 -0700)]
Merge "docs: Added desc. of launcher app criteria in Q" into qt-dev am:
a5e5c177d1
am:
ae80734298
Change-Id: I7e0d4b86a69c3976cff1e058240c2292891f4951
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:19:42 +0000 (13:19 -0700)]
Merge "docs: Correct sensor runtime permission documentation" into qt-dev am:
119f1220cd
am:
7eeb6f60f9
Change-Id: Ib01177a1863818238d5998628252dc5c4372e06d
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
TreeHugger Robot [Wed, 14 Aug 2019 19:46:16 +0000 (19:46 +0000)]
Merge "Fix number of pages in PagedTileLayout" into qt-qpr1-dev
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
Sunny Goyal [Wed, 14 Aug 2019 00:39:10 +0000 (17:39 -0700)]
Removing unnecessary R.java declaration for subpackages, to make gradle setup simpler
Removed:
com.android.settingslib.restrictedlockutils
com.android.settingslib.helputils
com.android.keyguard
Moving sysui settings to use sysui settings resource package name
Test: Everything compiles / presubmit
Bug:
130289146
Change-Id: I5d760fa2f04439d24b455839f7bdd5cc499e840f
Dave Mankoff [Fri, 28 Jun 2019 20:33:25 +0000 (16:33 -0400)]
Pass FalsingManager down through more classes.
The CP's http://ag/c/
8269205, with some minor modifications.
This removes FalsingManagerFactory, replacing it with
calls to Depedency.get() and pushes those calls further
up the stack in hopes that the FalsingManager can be directly
injected where it's needed in the future.
Contains a few random lint cleanups.
Bug:
136279712
Test: atest SystemUITests
Change-Id: Idd66e40d3bb9ebe9ca583166d5e961cc70ea51b8
Merged-In: Ie24acd33b0d81ae2112aead0c0d5a8658e04994e
Dave Mankoff [Wed, 3 Jul 2019 17:26:55 +0000 (13:26 -0400)]
Allow Services to be created through Dagger.
This is a significant change that allows Services to have their
constructed injected into.
The DozeService is now labeled as injectable (thought it takes no arguments).
At least one Service has to be marked as injectable for Dagger to be happy
compiling this code.
Bug:
138787339
Test: atest SystemUITests
Change-Id: I0ec92e01dd236bcee3083c8f8744c53b7ccc92d3
Merged-In: Ib58f8763c996fbc2aea07ead56493d2d9e936f5b
Dan Sandler [Wed, 14 Aug 2019 17:52:54 +0000 (13:52 -0400)]
ktlint fixes
Test: compile
Change-Id: Ib7ea80a04527034ed704229962fe124817e4c679
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.
Julia Tuttle [Wed, 14 Aug 2019 16:25:38 +0000 (12:25 -0400)]
resolve merge conflicts of
07d866a10e2633902270173108eb6d9d53e31eac to qt-qpr1-sysui-dev
Bug: None
Test: I solemnly swear I tested this conflict resolution.
Change-Id: Icfe845572ea5654aae145e771a593cd66eff2305
Govinda Wasserman [Tue, 13 Aug 2019 15:35:44 +0000 (11:35 -0400)]
Refactor SysUI to allow daggerization of implementations
Test: Tested locally
Change-Id: I7ccbc2aff1d911e255183c5468f10d4dd016dd86
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:53:13 +0000 (01:53 -0700)]
Merge "apply empty transaction in startActivitySync" into qt-dev am:
f928b661d9
am:
5cd874d792
Change-Id: I9c9ac83d6466c1d9c5ac666cfcfe0920b276ffdc
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
Wei Wang [Wed, 14 Aug 2019 03:41:44 +0000 (03:41 +0000)]
Merge "ThermalService: add event log when temperature changed" into qt-qpr1-dev
TreeHugger Robot [Tue, 13 Aug 2019 23:10:04 +0000 (23:10 +0000)]
Merge "Fix double auth issue" into qt-qpr1-dev
Felipe Leme [Tue, 13 Aug 2019 22:50:19 +0000 (15:50 -0700)]
Merge "Don't start intelligence services that are not provided by the OEM." into qt-qpr1-dev
am:
4e8070890a
Change-Id: I8b84c4d3148bc743b1c328399366cdcc7f429263
Govinda Wasserman [Tue, 13 Aug 2019 22:31:32 +0000 (22:31 +0000)]
Merge "Allow assistant handles to be requested by the assistant" into qt-qpr1-sysui-dev
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
TreeHugger Robot [Tue, 13 Aug 2019 21:52:56 +0000 (21:52 +0000)]
Merge "Don't start intelligence services that are not provided by the OEM." into qt-qpr1-dev
Wei Wang [Thu, 1 Aug 2019 18:51:15 +0000 (11:51 -0700)]
ThermalService: add event log when temperature changed
Bug:
126562025
Test: Use emul_temp to test event log
Change-Id: I4271d226f106cfd61960f858429de8042fb5a7c8
(cherry picked from commit
d295b27c3ad54cc67b0a0a6a96fba88e458b1548)
Vagdevi Kondeti [Tue, 13 Aug 2019 19:23:25 +0000 (12:23 -0700)]
Merge "[AT&T] Add key to show 4g for 3g RAT." into qt-r1-dev am:
d7a23cc714
am:
0e3973b1b0
Change-Id: If5ff94e19f5a3f3965e45830c15970f1d2c18b91
Vagdevi Kondeti [Tue, 13 Aug 2019 19:07:31 +0000 (12:07 -0700)]
Merge "[AT&T] Add key to show 4g for 3g RAT." into qt-r1-dev
am:
d7a23cc714
Change-Id: I6ac937185796a11cba2efe513877ed330915290a