We've been informed it's possible for an app to create a world
readable hardlink in L in its own /data directory that links to
another apps private data, including Messenger data. The hardlink
bypassed our existing checks. So now we simply refuse all file: uris
in the /data/ directory.
Other apps shouldn't be sending file uris anyway, and we dont know
of any that send file:///data/ uris.
Bug: 28793303
Change-Id: I778bb2bcb9e11185357093c59fc1fa3f6caa26a1
am: 22e3fb6074
* commit '22e3fb607435e2c24c9d4430a2c4b8d693e3cb80':
Messaging doesn't allow sharing of its own files
Change-Id: I61a467aa2debeb9a7feb10e753be8b472bca1195
am: 65e8a2d330
* commit '65e8a2d33005760f03bb0ca2c412332ab82f7413':
Messaging doesn't allow sharing of its own files
Change-Id: I5b3a6ffadacd8da1c8db1a626f78ca2bc65a2f7e
am: 0566cc6b9a
* commit '0566cc6b9a0db6a58034e3837adfbc9ba6ab762b':
Messaging doesn't allow sharing of its own files
Change-Id: Ia4e2da91fa6479011d1966dd5d604211af416745
am: ca5fc9fa7d
* commit 'ca5fc9fa7dbba6cbab625d4a80f812b7206f0676':
Messaging doesn't allow sharing of its own files
Change-Id: Ice1aa04a938f9ff14ac3b321344c34bfd152b1dc
am: ca5fc9fa7d
* commit 'ca5fc9fa7dbba6cbab625d4a80f812b7206f0676':
Messaging doesn't allow sharing of its own files
Change-Id: I812ae5e1b37611a69090e024a858c5813a4a155f
am: 2672c4df38
* commit '2672c4df384576ef477e64fc38c40e3e529bae6b':
Add badge icon for work contact in search result
Change-Id: I4fee26d64ec7e20d730d05c543e3479010d7e440
am: ce8c016b14
* commit 'ce8c016b1483aae1a31ae37b0dfb246e3136c9cc':
Separate work and personal contacts search result
Change-Id: I1829e4150b122db6e6092d133b179ca4377923f7
am: 62eb09d89e
* commit '62eb09d89e1a5da486818123deb4166d14bf4902':
Search enterprise directory as well in SMS app
Change-Id: I406447201b20a0b1c1a0aaf29ba6b26fb8e234cc
am: b5fcc65e0d
* commit 'b5fcc65e0db6f4efe0ee6cfc1c4c7df5efd42efe':
Add badge icon for work contact in search result
Change-Id: Ib1ab14584de17ccccafb965656bccb27fc711310
am: 722c058dcc
* commit '722c058dcc5109d02af494063db16b17a628b612':
Add badge icon for work contact in search result
Change-Id: Ic0f03c0da15ed8c4107790ba50cdca073ddee5dc
am: 0ecb6b9a9b
* commit '0ecb6b9a9be10c711de753432c1a9f4f8e65eacc':
Separate work and personal contacts search result
Change-Id: Ia900e937e25d10370a8d4eb2d6f08b793594aac3
am: 47037f9fef
* commit '47037f9fef1abf08c513983e9f73e39d82bcd32d':
Separate work and personal contacts search result
Change-Id: Ib1f05e7e9876991e765fbe0c69c89bccecdc5e7a
am: f302d0cd2f
* commit 'f302d0cd2f921d0f0309ace5688d1c451f1457d8':
Search enterprise directory as well in SMS app
Change-Id: I7b5dff608263837be8fa8d342bab2d00a4a9ab1f
am: 3a1468db12
* commit '3a1468db129425744078f6267d7f10ad1c13641f':
Search enterprise directory as well in SMS app
Change-Id: Icde0b42786cf8b7e7149af4d81f9237ae6c6ddee
am: c4073ff4ce
* commit 'c4073ff4ce1a342daad01a99d3fce84c54bc4776':
Add badge icon for work contact in search result
Change-Id: I8a9556c786697c69af468c62a7d5a658ba87100d
am: c4073ff4ce
* commit 'c4073ff4ce1a342daad01a99d3fce84c54bc4776':
Add badge icon for work contact in search result
Change-Id: Ie4a51a7aa9951de718f8ea7fe5c10f345ae5163c