OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Don't bring up backup agents in secondary app processes" into oc-dev
Christopher Tate [Tue, 9 May 2017 02:20:27 +0000 (02:20 +0000)]
Merge "Don't bring up backup agents in secondary app processes" into oc-dev
am: 67db70adf1

Change-Id: I4a82af26fa61f25f254ae6f4441160ac6cc4a873

7 years agoMerge changes I7c2c9411,Ibc72c84d,Ib3968644 into oc-dev
Philip P. Moltmann [Tue, 9 May 2017 02:05:24 +0000 (02:05 +0000)]
Merge changes I7c2c9411,Ibc72c84d,Ib3968644 into oc-dev
am: f512575c68

Change-Id: I590a658c92ad271c7b4f18f5768c1a4e581ffe94

7 years agoMerge "Don't bring up backup agents in secondary app processes" into oc-dev
TreeHugger Robot [Tue, 9 May 2017 01:58:44 +0000 (01:58 +0000)]
Merge "Don't bring up backup agents in secondary app processes" into oc-dev

7 years agoMerge changes I7c2c9411,Ibc72c84d,Ib3968644 into oc-dev
TreeHugger Robot [Tue, 9 May 2017 01:49:52 +0000 (01:49 +0000)]
Merge changes I7c2c9411,Ibc72c84d,Ib3968644 into oc-dev

* changes:
  No need to deal with windowTokens
  Persistable accessibility ID from ContextWrappers
  Check callbacks when operting on UI

7 years agoMerge "Fix bugs in cast QS tile" into oc-dev
Jason Monk [Tue, 9 May 2017 01:39:49 +0000 (01:39 +0000)]
Merge "Fix bugs in cast QS tile" into oc-dev
am: 03e920f3e9

Change-Id: Ia953f48fe08bd8058cbc9e9bce1ab7466d03aa29

7 years agoMerge "Fix bugs in cast QS tile" into oc-dev
TreeHugger Robot [Tue, 9 May 2017 01:28:29 +0000 (01:28 +0000)]
Merge "Fix bugs in cast QS tile" into oc-dev

7 years agoMerge "Update AccountManager visibility JavaDoc." into oc-dev
Dmitry Dementyev [Tue, 9 May 2017 01:26:52 +0000 (01:26 +0000)]
Merge "Update AccountManager visibility JavaDoc." into oc-dev
am: 47bf1b334a

Change-Id: If9ec5b44aaf90edc06ac8ed187c4f269d4198950

7 years agoMerge "Update AccountManager visibility JavaDoc." into oc-dev
TreeHugger Robot [Tue, 9 May 2017 01:17:25 +0000 (01:17 +0000)]
Merge "Update AccountManager visibility JavaDoc." into oc-dev

7 years agoMerge "Remove unused lambda captures" am: 1101f45613 am: c7ce115073
Yi Kong [Tue, 9 May 2017 00:40:22 +0000 (00:40 +0000)]
Merge "Remove unused lambda captures" am: 1101f45613 am: c7ce115073
am: ca9988f0f9

Change-Id: Id1259cbbf1bbe9032d66315a346fa4d5d27ce2b3

7 years agoMerge "Remove unused lambda captures" am: 1101f45613
Yi Kong [Tue, 9 May 2017 00:34:20 +0000 (00:34 +0000)]
Merge "Remove unused lambda captures" am: 1101f45613
am: c7ce115073

Change-Id: I284275ea9abc1eb1d6655372ddd27f9cb2eef4ab

7 years agoMerge "Remove unused lambda captures"
Yi Kong [Tue, 9 May 2017 00:28:46 +0000 (00:28 +0000)]
Merge "Remove unused lambda captures"
am: 1101f45613

Change-Id: I371bd344d87a213393787a528121308c96c12d83

7 years agoMerge "Remove unused lambda captures"
Yi Kong [Tue, 9 May 2017 00:19:08 +0000 (00:19 +0000)]
Merge "Remove unused lambda captures"

7 years agoMerge "Merge "TIF: allow time also in COLUMN_RELEASE_DATE" into oc-dev am: 7a5024e048...
Android Build Merger (Role) [Tue, 9 May 2017 00:17:27 +0000 (00:17 +0000)]
Merge "Merge "TIF: allow time also in COLUMN_RELEASE_DATE" into oc-dev am: 7a5024e048" into oc-dev-plus-aosp

7 years agoMerge "TIF: allow time also in COLUMN_RELEASE_DATE" into oc-dev
Dongwon Kang [Tue, 9 May 2017 00:15:18 +0000 (00:15 +0000)]
Merge "TIF: allow time also in COLUMN_RELEASE_DATE" into oc-dev
am: 7a5024e048

Change-Id: I3878c92c3695e4abee4bb486c80c0c6e6fd8151a

7 years agoMerge "TIF: allow time also in COLUMN_RELEASE_DATE" into oc-dev
Dongwon Kang [Tue, 9 May 2017 00:08:25 +0000 (00:08 +0000)]
Merge "TIF: allow time also in COLUMN_RELEASE_DATE" into oc-dev
am: 7a5024e048

Change-Id: I00dfa3af1b542d6e388b2f226526abb674f82a3e

7 years agoMerge "TIF: allow time also in COLUMN_RELEASE_DATE" into oc-dev
Dongwon Kang [Mon, 8 May 2017 23:56:04 +0000 (23:56 +0000)]
Merge "TIF: allow time also in COLUMN_RELEASE_DATE" into oc-dev

7 years agoMerge "Revert "Only allow AM to update display orientation based on app containers...
Wale Ogunwale [Mon, 8 May 2017 23:46:23 +0000 (23:46 +0000)]
Merge "Revert "Only allow AM to update display orientation based on app containers"" into oc-dev
am: 91f241b35c

Change-Id: I7b9c3737840bce70ca2532fc0b445141407b8d90

7 years agoMerge "Revert "Only allow AM to update display orientation based on app containers...
TreeHugger Robot [Mon, 8 May 2017 23:35:10 +0000 (23:35 +0000)]
Merge "Revert "Only allow AM to update display orientation based on app containers"" into oc-dev

7 years agoMerge "Read the autofill highlight from rootView context" into oc-dev
Philip P. Moltmann [Mon, 8 May 2017 23:17:08 +0000 (23:17 +0000)]
Merge "Read the autofill highlight from rootView context" into oc-dev
am: f51b5f991c

Change-Id: Ibaef62c34d3c966d104244ba3380864451c8cb6c

7 years agoMerge "Adjust icon width to match the width with framework" into oc-dev
Fan Zhang [Mon, 8 May 2017 23:09:44 +0000 (23:09 +0000)]
Merge "Adjust icon width to match the width with framework" into oc-dev
am: 7acd87d8d0

Change-Id: I17195379a917347d10a2aa11e1788ea920cde61d

7 years agoMerge "Read the autofill highlight from rootView context" into oc-dev
Philip P. Moltmann [Mon, 8 May 2017 23:06:24 +0000 (23:06 +0000)]
Merge "Read the autofill highlight from rootView context" into oc-dev

7 years agoMerge "Adjust icon width to match the width with framework" into oc-dev
TreeHugger Robot [Mon, 8 May 2017 22:58:55 +0000 (22:58 +0000)]
Merge "Adjust icon width to match the width with framework" into oc-dev

7 years agoMerge changes from topic 'enableZslApi' into oc-dev
Chien-Yu Chen [Mon, 8 May 2017 22:33:56 +0000 (22:33 +0000)]
Merge changes from topic 'enableZslApi' into oc-dev
am: 9414a25592

Change-Id: I9d4fb74e37782f269966dda855f716e24ed42000

7 years agoMerge "TV PIP: Fix broken TV PIP" into oc-dev
Jaewan Kim [Mon, 8 May 2017 22:31:09 +0000 (22:31 +0000)]
Merge "TV PIP: Fix broken TV PIP" into oc-dev
am: 2e0d455177

Change-Id: If3a85b43b3d1dc27aefe58253888b96d2710f673

7 years agoMerge changes from topic 'enableZslApi' into oc-dev
TreeHugger Robot [Mon, 8 May 2017 22:28:29 +0000 (22:28 +0000)]
Merge changes from topic 'enableZslApi' into oc-dev

* changes:
  camera: Clarify TEMPLATE_ZERO_SHUTTER_LAG
  camera: Clarify ZSL supports

7 years agoMerge "TV PIP: Fix broken TV PIP" into oc-dev
TreeHugger Robot [Mon, 8 May 2017 22:26:13 +0000 (22:26 +0000)]
Merge "TV PIP: Fix broken TV PIP" into oc-dev

7 years agoMerge "Exit transient mode as soon as status bar window is fullscreen" into oc-dev
Jorim Jaggi [Mon, 8 May 2017 22:08:57 +0000 (22:08 +0000)]
Merge "Exit transient mode as soon as status bar window is fullscreen" into oc-dev
am: f93dc8b650

Change-Id: Ib0981ecbcaa461f7f5eef8133fd26155c6db304d

7 years agoMerge "PowerManagerService: open power HAL less aggressively" into oc-dev
Connor O'Brien [Mon, 8 May 2017 22:06:18 +0000 (22:06 +0000)]
Merge "PowerManagerService: open power HAL less aggressively" into oc-dev
am: ebf8ae5f44

Change-Id: I75f77f6eab33bf7d445ecf7cf896b21eb4a3c27d

7 years agoMerge "TIF: specify that selection is not allowed in CONTENT_URI" into oc-dev
Dongwon Kang [Mon, 8 May 2017 21:59:35 +0000 (21:59 +0000)]
Merge "TIF: specify that selection is not allowed in CONTENT_URI" into oc-dev
am: 05e63bf5fa

Change-Id: If989da1a118d28c85d127c541a6bdbe4b35d9ac2

7 years agoMerge "docs: Changing "http" to "https" in Javadoc examples" into oc-dev
Andrew Solovay [Mon, 8 May 2017 21:52:47 +0000 (21:52 +0000)]
Merge "docs: Changing "http" to "https" in Javadoc examples" into oc-dev
am: c159323ebd

Change-Id: Idc4d792cab87f53f007873d4b5a53834411e1412

7 years agoMerge "Exit transient mode as soon as status bar window is fullscreen" into oc-dev
TreeHugger Robot [Mon, 8 May 2017 21:48:25 +0000 (21:48 +0000)]
Merge "Exit transient mode as soon as status bar window is fullscreen" into oc-dev

7 years agoMerge "PowerManagerService: open power HAL less aggressively" into oc-dev
TreeHugger Robot [Mon, 8 May 2017 21:46:24 +0000 (21:46 +0000)]
Merge "PowerManagerService: open power HAL less aggressively" into oc-dev

7 years agoMerge "DO NOT MERGE: Add light sample filtering logic for devices with ambient light...
Julius D'souza [Mon, 8 May 2017 21:40:14 +0000 (21:40 +0000)]
Merge "DO NOT MERGE: Add light sample filtering logic for devices with ambient light sensors that can be regularly obstructed. am: 5b8250964b am: cc1435b7f3  -s ours" into oc-dev
am: 989657bdb0

Change-Id: I8326b24d3f6af4993dabd1f3e2bd104b8f7ed36c

7 years agoMerge changes from topic 'background_inflation' into oc-dev
Selim Cinek [Mon, 8 May 2017 21:37:31 +0000 (21:37 +0000)]
Merge changes from topic 'background_inflation' into oc-dev
am: 03fbdbe6ff

Change-Id: I1848e1f5a1ec5f9785872690b4d653afd590399f

7 years agoMerge "TIF: specify that selection is not allowed in CONTENT_URI" into oc-dev
Dongwon Kang [Mon, 8 May 2017 21:36:56 +0000 (21:36 +0000)]
Merge "TIF: specify that selection is not allowed in CONTENT_URI" into oc-dev

7 years agoRevert "Only allow AM to update display orientation based on app containers"
Wale Ogunwale [Mon, 8 May 2017 21:22:42 +0000 (14:22 -0700)]
Revert "Only allow AM to update display orientation based on app containers"

This reverts commit 5f1ae6aaca78a14d25e28042df32df642ab3d29e.

This caused b/38021942.

Change-Id: Idb23e5ede7aaa4a927e148c0daab3f56ac449d66
Fixes: 38021942
Bug: 37550022
Test: manual

7 years agoMerge "Also check if view visible to user before engaging fill" into oc-dev
Svet Ganov [Mon, 8 May 2017 21:35:04 +0000 (21:35 +0000)]
Merge "Also check if view visible to user before engaging fill" into oc-dev
am: f0de5cdd9a

Change-Id: I4bc8da5708af987721647eb50a4968db5034cd94

7 years agoMerge "docs: Changing "http" to "https" in Javadoc examples" into oc-dev
Andrew Solovay [Mon, 8 May 2017 21:29:18 +0000 (21:29 +0000)]
Merge "docs: Changing "http" to "https" in Javadoc examples" into oc-dev

7 years agoMerge "Merge "Fixed placemente of Autofill UI for virtual views." into oc-dev am...
Android Build Merger (Role) [Mon, 8 May 2017 21:26:27 +0000 (21:26 +0000)]
Merge "Merge "Fixed placemente of Autofill UI for virtual views." into oc-dev am: 370b040cf9" into oc-dev-plus-aosp

7 years agoMerge "Fixed placemente of Autofill UI for virtual views." into oc-dev
Felipe Leme [Mon, 8 May 2017 21:24:48 +0000 (21:24 +0000)]
Merge "Fixed placemente of Autofill UI for virtual views." into oc-dev
am: 370b040cf9

Change-Id: I3741b0ef8893eb660230698432c7d316995642b8

7 years agoMerge "Merge "DO NOT MERGE: Add light sample filtering logic for devices with ambient...
Android Build Merger (Role) [Mon, 8 May 2017 21:22:44 +0000 (21:22 +0000)]
Merge "Merge "DO NOT MERGE: Add light sample filtering logic for devices with ambient light sensors that can be regularly obstructed. am: 5b8250964b am: cc1435b7f3  -s ours" into oc-dev am: 817aa8fd23" into oc-dev-plus-aosp

7 years agoMerge "DO NOT MERGE: Add light sample filtering logic for devices with ambient light...
Julius D'souza [Mon, 8 May 2017 21:21:52 +0000 (21:21 +0000)]
Merge "DO NOT MERGE: Add light sample filtering logic for devices with ambient light sensors that can be regularly obstructed. am: 5b8250964b am: cc1435b7f3  -s ours" into oc-dev
am: 817aa8fd23

Change-Id: I198dafd858605309401da487db2d950317e6e2b5

7 years agoMerge "Merge "Fix a NPE with outlineProvider="none"" am: 46a4fbb2e4 am: 65d65ec14b...
Android Build Merger (Role) [Mon, 8 May 2017 21:21:35 +0000 (21:21 +0000)]
Merge "Merge "Fix a NPE with outlineProvider="none"" am: 46a4fbb2e4 am: 65d65ec14b am: a3460f2bb1" into oc-dev-plus-aosp

7 years agoMerge "Merge "Properly measure dataset presentations" into oc-dev am: 85548127a3...
Android Build Merger (Role) [Mon, 8 May 2017 21:21:22 +0000 (21:21 +0000)]
Merge "Merge "Properly measure dataset presentations" into oc-dev am: 85548127a3" into oc-dev-plus-aosp

7 years agoMerge "Fix a NPE with outlineProvider="none"" am: 46a4fbb2e4 am: 65d65ec14b
Sergey Prigogin [Mon, 8 May 2017 21:20:38 +0000 (21:20 +0000)]
Merge "Fix a NPE with outlineProvider="none"" am: 46a4fbb2e4 am: 65d65ec14b
am: a3460f2bb1

Change-Id: Iccb6dc6a7758abffe2d25bcc8b5dfbb1f600b05c

7 years agoMerge "Properly measure dataset presentations" into oc-dev
Svetoslav Ganov [Mon, 8 May 2017 21:15:43 +0000 (21:15 +0000)]
Merge "Properly measure dataset presentations" into oc-dev
am: 85548127a3

Change-Id: Iac796bee060ceb4d605d45a3ef03276108f82ac0

7 years agoDO NOT MERGE: Add light sample filtering logic for devices with ambient light sensors...
Julius D'souza [Mon, 8 May 2017 21:13:41 +0000 (21:13 +0000)]
DO NOT MERGE: Add light sample filtering logic for devices with ambient light sensors that can be regularly obstructed. am: 5b8250964b am: cc1435b7f3
am: 6ab3ce1219  -s ours

Change-Id: I0f90c2d9649d8cb15e683018b59aa5e88a662d20

7 years agoMerge "Fix a NPE with outlineProvider="none"" am: 46a4fbb2e4
Sergey Prigogin [Mon, 8 May 2017 21:12:37 +0000 (21:12 +0000)]
Merge "Fix a NPE with outlineProvider="none"" am: 46a4fbb2e4
am: 65d65ec14b

Change-Id: Iae0cc89cea82009620a75ac03de86a72ea20f1bb

7 years agoMerge "DO NOT MERGE: Add light sample filtering logic for devices with ambient light...
Android Build Merger (Role) [Mon, 8 May 2017 21:11:57 +0000 (21:11 +0000)]
Merge "DO NOT MERGE: Add light sample filtering logic for devices with ambient light sensors that can be regularly obstructed. am: 5b8250964b am: cc1435b7f3  -s ours" into oc-dev

7 years agoMerge changes from topic 'background_inflation' into oc-dev
Selim Cinek [Mon, 8 May 2017 21:11:31 +0000 (21:11 +0000)]
Merge changes from topic 'background_inflation' into oc-dev

* changes:
  Fixed the contrast for low-priority notifications
  Moving Row inflation to the background too
  Moving the inflation to the background

7 years agoDO NOT MERGE: Add light sample filtering logic for devices with ambient light sensors...
Julius D'souza [Mon, 8 May 2017 21:10:56 +0000 (21:10 +0000)]
DO NOT MERGE: Add light sample filtering logic for devices with ambient light sensors that can be regularly obstructed. am: 5b8250964b
am: cc1435b7f3  -s ours

Change-Id: I3cda2a1e68db2488799248e58d7b2a53782f3860

7 years agoMerge "Also check if view visible to user before engaging fill" into oc-dev
TreeHugger Robot [Mon, 8 May 2017 21:10:47 +0000 (21:10 +0000)]
Merge "Also check if view visible to user before engaging fill" into oc-dev

7 years agoMerge "Fixed placemente of Autofill UI for virtual views." into oc-dev
Felipe Leme [Mon, 8 May 2017 21:07:57 +0000 (21:07 +0000)]
Merge "Fixed placemente of Autofill UI for virtual views." into oc-dev

7 years agoMerge "DO NOT MERGE: Add light sample filtering logic for devices with ambient light...
Android Build Merger (Role) [Mon, 8 May 2017 21:05:59 +0000 (21:05 +0000)]
Merge "DO NOT MERGE: Add light sample filtering logic for devices with ambient light sensors that can be regularly obstructed. am: 5b8250964b am: cc1435b7f3  -s ours" into oc-dev

7 years agoDO NOT MERGE: Add light sample filtering logic for devices with ambient light sensors...
Julius D'souza [Mon, 8 May 2017 21:05:10 +0000 (21:05 +0000)]
DO NOT MERGE: Add light sample filtering logic for devices with ambient light sensors that can be regularly obstructed. am: 5b8250964b
am: cc1435b7f3

Change-Id: If4b375aef8d90641d942b6e1e73d73cfcea6dc17

7 years agoDO NOT MERGE: Add light sample filtering logic for devices with ambient light sensors...
Julius D'souza [Mon, 8 May 2017 21:05:07 +0000 (21:05 +0000)]
DO NOT MERGE: Add light sample filtering logic for devices with ambient light sensors that can be regularly obstructed. am: 5b8250964b
am: cc1435b7f3  -s ours

Change-Id: Ibdd53338d09ad1ad241023761b2ed8272f088b1f

7 years agoMerge "Properly measure dataset presentations" into oc-dev
TreeHugger Robot [Mon, 8 May 2017 21:04:09 +0000 (21:04 +0000)]
Merge "Properly measure dataset presentations" into oc-dev

7 years agoNo need to deal with windowTokens
Philip P. Moltmann [Sat, 6 May 2017 18:28:38 +0000 (11:28 -0700)]
No need to deal with windowTokens

we have a link to the client which is enough to find the views.

Also there was some cases where the windowToken was not updated
properly. This is moot now.

Also: Read a array of views from the client to speed up the
client<->AutofillManager communication.

Fixes: 38070352
Test: CtsAutoFillServiceTestCases
      1 Started autofill, saw fill UI
      2 Home button
      3 Kill activity in background
      4 Recents -> back to activity
      5 Saw fill UI restored
Change-Id: I7c2c9411204fa5d65867efae9b7296399121c3a2

7 years agoMerge "Fix a NPE with outlineProvider="none""
Sergey Prigogin [Mon, 8 May 2017 21:01:07 +0000 (21:01 +0000)]
Merge "Fix a NPE with outlineProvider="none""
am: 46a4fbb2e4

Change-Id: Ib14f6b5369d60c06a716b99dd0274872fc0d2a51

7 years agoMerge "Fix AuthenticationCallback leak in FingerprintManager" into oc-dev
Kevin Chyn [Mon, 8 May 2017 20:58:17 +0000 (20:58 +0000)]
Merge "Fix AuthenticationCallback leak in FingerprintManager" into oc-dev
am: a0cd8eb55d

Change-Id: If67639ed1f93f76a1ed225209869545572571484

7 years agoDO NOT MERGE: Add light sample filtering logic for devices with ambient light sensors...
Julius D'souza [Mon, 8 May 2017 20:57:56 +0000 (20:57 +0000)]
DO NOT MERGE: Add light sample filtering logic for devices with ambient light sensors that can be regularly obstructed.
am: 5b8250964b

Change-Id: Ifbebbcba8838b83a5c2e7d6d815784733cc95618

7 years agoMerge "Merge "Toggling minimized state with overview moves divider to correct positio...
Android Build Merger (Role) [Mon, 8 May 2017 20:47:44 +0000 (20:47 +0000)]
Merge "Merge "Toggling minimized state with overview moves divider to correct position" into oc-dev am: 97578e313c" into oc-dev-plus-aosp

7 years agoMerge "Toggling minimized state with overview moves divider to correct position"...
Matthew Ng [Mon, 8 May 2017 20:46:58 +0000 (20:46 +0000)]
Merge "Toggling minimized state with overview moves divider to correct position" into oc-dev
am: 97578e313c

Change-Id: I735f2fbfd91efb423df042678ac8a45ad6aaa1da

7 years agoMerge "Fix a NPE with outlineProvider="none""
Sergey Prigogin [Mon, 8 May 2017 20:44:11 +0000 (20:44 +0000)]
Merge "Fix a NPE with outlineProvider="none""

7 years agoMerge "Fix AuthenticationCallback leak in FingerprintManager" into oc-dev
TreeHugger Robot [Mon, 8 May 2017 20:42:13 +0000 (20:42 +0000)]
Merge "Fix AuthenticationCallback leak in FingerprintManager" into oc-dev

7 years agoMerge "Toggling minimized state with overview moves divider to correct position"...
Matthew Ng [Mon, 8 May 2017 20:42:11 +0000 (20:42 +0000)]
Merge "Toggling minimized state with overview moves divider to correct position" into oc-dev
am: 97578e313c

Change-Id: I365b744b6d57ab1ca0d5b36db0fd3aae0da0bc0d

7 years agoMerge "Calls cancel on mDimAnimator to ensure that ref counts are accurate." into...
Jon Miranda [Mon, 8 May 2017 20:36:42 +0000 (20:36 +0000)]
Merge "Calls cancel on mDimAnimator to ensure that ref counts are accurate." into oc-dev
am: e6b55b9960

Change-Id: Id152c631fe22e169f3a84fce6006fc7adcdb2a53

7 years agoMerge "Toggling minimized state with overview moves divider to correct position"...
TreeHugger Robot [Mon, 8 May 2017 20:36:07 +0000 (20:36 +0000)]
Merge "Toggling minimized state with overview moves divider to correct position" into oc-dev

7 years agoPersistable accessibility ID from ContextWrappers
Philip P. Moltmann [Sat, 6 May 2017 17:41:40 +0000 (10:41 -0700)]
Persistable accessibility ID from ContextWrappers

Only IDs beyond LAST_APP_ACCESSIBILITY_ID can be reliably used for
autofilling. Other ids might change occasionally.

All Views attached to activities get usable IDs. Hence if a
ContextWrapper wraps an activity forward the goodness.

Also make sure that we don't accidentially autofill an unsafe view.

Test: Before the messaging handed out unusable Ids because it uses a
      Contextwrapper. Now it hands out good ideas (accoring to dumpsys)
      CtsAutoFillServiceTestCases
Bug: 38070352
Change-Id: Ibc72c84d77197019939abd231e8960988af7a592

7 years agoCheck callbacks when operting on UI
Philip P. Moltmann [Mon, 8 May 2017 20:16:24 +0000 (13:16 -0700)]
Check callbacks when operting on UI

This makes sure that only the session that current owns the UI can make
changes to the UI:

The callback is the ID of the current owner. The only caller that does
not ID itself (and thereby causes the Ui to close in any way) is the
ACTION_CLOSE_SYSTEM_DIALOGS path.

Change-Id: Ib396864411f362b59deb500251c37896ecbc7de7
Fixes: 38042845
Test: CtsAutoFillServicesTestCases

7 years agoMerge "Calls cancel on mDimAnimator to ensure that ref counts are accurate." into...
TreeHugger Robot [Mon, 8 May 2017 20:28:16 +0000 (20:28 +0000)]
Merge "Calls cancel on mDimAnimator to ensure that ref counts are accurate." into oc-dev

7 years agoDon't bring up backup agents in secondary app processes
Christopher Tate [Mon, 8 May 2017 19:43:16 +0000 (12:43 -0700)]
Don't bring up backup agents in secondary app processes

When an app needs to be launched to make its agent available, we
were taking action in response to the first 'attach' operation we got
from any process running as the right uid.  This turns out to be fraught;
it's possible that some other secondary-process component launch was
racing with the agent bringup request, such that the attach callback
arrives from that secondary app process instead of the main process.
*That,* in turn, can be fatal if it turns out to be an isolated
process or similarly incapable host environment for the agent.

So now we make sure it's actually the process we're waiting for
when deciding to instantiate the agent there.

Bug 38123540
Test: manual

Change-Id: I01648027d104cc93fe0ec9227ebab85ad3d83c88

7 years agoPowerManagerService: open power HAL less aggressively
Connor O'Brien [Mon, 8 May 2017 19:14:06 +0000 (12:14 -0700)]
PowerManagerService: open power HAL less aggressively

Once the power HAL has failed to open once, don't try to open it again
on subsequent calls to the service.

Test: remove power HAL on marlin & confirm log spam stops.
Bug: 38028137
Change-Id: If7bc4f7080e8822b68da0d1bd81df8de1ce388aa
Signed-off-by: Connor O'Brien <connoro@google.com>
7 years agoMerge "Fixed scenario where an authentication response has no dataset." into oc-dev
Felipe Leme [Mon, 8 May 2017 19:28:23 +0000 (19:28 +0000)]
Merge "Fixed scenario where an authentication response has no dataset." into oc-dev
am: 1c38d29482

Change-Id: I09159b6fd7b41e17e099da9ac5fa3ef7a5f0d6b2

7 years agoMerge "Fixed scenario where an authentication response has no dataset." into oc-dev
TreeHugger Robot [Mon, 8 May 2017 19:20:06 +0000 (19:20 +0000)]
Merge "Fixed scenario where an authentication response has no dataset." into oc-dev

7 years agoAlso check if view visible to user before engaging fill
Svet Ganov [Sat, 6 May 2017 23:44:18 +0000 (16:44 -0700)]
Also check if view visible to user before engaging fill

Test: autofill CTS tests pass

bug:37753348

Change-Id: Ia16bff13f2cfdf1d315e3f45cc114ee13b145eb5

7 years agoMerge "Additional log instrumentation for multi-user" into oc-dev
Fyodor Kupolov [Mon, 8 May 2017 19:02:04 +0000 (19:02 +0000)]
Merge "Additional log instrumentation for multi-user" into oc-dev
am: dadc05635a

Change-Id: Id0a11d3797830c8f3178972b664f710e947030c6

7 years agoProperly measure dataset presentations
Svetoslav Ganov [Sat, 6 May 2017 00:58:03 +0000 (17:58 -0700)]
Properly measure dataset presentations

Test: Autofill CTS tests pass

bug:37952199

Change-Id: Iaae714dd483ba44d5c7668b6fc7d386901b9d95c

7 years agoMerge changes from topic 'wakelockTotalDuration' into oc-dev
Bookatz [Mon, 8 May 2017 18:57:34 +0000 (18:57 +0000)]
Merge changes from topic 'wakelockTotalDuration' into oc-dev
am: 6b1989c7e2

Change-Id: I04a7323ed927ebfad40129166d7e0cc61be7b3af

7 years agoAdded actual (unpooled) partial wakelock times.
Bookatz [Mon, 8 May 2017 18:56:33 +0000 (18:56 +0000)]
Added actual (unpooled) partial wakelock times.
am: 506a8183fd

Change-Id: I684b9287bf7bec032da54c497744f863768917e2

7 years agoMerge "Additional log instrumentation for multi-user" into oc-dev
TreeHugger Robot [Mon, 8 May 2017 18:52:34 +0000 (18:52 +0000)]
Merge "Additional log instrumentation for multi-user" into oc-dev

7 years agoMerge changes from topic 'wakelockTotalDuration' into oc-dev
TreeHugger Robot [Mon, 8 May 2017 18:34:32 +0000 (18:34 +0000)]
Merge changes from topic 'wakelockTotalDuration' into oc-dev

* changes:
  Wakelock durations are 0 instead of -1 if unused
  Added actual (unpooled) partial wakelock times.

7 years agoMerge "Night display status restored until valid state" into oc-dev
Justin Klaassen [Mon, 8 May 2017 18:33:06 +0000 (18:33 +0000)]
Merge "Night display status restored until valid state" into oc-dev
am: 2710490ac9

Change-Id: Ie1bcdaff64110ea0e3a6ec3ea14e1637c5390008

7 years agoMerge "Night display status restored until valid state" into oc-dev
TreeHugger Robot [Mon, 8 May 2017 18:20:29 +0000 (18:20 +0000)]
Merge "Night display status restored until valid state" into oc-dev

7 years agoMerge "Do not call updateApplicationInfo with mResourceManager lock" into oc-dev
Fyodor Kupolov [Mon, 8 May 2017 18:18:00 +0000 (18:18 +0000)]
Merge "Do not call updateApplicationInfo with mResourceManager lock" into oc-dev
am: bf34f4922d

Change-Id: Id7ccea22af67938883995a37c0acc054d9751aad

7 years agoMerge "Do not call updateApplicationInfo with mResourceManager lock" into oc-dev
TreeHugger Robot [Mon, 8 May 2017 18:10:11 +0000 (18:10 +0000)]
Merge "Do not call updateApplicationInfo with mResourceManager lock" into oc-dev

7 years agoMerge "Fix ephemeral intent caching in notification" into oc-dev
Jason Monk [Mon, 8 May 2017 17:44:03 +0000 (17:44 +0000)]
Merge "Fix ephemeral intent caching in notification" into oc-dev
am: f10a089fdc

Change-Id: Id41706875501971cbe83181885d2a47aadf788b1

7 years agoMerge "Fix ephemeral intent caching in notification" into oc-dev
TreeHugger Robot [Mon, 8 May 2017 17:37:10 +0000 (17:37 +0000)]
Merge "Fix ephemeral intent caching in notification" into oc-dev

7 years agoRemove unused lambda captures
Yi Kong [Mon, 8 May 2017 17:24:22 +0000 (10:24 -0700)]
Remove unused lambda captures

Test: build
Bug: 37752547
Change-Id: Id102e93fef06e9c818b27fa8a5c6218c319bdd30

7 years agoMerge "Remove controller connection API" into oc-dev
Daniel Nicoara [Mon, 8 May 2017 16:38:56 +0000 (16:38 +0000)]
Merge "Remove controller connection API" into oc-dev
am: daefe1dcc7

Change-Id: Ic46c8ed4e41b80927f74b2fa96ed997f6b581134

7 years agoMerge "Remove controller connection API" into oc-dev
TreeHugger Robot [Mon, 8 May 2017 16:30:30 +0000 (16:30 +0000)]
Merge "Remove controller connection API" into oc-dev

7 years agoMerge "Destroy Allocation right away on exception" am: 52bc790f61 am: a37bef769a
Yang Ni [Mon, 8 May 2017 16:12:37 +0000 (16:12 +0000)]
Merge "Destroy Allocation right away on exception" am: 52bc790f61 am: a37bef769a
am: fd9f091995

Change-Id: Ie83694e722af77c7fc324b8b850e4308f093ab04

7 years agoMerge "Destroy Allocation right away on exception" am: 52bc790f61
Yang Ni [Mon, 8 May 2017 16:06:39 +0000 (16:06 +0000)]
Merge "Destroy Allocation right away on exception" am: 52bc790f61
am: a37bef769a

Change-Id: Id67163535eeaa36d1cd9edd34d19ed04858d62a2

7 years agoMerge "Destroy Allocation right away on exception"
Yang Ni [Mon, 8 May 2017 16:00:34 +0000 (16:00 +0000)]
Merge "Destroy Allocation right away on exception"
am: 52bc790f61

Change-Id: I2724dd4adf68aa8330b10b8f596d9d7db3619e03

7 years agoMerge "Destroy Allocation right away on exception"
Yang Ni [Mon, 8 May 2017 15:52:07 +0000 (15:52 +0000)]
Merge "Destroy Allocation right away on exception"

7 years agoFix ephemeral intent caching in notification
Jason Monk [Mon, 8 May 2017 15:23:14 +0000 (11:23 -0400)]
Fix ephemeral intent caching in notification

Add some stuffs to make it not cache at bad times, or ever really...

Test: See bug, its long
Change-Id: I27987301ebf393de6f781b17ed7bc789789c01ab
Fixes: 37793400

7 years agoMerge "Also log the value of the IAEs thrown in VibrationEffect" into oc-dev
Michael Wright [Mon, 8 May 2017 14:53:51 +0000 (14:53 +0000)]
Merge "Also log the value of the IAEs thrown in VibrationEffect" into oc-dev
am: 00487cf936

Change-Id: Iee08e297248aa57179a434f81f27e3e7924aa201

7 years agoMerge "Also log the value of the IAEs thrown in VibrationEffect" into oc-dev
TreeHugger Robot [Mon, 8 May 2017 14:49:20 +0000 (14:49 +0000)]
Merge "Also log the value of the IAEs thrown in VibrationEffect" into oc-dev

7 years agoFix bugs in cast QS tile
Jason Monk [Mon, 8 May 2017 14:32:03 +0000 (10:32 -0400)]
Fix bugs in cast QS tile

 - Don't unregister if alread unregistered
 - Post to make the magic posting gods happy

Test: click cast tile
Change-Id: Id687a4c755d43ca5cc0cceeee7ce8dfe65e962c6
Fixes: 37718562
Fixes: 38016765

7 years agoNight display status restored until valid state
Justin Klaassen [Fri, 5 May 2017 22:19:33 +0000 (15:19 -0700)]
Night display status restored until valid state

Fixes: 38013048
Test: runtest -c com.android.server.NightDisplayServiceTest \
      frameworks-services

Change-Id: I8dc4177f89727a29ee6ab8e3db5a23c8127b800c