Commit Graph

419217 Commits

Author SHA1 Message Date
Bryan Ferris
a4f2100517 [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: 6a8f83c0f1 -s ours
am skip reason: change_id I0ef42c2f89b537a720f1ad5aefac756b0ccac52e with SHA1 216f65bf60 is in history

Change-Id: I0317d4c61fc70ed2221f9bd8732de2017a1861b1
2019-06-25 20:17:38 -07:00
Bryan Ferris
6a8f83c0f1 [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
2019-06-25 19:54:32 -07:00
Selim Cinek
0588aa5130 Merge "Animating the shade when going back to the keyguard from shade locked" into qt-r1-dev 2019-06-26 02:33:51 +00:00
Selim Cinek
35890aba0c Merge changes Ie2fbc4a9,Id5918813,Ie61d5da3,I26a12ff6 into qt-r1-dev
* changes:
  Made sure huns received while dozing time out
  Adjusting the notification header appearance on the lock screen
  Made heads up persist through unlocks
  Fixed the appearance of the heads up statusbar view on the lockscreen
2019-06-26 02:27:02 +00:00
Bryan Ferris
9eff11ebb1 [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
2019-06-25 19:19:22 -07:00
Bryan Ferris
a7d55adc89 [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
2019-06-25 19:03:23 -07:00
TreeHugger Robot
8bb2c09388 Merge "Remove protobuf dumping support from FaceService" into qt-r1-dev 2019-06-26 01:40:49 +00:00
Bryan Ferris
73683643a8 [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
2019-06-25 18:39:21 -07:00
Andy Chou
a96ab85260 Merge "Notify physical channel configuration with phoneId and subId" into qt-r1-dev 2019-06-26 01:24:46 +00:00
TreeHugger Robot
5848f3fb7a Merge "Always show centered icon in the shelf" into qt-r1-dev 2019-06-26 00:17:40 +00:00
Philip P. Moltmann
d4cea70382 Merge "Set LEGACY_STORAGE only from READ_EXTERNAL_STORAGE" into qt-dev
am: 88d88df174

Change-Id: Icc69a2d84993c9b760240653079584ecbe07f01c
2019-06-25 16:51:03 -07:00
Selim Cinek
601cda659d Animating the shade when going back to the keyguard from shade locked
Previously there was no animation at all

Bug: 130327302
Test: go to shade locked, click on bottom
Change-Id: I665a085354510665a04a2d4ba8c5c265e8e38d4a
2019-06-25 16:12:24 -07:00
Selim Cinek
91d0466102 Made sure huns received while dozing time out
Huns received during dozing will now time out
following the regular hun timeout after we woke
up. This ensures that we can't have huns hanging
around for too long.

Bug: 130327302
Test: get HUn while dozing, wake up, observe normal timeout
Change-Id: Ie2fbc4a9ab7634f56f5db26bb7acb98c4248d59c
2019-06-25 16:12:24 -07:00
Selim Cinek
c7e4cb5493 Adjusting the notification header appearance on the lock screen
Now the notification looks like a regular heads up and can
transform through the unlock without any change.

Bug: 130327302
Test: add hun on lockscreen, pull down
Change-Id: Id59188130eb5b01376c868874c24afdef9a694fa
2019-06-25 16:12:19 -07:00
TreeHugger Robot
88d88df174 Merge "Set LEGACY_STORAGE only from READ_EXTERNAL_STORAGE" into qt-dev 2019-06-25 23:01:34 +00:00
Winson Chung
abe1a94072 Merge "Catch all exceptions in onFrameDraw" into qt-dev
am: cff24b878d

Change-Id: If3aef1ccbba89a4b0964749ee3184a83f88185be
2019-06-25 15:43:48 -07:00
Bryan Ferris
13a804ee27 [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
2019-06-25 22:43:38 +00:00
chaviw
4f19e40705 Fixed screen decor layout frames
am: 0d83376433

Change-Id: Idd8f66c0b783add12affb0147983375ceab39e6f
2019-06-25 15:38:43 -07:00
Curtis Belmonte
1f70501504 Remove protobuf dumping support from FaceService
Currently, FaceService supports a `--proto` flag for dumping protobuf
debug data to GMS core. This functionality is now redundant and presents
a privacy risk, so this commit removes support for it and deletes the
associated method.

Test: manual
1. Attach a device and run `adb shell dumpsys face --proto`
2. Without change, verify that this prints out binary protobuf data
3. With change, verify that the output is the same as `adb shell dumpsys
face` and contains no protobuf data

Fixes: 135954555
Change-Id: I4cb6215cdba0f080259a5f08ae910d6bfc6c0c80
2019-06-25 15:23:32 -07:00
Winson Chung
cff24b878d Merge "Catch all exceptions in onFrameDraw" into qt-dev 2019-06-25 22:07:44 +00:00
Bryan Ferris
87d7d58f02 [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: 1b967b2e4d -s ours
am skip reason: change_id I0ef42c2f89b537a720f1ad5aefac756b0ccac52e with SHA1 f5e5af7f3d is in history

Change-Id: Ibbc4830bf416da23c3b254c27cfa0c55ece4d495
2019-06-25 15:07:19 -07:00
Bryan Ferris
4e6061c4be [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: 2348d22874 -s ours
am skip reason: change_id I0ef42c2f89b537a720f1ad5aefac756b0ccac52e with SHA1 f5e5af7f3d is in history

Change-Id: Icff1f4fa576a1954652060b3912bc0c7c0b8a384
2019-06-25 15:06:54 -07:00
Adam He
f44f4f9832 Merge "Fixed autofill compat mode regression caused by DecorContext" into qt-dev
am: 2f54cf120e

Change-Id: I74b50f6b2cb4d229c2f952da3848a5d0ecff88db
2019-06-25 15:02:21 -07:00
chaviw
0d83376433 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
2019-06-25 22:00:24 +00:00
Selim Cinek
d21232ee30 Made heads up persist through unlocks
The heads up now persists through unlocking.

Bug: 130327302
Test: get Heads up on lockscreen, unlock with face
Change-Id: Ie61d5da33024418f1214e70c414bd643af176e71
2019-06-25 14:58:54 -07:00
Selim Cinek
b2c5dc522a Fixed the appearance of the heads up statusbar view on the lockscreen
The text is now based on the sensitivity of the notifications which
also makes sure that dynamic privacy and other functions work
properly and aren't based on the global public device state
but individual.

Bug: 130327302
Test: add hun on lockscreen, observe correct text
Change-Id: I26a12ff6395dbbfb30bf87f0da1fa0a951edec94
2019-06-25 14:58:54 -07:00
Bryan Ferris
1b967b2e4d [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
2019-06-25 14:46:37 -07:00
Bryan Ferris
2348d22874 [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
2019-06-25 14:45:53 -07:00
TreeHugger Robot
2f54cf120e Merge "Fixed autofill compat mode regression caused by DecorContext" into qt-dev 2019-06-25 21:32:01 +00:00
Bryan Ferris
9c0efabb3a [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
2019-06-25 14:18:25 -07:00
Bryan Ferris
5d0bf5af37 [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
2019-06-25 14:18:01 -07:00
Beverly
fd3b1dca06 Always show centered icon in the shelf
Test: manual
    1. Open google play music, play song
    2. Navigate to a different app to google play music icon in the status bar
    3. Pull down the shade
    Observe: music notification is rendered correctly with icon
Bug: 133268325
Change-Id: If1cdee4dffa9a7605ce117d115e27dbd16eda2c8
2019-06-25 16:48:35 -04:00
Anthony Chen
0b8cb86fc8 Merge "Allow trust agents to actively unlock for automotive." into qt-dev
am: 0f347bbc3c

Change-Id: If80f214173316772c000fe30f676f09faa4a64aa
2019-06-25 13:38:40 -07:00
Bryan Ferris
4a115b747b [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
2019-06-25 13:32:26 -07:00
Bryan Ferris
dcfb327071 [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
2019-06-25 13:32:03 -07:00
Eugene Susla
0ff26f6905 Merge "[DO NOT MERGE] Don't throw from PooledLambdaImpl#toString" into qt-dev
am: 224b4c761d

Change-Id: I9f36f9228db2840e3e3fdb9db15415b6795b931f
2019-06-25 13:25:52 -07:00
Eugene Susla
d6e398761e [DO NOT MERGE] Don't throw from PooledLambdaImpl#toString
am: 75632d616d

Change-Id: I17ed8f194b6a197d674f7be1877f2775b2256960
2019-06-25 13:25:50 -07:00
Bryan Ferris
0037242945 [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: bf0e0a04dd

Change-Id: Icf37ff99c3e7073c01214d2f9399a7a29f49e947
2019-06-25 13:21:41 -07:00
Bryan Ferris
cc499ed88e [automerger skipped] Merge "[RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() if provided by PendingIntentRecord#sendInner()" into pi-dev am: 138f85570c -s ours
am: ad8680bfcb

Change-Id: I4d3529c5df07d5f9eb84785bfa3c27ea0152a923
2019-06-25 13:17:16 -07:00
Matt Pietal
9c9c561e8b Merge "Sharesheet: Make max shortcut targets configurable" into qt-dev
am: 8f09cd3de1

Change-Id: I64cabf37c16188c2fff8427f1ff6aab5a9d3ddb4
2019-06-25 13:12:35 -07:00
TreeHugger Robot
0f347bbc3c Merge "Allow trust agents to actively unlock for automotive." into qt-dev 2019-06-25 20:12:04 +00:00
Eugene Susla
224b4c761d Merge "[DO NOT MERGE] Don't throw from PooledLambdaImpl#toString" into qt-dev 2019-06-25 19:52:48 +00:00
TreeHugger Robot
3af0a7b5e5 Merge "Ignore DND when FLAG_BYPASS_INTERRUPTION_POLICY is set." into qt-r1-dev 2019-06-25 19:49:32 +00:00
Bryan Ferris
bf0e0a04dd [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
2019-06-25 12:41:59 -07:00
Bryan Ferris
ad8680bfcb [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
2019-06-25 12:37:25 -07:00
TreeHugger Robot
dfba874730 Merge "Do no play hint animation when retrying auth" into qt-r1-dev 2019-06-25 19:36:31 +00:00
Bryan Ferris
752d4f8e96 Merge changes from topic "bp-real-calling-(p|u)id-merge-first" into oc-dev
am: 46c0bc9407

Change-Id: I9640adc59d47dbbb36183073a1c6bc2d0624d893
2019-06-25 12:33:43 -07:00
Bryan Ferris
ff8be5d87a [automerger] [RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() from startActivityInPackage am: 216f65bf60 am: 0984de50e3 am: 36fdca0a65 skipped: 37ce2010d9
am: 51bb716332

Change-Id: I163568da871059effe896507717480b61478797b
2019-06-25 12:33:37 -07:00
Bryan Ferris
1a3f859c78 [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
2019-06-25 12:10:26 -07:00
TreeHugger Robot
8f09cd3de1 Merge "Sharesheet: Make max shortcut targets configurable" into qt-dev 2019-06-25 19:04:26 +00:00