OSDN Git Service
Pengquan Meng [Thu, 15 Aug 2019 00:57:33 +0000 (17:57 -0700)]
Add geo targeting implementation
This CL adds support for geo targeting, including determining whether a
point is inside a simple polygon and circle.
For the judgment of the point in the polygon, the algorithm implemented
here simply considers the spherical polygon as a 2d plane polygon, which
may be not precisely. However, according to the test of real geographical
coordinates data i.e state/city/stree boundary data, this error is less than
10 meters that within 160 meters requires by the spec.
Bug:
123096618
Test: atest GeoUtils
Merged-In: I51e1fad3b48c1a58fa0510f97d9f5f9335779c30
Change-Id: I51e1fad3b48c1a58fa0510f97d9f5f9335779c30
(cherry picked from commit
7fbc74b66b58dd57deedb7336c5c1e2f0f9e2064)
SongFerng Wang [Wed, 21 Aug 2019 03:16:52 +0000 (03:16 +0000)]
Merge "To modify 5G icon carrier config's comment: 5GPlus to 5G_Plus" into qt-qpr1-dev
James Lin [Wed, 21 Aug 2019 03:14:05 +0000 (03:14 +0000)]
Merge "Remove the Phone registration error notification" into qt-qpr1-dev
Selim Cinek [Wed, 21 Aug 2019 00:27:18 +0000 (17:27 -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:
776d0367b0 -s ours
am skip reason: change_id I8f7bd7a6a0562942ed3e12f28705043722d177e8 with SHA1
65c96f2fd4 is in history
Change-Id: I581e414b3e50377facc94d1145c6976f4779da05
Selim Cinek [Wed, 21 Aug 2019 00:22:20 +0000 (17:22 -0700)]
Merge "EglDisplay may be null and cause Null point exception" into qt-r1-dev
am:
aec6b61816
Change-Id: Ie20c919bb28fb365d249c173786117519c4db973
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
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
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
Chong Zhang [Tue, 20 Aug 2019 23:22:35 +0000 (23:22 +0000)]
Merge "Only allow mediaserver to report video battery stats" into qt-qpr1-dev
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
SongFerngWang [Tue, 20 Aug 2019 14:32:16 +0000 (22:32 +0800)]
To modify 5G icon carrier config's comment: 5GPlus to 5G_Plus
Bug:
138932186
Test: build pass
Change-Id: Ic8625f44a5ad23a307cfb280b85bfb27da2f2b06
Lucas Dupin [Sat, 17 Aug 2019 00:01:28 +0000 (17:01 -0700)]
Remove main thread IPC
Test: pull down shade with phone locked and dynamic privacy
Fixes:
139308527
Change-Id: Ie79a2865a9ecf591451dfd4dd10eb523d10862c9
Jayachandran Chinnakkannu [Tue, 20 Aug 2019 17:51:22 +0000 (10:51 -0700)]
Merge "Fixed null callback issue" into qt-r1-dev
am:
f3395734e8
Change-Id: I438b53eec3edf8de1f9046ea820f7fdfd17f4249
Jayachandran Chinnakkannu [Tue, 20 Aug 2019 17:37:03 +0000 (17:37 +0000)]
Merge "Fixed null callback issue" into qt-r1-dev
Beverly Tai [Tue, 20 Aug 2019 15:13:16 +0000 (15:13 +0000)]
Merge "Update bootanim theme flag on ui_night_mode change" into qt-qpr1-dev
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
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
Beverly [Mon, 22 Jul 2019 21:15:58 +0000 (17:15 -0400)]
Update bootanim theme flag on ui_night_mode change
persist.sys.theme should always be consistent with ui_night_mode
Fixes bug where persist.sys.theme wasn't retained after
restoring from another device.
Test: atest google/perf/boottime/boottime-test -v
Fixes:
139301893
Change-Id: Ib923a483f0817aa6a75d407bd09c32b960083146
Merged-In: Ib923a483f0817aa6a75d407bd09c32b960083146
(cherry picked from commit
4f2ff8e959c67ac210680139794b1cc2bc03f81f)
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
James.cf Lin [Wed, 7 Aug 2019 07:41:45 +0000 (15:41 +0800)]
Remove the Phone registration error notification
When the Phone registration status changes and back to
service, remove the Phone error notification automatically.
Bug:
136535506
Test: manual
Change-Id: I3ac19c09a37c4f62ddcf64e8660a7e925648f4dd
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
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
Chong Zhang [Thu, 8 Aug 2019 22:43:44 +0000 (15:43 -0700)]
Only allow mediaserver to report video battery stats
We can't track video stats accurately if it's reported from
app side MediaCodec. If the app dies, video stats get stuck
in On state forever. This can be easily triggered by forcefully
kill and app that uses MediaCodec from app side (instead of
through mediaserver's Recorder or Player service), eg.
launch GoogleCamera app and switch to Video tab, and kill it
from adb shell.
In order to track MediaCodec usage from apps we need to move
the battery stats reporting from MediaCodec into ResourceManager.
(This reverts commit
0fc2da03fe61a4105ffadd2e09f1accc9b790b5a,
since neither video nor audio reports battery from client side.)
bug:
138381810
test:
1. test if app uses MediaCodec directly and it dies off, the video
off is received: launch GoogleCamera app, swipe to Video tab,
"dumpsys batterystats --history" and see +video; now adb shell
kill GoogleCamera, dumpsys should show -video.
2. test app that uses MediaCodec through mediaserver: use Chrome
(which uses MediaPlayer) to play some website with video, kills
Chrome from adb shell, and check -video is received.
In anycase it shouldn't stuck in On state.
Change-Id: I17ce96715f20e9d29e4f429995e48294d5fd5cb7
(cherry picked from commit
62a7e0151f8c8760018fd061fd24bd8399ea38d9)
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: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
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.
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
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: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
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
Nathan Harold [Thu, 8 Aug 2019 20:58:43 +0000 (13:58 -0700)]
Add Debounce text to ACTION_NETWORK_COUNTRY_CHANGE
Explain that once a country signal is lost, the broadcast
will be delayed for some time until we are confident that
we have lost visibility to any country (unless we detect
a new country).
Bug:
136036974
Test: make offline-sdk-docs (docstring-only change)
Change-Id: I29536ca2d60968405bb476a97dfbda69487c0013
Miguel de Dios [Tue, 13 Aug 2019 18:13:49 +0000 (11:13 -0700)]
Merge "bootanimation: Change bootanim ioprio to highest in IOPRIO_CLASS_RT" into qt-r1-dev
am:
f64c698ec7
Change-Id: I3f13d721d20a3610880cfc515caa732de121f766
Pinyao Ting [Tue, 13 Aug 2019 18:04:29 +0000 (18:04 +0000)]
Merge "fixes a security vulnerability in slice provider" into qt-qpr1-dev