OSDN Git Service
TreeHugger Robot [Thu, 27 Jun 2019 05:29:36 +0000 (05:29 +0000)]
Merge "Fix WindowFocusTests#testTapNonFocusableWindow failed" into qt-dev
TreeHugger Robot [Thu, 27 Jun 2019 03:18:59 +0000 (03:18 +0000)]
Merge "Remove STOPSHOP, disable DEBUG_ANR" into qt-dev
TreeHugger Robot [Thu, 27 Jun 2019 01:47:41 +0000 (01:47 +0000)]
Merge "Disable ClockOptionsProvider so clocks don't appear in picker app" into qt-dev
Arthur Hung [Tue, 25 Jun 2019 09:59:39 +0000 (17:59 +0800)]
Fix WindowFocusTests#testTapNonFocusableWindow failed
If the touched window can't gain focus, should ignore
set focus to display and task.
Bug:
135899255
Test: atest WindowFocusTests#testTapNonFocusableWindow
Change-Id: Ibd23d4cac9cf1f346f36c83ac66d650a54f8461d
(cherry picked from commit
4e6e0ec60c1b8f9d90380bb5c550a63f1663ad94)
TreeHugger Robot [Thu, 27 Jun 2019 00:51:27 +0000 (00:51 +0000)]
Merge "Don't throw from PooledLambda#toString" into qt-dev
TreeHugger Robot [Thu, 27 Jun 2019 00:20:45 +0000 (00:20 +0000)]
Merge "Set most leniant mode if two perms affect one appop" into qt-dev
Eugene Susla [Wed, 26 Jun 2019 22:06:31 +0000 (15:06 -0700)]
Don't throw from PooledLambda#toString
Turns out there was one more place b/
134594642#comment23
Fixes:
134594642
Test: presubmit
Change-Id: I602569c6dd0632641215a7482def2987e10701b2
Hongwei Wang [Wed, 26 Jun 2019 21:52:30 +0000 (21:52 +0000)]
Merge "Comparing dimension and rotation instead of DisplayInfo" into qt-dev
TreeHugger Robot [Wed, 26 Jun 2019 21:41:33 +0000 (21:41 +0000)]
Merge "Defer PSS collection while an activity is starting" into qt-dev
TreeHugger Robot [Wed, 26 Jun 2019 20:25:19 +0000 (20:25 +0000)]
Merge "Fix a regression in setting oom_adj for cached processes" into qt-dev
Robert Snoeberger [Wed, 26 Jun 2019 20:18:48 +0000 (16:18 -0400)]
Disable ClockOptionsProvider so clocks don't appear in picker app
Bug:
136090066
Test: `adb shell content query --uri content://com.android.keyguard.clock/list_options` fails with could not find provider
Change-Id: I88433c3d4cfbde388c4ace9b726fb4f53f404d48
Philip P. Moltmann [Wed, 26 Jun 2019 17:18:34 +0000 (10:18 -0700)]
Set most leniant mode if two perms affect one appop
The location permission share an app-op between two permissions. Hence
the app-op is influenced by both permissions.
Test: atest CtsPermissionTestCases:android.permission.cts.BackgroundPermissionsTest
CtsPermissionTestCases:android.permission.cts.SplitPermissionTest
CtsPermission2TestCases:android.permission2.cts.RestrictedPermissionsTest
Fixes:
135665408
Change-Id: I8778351ff275cdd892708ca837295a89a4aa3c77
Christopher Tate [Fri, 14 Jun 2019 18:09:26 +0000 (11:09 -0700)]
Defer PSS collection while an activity is starting
Make sure not to process any requested PSS collections for a brief time
after an activity start is initiated, to reduce resource contention
during the launch.
Device config atom to configure:
ActivityManager/activity_start_pss_defer
Milliseconds; defaults to zero (PSS deferral policy disabled)
Bug:
133433769
Test: manual
Merged-In: Icf5cf2e3dde0bd5fd3ab9c4a85adfb1f3382057f
Change-Id: Icf5cf2e3dde0bd5fd3ab9c4a85adfb1f3382057f
Makoto Onuki [Wed, 26 Jun 2019 18:11:50 +0000 (11:11 -0700)]
Remove STOPSHOP, disable DEBUG_ANR
Instead promote some of the logs from "d" to "i".
Bug:
136096951
Test: Boot and run "Development" app and triggers an ANR
Change-Id: I9c769bc912e26fe860ab450c991b4e617dcaa7c4
TreeHugger Robot [Wed, 26 Jun 2019 17:08:37 +0000 (17:08 +0000)]
Merge "Add handle suppression to learned state" into qt-dev
Matt Pape [Wed, 26 Jun 2019 15:55:26 +0000 (15:55 +0000)]
Merge "Add verifier protection level to WRITE_DEVICE_CONFIG permission." into qt-dev
TreeHugger Robot [Wed, 26 Jun 2019 15:01:51 +0000 (15:01 +0000)]
Merge "[AWARE] recommend use Builder create instance in doc" into qt-dev
Tyler Gunn [Wed, 26 Jun 2019 14:59:49 +0000 (14:59 +0000)]
Merge "Support indicating call direction on existing connections." into qt-dev
TreeHugger Robot [Wed, 26 Jun 2019 14:08:01 +0000 (14:08 +0000)]
Merge changes from topic "
b135715570-test-memory-leaks" into qt-dev
* changes:
Refactor BrightLineClassifier tests to use significantly less memory.
Turn off BrightLineClassifier tests until memory leaks can be identified.
TreeHugger Robot [Wed, 26 Jun 2019 11:40:03 +0000 (11:40 +0000)]
Merge "Fix Layout.primaryIsTrailingPreviousAllLineOffsets" into qt-dev
Jeff Chang [Wed, 26 Jun 2019 08:46:45 +0000 (08:46 +0000)]
Merge "Fix a potential crash when calculate system gesture exclusion" into qt-dev
Remi NGUYEN VAN [Wed, 26 Jun 2019 07:32:43 +0000 (07:32 +0000)]
Merge "Only show "Connected" note after opening portal" into qt-dev
Maciej Zenczykowski [Wed, 26 Jun 2019 06:38:45 +0000 (06:38 +0000)]
Merge "BT: Add CAP_NET_ADMIN for Bluetooth Process" into qt-dev
Winson Chung [Wed, 26 Jun 2019 04:12:15 +0000 (04:12 +0000)]
Merge "Fix crash while animating removed stack" into qt-dev
Bryan Ferris [Wed, 26 Jun 2019 03:00:21 +0000 (20:00 -0700)]
[automerger skipped] Merge changes from topic "bp-real-calling-(p|u)id-merge-second" into oc-dev am:
1bc24d1877 -s ours am:
9dd00420c7 -s ours am:
b3326d2ceb -s ours
am:
7b96d83aa2 -s ours
am skip reason: change_id I0ef42c2f89b537a720f1ad5aefac756b0ccac52e with SHA1
216f65bf60 is in history
Change-Id: Idc6832f0269ba6a9bec4f8fd1598505c30ea20db
Bryan Ferris [Wed, 26 Jun 2019 02:55:18 +0000 (19:55 -0700)]
[automerger skipped] [RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() from startActivityInPackage skipped:
bab818fd4c skipped:
d33940512a skipped:
4278315b95 skipped:
a284320118 skipped:
14b074ddfe am:
b16bfc06a0 -s ours am:
a73dccba1f -s ours am:
c640823563 -s ours
am:
a6970095ee -s ours
am skip reason: subject contains skip directive
Change-Id: I3ff97a0322729e961361c4bf840db468d88c2553
Bryan Ferris [Wed, 26 Jun 2019 02:54:32 +0000 (19:54 -0700)]
[automerger skipped] [RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() if provided by PendingIntentRecord#sendInner() am:
13a804ee27 -s ours am:
73683643a8 -s ours am:
a7d55adc89 -s ours
am:
9eff11ebb1 -s ours
am skip reason: subject contains skip directive
Change-Id: Ic37556cb1dbdb7dfbd58109ca9e96eb14a5e718c
Bryan Ferris [Wed, 26 Jun 2019 02:25:16 +0000 (19:25 -0700)]
[automerger skipped] Merge changes from topic "bp-real-calling-(p|u)id-merge-second" into oc-dev am:
1bc24d1877 -s ours am:
9dd00420c7 -s ours
am:
b3326d2ceb -s ours
am skip reason: change_id I0ef42c2f89b537a720f1ad5aefac756b0ccac52e with SHA1
216f65bf60 is in history
Change-Id: I4288936cbccda11f8ee3012001da20b65775fb8b
Bryan Ferris [Wed, 26 Jun 2019 02:19:53 +0000 (19:19 -0700)]
[automerger skipped] [RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() from startActivityInPackage skipped:
bab818fd4c skipped:
d33940512a skipped:
4278315b95 skipped:
a284320118 skipped:
14b074ddfe am:
b16bfc06a0 -s ours am:
a73dccba1f -s ours
am:
c640823563 -s ours
am skip reason: subject contains skip directive
Change-Id: If1f805aea00b0a7dfe8f937af9f5274d7adfb8aa
Bryan Ferris [Wed, 26 Jun 2019 02:19:22 +0000 (19:19 -0700)]
[automerger skipped] [RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() if provided by PendingIntentRecord#sendInner() am:
13a804ee27 -s ours am:
73683643a8 -s ours
am:
a7d55adc89 -s ours
am skip reason: subject contains skip directive
Change-Id: I8fc565a08e9c3ed5709550bd347cca122c0d91e8
Bryan Ferris [Wed, 26 Jun 2019 02:09:36 +0000 (19:09 -0700)]
[automerger skipped] Merge changes from topic "bp-real-calling-(p|u)id-merge-second" into oc-dev am:
1bc24d1877 -s ours
am:
9dd00420c7 -s ours
am skip reason: change_id I0ef42c2f89b537a720f1ad5aefac756b0ccac52e with SHA1
216f65bf60 is in history
Change-Id: I2b6bde0571db3a32733baff389c6a3cfcc5b2a34
Bryan Ferris [Wed, 26 Jun 2019 02:03:44 +0000 (19:03 -0700)]
[automerger skipped] [RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() from startActivityInPackage skipped:
bab818fd4c skipped:
d33940512a skipped:
4278315b95 skipped:
a284320118 skipped:
14b074ddfe am:
b16bfc06a0 -s ours
am:
a73dccba1f -s ours
am skip reason: change_id I0ef42c2f89b537a720f1ad5aefac756b0ccac52e with SHA1
216f65bf60 is in history
Change-Id: Iec15b46b0a2ac8c5af6e199021fdd4efb2c843c4
Bryan Ferris [Wed, 26 Jun 2019 02:03:23 +0000 (19:03 -0700)]
[automerger skipped] [RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() if provided by PendingIntentRecord#sendInner() am:
13a804ee27 -s ours
am:
73683643a8 -s ours
am skip reason: change_id I0ef42c2f89b537a720f1ad5aefac756b0ccac52e with SHA1
216f65bf60 is in history
Change-Id: I84997bae1ac598cc018fd9cfe39c8b06f6800e61
Remi NGUYEN VAN [Tue, 25 Jun 2019 16:40:54 +0000 (09:40 -0700)]
Only show "Connected" note after opening portal
The "Connected" notification would be shown every time a network
validates after being identified as a captive portal. This causes issues
on networks that have auto-login mechanisms, as a high priority
notification would be shown even though the user was not interacting
with the phone.
The "Connected" notification is intended to confirm to the user that
they successfuly logged in (manually), so only show it after the user
opens the portal on the network.
Bug:
134124044
Test: Flashed, connected to portal: notification shown
Opened portal from command line + revalidate: no notification
Tests passing with change, failing without
Merged-In: I99be7d312d020d242081971c7e522023bbbab072
Merged-In: I7dc1b3a313b255fe89313efb9117bb160efdb533
(cherry picked from commit
0b5a4d862190320d285413b1feb921144fee8420)
Change-Id: I67c124cc34f09c2f186706b5cec839f60d00a90a
Bryan Ferris [Wed, 26 Jun 2019 01:47:02 +0000 (18:47 -0700)]
[automerger skipped] Merge changes from topic "bp-real-calling-(p|u)id-merge-second" into oc-dev
am:
1bc24d1877 -s ours
am skip reason: change_id I0ef42c2f89b537a720f1ad5aefac756b0ccac52e with SHA1
216f65bf60 is in history
Change-Id: Ibfa0e299bcd796915886c17c4de2031881651801
Bryan Ferris [Wed, 26 Jun 2019 01:40:56 +0000 (18:40 -0700)]
[automerger skipped] [RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() from startActivityInPackage skipped:
bab818fd4c skipped:
d33940512a skipped:
4278315b95 skipped:
a284320118 skipped:
14b074ddfe
am:
b16bfc06a0 -s ours
am skip reason: change_id I0ef42c2f89b537a720f1ad5aefac756b0ccac52e with SHA1
216f65bf60 is in history
Change-Id: I5715e9f87cca3e468764468542204b254150630f
Bryan Ferris [Wed, 26 Jun 2019 01:39:21 +0000 (18:39 -0700)]
[automerger skipped] [RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() if provided by PendingIntentRecord#sendInner()
am:
13a804ee27 -s ours
am skip reason: change_id I0ef42c2f89b537a720f1ad5aefac756b0ccac52e with SHA1
216f65bf60 is in history
Change-Id: I7a716f77e85190143043e1a054e66226d3365601
Nitin Shivpure [Tue, 25 Jun 2019 02:10:18 +0000 (19:10 -0700)]
BT: Add CAP_NET_ADMIN for Bluetooth Process
Precondition:
1. A reference phone has internet connection and with BT tethering enabled.
2. DUT is in PANU role & Remote is NAP role
Or
1. DUT has internet connection and with BT tethering enabled.
2. DUT is in NAP role & Remote is PANU role.
Use case:
1. Connect DUT(PANU) to reference phone(NAP).
2. Internet browse is not working on DUT & Connection is dropped from DUT.
Or
1. Connect remote(PANU) to Remote device(NAP).
2. Internet browse is not working on remote & Connection is dropped fro DUT.
RCA:
https://android-review.googlesource.com/c/kernel/common/+/936980 will cause this issue. If it's cherrypicked in codebase.
TUNSETIFF ioctl call is being failed due to Operation not permitted error, Hence bt-pan interface is not being up.&
connection is dropped.
06-04 23:18:06.856 6173 6699 D bt_btif : ioctl error:-1, errno:Operation not permitted
TEST:
1. Connect DUT(PANU) to reference phone(NAP).
2. Internet browse is working on DUT
Or
1. Connect remote(PANU) to Remote device(NAP).
2. Internet browse is working on remote.
Fix:
BT Process need CAP_NET_ADAMIN capability to make
ioctl call to TUN driver from BT PAN module. Hence
adding CAP_NET_ADMIN capablity for BT
Bug:
133735703
Bug:
135707477
Change-Id: Ie461bfee7a8221404ed6b9852bd5d36758d094df
Merged-In: Ie461bfee7a8221404ed6b9852bd5d36758d094df
(cherrypicked from
99cec9d9a45f0abb442f46aae4f821f84ca830f4)
Nate Jiang [Wed, 26 Jun 2019 00:49:41 +0000 (17:49 -0700)]
[AWARE] recommend use Builder create instance in doc
Changes doc for using Builder to create WifiAwareNetworkSpecifier
instead of deprecated Api.
Test: It's a doc change.
Bug:
136034317
Change-Id: I6f41ceae6d696fc5df336ad831c2c89ab3746c50
Bryan Ferris [Wed, 26 Jun 2019 00:49:56 +0000 (00:49 +0000)]
Merge changes from topic "bp-real-calling-(p|u)id-merge-second" into oc-dev
* changes:
[automerger skipped] [RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() from startActivityInPackage skipped:
bab818fd4c skipped:
d33940512a skipped:
4278315b95 skipped:
a284320118 skipped:
14b074ddfe
[automerger skipped] [RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() from startActivityInPackage skipped:
bab818fd4c skipped:
d33940512a skipped:
4278315b95 skipped:
a284320118
[automerger skipped] [RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() from startActivityInPackage skipped:
bab818fd4c skipped:
d33940512a skipped:
4278315b95
[automerger skipped] [RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() from startActivityInPackage skipped:
bab818fd4c skipped:
d33940512a
[automerger skipped] [RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() from startActivityInPackage skipped:
bab818fd4c
[RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() from startActivityInPackage
Android Build Merger (Role) [Wed, 26 Jun 2019 00:48:49 +0000 (00:48 +0000)]
[automerger skipped] [RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() from startActivityInPackage skipped:
bab818fd4c skipped:
d33940512a skipped:
4278315b95 skipped:
a284320118 skipped:
14b074ddfe
Change-Id: I8f80b0babe463c6be9b3dc337921edc2fea55431
Android Build Merger (Role) [Wed, 26 Jun 2019 00:48:47 +0000 (00:48 +0000)]
[automerger skipped] [RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() from startActivityInPackage skipped:
bab818fd4c skipped:
d33940512a skipped:
4278315b95 skipped:
a284320118
Change-Id: I8b67d639193d3546a63fc3b526353de5cafb4fb3
Android Build Merger (Role) [Wed, 26 Jun 2019 00:48:44 +0000 (00:48 +0000)]
[automerger skipped] [RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() from startActivityInPackage skipped:
bab818fd4c skipped:
d33940512a skipped:
4278315b95
Change-Id: If688033850b010958ba8795c2a85f4f060fccbb8
Android Build Merger (Role) [Wed, 26 Jun 2019 00:48:41 +0000 (00:48 +0000)]
[automerger skipped] [RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() from startActivityInPackage skipped:
bab818fd4c skipped:
d33940512a
Change-Id: I8cd17220b0f8f8a8fa88c97d82272f3c2b06fd85
Android Build Merger (Role) [Wed, 26 Jun 2019 00:48:38 +0000 (00:48 +0000)]
[automerger skipped] [RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() from startActivityInPackage skipped:
bab818fd4c
Change-Id: I0a070b8406a51759c3dbf2dbe291be2ec0913660
Winson Chung [Mon, 24 Jun 2019 18:57:22 +0000 (11:57 -0700)]
Fix crash while animating removed stack
Bug:
135711060
Test: atest PinnedStackTests
Change-Id: Ie1f3acb9d2152435dc018360ad5120f1ee678d3c
Mihai Popa [Tue, 25 Jun 2019 10:15:18 +0000 (11:15 +0100)]
Fix Layout.primaryIsTrailingPreviousAllLineOffsets
The CL fixes a crash in Layout.primaryIsTrailingPreviousAllLineOffsets.
The crash was happening when the method was called for a line beginning
with an empty bidi run. This could happen, for example, for empty text -
I was unable to find any other case. The CL improves the existing test
for the method with this case, which was previously crashing.
The CL also fixes a potential crash in getLineHorizontals. However, this
bug could never happen as in the current code path clamped is always
false (and kept as parameter for parity with getHorizontal).
Bug:
135444178
Test: atest FrameworksCoreTests:android.text.LayoutTest\#testPrimaryIsTrailingPrevious
Change-Id: I47157abe1d74675884734e3810628a566e40c1b4
TreeHugger Robot [Tue, 25 Jun 2019 23:01:34 +0000 (23:01 +0000)]
Merge "Set LEGACY_STORAGE only from READ_EXTERNAL_STORAGE" into qt-dev
Bryan Ferris [Tue, 21 May 2019 19:38:19 +0000 (12:38 -0700)]
[RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() from startActivityInPackage
Previously startActivity would assume that the system was the calling user when
startActivityInPackage was called. Now the uid of the calling application is
forwarded by the system.
Test: manual; we added logging statements to check the value of realCallingUid
when launching the calendar app from the calendar widget and verified that it
was the calendar uid rather than the system uid.
Bug:
123013720
Change-Id: I0ef42c2f89b537a720f1ad5aefac756b0ccac52e
Merged-In: I0ef42c2f89b537a720f1ad5aefac756b0ccac52e
Bryan Ferris [Tue, 21 May 2019 19:38:19 +0000 (12:38 -0700)]
[RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() if provided by PendingIntentRecord#sendInner()
Previously we'd ignore realCallingPid and realCallingUid that
PendingIntentRecord#sendInner() provided to startActivityInPackage().
Now we correctly pass it on, preserving past behaviour if none
provided.
Test: manual; we added logging statements to check the value of realCallingUid
in startActivitiesMayWait when launching the calendar app from the calendar widget
and verified that it was the calendar uid rather than the system uid.
Bug:
123013720
Change-Id: I0ef42c2f89b537a720f1ad5aefac756b0ccac52e
Merged-In: I0ef42c2f89b537a720f1ad5aefac756b0ccac52e
Winson Chung [Tue, 25 Jun 2019 22:07:44 +0000 (22:07 +0000)]
Merge "Catch all exceptions in onFrameDraw" into qt-dev
chaviw [Fri, 21 Jun 2019 00:09:53 +0000 (17:09 -0700)]
Fixed screen decor layout frames
The initial frames for the screen decor were set to the dock frame. This
is incorrect because it incorporates the status bar, preventing
the frame from starting at the corners. Instead, set the frame to
unrestricted to allow frames in the status bar region.
This bug was introduced with the refactor ag/
4525486
Fixes:
135706131
Test: No visible change on phone. Fixes issue with auto
Test: DisplayPolicyLayoutTests#testScreenDecorWindows
Change-Id: I6782a3585252df505b43d3e706b0332c609c7414
Bryan Ferris [Tue, 25 Jun 2019 21:46:37 +0000 (14:46 -0700)]
[automerger skipped] Merge changes from topic "bp-real-calling-(p|u)id-merge-first" into oc-dev am:
46c0bc9407 am:
752d4f8e96 -s ours am:
4a115b747b -s ours
am:
9c0efabb3a -s ours
am skip reason: change_id I0ef42c2f89b537a720f1ad5aefac756b0ccac52e with SHA1
f5e5af7f3d is in history
Change-Id: I11efe1d70dd1b943f03984ad8187e8c62fef9494
Bryan Ferris [Tue, 25 Jun 2019 21:45:53 +0000 (14:45 -0700)]
[automerger skipped] [automerger] [RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() from startActivityInPackage am:
216f65bf60 am:
0984de50e3 am:
36fdca0a65 skipped:
37ce2010d9 am:
51bb716332 am:
ff8be5d87a -s ours am:
dcfb327071 -s ours
am:
5d0bf5af37 -s ours
am skip reason: subject contains skip directive
Change-Id: I201e44fe5dac5340b6fceb40b6b82284fc9b67df
TreeHugger Robot [Tue, 25 Jun 2019 21:32:01 +0000 (21:32 +0000)]
Merge "Fixed autofill compat mode regression caused by DecorContext" into qt-dev
Bryan Ferris [Tue, 25 Jun 2019 21:18:25 +0000 (14:18 -0700)]
[automerger skipped] Merge changes from topic "bp-real-calling-(p|u)id-merge-first" into oc-dev am:
46c0bc9407 am:
752d4f8e96 -s ours
am:
4a115b747b -s ours
am skip reason: change_id I0ef42c2f89b537a720f1ad5aefac756b0ccac52e with SHA1
f5e5af7f3d is in history
Change-Id: I8c930161bbda0cee1ca364852d5c358930106b07
Bryan Ferris [Tue, 25 Jun 2019 21:18:01 +0000 (14:18 -0700)]
[automerger skipped] [automerger] [RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() from startActivityInPackage am:
216f65bf60 am:
0984de50e3 am:
36fdca0a65 skipped:
37ce2010d9 am:
51bb716332 am:
ff8be5d87a -s ours
am:
dcfb327071 -s ours
am skip reason: subject contains skip directive
Change-Id: I97c51aa6973d9b89e304385e2e082b8d1689e279
Tyler Gunn [Tue, 25 Jun 2019 20:45:32 +0000 (13:45 -0700)]
Support indicating call direction on existing connections.
This is important for ensuring the original call direction for existing
connections added from Conference Event Packages matches the call direction
of the original calls merged into the conference.
Also moved a utility function into ConferenceParticipant from
ConferenceParticipantConnection to make it generically usable inside
Telephony.
Test: Run all unit tests.
Test: Manual testing using VoLTE conference calls with mix of MO and MT
calls; verify call logging is appropriate.
Bug:
134471046
Change-Id: Iab09397b811782ab0f876aac02070e3447d81f09
Bryan Ferris [Tue, 25 Jun 2019 20:32:26 +0000 (13:32 -0700)]
[automerger skipped] Merge changes from topic "bp-real-calling-(p|u)id-merge-first" into oc-dev am:
46c0bc9407
am:
752d4f8e96 -s ours
am skip reason: change_id I0ef42c2f89b537a720f1ad5aefac756b0ccac52e with SHA1
f5e5af7f3d is in history
Change-Id: I309479f61253fa6cefec4377e000a3ab173a39c0
Bryan Ferris [Tue, 25 Jun 2019 20:32:03 +0000 (13:32 -0700)]
[automerger skipped] [automerger] [RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() from startActivityInPackage am:
216f65bf60 am:
0984de50e3 am:
36fdca0a65 skipped:
37ce2010d9 am:
51bb716332
am:
ff8be5d87a -s ours
am skip reason: change_id I0ef42c2f89b537a720f1ad5aefac756b0ccac52e with SHA1
f5e5af7f3d is in history
Change-Id: I730d970d5b50cf8b4b0770da8ec22534a9e14a58
TreeHugger Robot [Tue, 25 Jun 2019 20:12:04 +0000 (20:12 +0000)]
Merge "Allow trust agents to actively unlock for automotive." into qt-dev
Eugene Susla [Tue, 25 Jun 2019 19:52:48 +0000 (19:52 +0000)]
Merge "[DO NOT MERGE] Don't throw from PooledLambdaImpl#toString" into qt-dev
Bryan Ferris [Tue, 25 Jun 2019 19:41:59 +0000 (12:41 -0700)]
[automerger skipped] Merge "[RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() if provided by PendingIntentRecord#sendInner()" into oc-mr1-dev am:
97111a1cb6 -s ours
am:
1a3f859c78 -s ours
am skip reason: subject contains skip directive
Change-Id: I7c869cb79734200a9bf797db5babac76e3d4971c
Bryan Ferris [Tue, 25 Jun 2019 19:37:25 +0000 (12:37 -0700)]
[automerger skipped] Merge "[RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() if provided by PendingIntentRecord#sendInner()" into pi-dev
am:
138f85570c -s ours
am skip reason: subject contains skip directive
Change-Id: I6a094762a2cedb2aeba013bbd2a52adedac65963
Bryan Ferris [Tue, 25 Jun 2019 19:33:43 +0000 (12:33 -0700)]
Merge changes from topic "bp-real-calling-(p|u)id-merge-first" into oc-dev
am:
46c0bc9407
Change-Id: I9640adc59d47dbbb36183073a1c6bc2d0624d893
Bryan Ferris [Tue, 25 Jun 2019 19:33:37 +0000 (12:33 -0700)]
[automerger] [RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() from startActivityInPackage am:
216f65bf60 am:
0984de50e3 am:
36fdca0a65 skipped:
37ce2010d9
am:
51bb716332
Change-Id: I163568da871059effe896507717480b61478797b
Bryan Ferris [Tue, 25 Jun 2019 19:10:26 +0000 (12:10 -0700)]
[automerger skipped] Merge "[RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() if provided by PendingIntentRecord#sendInner()" into oc-mr1-dev
am:
97111a1cb6 -s ours
am skip reason: subject contains skip directive
Change-Id: I5210f8aed11e5b43bc09ce61f91ea399faa3dc4a
TreeHugger Robot [Tue, 25 Jun 2019 19:04:26 +0000 (19:04 +0000)]
Merge "Sharesheet: Make max shortcut targets configurable" into qt-dev
Adam He [Tue, 25 Jun 2019 18:40:57 +0000 (11:40 -0700)]
Fixed autofill compat mode regression caused by DecorContext
Fixes:
135038324
Test: manual verification
Test: atest CtsAutoFillServiceTestCases
Change-Id: Iab32c24fdd9ad02308e79652422d1c4965be8e7c
Bryan Ferris [Tue, 25 Jun 2019 18:36:14 +0000 (18:36 +0000)]
Merge changes from topic "bp-real-calling-(p|u)id-merge-first" into oc-dev
* changes:
[automerger] [RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() from startActivityInPackage am:
216f65bf60 am:
0984de50e3 am:
36fdca0a65 skipped:
37ce2010d9
[automerger] [RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() from startActivityInPackage am:
216f65bf60 am:
0984de50e3 am:
36fdca0a65
[automerger] [RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() from startActivityInPackage am:
216f65bf60 am:
0984de50e3
[automerger] [RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() from startActivityInPackage am:
216f65bf60
[RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() from startActivityInPackage
Bryan Ferris [Tue, 25 Jun 2019 18:36:14 +0000 (18:36 +0000)]
Merge changes from topic "bp-real-calling-(p|u)id-merge-first" into nyc-mr2-dev
* changes:
[automerger] [RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() from startActivityInPackage am:
216f65bf60 am:
0984de50e3 am:
36fdca0a65
[automerger] [RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() from startActivityInPackage am:
216f65bf60 am:
0984de50e3
[automerger] [RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() from startActivityInPackage am:
216f65bf60
[RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() from startActivityInPackage
Bryan Ferris [Tue, 25 Jun 2019 18:36:14 +0000 (18:36 +0000)]
Merge changes from topic "bp-real-calling-(p|u)id-merge-first" into cw-f-dev
* changes:
[automerger] [RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() from startActivityInPackage am:
216f65bf60 am:
0984de50e3
[automerger] [RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() from startActivityInPackage am:
216f65bf60
[RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() from startActivityInPackage
Bryan Ferris [Tue, 25 Jun 2019 18:36:14 +0000 (18:36 +0000)]
Merge changes from topic "bp-real-calling-(p|u)id-merge-first" into nyc-mr1-dev
* changes:
[automerger] [RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() from startActivityInPackage am:
216f65bf60
[RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() from startActivityInPackage
Bryan Ferris [Tue, 25 Jun 2019 18:36:14 +0000 (18:36 +0000)]
Merge "[RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() from startActivityInPackage" into nyc-dr1-dev
Bryan Ferris [Tue, 25 Jun 2019 18:36:14 +0000 (18:36 +0000)]
Merge "[RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() if provided by PendingIntentRecord#sendInner()" into oc-mr1-dev
Bryan Ferris [Tue, 25 Jun 2019 18:36:14 +0000 (18:36 +0000)]
Merge "[RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() if provided by PendingIntentRecord#sendInner()" into pi-dev
Govinda Wasserman [Wed, 19 Jun 2019 15:23:43 +0000 (11:23 -0400)]
Add handle suppression to learned state
Also adds a phenotype flag to enable handles in the learned state once
per day.
Test: Tested locally
BUG:
132983599
Change-Id: I21e422382e62ee098cd6ff76d6b764db98be0cb7
Merged-In: I21e422382e62ee098cd6ff76d6b764db98be0cb7
Mehdi Alizadeh [Tue, 25 Jun 2019 18:13:54 +0000 (18:13 +0000)]
Merge "Accept all system packages as supported home apps for gesture nav" into qt-dev
TreeHugger Robot [Tue, 25 Jun 2019 18:05:54 +0000 (18:05 +0000)]
Merge "Revert "Reland "Prevent dismissing starting window when reopening app""" into qt-dev
Eugene Susla [Sat, 22 Jun 2019 01:23:59 +0000 (18:23 -0700)]
[DO NOT MERGE] Don't throw from PooledLambdaImpl#toString
Bug:
134594642
Test: presubmit
Change-Id: Ia0834a76e7ae9a222ec2698dcd989317bb20f2a0
(cherry picked from commit
7f000e1dd942d492289fe7c447ed64562ed15bed)
Hongwei Wang [Mon, 24 Jun 2019 23:58:04 +0000 (16:58 -0700)]
Comparing dimension and rotation instead of DisplayInfo
DisplayInfo.equals is too much and only dimension/rotation changes
should be concerned in PinnedStackController#onTaskStackBoundsChanged
This regression is introduced in ag/
6971276
Bug:
131418250
Test: Manual test PiP with YT / GMM
Change-Id: I6f29fd2b7606e3e44d88003bcae511e4afea3d30
Anthony Chen [Tue, 25 Jun 2019 16:50:56 +0000 (09:50 -0700)]
Allow trust agents to actively unlock for automotive.
This CL creates an exception for the default behavior of trust agents.
After b/
120871688, trust agents can only extend unlock. However,
automotive still requires active unlock for its feature set.
Fixes:
135931998
Test: Verify that an enrolled trust agent can dismiss the lock screen
on automotive.
Change-Id: Ie7c411ac2bfac9ba00c095532d6788d9e2e7af2f
Philip P. Moltmann [Tue, 25 Jun 2019 15:41:51 +0000 (08:41 -0700)]
Set LEGACY_STORAGE only from READ_EXTERNAL_STORAGE
Not from WRITE_EXTERNAL_STORAGE. Otherwise it is not clear what happens
if one of the permissions is white-listed and one not. This can lead to
a loop where we try to set LEGACY_STORAGE to two different values.
Fixes:
135763654,
135742960
Bug:
135933014
Test: atest RestrictedPermissionsTest
Change-Id: I35883f12525360fd7f760750505a27644342955c
Yin-Chia Yeh [Tue, 25 Jun 2019 16:26:54 +0000 (16:26 +0000)]
Merge "Camera: block session init callback until ctor returns" into qt-dev
Dave Mankoff [Tue, 25 Jun 2019 16:23:05 +0000 (12:23 -0400)]
Refactor BrightLineClassifier tests to use significantly less memory.
Stop relying so heavily on mockito when it's not necessary. This also
makes tests run significantly faster. Memory usage is now basically flat.
Bug:
135715570
Test: atest SystemUITests
Change-Id: Ifd71e092b19068817600631b5b98a4a8e80a0126
David Nelloms [Tue, 25 Jun 2019 16:12:54 +0000 (16:12 +0000)]
Merge "Revert "Clear transitions for app windows display change."" into qt-dev
David Nelloms [Tue, 25 Jun 2019 16:03:57 +0000 (16:03 +0000)]
Revert "Clear transitions for app windows display change."
This reverts commit
110ed21087eb9993835d887d33f4e1fb05fa86b8.
Reason for revert: CTS failure b/
135655256
Bug:
135655256
Bug:
128449959
Change-Id: I9b36d34193e1c9e228be609a7b10457392fd6aa3
Jorim Jaggi [Tue, 25 Jun 2019 15:26:49 +0000 (17:26 +0200)]
Revert "Reland "Prevent dismissing starting window when reopening app""
This reverts commit
be71ed8a8e2ea302abbd4a5a0e8b5adc53449e67.
Causes various issues. Out of time for Q to investigate and fix.
Fixes:
135706138
Fixes:
135661232
Fixes:
135976008
Fixes:
135921478
Fixes:
135780312
Bug:
134561008
Change-Id: Ifb7b1fe2b189649d320516e70368625c903debea
TreeHugger Robot [Tue, 25 Jun 2019 14:46:02 +0000 (14:46 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev
Jorim Jaggi [Tue, 25 Jun 2019 13:36:46 +0000 (15:36 +0200)]
Catch all exceptions in onFrameDraw
... as throwing an exception in there somehow will mess up the
hwui task queue.
Test: Have a crashy app, swipe up while the app is crashing
Fixes:
134583193
Change-Id: Ie3ba5f991759f807b154f55f9fc816e7efe2fdfe
Stanislav Zholnin [Thu, 20 Jun 2019 21:59:49 +0000 (22:59 +0100)]
Add verifier protection level to WRITE_DEVICE_CONFIG permission.
Test: manually verified
Bug:
135704293
Change-Id: Ia12b343ed4c49bc11a1669b12813d6fea7a68454
Remi NGUYEN VAN [Tue, 25 Jun 2019 08:33:52 +0000 (01:33 -0700)]
Fix leak of DhcpServer on tethering stop error
Tactical, minimal fix to make sure the DhcpServer is stopped when
disabling tethering. The current code may throw if the interface is gone
when calling mNMService.setInterfaceConfig() on teardown. Make sure DHCP
is stopped regardless of what happens.
A longer term fix will be to figure out the right flow to teardown the
interface and avoid errors on setInterfaceConfig().
Bug:
124520692
Test: Manual: no more socket leaked when stopping USB tethering
Merged-In: Ie73481e8d91ce43e4939f8c31a9ce431e382c6d9
(cherry picked from commit
fe1ad3d0b86e1315906e18e33b65df2481eea63d)
Change-Id: Ia80761cb42dc62b14128fc60009be82ae9a008da
Rafal Slawik [Tue, 25 Jun 2019 08:53:54 +0000 (08:53 +0000)]
Merge "Read process allocation sizes on system ion heap" into qt-dev
Bill Yi [Tue, 25 Jun 2019 08:07:53 +0000 (01:07 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: Idffc307384b04773b54272c4849442c21273482d
TreeHugger Robot [Tue, 25 Jun 2019 07:46:27 +0000 (07:46 +0000)]
Merge "Reduce long press timeout on edge back gesture" into qt-dev
Winson Chung [Tue, 25 Jun 2019 04:10:14 +0000 (04:10 +0000)]
Merge "Skip redrawing the bars if the surface aspect ratio matches" into qt-dev
Anil Admal [Tue, 25 Jun 2019 02:34:37 +0000 (02:34 +0000)]
Merge "Request high accuracy fix for DBH requests from GNSS HAL" into qt-dev
Mehdi Alizadeh [Fri, 21 Jun 2019 22:38:40 +0000 (15:38 -0700)]
Accept all system packages as supported home apps for gesture nav
Bug:
135769778
Test: Manual test during phone setup
Change-Id: I24d414820b0f3d8f5878ca73206844966a6035cf
Mehdi Alizadeh [Tue, 25 Jun 2019 00:09:07 +0000 (00:09 +0000)]
Merge "Adds metrics categories for gesture navigation dialogs" into qt-dev
Amith Yamasani [Mon, 24 Jun 2019 23:47:44 +0000 (16:47 -0700)]
Fix a regression in setting oom_adj for cached processes
If a cached process happens to be part of a cycle,
it might end up at a score of 1001, which is never
reported to lmkd and hence not killed when under
memory pressure.
Fix: When recomputing oom adjust scores for apps in cycles,
use the last computed raw adj value instead of
UNKNOWN_ADJ.
Fixes:
135948152
Test: atest CtsAppTestCases:ActivityManagerProcessStateTests
Launch specific known apps that have internal cycles
and ensure they end up with an oom_adj in the 900s.
Change-Id: I000e6a06cd23873d09b9df3e9ddd280232757d3a