OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge changes from topic "am-459a2298-9d91-42be-bcee-e19446619a42" into oc-dev
TreeHugger Robot [Thu, 25 Jan 2018 18:44:49 +0000 (18:44 +0000)]
Merge changes from topic "am-459a2298-9d91-42be-bcee-e19446619a42" into oc-dev

* changes:
  [automerger skipped] Import translations. DO NOT MERGE skipped: 4cd0777c01 skipped: 03130e4fbb
  [automerger skipped] Import translations. DO NOT MERGE skipped: 4cd0777c01
  Import translations. DO NOT MERGE

6 years agoMerge changes from topic "am-3ca94091-64c7-4524-a9e7-1438a5fc6599" into oc-dev
TreeHugger Robot [Thu, 25 Jan 2018 18:40:29 +0000 (18:40 +0000)]
Merge changes from topic "am-3ca94091-64c7-4524-a9e7-1438a5fc6599" into oc-dev

* changes:
  [automerger skipped] Import translations. DO NOT MERGE skipped: 9a738cccdb skipped: 10f8c984c0
  [automerger skipped] Import translations. DO NOT MERGE skipped: 9a738cccdb
  Import translations. DO NOT MERGE

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: 9a738cccdb skipped...
Android Build Merger (Role) [Thu, 25 Jan 2018 14:23:13 +0000 (14:23 +0000)]
[automerger skipped] Import translations. DO NOT MERGE skipped: 9a738cccdb skipped: 10f8c984c0

Change-Id: I4a8b6d977c11f57303700d60526707b632a7c403

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: 9a738cccdb
Android Build Merger (Role) [Thu, 25 Jan 2018 14:23:07 +0000 (14:23 +0000)]
[automerger skipped] Import translations. DO NOT MERGE skipped: 9a738cccdb

Change-Id: Iae0ea1e87448360321f506ca698d19b5b7812498

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 25 Jan 2018 14:22:37 +0000 (06:22 -0800)]
Import translations. DO NOT MERGE

Change-Id: Ie4fc80ab24fb6a8f3272a6540e6d93d26b7d5496
Auto-generated-cl: translation import

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: 4cd0777c01 skipped...
Android Build Merger (Role) [Thu, 25 Jan 2018 13:13:09 +0000 (13:13 +0000)]
[automerger skipped] Import translations. DO NOT MERGE skipped: 4cd0777c01 skipped: 03130e4fbb

Change-Id: Id7171c69c55a042c6ac6cad743a23960591b9e86

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: 4cd0777c01
Android Build Merger (Role) [Thu, 25 Jan 2018 13:13:01 +0000 (13:13 +0000)]
[automerger skipped] Import translations. DO NOT MERGE skipped: 4cd0777c01

Change-Id: I697689c9d02095934f558b3b2ce3786170b25305

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 25 Jan 2018 13:12:24 +0000 (05:12 -0800)]
Import translations. DO NOT MERGE

Change-Id: Ibd7d5723c9c4cdc09efcb30f604ff43a096c5da1
Auto-generated-cl: translation import

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: e34cac0486 skipped...
Android Build Merger (Role) [Thu, 25 Jan 2018 12:17:01 +0000 (12:17 +0000)]
[automerger skipped] Import translations. DO NOT MERGE skipped: e34cac0486 skipped: a14fb25f93

Change-Id: I93cffeeef1826f04ff75bd61c9fcacbfcfc8668c

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: e34cac0486
Android Build Merger (Role) [Thu, 25 Jan 2018 12:16:54 +0000 (12:16 +0000)]
[automerger skipped] Import translations. DO NOT MERGE skipped: e34cac0486

Change-Id: I45a61272bb4c3ca3a67210778f6fd7ff65553f99

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 25 Jan 2018 12:16:22 +0000 (04:16 -0800)]
Import translations. DO NOT MERGE

Change-Id: I3040ff1778e9dc85cc004396ec70bf272d73c0f5
Auto-generated-cl: translation import

6 years agoRESTRICT AUTOMERGE Preventing recursive referrence in drawables
Sunny Goyal [Wed, 1 Nov 2017 18:58:13 +0000 (11:58 -0700)]
RESTRICT AUTOMERGE Preventing recursive referrence in drawables

Bug: 68706673
Bug: 66498711
Test: Added CTS tests

Change-Id: I8034f49d16f9a7bc1749714fd6d6231bba5088d0
(cherry picked from commit I8034f49d16f9a7bc1749714fd6d6231bba5088d0)
Merged-In: I8034f49d16f9a7bc1749714fd6d6231bba5088d0

6 years agoMerge "Wrap StackOverflowError in NotFoundException. Bug: 67462465 Bug: 66498711...
TreeHugger Robot [Fri, 12 Jan 2018 05:23:45 +0000 (05:23 +0000)]
Merge "Wrap StackOverflowError in NotFoundException. Bug: 67462465 Bug: 66498711 Test: builds and tested using faulty apk with recursive drawable. Change-Id: I47691343dae892beb5ed8c1c66c33edefade321e (cherry picked from commit dc92d925d819d2c385c04e49369e8574fa111d14)" into oc-dev

6 years agoMerged-In: I0906de76abf4124d74f7f4f80ac0eab3cbf94f7e
Kevin Hufnagle [Thu, 29 Jun 2017 22:58:48 +0000 (15:58 -0700)]
Merged-In: I0906de76abf4124d74f7f4f80ac0eab3cbf94f7e
docs: Revised descriptions of binding and connecting to services.

Clarified that Context.bindService() returning true only indicates
that the system has found a service to bind to the client and that
ServiceConnection.onServiceConnected() might not be called if the
service encounters an error, such as crashing during startup.

Test: make ds-docs

Bug: 63118511
Change-Id: I0906de76abf4124d74f7f4f80ac0eab3cbf94f7e

6 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev am: 45d962274f -s ours
Bill Yi [Thu, 21 Dec 2017 18:15:02 +0000 (18:15 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev am: 45d962274f  -s ours
am: 0a1948e515  -s ours

Change-Id: If6c330da79edb94911ec1fb076a29e8c485ca725

6 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev
Bill Yi [Thu, 21 Dec 2017 18:11:27 +0000 (18:11 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev
am: 45d962274f  -s ours

Change-Id: I43d3d8e14417f7aed30a470191386753c9957701

6 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev
TreeHugger Robot [Thu, 21 Dec 2017 18:04:34 +0000 (18:04 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev

6 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev am: 81b98ffb09 -s ours
Bill Yi [Thu, 21 Dec 2017 17:57:41 +0000 (17:57 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev am: 81b98ffb09  -s ours
am: ea2e302eff  -s ours

Change-Id: I9d23c6267a38545927029782293ef8a15961cca7

6 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev am: 599fb37c01 -s ours
Bill Yi [Thu, 21 Dec 2017 17:51:21 +0000 (17:51 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev am: 599fb37c01  -s ours
am: d21211470c  -s ours

Change-Id: Ife7d7f70c599c556abebf10eee525072a127b34d

6 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev am: e1ca34b5c7 -s ours
Bill Yi [Thu, 21 Dec 2017 17:50:03 +0000 (17:50 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev am: e1ca34b5c7  -s ours
am: d5a7faea83  -s ours

Change-Id: Ie8542f341e8be8ea5d28f300773c0d49c6a16aab

6 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev am: 7ce772e941 -s ours
Bill Yi [Thu, 21 Dec 2017 17:48:29 +0000 (17:48 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev am: 7ce772e941  -s ours
am: 51fc07ad61  -s ours

Change-Id: I336996e228fd3c69f192d3614207f24cec0b4ed8

6 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev
Bill Yi [Thu, 21 Dec 2017 17:46:04 +0000 (17:46 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev
am: 81b98ffb09  -s ours

Change-Id: I6369ce728c37d066932736566e465f73e7843eb5

6 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev
Bill Yi [Thu, 21 Dec 2017 17:44:40 +0000 (17:44 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev
am: 599fb37c01  -s ours

Change-Id: Icc605bca96905c647601df651186850c874b5442

6 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev
Bill Yi [Thu, 21 Dec 2017 17:42:25 +0000 (17:42 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev
am: e1ca34b5c7  -s ours

Change-Id: Ie97a72b89d17e982dbe499c26c956dafffe5effa

6 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev am: 1f204cd1ea -s ours
Bill Yi [Thu, 21 Dec 2017 17:42:12 +0000 (17:42 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev am: 1f204cd1ea  -s ours
am: 5943ef281a  -s ours

Change-Id: I9758d713fb9328b7f2218dae49e334f16a703476

6 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev
Bill Yi [Thu, 21 Dec 2017 17:41:01 +0000 (17:41 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev
am: 7ce772e941  -s ours

Change-Id: I0a8e327692fb18d67b9e724ce3254f3c342206b9

6 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev am: 970261b46c -s ours
Bill Yi [Thu, 21 Dec 2017 17:37:26 +0000 (17:37 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev am: 970261b46c  -s ours
am: a683975c54  -s ours

Change-Id: I54b9b28c9ad38ad19c1e7f228e2e095dfd5cabe3

6 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev
TreeHugger Robot [Wed, 20 Dec 2017 23:45:59 +0000 (23:45 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev

6 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev
TreeHugger Robot [Wed, 20 Dec 2017 23:44:55 +0000 (23:44 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev

6 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev
TreeHugger Robot [Wed, 20 Dec 2017 23:44:18 +0000 (23:44 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev

6 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev
TreeHugger Robot [Wed, 20 Dec 2017 23:44:11 +0000 (23:44 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev

6 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev
Bill Yi [Wed, 20 Dec 2017 19:29:47 +0000 (19:29 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev
am: 1f204cd1ea  -s ours

Change-Id: I0f8053bf3d65cd451e704ad682cd54b29953e944

6 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev am: 9593ca1955 -s ours
Bill Yi [Wed, 20 Dec 2017 19:26:37 +0000 (19:26 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev am: 9593ca1955  -s ours
am: 7244723549  -s ours

Change-Id: Id717ceb76ced6f3fb2b10689efd916e7e7cc5cfe

6 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev
Bill Yi [Wed, 20 Dec 2017 19:22:02 +0000 (19:22 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev
am: 970261b46c  -s ours

Change-Id: I1f37c148c9d2086d198443c596880fbc57cbad4b

6 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev am: 0c1f4c2931 -s ours
Bill Yi [Wed, 20 Dec 2017 19:19:15 +0000 (19:19 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev am: 0c1f4c2931  -s ours
am: 2d00ab621a  -s ours

Change-Id: Ib3d980494cfeb7ddc621e1185429635cc5b3ab8d

6 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev
Bill Yi [Wed, 20 Dec 2017 19:17:58 +0000 (19:17 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev
am: 9593ca1955  -s ours

Change-Id: Ie8c5ea32885dc3c6ee7b688beaf13f179dc95475

6 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev am: 496af8623f -s ours
Bill Yi [Wed, 20 Dec 2017 19:16:46 +0000 (19:16 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev am: 496af8623f  -s ours
am: c81e5ae281  -s ours

Change-Id: I90e825b5d0b540318f8a75f10bac95323e110cfa

6 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev
Bill Yi [Wed, 20 Dec 2017 19:12:46 +0000 (19:12 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev
am: 0c1f4c2931  -s ours

Change-Id: Ib2fcf638c1433c444796d90fa8578c035c60b3df

6 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev
Bill Yi [Wed, 20 Dec 2017 19:10:42 +0000 (19:10 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev
am: 496af8623f  -s ours

Change-Id: I3acd580690e2bca34b21d600225f53ac7b467185

6 years agoImport translations. DO NOT MERGE am: 406659b709 -s ours
Bill Yi [Wed, 20 Dec 2017 19:07:26 +0000 (19:07 +0000)]
Import translations. DO NOT MERGE am: 406659b709  -s ours
am: 1fccf167ff  -s ours

Change-Id: I295d71779c2361915f61c3b1f76ca90103b716ea

6 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev
TreeHugger Robot [Wed, 20 Dec 2017 19:07:04 +0000 (19:07 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev

6 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev
TreeHugger Robot [Wed, 20 Dec 2017 19:05:04 +0000 (19:05 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev

6 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev
TreeHugger Robot [Wed, 20 Dec 2017 19:04:41 +0000 (19:04 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev

6 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 20 Dec 2017 19:03:39 +0000 (19:03 +0000)]
Import translations. DO NOT MERGE
am: 406659b709  -s ours

Change-Id: Ida0956b8a3ba81a7a5f78753236c0cac001c2b1a

6 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev
TreeHugger Robot [Wed, 20 Dec 2017 18:59:40 +0000 (18:59 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev

6 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev
TreeHugger Robot [Wed, 20 Dec 2017 18:59:10 +0000 (18:59 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev

6 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 20 Dec 2017 13:29:48 +0000 (05:29 -0800)]
Import translations. DO NOT MERGE

Change-Id: Ie04afa32da40ba59ba9e9c9964fee8b597f00d1e
Auto-generated-cl: translation import

6 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 20 Dec 2017 13:24:54 +0000 (05:24 -0800)]
Import translations. DO NOT MERGE

Change-Id: If89c7f1e2e96a2922b4cce9c446109b8d085b091
Auto-generated-cl: translation import

6 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 20 Dec 2017 12:39:09 +0000 (04:39 -0800)]
Import translations. DO NOT MERGE

Change-Id: I6891787af9011c1559364b4966808a907949b07e
Auto-generated-cl: translation import

6 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 20 Dec 2017 12:34:13 +0000 (04:34 -0800)]
Import translations. DO NOT MERGE

Change-Id: Ia6fe335e23b77c14a731eb8e9e00bf1000c9600c
Auto-generated-cl: translation import

6 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 20 Dec 2017 12:29:19 +0000 (04:29 -0800)]
Import translations. DO NOT MERGE

Change-Id: Ia614e1fe986931cbc5bb2dee16c9fb5c69e6c4b7
Auto-generated-cl: translation import

6 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 20 Dec 2017 12:24:18 +0000 (04:24 -0800)]
Import translations. DO NOT MERGE

Change-Id: I1a406cd61d89311ba4c903078452f46cb1e46870
Auto-generated-cl: translation import

6 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 20 Dec 2017 12:10:52 +0000 (04:10 -0800)]
Import translations. DO NOT MERGE

Change-Id: Ifd1b4a854360927ae4479ca8d1bf0637c98aa5e5
Auto-generated-cl: translation import

6 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 20 Dec 2017 11:56:50 +0000 (03:56 -0800)]
Import translations. DO NOT MERGE

Change-Id: I4246a775e430d1db88a7c64144a4dca6824be297
Auto-generated-cl: translation import

6 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 20 Dec 2017 11:43:02 +0000 (03:43 -0800)]
Import translations. DO NOT MERGE

Change-Id: I7c5bfc2833a1fa01d3f1cabd451fa88ce8535094
Auto-generated-cl: translation import

6 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 20 Dec 2017 11:38:01 +0000 (03:38 -0800)]
Import translations. DO NOT MERGE

Change-Id: I200b939582ec1b2a016f83f62ebb586da842bfae
Auto-generated-cl: translation import

6 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 20 Dec 2017 11:32:57 +0000 (03:32 -0800)]
Import translations. DO NOT MERGE

Change-Id: I63d54555e4cb7071f114b81d17b1364475a4380f
Auto-generated-cl: translation import

6 years agoProper autofill fix to let phone process autofill Settings activity.
Felipe Leme [Mon, 11 Dec 2017 22:37:35 +0000 (14:37 -0800)]
Proper autofill fix to let phone process autofill Settings activity.

Test: adb shell am start com.android.settings/.RadioInfo
Bug: 69981710
Fixes: 70506888

Change-Id: Id29bad2d20b621f7379eb6144c95dcc819949b3d
Merged-In: Id29bad2d20b621f7379eb6144c95dcc819949b3d

6 years agoMerge "Make sure apps cannot forge package name on AssistStructure used for Autofill...
TreeHugger Robot [Fri, 8 Dec 2017 18:16:24 +0000 (18:16 +0000)]
Merge "Make sure apps cannot forge package name on AssistStructure used for Autofill." into oc-dev

6 years agoMake sure apps cannot forge package name on AssistStructure used for Autofill.
Felipe Leme [Fri, 1 Dec 2017 01:41:57 +0000 (17:41 -0800)]
Make sure apps cannot forge package name on AssistStructure used for Autofill.

Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases -t android.autofillservice.cts.VirtualContainerActivityTest#testAppCannotFakePackageName
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases

Bug: 69981710

Change-Id: Id6036cddb51dd8dd0c9128b7212d573f630d693f
Merged-In: Id6036cddb51dd8dd0c9128b7212d573f630d693f

6 years agoMerge "Swap the order of synthetic password wrapping" into oc-dev
TreeHugger Robot [Sat, 2 Dec 2017 00:01:31 +0000 (00:01 +0000)]
Merge "Swap the order of synthetic password wrapping" into oc-dev

6 years agoMerge "Merge from oc-preview-docs-release: docs: Added note that INSTALL_SHORTCUT...
Kevin Hufnagle [Fri, 1 Dec 2017 20:06:38 +0000 (20:06 +0000)]
Merge "Merge from oc-preview-docs-release: docs: Added note that INSTALL_SHORTCUT is implicit broadcast as of O." into oc-dev

6 years agoMerge "Docs: Renamed ParcelFileDescritor to ParcelFileDescriptor Test: make ds-docs...
Jon Dormody [Fri, 1 Dec 2017 15:53:36 +0000 (15:53 +0000)]
Merge "Docs: Renamed ParcelFileDescritor to ParcelFileDescriptor Test: make ds-docs Bug: 1766768" into oc-dev

6 years agoMerge "Docs: Added mention that the getSharedPreferences method is thread safe."...
Jon Dormody [Fri, 1 Dec 2017 15:52:54 +0000 (15:52 +0000)]
Merge "Docs: Added mention that the getSharedPreferences method is thread safe." into oc-dev

6 years agoDocs: Renamed ParcelFileDescritor to ParcelFileDescriptor
Jonathan Dormody [Thu, 30 Nov 2017 22:06:55 +0000 (15:06 -0700)]
Docs: Renamed ParcelFileDescritor to ParcelFileDescriptor
Test: make ds-docs
Bug: 1766768

Change-Id: Idfea122569bb6f80889be3f224f9629cfebc0ca3

6 years agoDocs: Added mention that the getSharedPreferences method is thread
Jonathan Dormody [Thu, 16 Nov 2017 18:25:20 +0000 (11:25 -0700)]
Docs: Added mention that the getSharedPreferences method is thread
safe.

Test: make ds-docs

Bug: 5370116
Change-Id: I5aa851db5e1dbcb3563f1ce15f96cc10c80e90ba

6 years agoMerge "Docs: Fixed a typo by changing "retu rn" to "return"" into oc-dev
Jon Dormody [Fri, 10 Nov 2017 16:58:17 +0000 (16:58 +0000)]
Merge "Docs: Fixed a typo by changing "retu rn" to "return"" into oc-dev

6 years agoDocs: Fixed a typo by changing "retu rn" to "return"
Jonathan Dormody [Thu, 9 Nov 2017 23:53:14 +0000 (16:53 -0700)]
Docs: Fixed a typo by changing "retu rn" to "return"

Test: make ds-docs

Bug: 32830129
Change-Id: I86b359c2cf65fbd3c9d50569bf81fd669111055e

6 years agoWrap StackOverflowError in NotFoundException.
Hyunyoung Song [Tue, 10 Oct 2017 17:35:59 +0000 (10:35 -0700)]
Wrap StackOverflowError in NotFoundException.
Bug: 67462465
Bug: 66498711
Test: builds and tested using faulty apk with recursive drawable.
Change-Id: I47691343dae892beb5ed8c1c66c33edefade321e
(cherry picked from commit dc92d925d819d2c385c04e49369e8574fa111d14)

6 years agoMerge "Docs: Added a link to Updating Your Security Provider to Protect Against SSL...
Jon Dormody [Thu, 9 Nov 2017 16:05:13 +0000 (16:05 +0000)]
Merge "Docs: Added a link to Updating Your Security Provider to Protect Against SSL Exploits" into oc-dev

6 years agoDocs: Added a link to Updating Your Security Provider to Protect Against
Jonathan Dormody [Wed, 8 Nov 2017 23:58:16 +0000 (16:58 -0700)]
Docs: Added a link to Updating Your Security Provider to Protect Against
SSL Exploits

Test: make ds-docs

Bug: 19110275
Change-Id: I3b0a35715c16c4e30a47aab9cbaf991770426c57

6 years agoAdjust Uri host parsing to use last instead of first @. am: cd6228dd37 am: 6a9c7c4814...
Adam Vartanian [Tue, 7 Nov 2017 23:50:35 +0000 (23:50 +0000)]
Adjust Uri host parsing to use last instead of first @. am: cd6228dd37 am: 6a9c7c4814 am: 4158c9fbf3 am: eee677386e am: 49e5fca362 am: 240b55de2c am: 3ac5dabc21 am: f61daaa333 am: 49dfdd66cc am: eb4598afba
am: a2149abe3a

Change-Id: I48d611e91318a8f85f12fcff5fc00de8b1f834c9

6 years agoAdjust Uri host parsing to use last instead of first @. am: cd6228dd37 am: 6a9c7c4814...
Adam Vartanian [Tue, 7 Nov 2017 23:30:44 +0000 (23:30 +0000)]
Adjust Uri host parsing to use last instead of first @. am: cd6228dd37 am: 6a9c7c4814 am: 4158c9fbf3 am: eee677386e am: 49e5fca362 am: 240b55de2c am: 3ac5dabc21 am: f61daaa333 am: 49dfdd66cc
am: eb4598afba

Change-Id: Ibf435bc90e013af2a7c72f1988ac0f78485f2c23

6 years agoAdjust Uri host parsing to use last instead of first @. am: cd6228dd37 am: 6a9c7c4814...
Adam Vartanian [Tue, 7 Nov 2017 23:04:25 +0000 (23:04 +0000)]
Adjust Uri host parsing to use last instead of first @. am: cd6228dd37 am: 6a9c7c4814 am: 4158c9fbf3 am: eee677386e am: 49e5fca362 am: 240b55de2c am: 3ac5dabc21 am: f61daaa333
am: 49dfdd66cc

Change-Id: I49d0744049b593ea47ede3ad9e128a5344196811

6 years agoAdjust Uri host parsing to use last instead of first @. am: cd6228dd37 am: 6a9c7c4814...
Adam Vartanian [Tue, 7 Nov 2017 22:41:48 +0000 (22:41 +0000)]
Adjust Uri host parsing to use last instead of first @. am: cd6228dd37 am: 6a9c7c4814 am: 4158c9fbf3 am: eee677386e am: 49e5fca362 am: 240b55de2c am: 3ac5dabc21
am: f61daaa333

Change-Id: Iee679fb3a115f6c1a2683905e5b392ec665aee33

6 years agoAdjust Uri host parsing to use last instead of first @. am: cd6228dd37 am: 6a9c7c4814...
Adam Vartanian [Tue, 7 Nov 2017 22:12:09 +0000 (22:12 +0000)]
Adjust Uri host parsing to use last instead of first @. am: cd6228dd37 am: 6a9c7c4814 am: 4158c9fbf3 am: eee677386e am: 49e5fca362 am: 240b55de2c
am: 3ac5dabc21

Change-Id: I43fbad45f90ec2d1fb48fecbd2d73a05f39730a9

6 years agoAdjust Uri host parsing to use last instead of first @. am: cd6228dd37 am: 6a9c7c4814...
Adam Vartanian [Tue, 7 Nov 2017 21:56:10 +0000 (21:56 +0000)]
Adjust Uri host parsing to use last instead of first @. am: cd6228dd37 am: 6a9c7c4814 am: 4158c9fbf3 am: eee677386e am: 49e5fca362
am: 240b55de2c

Change-Id: Ie3d378e8d9aeaff6f45838ebe988a5799f6acf3b

6 years agoAdjust Uri host parsing to use last instead of first @. am: cd6228dd37 am: 6a9c7c4814...
Adam Vartanian [Tue, 7 Nov 2017 21:41:55 +0000 (21:41 +0000)]
Adjust Uri host parsing to use last instead of first @. am: cd6228dd37 am: 6a9c7c4814 am: 4158c9fbf3 am: eee677386e
am: 49e5fca362

Change-Id: Id6f38542623d768bebcfae7e79e8e49450329037

6 years agoAdjust Uri host parsing to use last instead of first @. am: cd6228dd37 am: 6a9c7c4814...
Adam Vartanian [Tue, 7 Nov 2017 21:29:27 +0000 (21:29 +0000)]
Adjust Uri host parsing to use last instead of first @. am: cd6228dd37 am: 6a9c7c4814 am: 4158c9fbf3
am: eee677386e

Change-Id: Ifd94d94c5376a6b4f1174aa7c2c8bb6d40199d89

6 years agoAdjust Uri host parsing to use last instead of first @. am: cd6228dd37 am: 6a9c7c4814
Adam Vartanian [Tue, 7 Nov 2017 21:02:07 +0000 (21:02 +0000)]
Adjust Uri host parsing to use last instead of first @. am: cd6228dd37 am: 6a9c7c4814
am: 4158c9fbf3

Change-Id: I61bc0f5471d8f7a9a59136f320d465f2ee81b518

6 years agoAdjust Uri host parsing to use last instead of first @. am: cd6228dd37
Adam Vartanian [Tue, 7 Nov 2017 20:51:02 +0000 (20:51 +0000)]
Adjust Uri host parsing to use last instead of first @. am: cd6228dd37
am: 6a9c7c4814

Change-Id: I80bedf58833511d336839df9f17daf65cfebfacf

6 years agoAdjust Uri host parsing to use last instead of first @.
Adam Vartanian [Tue, 7 Nov 2017 20:41:28 +0000 (20:41 +0000)]
Adjust Uri host parsing to use last instead of first @.
am: cd6228dd37

Change-Id: I5db66a5a2073acaffe0560999c914a78df362c51

6 years agoAdjust Uri host parsing to use last instead of first @.
Adam Vartanian [Tue, 7 Nov 2017 12:22:23 +0000 (12:22 +0000)]
Adjust Uri host parsing to use last instead of first @.

Malformed authority segments can currently cause the parser to produce
a hostname that doesn't match the hostname produced by the WHATWG URL
parsing algorithm* used by browsers, which means that a URL could be seen
as having a "safe" host when checked by an Android app but actually visit
a different host when passed to a browser.  The WHATWG URL parsing
algorithm always produces a hostname based on the last @ in the authority
segment, so we do the same.

* https://url.spec.whatwg.org/#authority-state resets the "buffer", which
  is being used to build up the host name, each time an @ is found, so it
  has the effect of using the content between the final @ and the end
  of the authority section as the hostname.

Bug: 68341964
Test: vogar android.net.UriTest (on NYC branch)
Test: cts -m CtsNetTestCases (on NYC branch)
Change-Id: Idca79f35a886de042c94d6ab66787c2e98ac8376

6 years agoSwap the order of synthetic password wrapping
Rubin Xu [Tue, 31 Oct 2017 15:40:32 +0000 (15:40 +0000)]
Swap the order of synthetic password wrapping

Synthetic password is double encrypted by both a random auth-bound keymaster
key and a secret derived from user password. In order to avoid a password
verification oracle without rate limiting, synthetic password needs to be
encrypted by the derived secret first, and then the auth-bound key. This
change corrects the order of encryptions, as well as adds an upgrade path to
refresh existing credentials.

Test: Running an old build with existing password, flash to new build,
      verify the device unlocks successfully.
Bug: 68694819

Change-Id: Ifdaa01f3f4ddd5bb3f3d808d38f440ced729034f
Merged-In: Ifdaa01f3f4ddd5bb3f3d808d38f440ced729034f

6 years agoMerge "Throw OOME if Bitmap.nativeCreate fails" into oc-dev
TreeHugger Robot [Tue, 31 Oct 2017 20:16:27 +0000 (20:16 +0000)]
Merge "Throw OOME if Bitmap.nativeCreate fails" into oc-dev

6 years agoMerge "Use calling user ID when calling isDeviceLocked" into mnc-dev am: a0c253d07a...
Siyamed Sinir [Tue, 31 Oct 2017 18:10:52 +0000 (18:10 +0000)]
Merge "Use calling user ID when calling isDeviceLocked" into mnc-dev am: a0c253d07a am: c275b77b03 am: 1f8536653b am: bc56010856 am: eeb90235bf am: eb863a6b2e am: b353fbcb7a am: 9422f6e991
am: cc2fcef375

Change-Id: I6c7a98c8e38a38dcd9ea2aa423ee93dbd0f12ed4

6 years agoMerge "Use calling user ID when calling isDeviceLocked" into mnc-dev am: a0c253d07a...
Siyamed Sinir [Tue, 31 Oct 2017 17:59:25 +0000 (17:59 +0000)]
Merge "Use calling user ID when calling isDeviceLocked" into mnc-dev am: a0c253d07a am: c275b77b03 am: 1f8536653b am: bc56010856 am: eeb90235bf am: eb863a6b2e am: b353fbcb7a
am: 9422f6e991

Change-Id: I0097c1c1780c285adfd17c9faf277acbcaf9803d

6 years agoMerge "Use calling user ID when calling isDeviceLocked" into mnc-dev am: a0c253d07a...
Siyamed Sinir [Tue, 31 Oct 2017 17:41:58 +0000 (17:41 +0000)]
Merge "Use calling user ID when calling isDeviceLocked" into mnc-dev am: a0c253d07a am: c275b77b03 am: 1f8536653b am: bc56010856 am: eeb90235bf am: eb863a6b2e
am: b353fbcb7a

Change-Id: Iba3d14106f47f98643a6a02b67bcc14437755217

6 years agoMerge "Use calling user ID when calling isDeviceLocked" into mnc-dev am: a0c253d07a...
Siyamed Sinir [Tue, 31 Oct 2017 17:18:57 +0000 (17:18 +0000)]
Merge "Use calling user ID when calling isDeviceLocked" into mnc-dev am: a0c253d07a am: c275b77b03 am: 1f8536653b am: bc56010856 am: eeb90235bf
am: eb863a6b2e

Change-Id: Iacb16edfcc470e3f030324ee75e6eb623ee2c91c

6 years agoMerge "Use calling user ID when calling isDeviceLocked" into mnc-dev am: a0c253d07a...
Siyamed Sinir [Tue, 31 Oct 2017 17:05:15 +0000 (17:05 +0000)]
Merge "Use calling user ID when calling isDeviceLocked" into mnc-dev am: a0c253d07a am: c275b77b03 am: 1f8536653b am: bc56010856
am: eeb90235bf

Change-Id: I3125788140ad50b492d4f361b77db1d187f7c952

6 years agoMerge "Use calling user ID when calling isDeviceLocked" into mnc-dev am: a0c253d07a...
Siyamed Sinir [Tue, 31 Oct 2017 16:53:16 +0000 (16:53 +0000)]
Merge "Use calling user ID when calling isDeviceLocked" into mnc-dev am: a0c253d07a am: c275b77b03 am: 1f8536653b
am: bc56010856

Change-Id: I2e2cc32e794f498843e6d6f468fdc6e9f8fc5026

6 years agoMerge "Use calling user ID when calling isDeviceLocked" into mnc-dev am: a0c253d07a...
Siyamed Sinir [Tue, 31 Oct 2017 16:42:29 +0000 (16:42 +0000)]
Merge "Use calling user ID when calling isDeviceLocked" into mnc-dev am: a0c253d07a am: c275b77b03
am: 1f8536653b

Change-Id: Idbf65d9e9db40c7dfa2456f3e807890c88dcbb3d

6 years agoMerge "Use calling user ID when calling isDeviceLocked" into mnc-dev am: a0c253d07a
Siyamed Sinir [Tue, 31 Oct 2017 16:34:29 +0000 (16:34 +0000)]
Merge "Use calling user ID when calling isDeviceLocked" into mnc-dev am: a0c253d07a
am: c275b77b03

Change-Id: Ia2887869c4ac6cdcd1a66372b991b9f78edf7679

6 years agoMerge "Use calling user ID when calling isDeviceLocked" into mnc-dev
Siyamed Sinir [Tue, 31 Oct 2017 16:25:26 +0000 (16:25 +0000)]
Merge "Use calling user ID when calling isDeviceLocked" into mnc-dev
am: a0c253d07a

Change-Id: I9040d5dcde6228ea3f10bc03077800d2b070cbb1

6 years agoMerge "Use calling user ID when calling isDeviceLocked" into mnc-dev
Siyamed Sinir [Tue, 31 Oct 2017 16:17:06 +0000 (16:17 +0000)]
Merge "Use calling user ID when calling isDeviceLocked" into mnc-dev

6 years agoMerge "Use calling user ID when calling isDeviceLocked" into oc-dev
Siyamed Sinir [Tue, 31 Oct 2017 16:16:16 +0000 (16:16 +0000)]
Merge "Use calling user ID when calling isDeviceLocked" into oc-dev

6 years agoMerge "DO NOT MERGE Disable smart sharing for password fields." into oc-dev
TreeHugger Robot [Tue, 31 Oct 2017 03:01:08 +0000 (03:01 +0000)]
Merge "DO NOT MERGE Disable smart sharing for password fields." into oc-dev

6 years agoMerge "mtp: fix double free of thumbnail data" into nyc-dev am: 914bc14e82 am: f9e16c...
Chong Zhang [Tue, 31 Oct 2017 00:11:32 +0000 (00:11 +0000)]
Merge "mtp: fix double free of thumbnail data" into nyc-dev am: 914bc14e82 am: f9e16c9899 am: 396487f5aa am: 5330335288
am: db258ebba8

Change-Id: Ic9821f05d30a57fad1567e834804cec6ff5dca97

6 years agoMerge "mtp: fix double free of thumbnail data" into nyc-dev am: 914bc14e82 am: f9e16c...
Chong Zhang [Mon, 30 Oct 2017 23:48:44 +0000 (23:48 +0000)]
Merge "mtp: fix double free of thumbnail data" into nyc-dev am: 914bc14e82 am: f9e16c9899 am: 396487f5aa
am: 5330335288

Change-Id: Ic7b7f250073c4c89ac853036516bcade6b875092

6 years agoMerge "mtp: fix double free of thumbnail data" into nyc-dev am: 914bc14e82 am: f9e16c9899
Chong Zhang [Mon, 30 Oct 2017 23:33:04 +0000 (23:33 +0000)]
Merge "mtp: fix double free of thumbnail data" into nyc-dev am: 914bc14e82 am: f9e16c9899
am: 396487f5aa

Change-Id: Idf1ec8982316d3cef253609c702435a21d8f2eed