Bill Yi
51ec5967af
Merge changes from topic "am-707d9054-0085-4add-8cb5-07f6cb10d135" into oc-dev
...
am: 3fa917c8bc
Change-Id: I9b83367bb794f295c81ccfaf7c9ac1f2113c72e4
2018-11-10 18:01:06 -08:00
Bill Yi
519fa54629
[automerger skipped] Import translations. DO NOT MERGE skipped: 65cfd97b69 skipped: 79dc3a3343
...
am: 204f727404 -s ours
Change-Id: I3830beca2052ed387304bcdb546aa431627dae1f
2018-11-10 17:59:03 -08:00
Bill Yi
8b1df08930
Merge changes from topic "am-e8cf3957-7e41-48c5-b339-2114401da749" into oc-dev
...
am: 568344a776
Change-Id: If9f7d923e98f33d346ede4bfe3be622f3742ee90
2018-11-10 17:54:56 -08:00
Bill Yi
1da1b80a9f
[automerger skipped] Import translations. DO NOT MERGE skipped: c82e0b36ed skipped: 985e4a2c7f
...
am: 176758a8cb -s ours
Change-Id: I83944a6a1e013ba6c0a675637e102949115b4ba0
2018-11-10 17:52:40 -08:00
Bill Yi
d72f7d1d9e
Merge changes from topic "am-6f74b9fb-4f7a-4949-a2b2-4de2e4256447" into oc-dev
...
am: ef0d8b4472
Change-Id: Ie4cdce55a83a00f2ceac184cbc858b7fa4deddcb
2018-11-10 17:49:06 -08:00
Bill Yi
94c6fa964f
[automerger skipped] Import translations. DO NOT MERGE skipped: eadf247a57 skipped: 84b233fab0
...
am: 236da59677 -s ours
Change-Id: I8f2cce17bfcec29b146a46343cded42d1afd99de
2018-11-10 17:46:47 -08:00
Bill Yi
5c7f0c40fb
[automerger skipped] Import translations. DO NOT MERGE skipped: 5739e3bfb2 skipped: 7176023903
...
am: 09f4f73afa -s ours
Change-Id: Ib2b40d7dd3601e97353a63718bfbc44e5c967ee4
2018-11-10 17:35:57 -08:00
TreeHugger Robot
3fa917c8bc
Merge changes from topic "am-707d9054-0085-4add-8cb5-07f6cb10d135" into oc-dev
...
* changes:
[automerger skipped] Import translations. DO NOT MERGE skipped: 65cfd97b69 skipped: 79dc3a3343
[automerger skipped] Import translations. DO NOT MERGE skipped: 65cfd97b69
Import translations. DO NOT MERGE
2018-11-11 01:31:00 +00:00
TreeHugger Robot
568344a776
Merge changes from topic "am-e8cf3957-7e41-48c5-b339-2114401da749" into oc-dev
...
* changes:
[automerger skipped] Import translations. DO NOT MERGE skipped: c82e0b36ed skipped: 985e4a2c7f
[automerger skipped] Import translations. DO NOT MERGE skipped: c82e0b36ed
Import translations. DO NOT MERGE
2018-11-11 01:30:11 +00:00
TreeHugger Robot
ef0d8b4472
Merge changes from topic "am-6f74b9fb-4f7a-4949-a2b2-4de2e4256447" into oc-dev
...
* changes:
[automerger skipped] Import translations. DO NOT MERGE skipped: eadf247a57 skipped: 84b233fab0
[automerger skipped] Import translations. DO NOT MERGE skipped: eadf247a57
Import translations. DO NOT MERGE
2018-11-11 01:27:55 +00:00
Android Build Merger (Role)
176758a8cb
[automerger skipped] Import translations. DO NOT MERGE skipped: c82e0b36ed skipped: 985e4a2c7f
...
Change-Id: I63583ee2589e27644de2fe138fde88d1efd7c4f6
2018-11-10 19:47:15 +00:00
Android Build Merger (Role)
985e4a2c7f
[automerger skipped] Import translations. DO NOT MERGE skipped: c82e0b36ed
...
Change-Id: I58f6aae098f5dcb6c8ecfcaef6427f5276d36324
2018-11-10 19:47:09 +00:00
Bill Yi
c82e0b36ed
Import translations. DO NOT MERGE
...
Change-Id: I9be4c84c6a0abd2cecfc8ac49b1d9b8a8fe38079
Auto-generated-cl: translation import
2018-11-10 11:46:51 -08:00
Android Build Merger (Role)
09f4f73afa
[automerger skipped] Import translations. DO NOT MERGE skipped: 5739e3bfb2 skipped: 7176023903
...
Change-Id: I80379f2416b5f60734fce3db6b8d74ceca628331
2018-11-10 19:40:53 +00:00
Android Build Merger (Role)
7176023903
[automerger skipped] Import translations. DO NOT MERGE skipped: 5739e3bfb2
...
Change-Id: I17330d6b3d4cf62d89a3413605ceae1b701bb858
2018-11-10 19:40:44 +00:00
Bill Yi
5739e3bfb2
Import translations. DO NOT MERGE
...
Change-Id: Ib25ad353f0684aebfd2817cabd5abea5a63d970f
Auto-generated-cl: translation import
2018-11-10 11:40:18 -08:00
Android Build Merger (Role)
236da59677
[automerger skipped] Import translations. DO NOT MERGE skipped: eadf247a57 skipped: 84b233fab0
...
Change-Id: I71ed720b5ec39dc9be62aa13d71f5d06f3bec0e3
2018-11-10 18:43:44 +00:00
Android Build Merger (Role)
84b233fab0
[automerger skipped] Import translations. DO NOT MERGE skipped: eadf247a57
...
Change-Id: I997246032f47b236724ae93f3fe4e0ba34053d66
2018-11-10 18:43:37 +00:00
Bill Yi
eadf247a57
Import translations. DO NOT MERGE
...
Change-Id: Icda106c2509ee7cfe135a526ddc6b1da312e0d00
Auto-generated-cl: translation import
2018-11-10 10:43:10 -08:00
Android Build Merger (Role)
204f727404
[automerger skipped] Import translations. DO NOT MERGE skipped: 65cfd97b69 skipped: 79dc3a3343
...
Change-Id: If19056c1c2ed311693bd74ee5514fa789f5a1faa
2018-11-10 17:31:53 +00:00
Android Build Merger (Role)
79dc3a3343
[automerger skipped] Import translations. DO NOT MERGE skipped: 65cfd97b69
...
Change-Id: Ied955d35cf088b5e432ff984d948d4ccf075562c
2018-11-10 17:31:43 +00:00
Bill Yi
65cfd97b69
Import translations. DO NOT MERGE
...
Change-Id: I2d1faf1497f7bccdebee6ae93a8a3f56c01ca042
Auto-generated-cl: translation import
2018-11-10 09:31:11 -08:00
Steve Elliott
d2fa9c3ecf
DO NOT MERGE ANYWHERE: resolve merge conflicts of 77c1f60801 to oc-dr1-dev
...
Bug: 111603898
Test: manual
Change-Id: I5933f27f2fbd90a6de447fbf7f17063f6b7f1fb8
2018-10-31 16:29:12 +00:00
Steve Elliott
77c1f60801
DO NOT MERGE: Add configurable default setting for assistant componentname
...
By requiring an explicit default setting, it eliminates all ambiguous
states where a disambiguation would normally be shown. With this
change in place, at no point should a disambiguation be shown.
Test: manual
Bug: 111603898
Change-Id: Ib32dafbd3c6fcbe11186dc8ecab6b09c9b734067
Merged-In: Id39fdf700ed4ef08ebbc333b5452223430ac2e48
2018-10-19 20:11:08 +00:00
Jeff Sharkey
893598cd4b
Merge "RESTRICT AUTOMERGE: Recover shady content:// paths." into oc-dev
...
am: ab80221a8c
Change-Id: I61ef6b1a189ef345326a5455ff17b47d67f18f8d
2018-10-11 21:56:21 -07:00
Jeff Sharkey
80c65f6ce7
[automerger] RESTRICT AUTOMERGE: Recover shady content:// paths. am: 301d17e4dd am: 010585fe3c am: 6ef77aedac am: ae30765665 skipped: 50e06f25ac
...
am: af72f01db8
Change-Id: Ib260367aeaab863c9eeef492d46736dcf1c05591
2018-10-11 21:51:36 -07:00
Jeff Sharkey
ab80221a8c
Merge "RESTRICT AUTOMERGE: Recover shady content:// paths." into oc-dev
2018-10-12 04:31:20 +00:00
Jeff Sharkey
a1ec7b115c
RESTRICT AUTOMERGE: Recover shady content:// paths.
...
The path-permission element offers prefix or regex style matching of
paths, but most providers internally use UriMatcher to decide what
to do with an incoming Uri.
This causes trouble because UriMatcher uses Uri.getPathSegments(),
which quietly ignores "empty" paths. Consider this example:
<path-permission android:pathPrefix="/private" ... />
uriMatcher.addURI("com.example", "/private", CODE_PRIVATE);
content://com.example//private
The Uri above will pass the security check, since it's not
technically a prefix match. But the UriMatcher will then match it
as CODE_PRIVATE, since it ignores the "//" zero-length path.
Since we can't safely change the behavior of either path-permission
or UriMatcher, we're left with recovering these shady paths by
trimming away zero-length paths.
Bug: 112555574
Test: cts-tradefed run cts -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.AppSecurityTests
Change-Id: Ibadbfa4fc904ec54780c8102958735b03293fb9a
2018-10-05 20:39:03 +00:00
Android Build Merger (Role)
af72f01db8
[automerger] RESTRICT AUTOMERGE: Recover shady content:// paths. am: 301d17e4dd am: 010585fe3c am: 6ef77aedac am: ae30765665 skipped: 50e06f25ac
...
Change-Id: I72c58f65bd2709e23d7631d2e0acc06b40a917f9
2018-10-05 00:19:44 +00:00
Android Build Merger (Role)
50e06f25ac
[automerger] RESTRICT AUTOMERGE: Recover shady content:// paths. am: 301d17e4dd am: 010585fe3c am: 6ef77aedac am: ae30765665
...
Change-Id: I0cd990dcdfb899fa419cf1b28934d4118c225937
2018-10-05 00:19:37 +00:00
Android Build Merger (Role)
ae30765665
[automerger] RESTRICT AUTOMERGE: Recover shady content:// paths. am: 301d17e4dd am: 010585fe3c am: 6ef77aedac
...
Change-Id: Id59316f6628fcabc71962bd9ca8ab15cbbfb8b6d
2018-10-05 00:19:27 +00:00
Android Build Merger (Role)
6ef77aedac
[automerger] RESTRICT AUTOMERGE: Recover shady content:// paths. am: 301d17e4dd am: 010585fe3c
...
Change-Id: I5f8b88ca54c22bb978fc6c468259fec9e0e9898a
2018-10-05 00:19:19 +00:00
Android Build Merger (Role)
010585fe3c
[automerger] RESTRICT AUTOMERGE: Recover shady content:// paths. am: 301d17e4dd
...
Change-Id: I80ac911a166e12eedf77518436808d4f3ede872c
2018-10-05 00:19:12 +00:00
Jeff Sharkey
301d17e4dd
RESTRICT AUTOMERGE: Recover shady content:// paths.
...
The path-permission element offers prefix or regex style matching of
paths, but most providers internally use UriMatcher to decide what
to do with an incoming Uri.
This causes trouble because UriMatcher uses Uri.getPathSegments(),
which quietly ignores "empty" paths. Consider this example:
<path-permission android:pathPrefix="/private" ... />
uriMatcher.addURI("com.example", "/private", CODE_PRIVATE);
content://com.example//private
The Uri above will pass the security check, since it's not
technically a prefix match. But the UriMatcher will then match it
as CODE_PRIVATE, since it ignores the "//" zero-length path.
Since we can't safely change the behavior of either path-permission
or UriMatcher, we're left with recovering these shady paths by
trimming away zero-length paths.
Bug: 112555574
Test: cts-tradefed run cts -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.AppSecurityTests
Change-Id: Ibadbfa4fc904ec54780c8102958735b03293fb9a
2018-10-05 00:19:08 +00:00
Wayne Lin
fd6df001e0
resolve merge conflicts of 3afd4aed42 to oc-dr1-dev
...
Bug: 115331218
Bug: 112159033
Test: I solemnly swear I tested this conflict resolution.
Change-Id: Id82146b32d95cc791b1905c8acdfe52b79dac2f5
Merged-In: I5075f7887a184ce18bb1815b35a2ce7acd8bca10
2018-10-03 23:53:46 +00:00
Bill Yi
6c2376ce80
Merge changes from topic "am-59fcdedb-d1d8-4894-bcee-75f4085aa930" into oc-dev
...
am: 57b2e38837
Change-Id: Ia168d6b5a5dba2c768c62de8548400b6937c1692
2018-09-30 23:47:20 -07:00
Bill Yi
318224ae93
[automerger skipped] Import translations. DO NOT MERGE skipped: f4b2cb1520 skipped: 853c7ca3a5
...
am: 0bc949205b -s ours
Change-Id: Ib37e4ec5fc6764341a51a9153842c2080b001b69
2018-09-30 23:44:52 -07:00
Bill Yi
e90b1d120c
Merge changes from topic "am-51a4d236-f631-4fe1-9fa8-50a6c5132ce4" into oc-dev
...
am: 33be0d800a
Change-Id: I589409d6a34ed7091fa182fad4a9d86f65970b38
2018-09-30 23:40:04 -07:00
Bill Yi
3cd4a34364
[automerger skipped] Import translations. DO NOT MERGE skipped: 73a5116af8 skipped: b5f88962d5
...
am: fd474f8dc8 -s ours
Change-Id: I81cfcdf20b7c53f16b50d217d231713589c31a5e
2018-09-30 23:37:34 -07:00
Bill Yi
9a953b1022
Merge changes from topic "am-95ed1a42-c734-497b-9e03-f8de9f42ea61" into oc-dev
...
am: eb92e99a06
Change-Id: I770dac967bc946a9c89550989057bb99f8a213fd
2018-09-30 23:32:35 -07:00
Bill Yi
f7ee9f3f79
[automerger skipped] Import translations. DO NOT MERGE skipped: 4310d4d905 skipped: ebf64faa28
...
am: 5bf6376615 -s ours
Change-Id: Ica580645d38649c5210ddbe0b88bd3516275db13
2018-09-30 23:30:12 -07:00
Bill Yi
c270ca1086
Merge changes from topic "am-25c8f1dd-79b2-410a-8aa9-2fe914e32aa3" into oc-dev
...
am: 1825d87bc7
Change-Id: Ifff670d53d6cbfddac8756f1f7f1352a77528036
2018-09-30 23:25:30 -07:00
Bill Yi
4c4783d520
[automerger skipped] Import translations. DO NOT MERGE skipped: f40a0a8dae skipped: 110074be1a
...
am: 77b862002b -s ours
Change-Id: I58dd736fc460e04f8e56b330640681c4e7e5aafc
2018-09-30 23:23:08 -07:00
Bill Yi
a7bdac8d93
Merge changes from topic "am-4f2d7404-9a6c-4f5f-9d17-25f79c4505ff" into oc-dev
...
am: 8c53c6e4e3
Change-Id: I64b06a863a95707eb9d5ef1db4cd5f5b2c70000b
2018-09-30 23:17:51 -07:00
Bill Yi
ed50f647f7
[automerger skipped] Import translations. DO NOT MERGE skipped: f6e12d6972 skipped: f487edc7f2
...
am: 2053a11236 -s ours
Change-Id: If63e80c1cbdfa7b56d8c6f5d902b990686daf2be
2018-09-30 23:15:15 -07:00
Bill Yi
cf751f2189
Merge changes from topic "am-2e7b32c3-6d04-46ba-bfdc-309eff7d76b0" into oc-dev
...
am: d349bd741d
Change-Id: If41945b25a473afa1c870e294a4b42e856e5c42c
2018-09-30 23:11:05 -07:00
Bill Yi
8efa418123
[automerger skipped] Import translations. DO NOT MERGE skipped: b19a62bcf8 skipped: 5883bd3177
...
am: 1e00122904 -s ours
Change-Id: I5efbcb9878eff1c5df234fdafc8fec126dbf95ca
2018-09-30 23:08:41 -07:00
Bill Yi
6b2064e5c6
Merge changes from topic "am-8e0e30ce-6e2e-43b5-a842-3581d218043b" into oc-dev
...
am: 0adf6e1981
Change-Id: I689851b43fd7ad2577badd4115571478d1597be3
2018-09-30 23:04:11 -07:00
Bill Yi
b551c79453
[automerger skipped] Import translations. DO NOT MERGE skipped: 5587649e8f skipped: 07dfa0baae
...
am: 997014d63a -s ours
Change-Id: I20a39d2e1be36339d11611ed8db8963c624ed4a1
2018-09-30 23:01:49 -07:00
Bill Yi
2e250a6542
[automerger skipped] Import translations. DO NOT MERGE skipped: 6105ad5932 skipped: e50fc63e3d
...
am: 20ce1f4c33 -s ours
Change-Id: I78a7a1809236cb0867143d2c4deeddfbdc4e9a18
2018-09-30 22:58:21 -07:00