OSDN Git Service
TreeHugger Robot [Fri, 30 Aug 2019 01:42:12 +0000 (01:42 +0000)]
Merge "Fixed default angle to be Orientation.LEFT_RIGHT" into qt-qpr1-dev
Nikita Ioffe [Thu, 29 Aug 2019 22:16:28 +0000 (15:16 -0700)]
Merge "Unset INSTALL_DISABLE_VERIFICATION flag if install is not from system" into qt-dev am:
b739b582ad
am:
fdbc6edec2
Change-Id: I77aeb84e445e3e199b1b9d2bd37f8ffa5385e8ea
Nikita Ioffe [Thu, 29 Aug 2019 22:09:33 +0000 (15:09 -0700)]
Merge "Unset INSTALL_DISABLE_VERIFICATION flag if install is not from system" into qt-dev
am:
b739b582ad
Change-Id: I14bc50edcee6bcfe5b8979f0186b37486f2eff3f
TreeHugger Robot [Thu, 29 Aug 2019 21:47:30 +0000 (21:47 +0000)]
Merge "Unset INSTALL_DISABLE_VERIFICATION flag if install is not from system" into qt-dev
Mehdi Alizadeh [Thu, 29 Aug 2019 20:47:38 +0000 (20:47 +0000)]
Merge "Rebind to the remote service if AppPrediction is restarted or updated" into qt-qpr1-dev
Kevin Hufnagle [Thu, 29 Aug 2019 00:39:34 +0000 (17:39 -0700)]
Merge "docs: Added desc. of launcher app criteria in Q" into qt-dev am:
b14d2dede2
am:
13e2b970ec
Change-Id: I393ec53ecf097e5ebe4ce2878e149fbf653df622
Kevin Hufnagle [Thu, 29 Aug 2019 00:16:27 +0000 (17:16 -0700)]
Merge "docs: Added desc. of launcher app criteria in Q" into qt-dev
am:
b14d2dede2
Change-Id: Ie0f494cf950278cf1f0ed634fa5bc852852213f3
Kevin Hufnagle [Wed, 28 Aug 2019 22:08:47 +0000 (22:08 +0000)]
Merge "docs: Added desc. of launcher app criteria in Q" into qt-dev
Andrew Solovay [Wed, 28 Aug 2019 20:45:51 +0000 (13:45 -0700)]
Merge "Docs: clarify getSharedPreferences behavior" into qt-dev am:
3791f9b071
am:
73a66dc100
Change-Id: Ie94b91be0696090bc1bcce4a787873886a268396
Mehdi Alizadeh [Fri, 23 Aug 2019 21:44:50 +0000 (14:44 -0700)]
Rebind to the remote service if AppPrediction is restarted or updated
Rebind to the remote AppPredictionService when the service package is
updated. Also adds new restart policy flags in
AbstractMasterSystemService to be able to keep per-user instances in the
cache when service restarts as a result of package data getting cleared,
so that we can revive the existing sessions. This would potentially fix
the issue for other services that try to keep the sessions over data
resets.
Bug:
139445447
Test: Reinstall the AiAi package and verify that suggested apps in launcher are getting updated
Test: Clear data for Device Personalization Services and verify that suggested apps in launcher are getting updated
Test: atest CtsAppPredictionServiceTestCases CtsContentCaptureServiceTestCases
Change-Id: Ie835cb159faa9c0718cd63a3045251444b89e505
Andrew Solovay [Wed, 28 Aug 2019 20:14:39 +0000 (13:14 -0700)]
Merge "Docs: clarify getSharedPreferences behavior" into qt-dev
am:
3791f9b071
Change-Id: I016d0a42219a21833b98432869607c0b41f71c0b
Andrew Solovay [Wed, 28 Aug 2019 18:11:44 +0000 (18:11 +0000)]
Merge "Docs: clarify getSharedPreferences behavior" into qt-dev
Kevin Hufnagle [Thu, 15 Aug 2019 00:23:58 +0000 (17:23 -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: I6a6e17351a6c1234229d1d7eb8147ee2c24ee2c9
Shimi Zhang [Wed, 28 Aug 2019 02:11:45 +0000 (19:11 -0700)]
Merge "aw: Correct doc of addJavascriptInterface()" into qt-dev am:
62c764e29b
am:
a4604013ae
Change-Id: I443bdb67a8e99508788f88f5c377da8dac1aca0d
Shimi Zhang [Wed, 28 Aug 2019 01:59:46 +0000 (18:59 -0700)]
Merge "aw: Correct doc of addJavascriptInterface()" into qt-dev
am:
62c764e29b
Change-Id: Ib1d1aa6262c3571c4c4f284b12dfe1ec5b40e3c8
TreeHugger Robot [Wed, 28 Aug 2019 01:39:59 +0000 (01:39 +0000)]
Merge "aw: Correct doc of addJavascriptInterface()" into qt-dev
Daniel Rosenberg [Wed, 28 Aug 2019 01:23:39 +0000 (18:23 -0700)]
Use mContext directly am:
dd3737611c
am:
6cc5076442
Change-Id: I0d7a49fe556e0b23640aac5546cb2590c790caf2
TreeHugger Robot [Wed, 28 Aug 2019 01:11:01 +0000 (01:11 +0000)]
Merge "Clear binder references and flush operations when destroying NativeInputWindowHandle" into qt-qpr1-dev
Daniel Rosenberg [Wed, 28 Aug 2019 01:10:41 +0000 (18:10 -0700)]
Use mContext directly
am:
dd3737611c
Change-Id: Icf6e6216a789f8f7899eeae39cd253e285d7c98e
Nate Fischer [Tue, 27 Aug 2019 23:37:00 +0000 (16:37 -0700)]
Docs: clarify getSharedPreferences behavior
No change to logic, only documentation.
This updates Context#getSharedPreferences docs:
* Fix a typo ("thead" -> "thread")
* Formatting: use <p> when appropriate, {@link} to other APIs, limit
the @param to only a single sentence
* Mention getSharedPreferences() may actually perform disk IO (this was
undocumented)
* Mention Editor#apply() as well as #commit()
Fixes:
140137651
Test: make docs
Change-Id: I245371d13d4f317c6c522debcdf7938ab783f897
Jayachandran Chinnakkannu [Tue, 27 Aug 2019 22:37:12 +0000 (15:37 -0700)]
Merge "5GE Icon: Show 5G subscript E (italics)" into qt-r1-dev
am:
7a1f8da2fb
Change-Id: Ie2430ea545952ed3630012bbb618332de9e51194
Nikita Ioffe [Tue, 30 Jul 2019 16:10:27 +0000 (17:10 +0100)]
Unset INSTALL_DISABLE_VERIFICATION flag if install is not from system
Bug:
138650665
Test: pushed manual privapp that attempts an install
with INSTALL_DISABLE_VERIFICATION flag.
Checked that PackageVerifier was called.
Change-Id: I041d2e5f6d2609bfe9475f24eefb936f0c8e2a32
Merged-In: I041d2e5f6d2609bfe9475f24eefb936f0c8e2a32
TreeHugger Robot [Tue, 27 Aug 2019 21:54:09 +0000 (21:54 +0000)]
Merge "Ignore hidden views when computing exclusion rects" into qt-qpr1-dev
Jayachandran Chinnakkannu [Tue, 27 Aug 2019 21:46:01 +0000 (21:46 +0000)]
Merge "5GE Icon: Show 5G subscript E (italics)" into qt-r1-dev
Daniel Rosenberg [Tue, 27 Aug 2019 02:29:45 +0000 (19:29 -0700)]
Use mContext directly
We already have the context saved, so we can just use that.
Test: Edited code to force expection path to be called, confirmed
reboot happens
Bug:
138952436
Bug:
140111727
Change-Id: I40e95d72c63f864131f0028c47f121463d0f6dff
Nader Jawad [Thu, 22 Aug 2019 18:24:51 +0000 (11:24 -0700)]
Fixed default angle to be Orientation.LEFT_RIGHT
Fixed issue where in Android Q if no angle measurement
was specified the default gradient orientation of TOP_BOTTOM
was applied instead of the previous behavior of LEFT_RIGHT
Bug:
139822941
Test: Added CTS test to verify GradientDrawableTest
Change-Id: Ia8c53455740a29e1d123c90616066e16ddb4a241
(cherry picked from commit
bd00e4c6c0e56f20d7274817477035c4d4924c3d)
Vishnu Nair [Tue, 20 Aug 2019 16:12:26 +0000 (09:12 -0700)]
Clear binder references and flush operations when destroying NativeInputWindowHandle
NativeInputWindowHandle is the native object associated with InputWindowHandle. The object is lazily
initialized and destroyed when the java object is finalized, running in the finalizer thread. The
native object stores a weak reference to the layer handle and if the layer handle is destroyed before
the reference can be cleaned up, we end up leaking the reference. This is because the ref count
operations do not seem to be flushed. Fix this by explicitly flushing the commands.
Bug:
139375469
Test: Run app launch scripts from bug. Check for startup time regressions and node count increases
between launches
Change-Id: I837f7cd23f94bbcf59910664aec242fcf9c43986
Kevin Hufnagle [Tue, 27 Aug 2019 09:13:09 +0000 (02:13 -0700)]
Merge "docs: Added content desc in ImageView example." into qt-dev am:
eba5156095
am:
230a23e8d2
Change-Id: Ibf9c2193db824ffd49022d9139b520a6d0986c52
Paul Hu [Tue, 27 Aug 2019 09:09:04 +0000 (02:09 -0700)]
Add SocketUtils CTS tests am:
0141ef0948
am:
f770a59ba2
Change-Id: I5306bd2ac124927e45526319b61907634efb5dba
Bill Yi [Tue, 27 Aug 2019 09:01:34 +0000 (02:01 -0700)]
[automerger skipped] Import translations. DO NOT MERGE
am:
693e8cb402 -s ours
am skip reason: subject contains skip directive
Change-Id: I8edc4e192c0b6eed5667611df754216dee16250d
Bill Yi [Tue, 27 Aug 2019 08:42:53 +0000 (01:42 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-r1-dev
am:
b7ad07adad -s ours
am skip reason: subject contains skip directive
Change-Id: Ic727e25a1c2975c797a6425fb662d2f5575ad19c
Adrian Salido [Tue, 27 Aug 2019 08:15:00 +0000 (01:15 -0700)]
Merge "Revert "Hold Display suspend blocker until doze starts"" into qt-r1-dev
am:
c5441b2894
Change-Id: I9877fb4970735e21d31d644602e8e766ef0cf45e
Adrian Salido [Tue, 27 Aug 2019 07:44:15 +0000 (00:44 -0700)]
Merge "DO NOT MERGE DMD: Support minimum refresh rate" into qt-r1-dev
am:
9b94c35a54
Change-Id: I9b2c633e3565c63ca9c8232d1c45d4baaad6e73d
Long Ling [Tue, 27 Aug 2019 06:45:39 +0000 (23:45 -0700)]
[automerger skipped] DO NOT MERGE DMD: Support minimum refresh rate
am:
86ce8f764b -s ours
am skip reason: SHA1
86ce8f764b skipped by user salidoa
Change-Id: I419108f6dcd50404aa298cd9bd29bda765cf9725
Long Ling [Tue, 27 Aug 2019 04:50:03 +0000 (04:50 +0000)]
Merge changes from topic "device_config_for_display_qpr1" into qt-qpr1-dev
* changes:
DMD: Support minimum refresh rate
Allow DeviceConfig to change display settings
Kevin Hufnagle [Mon, 26 Aug 2019 22:10:39 +0000 (15:10 -0700)]
Merge "docs: Added content desc in ImageView example." into qt-dev
am:
eba5156095
Change-Id: I08a66c2da26833978d2ed4b77de175b3bfe78931
Kevin Hufnagle [Mon, 26 Aug 2019 21:05:37 +0000 (21:05 +0000)]
Merge "docs: Added content desc in ImageView example." into qt-dev
TreeHugger Robot [Mon, 26 Aug 2019 20:57:28 +0000 (20:57 +0000)]
Merge "Don't send HOME intent twice when booting from non-system user." into qt-qpr1-dev
Shimi Zhang [Mon, 26 Aug 2019 18:01:12 +0000 (11:01 -0700)]
aw: Correct doc of addJavascriptInterface()
The Javadoc of addJavascriptInterface() mentioned that the injected
Java object will be injected to main frame, but this is not telling
a full picture. The current implementation will inject the Java
object to all the frames actually.
This CL corrected the misleading wording and add a new warning to
explicitly call it out as a security risk.
Bug:
113336656
Test: make ds-docs
Change-Id: Ia79381d1ab38afa963ea7365526749c14e25238c
Long Ling [Sun, 18 Aug 2019 01:02:46 +0000 (18:02 -0700)]
DMD: Support minimum refresh rate
Bug:
139685237
Change-Id: Ib41dee351276d70733fffa18620455e4e6f9ddfc
Long Ling [Thu, 8 Aug 2019 23:05:44 +0000 (16:05 -0700)]
Allow DeviceConfig to change display settings
Allow DeviceConfig to change default refresh rate and 60 hz only
thresholds.
Bug:
139138964
Change-Id: I3bf5f8cf7a99e4723265138004fbbd08102119d9
Felipe Leme [Thu, 22 Aug 2019 23:32:21 +0000 (16:32 -0700)]
Don't send HOME intent twice when booting from non-system user.
When Automotive boots, CarServiceHelperService "restarts" the system user in the background, so it
can be unlocked. Consequently, some boot tasks will be executed twice (triggered from
UserController.startUser() and ActivityManager.systemReady()).
Test: manual verification
Bug:
139502237
Merged-In: Idd8beedf1ea034b47b9756b91404c5a043965c23
Change-Id: Idd8beedf1ea034b47b9756b91404c5a043965c23
Paul Hu [Mon, 26 Aug 2019 03:21:52 +0000 (20:21 -0700)]
Add SocketUtils CTS tests
am:
0141ef0948
Change-Id: I92a6b3e5cb1fa993dfaeacb442cbf6b401dd5996
Bill Yi [Sun, 25 Aug 2019 08:08:16 +0000 (01:08 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I360dde2e3d4eb2abc98c8bd3163ff8d9f7e41112
Bill Yi [Sun, 25 Aug 2019 07:48:06 +0000 (00:48 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: Ida726221a394a3d372b293f4023dfe53658ab926
Santos Cordon [Sat, 24 Aug 2019 03:09:37 +0000 (20:09 -0700)]
Merge "Hold Display suspend blocker until doze starts" into qt-r1-dev
am:
48a86feefe
Change-Id: I15d47b96d0b937c720eca379d34a73da5f00a6d2
Lucas Dupin [Sat, 24 Aug 2019 03:09:10 +0000 (20:09 -0700)]
[automerger skipped] Merge "Only delay bouncer if bypass is off" into qt-r1-dev
am:
255777af56 -s ours
am skip reason: change_id I5ca00ebacda2c893bf62d5c882fe0a244b77f4fc with SHA1
d969b76224 is in history
Change-Id: Iba1881c5ec53168ee0352eb0ebd4b7ab689e52bc
Bill Yi [Sat, 24 Aug 2019 03:08:37 +0000 (20:08 -0700)]
[automerger skipped] Import translations. DO NOT MERGE
am:
1c99d77a36 -s ours
am skip reason: subject contains skip directive
Change-Id: I3d6e4749aeae39286b21e7fb6021c84cc16c40d2
Long Ling [Sat, 24 Aug 2019 03:08:11 +0000 (20:08 -0700)]
Merge changes from topic "device_config_for_display_90" into qt-r1-dev
am:
36da9bb9ff
Change-Id: Ifd67f0360cd4c4b7d48c097af3254b54384f5a6a
Long Ling [Sat, 24 Aug 2019 03:03:00 +0000 (20:03 -0700)]
[automerger skipped] DO NOT MERGE Move device config key high_refresh_rate_blacklist to display_manager
am:
6f13f12213 -s ours
am skip reason: SHA1
6f13f12213 skipped by user longling
Change-Id: I86d6aecba73b729a4292669a24d56b89c27645c6
Long Ling [Sat, 24 Aug 2019 03:02:56 +0000 (20:02 -0700)]
DO NOT MERGE DeviceConfig: Add Name space and keys for Display Manager
am:
66e9298ac6
Change-Id: Id3f8518db5a906aeb626494309c7bb70fdf57d24
TreeHugger Robot [Sat, 24 Aug 2019 02:40:41 +0000 (02:40 +0000)]
Merge "Fix integer overflow in make_timestamp_ns_locked" into qt-qpr1-dev
Pengquan Meng [Fri, 23 Aug 2019 21:53:13 +0000 (21:53 +0000)]
Merge "Support WAC decoding in UMTS format" into qt-qpr1-dev
TreeHugger Robot [Fri, 23 Aug 2019 18:30:39 +0000 (18:30 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev
Neil Fuller [Fri, 23 Aug 2019 14:17:49 +0000 (14:17 +0000)]
Merge "[DO NOT MERGE]Daggerize Android Auto" into qt-qpr1-dev
Govinda Wasserman [Thu, 22 Aug 2019 20:51:48 +0000 (16:51 -0400)]
[DO NOT MERGE]Daggerize Android Auto
Test: tested locally
BUG:
139865326
Change-Id: I38c6f3bf8a8c43997251b1f13b3f2fb4533d15f2
Merged-In: I38c6f3bf8a8c43997251b1f13b3f2fb4533d15f2
Long Ling [Thu, 8 Aug 2019 23:05:19 +0000 (16:05 -0700)]
DO NOT MERGE DeviceConfig: Add Name space and keys for Display Manager
Bug:
139138964
Change-Id: I077380583f0daf650b17832a6cec4919b41ac155
Pengquan Meng [Tue, 13 Aug 2019 06:09:34 +0000 (23:09 -0700)]
Support WAC decoding in UMTS format
This add a decoder for WAC information. WAC is appended to the UMTS
cell broadcast message. The encoding is defined in ATIS-
0700041.
Bug:
123096618
Test: build & manual test
Merged-In: I73dc22c27c2cfd47000ae65448fbc857ed9aa42f
Change-Id: I73dc22c27c2cfd47000ae65448fbc857ed9aa42f
(cherry picked from commit
14df7e3845369e7254e6aae13160c7e1caa1d28a)
Bill Yi [Fri, 23 Aug 2019 09:29:52 +0000 (02:29 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I1da61e9093dbc1b2f19b3f11848190cbe3fe2254
Nate Jiang [Fri, 23 Aug 2019 04:22:26 +0000 (04:22 +0000)]
Merge "change network suggestion notification content string" into qt-qpr1-dev
Paul Hu [Tue, 18 Jun 2019 11:26:29 +0000 (04:26 -0700)]
Add SocketUtils CTS tests
Test APIs below:
makeNetlinkSocketAddress(int, int)
makePacketSocketAddress(short, int)
makePacketSocketAddress(int, byte[])
closeSocket(java.io.FileDescriptor)
Bug:
129200596
Test: atest FrameworksNetTests
atest CtsNetTestCases --instant
Merged-In: I36252fdf516cf4a9d4506b615cdb38f5413739e5
(cherry picked from commit
93a53224d3a1cd6fc1de7d94955e03116b744e4a)
Change-Id: I0963acaf00c5bdd93db0503c426f190f409ca076
TreeHugger Robot [Fri, 23 Aug 2019 00:38:24 +0000 (00:38 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev
TreeHugger Robot [Fri, 23 Aug 2019 00:34:20 +0000 (00:34 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev
Winson Chung [Thu, 22 Aug 2019 23:36:18 +0000 (16:36 -0700)]
Ignore hidden views when computing exclusion rects
Bug:
138806473
Test: atest SystemGestureExclusionRectsTest
Change-Id: I43629546af641d2b6347889e3ea10bd2cbbe9070
vagdevi [Thu, 22 Aug 2019 19:02:47 +0000 (12:02 -0700)]
5GE Icon: Show 5G subscript E (italics)
URL: https://screenshot.googleplex.com/SpTnerVCnQZ.png
Bug:
139776677
Test: manual using PARIS Override for
show_carrier_data_icon_pattern_string
Change-Id: I69e32c89558fba884bb12d29cb8ff81470591bb0
Peiyong Lin [Thu, 22 Aug 2019 22:59:39 +0000 (22:59 +0000)]
Merge "Add manifest flag to enable prerelease driver." into qt-qpr1-dev
Bill Yi [Thu, 22 Aug 2019 22:55:01 +0000 (15:55 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: Iba60f442bfce52a602590b2eaa7bf42ca7f79445
Adrian Salido [Thu, 22 Aug 2019 22:53:56 +0000 (22:53 +0000)]
Merge "Revert "Hold Display suspend blocker until doze starts"" into qt-r1-dev
Roman Kiryanov [Wed, 21 Aug 2019 18:01:39 +0000 (11:01 -0700)]
Fix integer overflow in make_timestamp_ns_locked
timespec::tv_sec is time_t which is 32bit wide on
32bit platforms. Multipliyng 32bit integers (tv_sec and
1000) produces another 32bit integer which overflows
in this case and turns into a negative value which
confuses the logic downstream. This change makes the
multiplication to be 64bit which prevent the overflow.
Bug:
139320584
Bug:
139538727
Test: GtsIncidentManagerTestCases
Change-Id: Ie956074961c7c1f08e2519920f7ce69d5c9e12d3
Signed-off-by: Roman Kiryanov <rkir@google.com>
(cherry picked from commit
e9db937f4008f097f4ee9dc341a3afc219a96fd9)
Bill Yi [Thu, 22 Aug 2019 22:35:19 +0000 (15:35 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I10ae69007f380648f07514a5ffb7de97bb7471d5
Ram Periathiruvadi [Thu, 22 Aug 2019 22:00:51 +0000 (22:00 +0000)]
Merge "Fix Handling of user switching for headless user 0 model." into qt-qpr1-dev
TreeHugger Robot [Thu, 22 Aug 2019 21:16:59 +0000 (21:16 +0000)]
Merge "Hold a strong reference to the callback in TextClassifierService" into qt-qpr1-dev
Adrian Salido [Thu, 22 Aug 2019 20:41:15 +0000 (20:41 +0000)]
Revert "Hold Display suspend blocker until doze starts"
This reverts commit
93e164726f2d243eb75351b4e52d683573f9f802.
Reason for revert: This is causing wake lock to remain held
while screen is off
Bug:
139875245
Change-Id: I0ff714a0cf2496d141d355de68761ab720a09539
Nate Jiang [Wed, 21 Aug 2019 00:21:47 +0000 (17:21 -0700)]
change network suggestion notification content string
Change the notify String apply to suggestion logic
Test: acts WifiNetworkSuggestionTest
Bug:
139037269
Change-Id: I951a7b9b10abf8801bcd2f313798bf9fb0043864
TreeHugger Robot [Thu, 22 Aug 2019 19:11:38 +0000 (19:11 +0000)]
Merge "Fix legacy role holder resolution for assistant, dialer and SMS." into qt-qpr1-dev
Pengquan Meng [Thu, 22 Aug 2019 18:31:05 +0000 (18:31 +0000)]
Merge "Add fields to Cellbroadcast" into qt-qpr1-dev
Julia Reynolds [Thu, 22 Aug 2019 18:31:02 +0000 (18:31 +0000)]
Merge "Limit the number of Notif Channels per app" into qt-qpr1-dev
Pengquan Meng [Fri, 19 Jul 2019 00:30:04 +0000 (17:30 -0700)]
Add fields to Cellbroadcast
This add some fields to CellBroadcasts in order to support the WEA 3.0
geo-fencing.
Bug:
123096618
Test: atest TelephonyProviderTests
Merged-In: Ied0780cb1b9993e6d8cdb80131ba2f8b8affcb54
Change-Id: Ied0780cb1b9993e6d8cdb80131ba2f8b8affcb54
(cherry picked from commit
5c6e975ce4a973619f20167644475b04e663ee4e)
Peiyong Lin [Fri, 9 Aug 2019 17:34:39 +0000 (10:34 -0700)]
Add manifest flag to enable prerelease driver.
Add manifest flag to prevent applications from using prerelease driver
accidentally. In this patch we also allow any debuggable device build to load
prerelease driver for all non-system and non-privileged applications.
BUG:
138132808
Test: Verified with prerelease driver.
Change-Id: If0abc89f709c8e34bd83a5c09c3c2047300b5ef2
Pengquan Meng [Thu, 22 Aug 2019 17:13:14 +0000 (17:13 +0000)]
Merge "Add geo targeting implementation" into qt-qpr1-dev
Tony Mak [Wed, 14 Aug 2019 19:38:06 +0000 (20:38 +0100)]
Hold a strong reference to the callback in TextClassifierService
Issue:
TextClassifierService failed to invoke the callback to send the result back to client
occasionally because the callback object may be GCed.
And thus smart selection failed occasionally, as the client doesn't get a response
back when it hits this issue. It won't fallback to local textclassifier due to the
timeout specified in TextView.
Cause:
We thought that ITextClassifierCallback is a "cross process" reference, and
so we only store a weak reference of it to avoid leak.
And it turns out that it is wrong. As soon as the weak ref gets GCed in
the service, that counts as dropping the callback. The service doesn't
know about any strong references the client has.
Bug:
138865849
Test: Try smart selection over 30 times, make sure smart action is shown
for every single time.
Merged-In: Ia9218cf67e8d67697a0fdff22c7918a55efc39ca
Change-Id: I4d89518dfff777ba5d999d9ba89d7f4cf7598e75
Julia Reynolds [Tue, 20 Aug 2019 20:08:42 +0000 (16:08 -0400)]
Limit the number of Notif Channels per app
Fixes:
139111963
Test: atest
Change-Id: I0f0d442e9f5cc5bb1d73a638e00726807ef9fb48
(cherry picked from commit
c29370a294cd2aec9536d97e81f74931396b6fd9)
SongFerng Wang [Thu, 22 Aug 2019 09:49:27 +0000 (09:49 +0000)]
Merge "Create carrier config to define specific default value of APN types." into qt-qpr1-dev
Hai Zhang [Wed, 21 Aug 2019 23:35:18 +0000 (16:35 -0700)]
Fix legacy role holder resolution for assistant, dialer and SMS.
The legacy settings for them can actually remain null and it was
handled specially to use the system default instead. If the legacy
role holders aren't resolved correctly, role implementation will do a
fallback grant which overrides permission state, whereas if they are
resolved correctly the normal fix up won't do an override.
Fixes:
139752137
Test: manual
Change-Id: I5cc301c3b7b459bdfaece0117bcacd984d1cb78f
Adrian Salido [Thu, 22 Aug 2019 02:09:34 +0000 (02:09 +0000)]
Merge "DO NOT MERGE DMD: Support minimum refresh rate" into qt-r1-dev
TreeHugger Robot [Thu, 22 Aug 2019 00:22:43 +0000 (00:22 +0000)]
Merge "Hold Display suspend blocker until doze starts" into qt-r1-dev
TreeHugger Robot [Wed, 21 Aug 2019 23:54:25 +0000 (23:54 +0000)]
Merge "Only delay bouncer if bypass is off" into qt-r1-dev
Nazanin Bakhshi [Mon, 19 Aug 2019 23:36:07 +0000 (16:36 -0700)]
add checking for carrierConfigs certificates for psim
Test: utests
Bug:
139133814
Change-Id: I2d5cf7ee4e516ff16a67a5fbef6674a380095888
Nazanin Bakhshi [Wed, 21 Aug 2019 21:42:24 +0000 (21:42 +0000)]
Merge "add certs to carrier configs and store them as UiccAccessRules" into qt-qpr1-dev
Santos Cordon [Wed, 21 Aug 2019 21:25:44 +0000 (22:25 +0100)]
Hold Display suspend blocker until doze starts
When transitioning to DOZE, there is a race condition between the
release of the display suspend blocker and calling startDream. This
creates a gap where the device can suspend before the dream actually
starts. In practice, this can cause gestures, which are nitialized
from the Dream Service, to not function until something else
temporarily wakes up the device enough for the CPU to run a few
cycles.
This change delays the release of the display suspend blocker if
there is a pending recalculation of the sleep/doze state.
Bug:
138828701
Test: Manual testing - was 1 in 5 chance of reproing. Tested up to
0 out of 50 after the fix.
Test: atest PowerManagerServiceTest
Change-Id: Ic6df469972dc5765a8c4507404d1dc33f13ec0c3
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)
Sarah Chin [Wed, 21 Aug 2019 21:26:53 +0000 (21:26 +0000)]
Merge "Changed regex matching for MCC and MNC" into qt-qpr1-dev
TreeHugger Robot [Wed, 21 Aug 2019 21:19:19 +0000 (21:19 +0000)]
Merge "[DO NOT MERGE] qt-qpr1-sysui-dev @ build
5814791" into qt-qpr1-dev
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
Merged-In: I5ca00ebacda2c893bf62d5c882fe0a244b77f4fc
(cherry picked from commit
d969b7622420482a4836378a8ad5d61b38e6755c)
Bill Yi [Wed, 21 Aug 2019 20:53:24 +0000 (13:53 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: If6e4358b08995e5caaaaa90bba9fff23f4e4a486
Long Ling [Sun, 18 Aug 2019 01:02:46 +0000 (18:02 -0700)]
DO NOT MERGE DMD: Support minimum refresh rate
Bug:
139685237
Change-Id: Ib41dee351276d70733fffa18620455e4e6f9ddfc
Alexey Kuzmin [Wed, 21 Aug 2019 19:47:17 +0000 (12:47 -0700)]
Merge "Mark USAGE_NOTIFICATION_EVENT vibrations as notifications" into qt-r1-dev
am:
8e70a2826e
Change-Id: I89fb24a3a3384f677786db4e7cc016bc2c5009d1
Long Ling [Wed, 21 Aug 2019 19:35:12 +0000 (19:35 +0000)]
Merge changes from topic "device_config_for_display_90" into qt-r1-dev
* changes:
DO NOT MERGE Move device config key high_refresh_rate_blacklist to display_manager
DO NOT MERGE Allow DeviceConfig to change display settings
DO NOT MERGE DeviceConfig: Add Name space and keys for Display Manager
TreeHugger Robot [Wed, 21 Aug 2019 19:17:48 +0000 (19:17 +0000)]
Merge "Move processing off of HIDL Binder" into qt-qpr1-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