OSDN Git Service

android-x86/frameworks-base.git
7 years agoDO NOT MERGE: Check provider access for content changes. am: 11e3e52bd9 am: bdfb26ac3b
Jeff Sharkey [Fri, 2 Dec 2016 18:45:38 +0000 (18:45 +0000)]
DO NOT MERGE: Check provider access for content changes. am: 11e3e52bd9 am: bdfb26ac3b
am: ad04786a3d

Change-Id: I7272c2bab70ff8b6efd44c35f0131e57f6603748

7 years agoDO NOT MERGE: Check provider access for content changes. am: 11e3e52bd9
Jeff Sharkey [Fri, 2 Dec 2016 18:36:34 +0000 (18:36 +0000)]
DO NOT MERGE: Check provider access for content changes. am: 11e3e52bd9
am: bdfb26ac3b

Change-Id: I93ab9555383689078ae6c08534619e8f38a47aaf

7 years agoDO NOT MERGE: Check provider access for content changes.
Jeff Sharkey [Fri, 2 Dec 2016 18:19:51 +0000 (18:19 +0000)]
DO NOT MERGE: Check provider access for content changes.
am: 11e3e52bd9

Change-Id: Ice374d398888e2898f571cee7df73f5e47921655

7 years agoMerge "DO NOT MERGE: Check provider access for content changes." into nyc-mr1-dev
Jeff Sharkey [Fri, 2 Dec 2016 18:19:49 +0000 (18:19 +0000)]
Merge "DO NOT MERGE: Check provider access for content changes." into nyc-mr1-dev
am: 5ec25934ce

Change-Id: I9608c14a117ab76bd08fa0a9b4d59b62ae1a28f5

7 years agoDO NOT MERGE: Check provider access for content changes.
Jeff Sharkey [Fri, 2 Dec 2016 18:19:46 +0000 (18:19 +0000)]
DO NOT MERGE: Check provider access for content changes.
am: c813f5dae2

Change-Id: I939bca8887198e2578916356d49b0f2f0a2bf3d2

7 years agoMerge "DO NOT MERGE: Check provider access for content changes." into nyc-mr1-dev
Jeff Sharkey [Fri, 2 Dec 2016 18:09:59 +0000 (18:09 +0000)]
Merge "DO NOT MERGE: Check provider access for content changes." into nyc-mr1-dev

7 years agoMerge "Add ability to set supported audio routes on phone accounts and connection...
Christine Hallstrom [Fri, 2 Dec 2016 03:38:09 +0000 (03:38 +0000)]
Merge "Add ability to set supported audio routes on phone accounts and connection" into cw-f-dev

7 years agoMerge "DO NOT MERGE. Retain DownloadManager Uri grants when clearing." into nyc-dev...
Jeff Sharkey [Fri, 2 Dec 2016 02:26:28 +0000 (02:26 +0000)]
Merge "DO NOT MERGE. Retain DownloadManager Uri grants when clearing." into nyc-dev am: 73b49fc7e8 am: 8c456f7f39
am: 5902fdad90

Change-Id: Ia298b5408374d17ac37e6d9e0e9f2b26a637098f

7 years agoDO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: 17010dc0d2 am...
Jeff Sharkey [Fri, 2 Dec 2016 02:25:28 +0000 (02:25 +0000)]
DO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: 17010dc0d2 am: bc7aae3610
am: 0d774967ba

Change-Id: Ie4d4800ab930a9ae19ba1f614edd876b79c29faf

7 years agoMerge "DO NOT MERGE. Retain DownloadManager Uri grants when clearing." into nyc-dev...
Jeff Sharkey [Fri, 2 Dec 2016 02:19:50 +0000 (02:19 +0000)]
Merge "DO NOT MERGE. Retain DownloadManager Uri grants when clearing." into nyc-dev am: 73b49fc7e8
am: 8c456f7f39

Change-Id: I26ad39aa405aa08fce0b26ef183678d08667ac04

7 years agoDO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: 17010dc0d2
Jeff Sharkey [Fri, 2 Dec 2016 02:18:58 +0000 (02:18 +0000)]
DO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: 17010dc0d2
am: bc7aae3610

Change-Id: Ica4ff267ef7078a5351e41c3af08614eb65907f8

7 years agoMerge "DO NOT MERGE. Retain DownloadManager Uri grants when clearing." into nyc-dev
Jeff Sharkey [Fri, 2 Dec 2016 02:05:37 +0000 (02:05 +0000)]
Merge "DO NOT MERGE. Retain DownloadManager Uri grants when clearing." into nyc-dev
am: 73b49fc7e8

Change-Id: I65b86aaaec4033f19b3f3560d1c57bf32f1a4d5e

7 years agoDO NOT MERGE. Retain DownloadManager Uri grants when clearing.
Jeff Sharkey [Fri, 2 Dec 2016 02:05:34 +0000 (02:05 +0000)]
DO NOT MERGE. Retain DownloadManager Uri grants when clearing.
am: 17010dc0d2

Change-Id: I7c6d507411864912937c9dbacc985cb834760cfe

7 years agoDO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: f279a5bc0d -s...
Jeff Sharkey [Fri, 2 Dec 2016 01:59:39 +0000 (01:59 +0000)]
DO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: f279a5bc0d  -s ours am: 704085119d am: 8bd3aa70ad  -s ours am: 60cc001b28 am: a0b41fca40 am: 793c3b14df am: cfa18212ff  -s ours am: 52a98daa1a am: 264f2b50b5
am: 353d59d997

Change-Id: Id5f9617fcc3f3a02fbb5fdd47b1fa9c605ec2a3b

7 years agoDO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: f279a5bc0d -s...
Jeff Sharkey [Fri, 2 Dec 2016 01:53:55 +0000 (01:53 +0000)]
DO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: f279a5bc0d  -s ours am: 704085119d am: 8bd3aa70ad  -s ours am: 60cc001b28 am: a0b41fca40 am: 793c3b14df am: cfa18212ff  -s ours am: 52a98daa1a
am: 264f2b50b5

Change-Id: If9d02088e2853c8959e7beb54a30c92dc3dd61de

7 years agoMerge "DO NOT MERGE. Retain DownloadManager Uri grants when clearing." into nyc-mr1-dev
Jeff Sharkey [Fri, 2 Dec 2016 01:52:15 +0000 (01:52 +0000)]
Merge "DO NOT MERGE. Retain DownloadManager Uri grants when clearing." into nyc-mr1-dev
am: e49ba8b3d8

Change-Id: I6e2a50c80c12c9cd88f36a019fa814713f724c82

7 years agoDO NOT MERGE. Retain DownloadManager Uri grants when clearing.
Jeff Sharkey [Fri, 2 Dec 2016 01:52:12 +0000 (01:52 +0000)]
DO NOT MERGE. Retain DownloadManager Uri grants when clearing.
am: 6eee8e37fd

Change-Id: I431b334bbf3580f51fc8e31da28c9c9d6f5944ee

7 years agoMerge "DO NOT MERGE. Retain DownloadManager Uri grants when clearing." into nyc-dev
TreeHugger Robot [Fri, 2 Dec 2016 01:51:44 +0000 (01:51 +0000)]
Merge "DO NOT MERGE. Retain DownloadManager Uri grants when clearing." into nyc-dev

7 years agoDO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: 1de465bec2 am...
Jeff Sharkey [Fri, 2 Dec 2016 01:51:04 +0000 (01:51 +0000)]
DO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: 1de465bec2 am: b9a0b79675  -s ours am: 1da786d723 am: af5f47caca am: ee8e0e8ae3 am: f70dd1fbc1  -s ours am: 60f17b8505 am: ca44afff8a
am: f2688ddcb7

Change-Id: Ibdbf06398dc508b01561b912bdbcb1b419965b4d

7 years agoMerge "DO NOT MERGE. Retain DownloadManager Uri grants when clearing." into mnc-dr1...
Jeff Sharkey [Fri, 2 Dec 2016 01:49:54 +0000 (01:49 +0000)]
Merge "DO NOT MERGE. Retain DownloadManager Uri grants when clearing." into mnc-dr1.5-dev am: 32d2b4c7af  -s ours am: 18ade37c6b am: 05318c125f
am: 68979dd543

Change-Id: I451cba0003a6dbea88d718c332971386c539dad7

7 years agoDO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: f084ccd48d -s...
Jeff Sharkey [Fri, 2 Dec 2016 01:48:50 +0000 (01:48 +0000)]
DO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: f084ccd48d  -s ours am: d9a7f11334 am: 2436f1e49d
am: 90efb1a88d

Change-Id: I7dd6a4396691429ba66cefb136c6176db62da010

7 years agoDO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: f279a5bc0d -s...
Jeff Sharkey [Fri, 2 Dec 2016 01:47:50 +0000 (01:47 +0000)]
DO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: f279a5bc0d  -s ours am: 704085119d am: 8bd3aa70ad  -s ours am: 60cc001b28 am: a0b41fca40 am: 793c3b14df am: cfa18212ff  -s ours
am: 52a98daa1a

Change-Id: I26fab4fb01b88370f84c1767c79998ebc503d731

7 years agoDO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: 3b0aa060a3 am...
Jeff Sharkey [Fri, 2 Dec 2016 01:47:37 +0000 (01:47 +0000)]
DO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: 3b0aa060a3 am: 3e0d93036b am: 061e7313b4 am: 50102e63da  -s ours am: e94d76436b am: 40b4b1f774
am: ced9dde8c0

Change-Id: I00217abf1fb1f9f772547250d24dc30ea78c6683

7 years agoMerge "DO NOT MERGE. Retain DownloadManager Uri grants when clearing." into nyc-mr1-dev
TreeHugger Robot [Fri, 2 Dec 2016 01:41:45 +0000 (01:41 +0000)]
Merge "DO NOT MERGE. Retain DownloadManager Uri grants when clearing." into nyc-mr1-dev

7 years agoDO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: 1de465bec2 am...
Jeff Sharkey [Fri, 2 Dec 2016 01:39:49 +0000 (01:39 +0000)]
DO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: 1de465bec2 am: b9a0b79675  -s ours am: 1da786d723 am: af5f47caca am: ee8e0e8ae3 am: f70dd1fbc1  -s ours am: 60f17b8505
am: ca44afff8a

Change-Id: I7317621b2b33749792826e296b99dab1f5bed203

7 years agoMerge "DO NOT MERGE. Retain DownloadManager Uri grants when clearing." into mnc-dr1...
Jeff Sharkey [Fri, 2 Dec 2016 01:38:37 +0000 (01:38 +0000)]
Merge "DO NOT MERGE. Retain DownloadManager Uri grants when clearing." into mnc-dr1.5-dev am: 32d2b4c7af  -s ours am: 18ade37c6b
am: 05318c125f

Change-Id: I858364149ce1ec4dd796d7bc52c5b82099ba55b0

7 years agoDO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: f084ccd48d -s...
Jeff Sharkey [Fri, 2 Dec 2016 01:37:36 +0000 (01:37 +0000)]
DO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: f084ccd48d  -s ours am: d9a7f11334
am: 2436f1e49d

Change-Id: I0dd664960ca4b08b1a21ccb0139c9354c56c7cd5

7 years agoDO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: f279a5bc0d -s...
Jeff Sharkey [Fri, 2 Dec 2016 01:36:30 +0000 (01:36 +0000)]
DO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: f279a5bc0d  -s ours am: 704085119d am: 8bd3aa70ad  -s ours am: 60cc001b28 am: a0b41fca40 am: 793c3b14df
am: cfa18212ff  -s ours

Change-Id: I9b99f86f7703a960154859f1824c21edae0515d4

7 years agoDO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: 3b0aa060a3 am...
Jeff Sharkey [Fri, 2 Dec 2016 01:36:30 +0000 (01:36 +0000)]
DO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: 3b0aa060a3 am: 3e0d93036b am: 061e7313b4 am: 50102e63da  -s ours am: e94d76436b
am: 40b4b1f774

Change-Id: If2dc11e8db8deb1f432f853aeed013d9d554c8f5

7 years agoDO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: 1de465bec2 am...
Jeff Sharkey [Fri, 2 Dec 2016 01:28:44 +0000 (01:28 +0000)]
DO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: 1de465bec2 am: b9a0b79675  -s ours am: 1da786d723 am: af5f47caca am: ee8e0e8ae3 am: f70dd1fbc1  -s ours
am: 60f17b8505

Change-Id: I10b4a404deb98692a372df001b5af742f84f9d06

7 years agoMerge "DO NOT MERGE. Retain DownloadManager Uri grants when clearing." into mnc-dr1...
Jeff Sharkey [Fri, 2 Dec 2016 01:27:34 +0000 (01:27 +0000)]
Merge "DO NOT MERGE. Retain DownloadManager Uri grants when clearing." into mnc-dr1.5-dev am: 32d2b4c7af  -s ours
am: 18ade37c6b

Change-Id: I374cd53de7cc8e68b2605f2edc9cf595d1119c3e

7 years agoDO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: f084ccd48d -s...
Jeff Sharkey [Fri, 2 Dec 2016 01:26:32 +0000 (01:26 +0000)]
DO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: f084ccd48d  -s ours
am: d9a7f11334

Change-Id: I8b47e258124e4be1b4067712a7cbabb9b7c82a8a

7 years agoDO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: 3b0aa060a3 am...
Jeff Sharkey [Fri, 2 Dec 2016 01:25:28 +0000 (01:25 +0000)]
DO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: 3b0aa060a3 am: 3e0d93036b am: 061e7313b4 am: 50102e63da  -s ours
am: e94d76436b

Change-Id: Ice97dfb650bafe8fff720db26fcdc6f1db60037e

7 years agoDO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: fbf395c220 am...
Jeff Sharkey [Fri, 2 Dec 2016 01:24:41 +0000 (01:24 +0000)]
DO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: fbf395c220 am: 2d549764be am: b981c3be70  -s ours am: a24a33490a am: dd32a67b33
am: a898d9f6ca

Change-Id: Ia3add5aa2d68c32b293e82712d59dc439121fb01

7 years agoDO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: f279a5bc0d -s...
Jeff Sharkey [Fri, 2 Dec 2016 01:24:37 +0000 (01:24 +0000)]
DO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: f279a5bc0d  -s ours am: 704085119d am: 8bd3aa70ad  -s ours am: 60cc001b28 am: a0b41fca40
am: 793c3b14df

Change-Id: Ieb6c0ded58178120a8407efd023a190648db8c08

7 years agoDO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: 1de465bec2 am...
Jeff Sharkey [Fri, 2 Dec 2016 01:18:49 +0000 (01:18 +0000)]
DO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: 1de465bec2 am: b9a0b79675  -s ours am: 1da786d723 am: af5f47caca am: ee8e0e8ae3
am: f70dd1fbc1  -s ours

Change-Id: Ie3be31b7010a3fae500b547fde31056084b3e2b7

7 years agoAdd ability to set supported audio routes on phone accounts and connection
Christine Hallstrom [Thu, 1 Dec 2016 00:06:42 +0000 (16:06 -0800)]
Add ability to set supported audio routes on phone accounts and connection

The set audio routes are used by Telecom to restrict where the audio may
be routed to. For example, an account can specify that calls may not be
routed over bluetooth headsets, which will prevent a new call from being
routed to this source.

This is a cherry-pick of abandoned ag/1521009.

Bug: 32958838
Change-Id: Idd5e4d38b157f11454f3d991385644f2f384596e

7 years agoDO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: fbf395c220 am...
Jeff Sharkey [Fri, 2 Dec 2016 01:18:32 +0000 (01:18 +0000)]
DO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: fbf395c220 am: 2d549764be am: b981c3be70  -s ours am: a24a33490a
am: dd32a67b33

Change-Id: I2d8b2894d07f7f6173e979d7eb656e9ac860f06a

7 years agoDO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: f279a5bc0d -s...
Jeff Sharkey [Fri, 2 Dec 2016 01:18:27 +0000 (01:18 +0000)]
DO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: f279a5bc0d  -s ours am: 704085119d am: 8bd3aa70ad  -s ours am: 60cc001b28
am: a0b41fca40

Change-Id: I12241d8c7c843c63981dfda795f99c8d18634d74

7 years agoMerge "DO NOT MERGE. Retain DownloadManager Uri grants when clearing." into mnc-dr1...
Jeff Sharkey [Fri, 2 Dec 2016 01:14:27 +0000 (01:14 +0000)]
Merge "DO NOT MERGE. Retain DownloadManager Uri grants when clearing." into mnc-dr1.5-dev
am: 32d2b4c7af  -s ours

Change-Id: Id4cf3526f7892971e4f226e98036166cbe8d28ef

7 years agoDO NOT MERGE. Retain DownloadManager Uri grants when clearing.
Jeff Sharkey [Fri, 2 Dec 2016 01:14:23 +0000 (01:14 +0000)]
DO NOT MERGE. Retain DownloadManager Uri grants when clearing.
am: f084ccd48d  -s ours

Change-Id: I9b4630b18d52ad503b88380c1a853bf3c0b46a10

7 years agoDO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: 3b0aa060a3 am...
Jeff Sharkey [Fri, 2 Dec 2016 01:13:18 +0000 (01:13 +0000)]
DO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: 3b0aa060a3 am: 3e0d93036b am: 061e7313b4
am: 50102e63da  -s ours

Change-Id: I3a587cb124b30ef5062600e7ba870da58213a094

7 years agoDO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: 1de465bec2 am...
Jeff Sharkey [Fri, 2 Dec 2016 01:13:13 +0000 (01:13 +0000)]
DO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: 1de465bec2 am: b9a0b79675  -s ours am: 1da786d723 am: af5f47caca
am: ee8e0e8ae3

Change-Id: I24fd90b2e61aabe95ccc5891c02fbbe2c795ba18

7 years agoDO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: fbf395c220 am...
Jeff Sharkey [Fri, 2 Dec 2016 01:13:09 +0000 (01:13 +0000)]
DO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: fbf395c220 am: 2d549764be am: b981c3be70  -s ours
am: a24a33490a

Change-Id: I8564b110d58f63aeee8afeab87773e97b7301a60

7 years agoDO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: f279a5bc0d -s...
Jeff Sharkey [Fri, 2 Dec 2016 01:13:04 +0000 (01:13 +0000)]
DO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: f279a5bc0d  -s ours am: 704085119d am: 8bd3aa70ad  -s ours
am: 60cc001b28

Change-Id: Ic21f6cc9072ae65ba67f117a21c4703e8f8cf6ea

7 years agoMerge "DO NOT MERGE. Retain DownloadManager Uri grants when clearing." into mnc-dr1...
TreeHugger Robot [Fri, 2 Dec 2016 01:10:32 +0000 (01:10 +0000)]
Merge "DO NOT MERGE. Retain DownloadManager Uri grants when clearing." into mnc-dr1.5-dev

7 years agoDO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: fbf395c220 am...
Jeff Sharkey [Fri, 2 Dec 2016 01:07:07 +0000 (01:07 +0000)]
DO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: fbf395c220 am: 2d549764be
am: b981c3be70  -s ours

Change-Id: I22fe97ae93c6e665288d46c29429ca7690352fb3

7 years agoDO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: 1de465bec2 am...
Jeff Sharkey [Fri, 2 Dec 2016 01:06:56 +0000 (01:06 +0000)]
DO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: 1de465bec2 am: b9a0b79675  -s ours am: 1da786d723
am: af5f47caca

Change-Id: Idc1de786eee9966a0d555affdb2ac41fa134eb55

7 years agoDO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: 3b0aa060a3 am...
Jeff Sharkey [Fri, 2 Dec 2016 01:06:56 +0000 (01:06 +0000)]
DO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: 3b0aa060a3 am: 3e0d93036b
am: 061e7313b4

Change-Id: If0723e8cb1484263a3b96b37d21132d2ebc9b1b5

7 years agoDO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: f279a5bc0d -s...
Jeff Sharkey [Fri, 2 Dec 2016 01:01:52 +0000 (01:01 +0000)]
DO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: f279a5bc0d  -s ours am: 704085119d
am: 8bd3aa70ad  -s ours

Change-Id: I3ef5d68391566fc428906799a6ec6d166b9479a4

7 years agoDO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: 1de465bec2 am...
Jeff Sharkey [Fri, 2 Dec 2016 01:01:51 +0000 (01:01 +0000)]
DO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: 1de465bec2 am: b9a0b79675  -s ours
am: 1da786d723

Change-Id: I09b766396a8334551917723a47d5bba2590cb2bd

7 years agoDO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: fbf395c220
Jeff Sharkey [Fri, 2 Dec 2016 01:01:49 +0000 (01:01 +0000)]
DO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: fbf395c220
am: 2d549764be

Change-Id: Iad255e684d36524388a659181da0535bd15e37dc

7 years agoDO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: 3b0aa060a3
Jeff Sharkey [Fri, 2 Dec 2016 01:01:49 +0000 (01:01 +0000)]
DO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: 3b0aa060a3
am: 3e0d93036b

Change-Id: Ice0b80b96cdd7ad1a7691919982d98266a37f8bf

7 years agoDO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: 1de465bec2
Jeff Sharkey [Fri, 2 Dec 2016 00:56:36 +0000 (00:56 +0000)]
DO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: 1de465bec2
am: b9a0b79675  -s ours

Change-Id: I82040d83bc780656b5deaa4fbe664700567e2138

7 years agoDO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: f279a5bc0d -s...
Jeff Sharkey [Fri, 2 Dec 2016 00:56:32 +0000 (00:56 +0000)]
DO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: f279a5bc0d  -s ours
am: 704085119d

Change-Id: Ic687581a9bf5f0906cdb7642e59b81d9b6175aca

7 years agoDO NOT MERGE. Retain DownloadManager Uri grants when clearing.
Jeff Sharkey [Fri, 2 Dec 2016 00:56:31 +0000 (00:56 +0000)]
DO NOT MERGE. Retain DownloadManager Uri grants when clearing.
am: 3b0aa060a3

Change-Id: I3ba9a8dedfda4d878b99cc7de8a41418d424495c

7 years agoDO NOT MERGE. Retain DownloadManager Uri grants when clearing.
Jeff Sharkey [Fri, 2 Dec 2016 00:56:26 +0000 (00:56 +0000)]
DO NOT MERGE. Retain DownloadManager Uri grants when clearing.
am: fbf395c220

Change-Id: I453445723ea9f6124d876dc32c6defab42432351

7 years agoDO NOT MERGE. Retain DownloadManager Uri grants when clearing.
Jeff Sharkey [Fri, 2 Dec 2016 00:50:29 +0000 (00:50 +0000)]
DO NOT MERGE. Retain DownloadManager Uri grants when clearing.
am: 1de465bec2

Change-Id: I14f82fa9c555bea0e71553713436a6836a421691

7 years agoDO NOT MERGE. Retain DownloadManager Uri grants when clearing.
Jeff Sharkey [Fri, 2 Dec 2016 00:50:27 +0000 (00:50 +0000)]
DO NOT MERGE. Retain DownloadManager Uri grants when clearing.
am: f279a5bc0d  -s ours

Change-Id: I7fde8a3cd529bc495aa7e886988d73e22815c0b4

7 years agoDO NOT MERGE. Retain DownloadManager Uri grants when clearing.
Jeff Sharkey [Wed, 30 Nov 2016 23:07:00 +0000 (16:07 -0700)]
DO NOT MERGE. Retain DownloadManager Uri grants when clearing.

As part of fixing a recent security issue, DownloadManager now needs
to issue Uri permission grants for all downloads.  However, if an app
that requested a download is upgraded or otherwise force-stopped,
the required permission grants are removed.

We could tell DownloadManager about the app being stopped, but that
would be racy (due to background broadcast), and waking it up would
degrade system health.  Instead, as a special case we now only
consider clearing DownloadManager permission grants when app data
is being cleared.

Bug: 3217254230537115
Test: builds, boots, app upgrade doesn't clear grants
Change-Id: I7e3d4546fd12bfe5f81b9fb9857ece58d574a6b9
(cherry picked from commit 23ec811266fb728cf159a90ce4882b3c9bac1887)

7 years agoDO NOT MERGE. Retain DownloadManager Uri grants when clearing.
Jeff Sharkey [Wed, 30 Nov 2016 23:07:00 +0000 (16:07 -0700)]
DO NOT MERGE. Retain DownloadManager Uri grants when clearing.

As part of fixing a recent security issue, DownloadManager now needs
to issue Uri permission grants for all downloads.  However, if an app
that requested a download is upgraded or otherwise force-stopped,
the required permission grants are removed.

We could tell DownloadManager about the app being stopped, but that
would be racy (due to background broadcast), and waking it up would
degrade system health.  Instead, as a special case we now only
consider clearing DownloadManager permission grants when app data
is being cleared.

Bug: 3217254230537115
Test: builds, boots, app upgrade doesn't clear grants
Change-Id: I7e3d4546fd12bfe5f81b9fb9857ece58d574a6b9
(cherry picked from commit 23ec811266fb728cf159a90ce4882b3c9bac1887)

7 years agoDO NOT MERGE. Retain DownloadManager Uri grants when clearing.
Jeff Sharkey [Wed, 30 Nov 2016 23:07:00 +0000 (16:07 -0700)]
DO NOT MERGE. Retain DownloadManager Uri grants when clearing.

As part of fixing a recent security issue, DownloadManager now needs
to issue Uri permission grants for all downloads.  However, if an app
that requested a download is upgraded or otherwise force-stopped,
the required permission grants are removed.

We could tell DownloadManager about the app being stopped, but that
would be racy (due to background broadcast), and waking it up would
degrade system health.  Instead, as a special case we now only
consider clearing DownloadManager permission grants when app data
is being cleared.

Bug: 3217254230537115
Test: builds, boots, app upgrade doesn't clear grants
Change-Id: I7e3d4546fd12bfe5f81b9fb9857ece58d574a6b9
(cherry picked from commit 23ec811266fb728cf159a90ce4882b3c9bac1887)

7 years agoDO NOT MERGE. Retain DownloadManager Uri grants when clearing.
Jeff Sharkey [Wed, 30 Nov 2016 23:07:00 +0000 (16:07 -0700)]
DO NOT MERGE. Retain DownloadManager Uri grants when clearing.

As part of fixing a recent security issue, DownloadManager now needs
to issue Uri permission grants for all downloads.  However, if an app
that requested a download is upgraded or otherwise force-stopped,
the required permission grants are removed.

We could tell DownloadManager about the app being stopped, but that
would be racy (due to background broadcast), and waking it up would
degrade system health.  Instead, as a special case we now only
consider clearing DownloadManager permission grants when app data
is being cleared.

Bug: 3217254230537115
Test: builds, boots, app upgrade doesn't clear grants
Change-Id: I7e3d4546fd12bfe5f81b9fb9857ece58d574a6b9
(cherry picked from commit 23ec811266fb728cf159a90ce4882b3c9bac1887)

7 years agoDO NOT MERGE. Retain DownloadManager Uri grants when clearing.
Jeff Sharkey [Wed, 30 Nov 2016 23:07:00 +0000 (16:07 -0700)]
DO NOT MERGE. Retain DownloadManager Uri grants when clearing.

As part of fixing a recent security issue, DownloadManager now needs
to issue Uri permission grants for all downloads.  However, if an app
that requested a download is upgraded or otherwise force-stopped,
the required permission grants are removed.

We could tell DownloadManager about the app being stopped, but that
would be racy (due to background broadcast), and waking it up would
degrade system health.  Instead, as a special case we now only
consider clearing DownloadManager permission grants when app data
is being cleared.

Bug: 3217254230537115
Test: builds, boots, app upgrade doesn't clear grants
Change-Id: I7e3d4546fd12bfe5f81b9fb9857ece58d574a6b9
(cherry picked from commit 23ec811266fb728cf159a90ce4882b3c9bac1887)

7 years agoDO NOT MERGE. Retain DownloadManager Uri grants when clearing.
Jeff Sharkey [Wed, 30 Nov 2016 23:07:00 +0000 (16:07 -0700)]
DO NOT MERGE. Retain DownloadManager Uri grants when clearing.

As part of fixing a recent security issue, DownloadManager now needs
to issue Uri permission grants for all downloads.  However, if an app
that requested a download is upgraded or otherwise force-stopped,
the required permission grants are removed.

We could tell DownloadManager about the app being stopped, but that
would be racy (due to background broadcast), and waking it up would
degrade system health.  Instead, as a special case we now only
consider clearing DownloadManager permission grants when app data
is being cleared.

Bug: 3217254230537115
Test: builds, boots, app upgrade doesn't clear grants
Change-Id: I7e3d4546fd12bfe5f81b9fb9857ece58d574a6b9
(cherry picked from commit 23ec811266fb728cf159a90ce4882b3c9bac1887)

7 years agoDO NOT MERGE. Retain DownloadManager Uri grants when clearing.
Jeff Sharkey [Wed, 30 Nov 2016 23:07:00 +0000 (16:07 -0700)]
DO NOT MERGE. Retain DownloadManager Uri grants when clearing.

As part of fixing a recent security issue, DownloadManager now needs
to issue Uri permission grants for all downloads.  However, if an app
that requested a download is upgraded or otherwise force-stopped,
the required permission grants are removed.

We could tell DownloadManager about the app being stopped, but that
would be racy (due to background broadcast), and waking it up would
degrade system health.  Instead, as a special case we now only
consider clearing DownloadManager permission grants when app data
is being cleared.

Bug: 3217254230537115
Test: builds, boots, app upgrade doesn't clear grants
Change-Id: I7e3d4546fd12bfe5f81b9fb9857ece58d574a6b9
(cherry picked from commit 23ec811266fb728cf159a90ce4882b3c9bac1887)

7 years agoMerge "DO NOT MERGE: Sync with master: Add initial ambient light sensor rate" into...
Julius D'souza [Thu, 1 Dec 2016 22:26:02 +0000 (22:26 +0000)]
Merge "DO NOT MERGE: Sync with master: Add initial ambient light sensor rate" into cw-f-dev

7 years agoMerge "Change exit animation to use normal z-order." into cw-f-dev
TreeHugger Robot [Thu, 1 Dec 2016 02:43:32 +0000 (02:43 +0000)]
Merge "Change exit animation to use normal z-order." into cw-f-dev

7 years agoChange exit animation to use normal z-order.
Michael Kwan [Wed, 30 Nov 2016 21:53:37 +0000 (13:53 -0800)]
Change exit animation to use normal z-order.

Bug: 33198426
Change-Id: I57f2f6360c165fbea25adf9b43f052e09261364b

7 years agoMerge "Allow power button to close an input method" into cw-f-dev
Mark Renouf [Thu, 1 Dec 2016 01:16:53 +0000 (01:16 +0000)]
Merge "Allow power button to close an input method" into cw-f-dev

7 years agoMerge "Change activity dismiss animation to move left to right." into cw-f-dev
TreeHugger Robot [Wed, 30 Nov 2016 22:39:02 +0000 (22:39 +0000)]
Merge "Change activity dismiss animation to move left to right." into cw-f-dev

7 years agoMerge "Revert "DO NOT MERGE Wear Fwk: Disable Animations for A11y"" into cw-f-dev
TreeHugger Robot [Wed, 30 Nov 2016 21:43:34 +0000 (21:43 +0000)]
Merge "Revert "DO NOT MERGE Wear Fwk: Disable Animations for A11y"" into cw-f-dev

7 years agoAllow power button to close an input method
Mark Renouf [Tue, 29 Nov 2016 19:41:50 +0000 (14:41 -0500)]
Allow power button to close an input method

BUG: 33038203
Change-Id: I5c44dc49db6b960b4e3e42545bfbbab62f357f08

7 years agoChange activity dismiss animation to move left to right.
Michael Kwan [Wed, 30 Nov 2016 20:19:36 +0000 (12:19 -0800)]
Change activity dismiss animation to move left to right.

Bug: 33041168
Change-Id: Idf3d512debead3b3c70bc2bb8b38b133f2ad1723

7 years agoRevert "DO NOT MERGE Wear Fwk: Disable Animations for A11y"
vinodkrishnan [Wed, 30 Nov 2016 20:09:59 +0000 (20:09 +0000)]
Revert "DO NOT MERGE Wear Fwk: Disable Animations for A11y"

This reverts commit 8500f26d51e2ba0de7b6cd18bec5f85e5ca40e1d.

Change-Id: I6408fa3f307d7611443e26b24d3876c1a1f92fdc

7 years agoMerge "DO NOT MERGE: Properly set FLAG_ACTIVITY_BROUGHT_TO_FRONT for onNewIntent...
TreeHugger Robot [Wed, 30 Nov 2016 03:09:20 +0000 (03:09 +0000)]
Merge "DO NOT MERGE: Properly set FLAG_ACTIVITY_BROUGHT_TO_FRONT for onNewIntent() callback" into cw-f-dev

7 years agoDO NOT MERGE: Properly set FLAG_ACTIVITY_BROUGHT_TO_FRONT for onNewIntent() callback
Anthony Hugh [Tue, 22 Nov 2016 23:13:35 +0000 (15:13 -0800)]
DO NOT MERGE: Properly set FLAG_ACTIVITY_BROUGHT_TO_FRONT for onNewIntent() callback

It looks like there was a regression where #onNewIntent() was called
before the FLAG_ACTIVITY_BROUGHT_TO_FRONT flag was set.  This
change updates the code so we set the flag properly.

BUG: 33034247
Change-Id: I61959a289dc5af14ee9d3d7bfa213191238efc88

7 years agoFix boot loop when upgrading direclty from L to N
Rubin Xu [Fri, 25 Nov 2016 18:20:48 +0000 (18:20 +0000)]
Fix boot loop when upgrading direclty from L to N
am: bfc7faaf35

Change-Id: Iaaf32f1c6fd70dd394252f963d87897899fb2e55

7 years agoDisables swipe-to-dismiss windows for input methods on Wear
Mark Renouf [Tue, 22 Nov 2016 22:48:59 +0000 (17:48 -0500)]
Disables swipe-to-dismiss windows for input methods on Wear

BUG: 33086263
Change-Id: I77ed17602cee2cf08f5265a60a1d7654e6e23960

7 years agoFix boot loop when upgrading direclty from L to N
Rubin Xu [Tue, 22 Nov 2016 15:18:32 +0000 (15:18 +0000)]
Fix boot loop when upgrading direclty from L to N

A second attempt to fix the upgrade problem due to SID == 0
in the above upgrade path. The previous fix contains a bug
where it would cause future attempts to unify work challenge
to silently fail, and crash SystemUi when unlocking.

This fix adds a check for non-zero SID before doing the initial work
profile unification (which caused the upgrade crash when SID == 0).
This means the initial work profile unification would only happen when
the user has unlocked the lockscreen and SID is generated.

Bug: 32490092
Bug: 33050562
Change-Id: Ib28951b2ec26b4f091df7763d9902f55616fcb5c

7 years agoMerge "Revert "Catch KeyStoreException for setting profile lock"" into nyc-mr1-dev
Zach Jang [Tue, 22 Nov 2016 17:59:02 +0000 (17:59 +0000)]
Merge "Revert "Catch KeyStoreException for setting profile lock"" into nyc-mr1-dev
am: d427da8a24

Change-Id: I8a4f01466e4b93782478e94240f2c8f2d74972ad

7 years agoRevert "Catch KeyStoreException for setting profile lock"
Zach Jang [Tue, 22 Nov 2016 17:58:58 +0000 (17:58 +0000)]
Revert "Catch KeyStoreException for setting profile lock"
am: e61672ab08

Change-Id: Ie1a720181bf542bbf213af8b6b83eff0ecd84a98

7 years agoMerge "Revert "Catch KeyStoreException for setting profile lock"" into nyc-mr1-dev
Zach Jang [Tue, 22 Nov 2016 17:51:57 +0000 (17:51 +0000)]
Merge "Revert "Catch KeyStoreException for setting profile lock"" into nyc-mr1-dev

7 years agoRevert "Catch KeyStoreException for setting profile lock"
Zach Jang [Tue, 22 Nov 2016 17:47:18 +0000 (17:47 +0000)]
Revert "Catch KeyStoreException for setting profile lock"

This reverts commit c8fa5ed8f2d492aa5e005fcdb5991c3f980de045.

Change-Id: Ia1425e649e102cb79280d75e5f49db670214cec3

7 years agoMerge "Fix createConfirmDeviceCredentialIntent for wear for CTS." into cw-f-dev
Nancy Zheng [Mon, 21 Nov 2016 18:13:03 +0000 (18:13 +0000)]
Merge "Fix createConfirmDeviceCredentialIntent for wear for CTS." into cw-f-dev

7 years agoFix createConfirmDeviceCredentialIntent for wear for CTS.
Nancy Zheng [Sat, 19 Nov 2016 02:15:09 +0000 (18:15 -0800)]
Fix createConfirmDeviceCredentialIntent for wear for CTS.

Bug: 33000237
Change-Id: I1fdb5a518c41ab005f12d3142763e374b38d7553

7 years agoFix default dialog background colour for watch devices.
Michael Kwan [Fri, 18 Nov 2016 23:02:43 +0000 (15:02 -0800)]
Fix default dialog background colour for watch devices.

Bug: 33008587
Change-Id: I0fe4f9a7244958406d2a3466393476f7775ae995

7 years agoMerge "Enable swipe to dismiss for watch devices." into cw-f-dev
Erik Wolsheimer [Fri, 18 Nov 2016 19:17:53 +0000 (19:17 +0000)]
Merge "Enable swipe to dismiss for watch devices." into cw-f-dev

7 years agoAdd cross-links between FINE and COARSE location permissions. bug: 25371600 am: 3fef7...
Scott Main [Fri, 18 Nov 2016 15:36:33 +0000 (15:36 +0000)]
Add cross-links between FINE and COARSE location permissions. bug: 25371600 am: 3fef783359 am: c8b11fb7cb am: 192a8c4973
am: 97be8864e5

Change-Id: I340207420e0811c74751a96dc30e929a411ea207

7 years agoAdd cross-links between FINE and COARSE location permissions. bug: 25371600 am: 3fef7...
Scott Main [Fri, 18 Nov 2016 15:30:06 +0000 (15:30 +0000)]
Add cross-links between FINE and COARSE location permissions. bug: 25371600 am: 3fef783359 am: c8b11fb7cb
am: 192a8c4973

Change-Id: Ib54b2bafcf87a4f27e6a541a4cde0b01c41780b0

7 years agoAdd cross-links between FINE and COARSE location permissions. bug: 25371600 am: 3fef7...
Scott Main [Fri, 18 Nov 2016 15:24:18 +0000 (15:24 +0000)]
Add cross-links between FINE and COARSE location permissions. bug: 25371600 am: 3fef783359
am: c8b11fb7cb

Change-Id: I6db78aa2008d2bdd675a87daeae132e5f5c09371

7 years agoAdd cross-links between FINE and COARSE location permissions. bug: 25371600
Scott Main [Fri, 18 Nov 2016 15:17:06 +0000 (15:17 +0000)]
Add cross-links between FINE and COARSE location permissions. bug: 25371600
am: 3fef783359

Change-Id: I7a7e25c37fcd7863f51ea116f624d0bdc2d0c5c6

7 years agoCatch KeyStoreException for setting profile lock
Ricky Wai [Fri, 18 Nov 2016 01:38:04 +0000 (01:38 +0000)]
Catch KeyStoreException for setting profile lock
am: c8fa5ed8f2

Change-Id: I28777d9d80ba13df463e05b95dd2524633554c9d

7 years agoCatch KeyStoreException for setting profile lock
Ricky Wai [Thu, 17 Nov 2016 18:49:17 +0000 (18:49 +0000)]
Catch KeyStoreException for setting profile lock

When device upgrades from L->N, sid(in gatekeeper) could be 0
even primary profile screenlock is set.
We are now trying to catch the exception so when sid==0 happens,
it will try to tie profile lock again when primary profile is unlocked.

Bug: 32490092
Change-Id: I73011d872ac15e7e09be9bda0165cf7f6a75493a

7 years agoDO NOT MERGE: Check provider access for content changes.
Jeff Sharkey [Thu, 17 Nov 2016 00:22:48 +0000 (17:22 -0700)]
DO NOT MERGE: Check provider access for content changes.

For an app to either send or receive content change notifications,
require that they have some level of access to the underlying
provider.

Without these checks, a malicious app could sniff sensitive user data
from the notifications of otherwise private providers.

Test: builds, boots, PoC app now fails
Bug: 32555637
Change-Id: If2dcd45cb0a9f1fb3b93e39fc7b8ae9c34c2fdef

7 years agoDO NOT MERGE: Check provider access for content changes.
Jeff Sharkey [Thu, 17 Nov 2016 00:22:48 +0000 (17:22 -0700)]
DO NOT MERGE: Check provider access for content changes.

For an app to either send or receive content change notifications,
require that they have some level of access to the underlying
provider.

Without these checks, a malicious app could sniff sensitive user data
from the notifications of otherwise private providers.

Test: builds, boots, PoC app now fails
Bug: 32555637
Change-Id: If2dcd45cb0a9f1fb3b93e39fc7b8ae9c34c2fdef

7 years agoMerge "Update colorPrimary in watch" into cw-f-dev
Fei Wu [Wed, 16 Nov 2016 21:05:24 +0000 (21:05 +0000)]
Merge "Update colorPrimary in watch" into cw-f-dev

7 years agoAdd cross-links between FINE and COARSE location permissions.
Scott Main [Tue, 15 Nov 2016 23:22:32 +0000 (15:22 -0800)]
Add cross-links between FINE and COARSE location permissions.
bug: 25371600

Change-Id: I7af21b063533085ce20c51d18f118c7752fd77f0
(cherry picked from commit b18745616f9dd6b79202168b648edcef382ea967)

7 years agoFixed a bug with the emergency affordance in multi user
Selim Cinek [Tue, 15 Nov 2016 01:18:35 +0000 (01:18 +0000)]
Fixed a bug with the emergency affordance in multi user
am: b8a7f78d24

Change-Id: I68fa35dbedb3740eff1c83d03c9c9b5080d3ea81

7 years agoFixed a bug with the emergency affordance in multi user
Selim Cinek [Thu, 3 Nov 2016 21:55:40 +0000 (14:55 -0700)]
Fixed a bug with the emergency affordance in multi user

The emergency call was not launched in the current user
and therefore was only launching once the user had switched.

Change-Id: If6f3bcf77d88a0658b6e0f91f7e4da5d6264b04f
Fixes: 32424103
Test: manual: switch to secondary user and launch emergency affordance