OSDN Git Service

android-x86/frameworks-base.git
7 years agoresolve merge conflicts of b4a5615 to lmp-dev am: 288166cbb2 am: b7f8b59e24 am: 41a0d...
David Christie [Thu, 25 Aug 2016 01:45:36 +0000 (01:45 +0000)]
resolve merge conflicts of b4a5615 to lmp-dev am: 288166cbb2 am: b7f8b59e24 am: 41a0dd41f1 am: af369f6e66 am: d610363a48 am: 0777ad8253 am: 187d841b75 am: 7f2aaf204d am: 0ae74a8ccd
am: 5c1f2950a1

Change-Id: Ibfff105106c26622813fad21fad8401eaea0f846

7 years agoresolve merge conflicts of 1081a15 to lmp-mr1-ub-dev am: 975879a18d am: dd1016c619...
David Christie [Thu, 25 Aug 2016 01:39:31 +0000 (01:39 +0000)]
resolve merge conflicts of 1081a15 to lmp-mr1-ub-dev am: 975879a18d am: dd1016c619 am: 3aaac55e70 am: a6de8f20c7 am: 00e1e39ae2 am: 4f1d1fc92d
am: 7e621ca1ec

Change-Id: Ib1861ff82ed68f82d5f2c9868adc693b2ff1c617

7 years agoresolve merge conflicts of b4a5615 to lmp-dev am: 288166cbb2 am: b7f8b59e24 am: 41a0d...
David Christie [Thu, 25 Aug 2016 01:32:10 +0000 (01:32 +0000)]
resolve merge conflicts of b4a5615 to lmp-dev am: 288166cbb2 am: b7f8b59e24 am: 41a0dd41f1 am: af369f6e66 am: d610363a48 am: 0777ad8253 am: 187d841b75 am: 7f2aaf204d
am: 0ae74a8ccd

Change-Id: I01778e8f2a71521a931b49508fc1f88353a10cc8

7 years agoresolve merge conflicts of 1081a15 to lmp-mr1-ub-dev am: 975879a18d am: dd1016c619...
David Christie [Thu, 25 Aug 2016 01:32:05 +0000 (01:32 +0000)]
resolve merge conflicts of 1081a15 to lmp-mr1-ub-dev am: 975879a18d am: dd1016c619 am: 3aaac55e70 am: a6de8f20c7 am: 00e1e39ae2
am: 4f1d1fc92d

Change-Id: Idf472158bd5f9ea71b2de4b0a782a92736ca7d64

7 years agoMerge "Add the Moves setting values to the backup list." into nyc-dr1-dev
Doris Ling [Thu, 25 Aug 2016 01:31:30 +0000 (01:31 +0000)]
Merge "Add the Moves setting values to the backup list." into nyc-dr1-dev
am: 05c9124423

Change-Id: I1fea441dda3a2b75aa8bdc6826939c80b8068280

7 years agoAdd the Moves setting values to the backup list.
Doris Ling [Thu, 25 Aug 2016 01:31:28 +0000 (01:31 +0000)]
Add the Moves setting values to the backup list.
am: 8a33273620

Change-Id: I8f64074acbe6d85a0f2402695925e7f75c20569b

7 years agoresolve merge conflicts of 8aaffd9 to nyc-dev am: 36246a43e5
David Christie [Thu, 25 Aug 2016 01:31:25 +0000 (01:31 +0000)]
resolve merge conflicts of 8aaffd9 to nyc-dev am: 36246a43e5
am: ae6bd11a4b

Change-Id: I454888b9d50e829a9166414efa9e4914e2dc12c5

7 years agoMerge "Add the Moves setting values to the backup list." into nyc-dr1-dev
TreeHugger Robot [Thu, 25 Aug 2016 01:26:10 +0000 (01:26 +0000)]
Merge "Add the Moves setting values to the backup list." into nyc-dr1-dev

7 years agoresolve merge conflicts of b4a5615 to lmp-dev am: 288166cbb2 am: b7f8b59e24 am: 41a0d...
David Christie [Thu, 25 Aug 2016 01:25:38 +0000 (01:25 +0000)]
resolve merge conflicts of b4a5615 to lmp-dev am: 288166cbb2 am: b7f8b59e24 am: 41a0dd41f1 am: af369f6e66 am: d610363a48 am: 0777ad8253 am: 187d841b75
am: 7f2aaf204d

Change-Id: I64ff311815620d7e26ef91d33afc8499abf63c83

7 years agoresolve merge conflicts of 1081a15 to lmp-mr1-ub-dev am: 975879a18d am: dd1016c619...
David Christie [Thu, 25 Aug 2016 01:25:30 +0000 (01:25 +0000)]
resolve merge conflicts of 1081a15 to lmp-mr1-ub-dev am: 975879a18d am: dd1016c619 am: 3aaac55e70 am: a6de8f20c7
am: 00e1e39ae2

Change-Id: I23587e80ea85f66e872e8bf0a9b1f83399c3b6fc

7 years agoresolve merge conflicts of 8aaffd9 to nyc-dev
David Christie [Thu, 25 Aug 2016 01:25:30 +0000 (01:25 +0000)]
resolve merge conflicts of 8aaffd9 to nyc-dev
am: 36246a43e5

Change-Id: Ic91baff73ef9e5ffe304d10a5a55e8476dfcfecb

7 years agoAdd the Moves setting values to the backup list.
Doris Ling [Wed, 24 Aug 2016 22:05:43 +0000 (15:05 -0700)]
Add the Moves setting values to the backup list.

Add Secure.CAMERA_DOUBLE_TWIST_TO_FLIP_ENABLED,
Secure.CAMERA_DOUBLE_TAP_POWER_GESTURE_DISABLED, and
Secure.SYSTEM_NAVIGATION_KEYS_ENABLED (used by Settings->Moves)
to Secure.SETTINGS_TO_BACKUP, so that they will be backed up and
restored automatically.

Fixes: 31023788

Test: Manual - Setup device using "Copy your data", verify that
Settings->Moves toggles are set to previous selected values.

Change-Id: I509c997641bb693009bec703e5272b5aad517f0f

7 years agoMerge "Update services info before returning authenticators" into nyc-dr1-dev
Fyodor Kupolov [Thu, 25 Aug 2016 00:08:42 +0000 (00:08 +0000)]
Merge "Update services info before returning authenticators" into nyc-dr1-dev
am: 02e54d3c6a

Change-Id: I215cb4474585f96ed1cf38240a4ea3c032d066e4

7 years agoUpdate services info before returning authenticators
Fyodor Kupolov [Thu, 25 Aug 2016 00:08:38 +0000 (00:08 +0000)]
Update services info before returning authenticators
am: 814464894c

Change-Id: I3d7eb42ef73ad77cb44c251a493ae967bcc0f651

7 years agoMerge "Update services info before returning authenticators" into nyc-dr1-dev
Fyodor Kupolov [Thu, 25 Aug 2016 00:02:50 +0000 (00:02 +0000)]
Merge "Update services info before returning authenticators" into nyc-dr1-dev

7 years agoMerge "Set config_use_sim_language_file to true for mcc 001." into nyc-mr1-dev
TreeHugger Robot [Wed, 24 Aug 2016 23:58:42 +0000 (23:58 +0000)]
Merge "Set config_use_sim_language_file to true for mcc 001." into nyc-mr1-dev

7 years agoresolve merge conflicts of 8aaffd9 to nyc-dev
David Christie [Wed, 24 Aug 2016 23:45:01 +0000 (16:45 -0700)]
resolve merge conflicts of 8aaffd9 to nyc-dev

Change-Id: I4b1603b4cb1cdfc01f4842b2facf8c31a687bbe5

7 years agoMerge "Fix alarm Bounce: remove DC offset at beginning" into nyc-dr1-dev
Jean-Michel Trivi [Wed, 24 Aug 2016 23:40:03 +0000 (23:40 +0000)]
Merge "Fix alarm Bounce: remove DC offset at beginning" into nyc-dr1-dev
am: 503c00c10a

Change-Id: Iab7361e5063b8f98742f874b865dc1b7caa7052d

7 years agoFix alarm Bounce: remove DC offset at beginning
Jean-Michel Trivi [Wed, 24 Aug 2016 23:40:00 +0000 (23:40 +0000)]
Fix alarm Bounce: remove DC offset at beginning
am: bcbb5c4e07

Change-Id: I61fa0d5bbaa5ff299d01201990ffac2829138f1d

7 years agoMerge "Fix alarm Bounce: remove DC offset at beginning" into nyc-dr1-dev
Jean-Michel Trivi [Wed, 24 Aug 2016 23:34:16 +0000 (23:34 +0000)]
Merge "Fix alarm Bounce: remove DC offset at beginning" into nyc-dr1-dev

7 years agoAlways report visibility to new ImageView drawables
Adam Powell [Wed, 24 Aug 2016 23:12:27 +0000 (23:12 +0000)]
Always report visibility to new ImageView drawables
am: 37b44dd592

Change-Id: Ib8e1cc5d3ee91aae74875cc70fda9d8d4104892e

7 years agoMerge "use threadtime when collecting logcat" into nyc-mr1-dev
TreeHugger Robot [Wed, 24 Aug 2016 23:11:02 +0000 (23:11 +0000)]
Merge "use threadtime when collecting logcat" into nyc-mr1-dev

7 years agoMerge "DirectReply: Fix bugs when replying from HUNs" into nyc-mr1-dev
TreeHugger Robot [Wed, 24 Aug 2016 23:07:30 +0000 (23:07 +0000)]
Merge "DirectReply: Fix bugs when replying from HUNs" into nyc-mr1-dev

7 years agoFix alarm Bounce: remove DC offset at beginning
Jean-Michel Trivi [Wed, 24 Aug 2016 23:00:11 +0000 (16:00 -0700)]
Fix alarm Bounce: remove DC offset at beginning

Bug 31047718

Change-Id: I8abc8c6d90be172fe2797b1e89d34fafa690e21c

7 years agoAlways report visibility to new ImageView drawables
Adam Powell [Wed, 24 Aug 2016 16:49:51 +0000 (09:49 -0700)]
Always report visibility to new ImageView drawables

Fix a regression where some drawables would not be correctly updated
with their visibility state if set while an ImageView was not attached
to a window.

Bug 30216207

Change-Id: Ia30326a78168141c8f85bad9c782710f965623b7

7 years agoUpdate services info before returning authenticators
Fyodor Kupolov [Wed, 24 Aug 2016 18:27:49 +0000 (11:27 -0700)]
Update services info before returning authenticators

Added RegisteredServicesCache.updateServices method which allows callers
to request an update to services for which package has been updated.

Added a call to updateServices in getAuthenticatorTypesInternal

Test: Manually tested update flow on test authenticator with an artificial
      delay in broadcast handling
Bug: 30979262
Change-Id: I499b2ee0be53fed01201c56068d929b6d621a78e

7 years agoresolve merge conflicts of b4a5615 to lmp-dev am: 288166cbb2 am: b7f8b59e24 am: 41a0d...
David Christie [Wed, 24 Aug 2016 22:43:09 +0000 (22:43 +0000)]
resolve merge conflicts of b4a5615 to lmp-dev am: 288166cbb2 am: b7f8b59e24 am: 41a0dd41f1 am: af369f6e66 am: d610363a48 am: 0777ad8253
am: 187d841b75

Change-Id: I063f0cd3f53be4d58d123d05da7171a47014929d

7 years agoresolve merge conflicts of 1081a15 to lmp-mr1-ub-dev am: 975879a18d am: dd1016c619...
David Christie [Wed, 24 Aug 2016 22:39:52 +0000 (22:39 +0000)]
resolve merge conflicts of 1081a15 to lmp-mr1-ub-dev am: 975879a18d am: dd1016c619 am: 3aaac55e70
am: a6de8f20c7

Change-Id: I119a274dd1050c6d26b70c7fbfb5ea95662e2a83

7 years agoresolve merge conflicts of b4a5615 to lmp-dev am: 288166cbb2 am: b7f8b59e24 am: 41a0d...
David Christie [Wed, 24 Aug 2016 22:33:39 +0000 (22:33 +0000)]
resolve merge conflicts of b4a5615 to lmp-dev am: 288166cbb2 am: b7f8b59e24 am: 41a0dd41f1 am: af369f6e66 am: d610363a48
am: 0777ad8253

Change-Id: I9403ca33c0b87ca1ca01f2ce5209c12332b01e51

7 years agoresolve merge conflicts of 1081a15 to lmp-mr1-ub-dev am: 975879a18d am: dd1016c619
David Christie [Wed, 24 Aug 2016 22:33:37 +0000 (22:33 +0000)]
resolve merge conflicts of 1081a15 to lmp-mr1-ub-dev am: 975879a18d am: dd1016c619
am: 3aaac55e70

Change-Id: I01b09466d9993f28de5c95a7d21555b3be112891

7 years agoresolve merge conflicts of a2399b4 to mnc-dev am: 6195acc2b5 am: e24eb2dbb5
David Christie [Wed, 24 Aug 2016 22:30:20 +0000 (22:30 +0000)]
resolve merge conflicts of a2399b4 to mnc-dev am: 6195acc2b5 am: e24eb2dbb5
am: 362668b6f7

Change-Id: I019f76b45de78171ef888d2175dc9140be172784

7 years agoresolve merge conflicts of b4a5615 to lmp-dev am: 288166cbb2 am: b7f8b59e24 am: 41a0d...
David Christie [Wed, 24 Aug 2016 22:23:49 +0000 (22:23 +0000)]
resolve merge conflicts of b4a5615 to lmp-dev am: 288166cbb2 am: b7f8b59e24 am: 41a0dd41f1 am: af369f6e66
am: d610363a48

Change-Id: I186b4bedcf057489deca1e161a052619ce594e56

7 years agoresolve merge conflicts of 1081a15 to lmp-mr1-ub-dev am: 975879a18d
David Christie [Wed, 24 Aug 2016 22:23:46 +0000 (22:23 +0000)]
resolve merge conflicts of 1081a15 to lmp-mr1-ub-dev am: 975879a18d
am: dd1016c619

Change-Id: I54910f6c22b69b029be80007cdbf06b203886398

7 years agoresolve merge conflicts of a2399b4 to mnc-dev am: 6195acc2b5
David Christie [Wed, 24 Aug 2016 22:23:42 +0000 (22:23 +0000)]
resolve merge conflicts of a2399b4 to mnc-dev am: 6195acc2b5
am: e24eb2dbb5

Change-Id: Idb6cbe8c16877301aed50faed41fa0390db3cf10

7 years agoresolve merge conflicts of a2399b4 to mnc-dev
David Christie [Wed, 24 Aug 2016 22:16:07 +0000 (22:16 +0000)]
resolve merge conflicts of a2399b4 to mnc-dev
am: 6195acc2b5

Change-Id: I34c3133924af9906b88ebd5faf78e0c000aa05be

7 years agoSet config_use_sim_language_file to true for mcc 001.
Amit Mahajan [Wed, 24 Aug 2016 22:15:01 +0000 (15:15 -0700)]
Set config_use_sim_language_file to true for mcc 001.

Bug: 30150341
Change-Id: Ib3834b752de01e33be3fe4792b3cb1cac0b48df1

7 years agoresolve merge conflicts of b4a5615 to lmp-dev am: 288166cbb2 am: b7f8b59e24 am: 41a0d...
David Christie [Wed, 24 Aug 2016 22:14:28 +0000 (22:14 +0000)]
resolve merge conflicts of b4a5615 to lmp-dev am: 288166cbb2 am: b7f8b59e24 am: 41a0dd41f1
am: af369f6e66

Change-Id: I6973f8f1053644548062b94c1696c123f47f0ad4

7 years agoresolve merge conflicts of 1081a15 to lmp-mr1-ub-dev
David Christie [Wed, 24 Aug 2016 22:14:24 +0000 (22:14 +0000)]
resolve merge conflicts of 1081a15 to lmp-mr1-ub-dev
am: 975879a18d

Change-Id: Icf81e5ce2bc02750d66b13feedfc098dd9374167

7 years agoMerge "Changing default value of config_use_sim_language_file to false." into nyc...
TreeHugger Robot [Wed, 24 Aug 2016 22:03:11 +0000 (22:03 +0000)]
Merge "Changing default value of config_use_sim_language_file to false." into nyc-mr1-dev

7 years agoMerge "Use correct UID checks and proper database lookup" into nyc-mr1-dev
Svetoslav Ganov [Wed, 24 Aug 2016 21:57:15 +0000 (21:57 +0000)]
Merge "Use correct UID checks and proper database lookup" into nyc-mr1-dev

7 years agoUse correct UID checks and proper database lookup
Svetoslav Ganov [Wed, 24 Aug 2016 21:40:16 +0000 (14:40 -0700)]
Use correct UID checks and proper database lookup

bug:31056110
bug:31050549
bug:28163381

Change-Id: I726645ae0d2456a5b4d38005fe78523332758842

7 years agoresolve merge conflicts of a2399b4 to mnc-dev
David Christie [Wed, 24 Aug 2016 20:47:57 +0000 (13:47 -0700)]
resolve merge conflicts of a2399b4 to mnc-dev

Change-Id: Ifc9e13cdb047ef70799ba8b1b9e91357ef5f2d2a

7 years agoDirectReply: Fix bugs when replying from HUNs
Adrian Roos [Tue, 23 Aug 2016 16:23:01 +0000 (18:23 +0200)]
DirectReply: Fix bugs when replying from HUNs

Fixes a bug that would re-open the remote input when
it was sent while HUN'd. Also fixes a bug that would
not properly clear a notification if swiped away and
at the same time HUN'd and having a reply active.

Change-Id: I3e8b5f81eaffd8e4b8602f3dbdd025229ba201fa
Fixes: 30454772

7 years agoFix vulnerability where large GPS XTRA data can be injected. -Can potentially crash...
David Christie [Wed, 24 Aug 2016 20:30:06 +0000 (20:30 +0000)]
Fix vulnerability where large GPS XTRA data can be injected. -Can potentially crash system with OOM. Bug: 29555864 am: dde12c6923 am: 3462e52676 am: 5a6b11114a am: 655361b2b1 am: 62783bde30
am: 8788a2413c

Change-Id: If9d5385d7d949e85932e5586d4884ffe84d51d47

7 years agoresolve merge conflicts of b4a5615 to lmp-dev am: 288166cbb2 am: b7f8b59e24
David Christie [Wed, 24 Aug 2016 20:30:01 +0000 (20:30 +0000)]
resolve merge conflicts of b4a5615 to lmp-dev am: 288166cbb2 am: b7f8b59e24
am: 41a0dd41f1

Change-Id: Ib74b0efa9b9345257d2b3ba59911baa324ec5801

7 years agoMerge "Do not print misleading debug messages in some scenarios." into nyc-mr1-dev
Jack Yu [Wed, 24 Aug 2016 20:24:41 +0000 (20:24 +0000)]
Merge "Do not print misleading debug messages in some scenarios." into nyc-mr1-dev

7 years agoMerge "DO NOT MERGE: Don't create DocumentInfo instances in background." into nyc...
TreeHugger Robot [Wed, 24 Aug 2016 19:49:34 +0000 (19:49 +0000)]
Merge "DO NOT MERGE: Don't create DocumentInfo instances in background." into nyc-mr1-dev

7 years agouse threadtime when collecting logcat
Guang Zhu [Wed, 24 Aug 2016 17:21:10 +0000 (10:21 -0700)]
use threadtime when collecting logcat

Bug: 31048686
Test: make droid

Change-Id: I55cd38b9cdc4224fcd319af706d421cdac062f83

7 years agoChanging default value of config_use_sim_language_file to false.
Amit Mahajan [Wed, 24 Aug 2016 18:45:35 +0000 (11:45 -0700)]
Changing default value of config_use_sim_language_file to false.

Bug: 30150341
Change-Id: If0183ce0bfa4f872d991e5aed562eeb948ed86c8

7 years agoMerge "Added error handling to settings suggestions list" into nyc-dev am: ed004e2958
Salvador Martinez [Wed, 24 Aug 2016 18:32:11 +0000 (18:32 +0000)]
Merge "Added error handling to settings suggestions list" into nyc-dev am: ed004e2958
am: e9c519e049

Change-Id: Ie99c9e7d6747866efb03484dbbeec89d4dc6d74b

7 years agoAdded error handling to settings suggestions list am: 18bf581c77
Salvador Martinez [Wed, 24 Aug 2016 18:32:09 +0000 (18:32 +0000)]
Added error handling to settings suggestions list am: 18bf581c77
am: 2cb851e5c9

Change-Id: I5f28a0c854597a576791be97fd1ab0c87183d65d

7 years agoMerge "Added error handling to settings suggestions list" into nyc-dev
Salvador Martinez [Wed, 24 Aug 2016 18:28:00 +0000 (18:28 +0000)]
Merge "Added error handling to settings suggestions list" into nyc-dev
am: ed004e2958

Change-Id: I674216ef4471444c86b202896b8ce055c54eb584

7 years agoAdded error handling to settings suggestions list
Salvador Martinez [Wed, 24 Aug 2016 18:27:56 +0000 (18:27 +0000)]
Added error handling to settings suggestions list
am: 18bf581c77

Change-Id: Id946b2b75b9adc4c70fa4537da4ac509a6ab5c66

7 years agoMerge "Added error handling to settings suggestions list" into nyc-dev
Salvador Martinez [Wed, 24 Aug 2016 18:17:38 +0000 (18:17 +0000)]
Merge "Added error handling to settings suggestions list" into nyc-dev

7 years agoMerge "Ensure the layer drawable callback is set when loading from theme" into nyc...
Alan Viverette [Wed, 24 Aug 2016 18:17:02 +0000 (18:17 +0000)]
Merge "Ensure the layer drawable callback is set when loading from theme" into nyc-mr1-dev

7 years agoMerge "Improve docs for GradientDrawable's useLevel and centerX/Y properties" into...
Alan Viverette [Wed, 24 Aug 2016 18:17:02 +0000 (18:17 +0000)]
Merge "Improve docs for GradientDrawable's useLevel and centerX/Y properties" into nyc-mr1-dev

7 years agoMerge "Clean up VideoView, SurfaceView constructors" into nyc-mr1-dev
Alan Viverette [Wed, 24 Aug 2016 18:17:02 +0000 (18:17 +0000)]
Merge "Clean up VideoView, SurfaceView constructors" into nyc-mr1-dev

7 years agoMerge "Constrain input hour and minute to valid range" into nyc-mr1-dev
Alan Viverette [Wed, 24 Aug 2016 18:17:02 +0000 (18:17 +0000)]
Merge "Constrain input hour and minute to valid range" into nyc-mr1-dev

7 years agoMerge "Override LinearLayout's onLayout pass in AlertDialogLayout" into nyc-mr1-dev
Alan Viverette [Wed, 24 Aug 2016 18:17:02 +0000 (18:17 +0000)]
Merge "Override LinearLayout's onLayout pass in AlertDialogLayout" into nyc-mr1-dev

7 years agoMerge "redact PII only for non-null value and apply SHA-1" into nyc-mr1-dev
Chen Xu [Wed, 24 Aug 2016 18:08:19 +0000 (18:08 +0000)]
Merge "redact PII only for non-null value and apply SHA-1" into nyc-mr1-dev

7 years agoMerge "Add metrics logging for Settings -> Help & Feedback" into nyc-mr1-dev
Doris Ling [Wed, 24 Aug 2016 18:01:26 +0000 (18:01 +0000)]
Merge "Add metrics logging for Settings -> Help & Feedback" into nyc-mr1-dev

7 years agoMerge "Avoid potential re-entry as a result of child mutation" into nyc-dev am: 462f2...
Alan Viverette [Wed, 24 Aug 2016 17:43:45 +0000 (17:43 +0000)]
Merge "Avoid potential re-entry as a result of child mutation" into nyc-dev am: 462f29f77f
am: f9489216eb

Change-Id: If2389e3de3f5b511ed0ac7cee1025ec2d31cbabc

7 years agoAvoid potential re-entry as a result of child mutation am: 66b3a0d1aa
Alan Viverette [Wed, 24 Aug 2016 17:43:43 +0000 (17:43 +0000)]
Avoid potential re-entry as a result of child mutation am: 66b3a0d1aa
am: 70ccc698ec

Change-Id: Ia85253ba6ce6bece037717b7d87955dcac4e9f81

7 years agoMerge "Avoid potential re-entry as a result of child mutation" into nyc-dev
Alan Viverette [Wed, 24 Aug 2016 17:37:53 +0000 (17:37 +0000)]
Merge "Avoid potential re-entry as a result of child mutation" into nyc-dev
am: 462f29f77f

Change-Id: Iefb3d33a407aa719c988217b136187378617da8f

7 years agoAvoid potential re-entry as a result of child mutation
Alan Viverette [Wed, 24 Aug 2016 17:37:50 +0000 (17:37 +0000)]
Avoid potential re-entry as a result of child mutation
am: 66b3a0d1aa

Change-Id: I1fa6619145a6aaceb4c743d378fbc5b198da6cdd

7 years agoMerge "Avoid potential re-entry as a result of child mutation" into nyc-dev
TreeHugger Robot [Wed, 24 Aug 2016 17:27:07 +0000 (17:27 +0000)]
Merge "Avoid potential re-entry as a result of child mutation" into nyc-dev

7 years agoMerge "Fix AsyncTask to handle exceptions in doInBackground" into nyc-mr1-dev
Tony Mantler [Wed, 24 Aug 2016 17:00:02 +0000 (17:00 +0000)]
Merge "Fix AsyncTask to handle exceptions in doInBackground" into nyc-mr1-dev

7 years agoAdded error handling to settings suggestions list
Salvador Martinez [Thu, 4 Aug 2016 20:37:52 +0000 (13:37 -0700)]
Added error handling to settings suggestions list

The suggestions list in the summary page of the
settings app could sometimes cause a crash due to
an uncaught exception. Tis fixed now.

Bug: 30656840
Change-Id: If79f53e6a8c17a81653228d613797e94c473d410
(cherry picked from commit 60d92b3b8390e33e069f343d6a425ab07c498d3d)

7 years agoEnsure the layer drawable callback is set when loading from theme
Alan Viverette [Wed, 24 Aug 2016 16:35:47 +0000 (12:35 -0400)]
Ensure the layer drawable callback is set when loading from theme

Previously we would skip setting the changing configurations and callback
if the drawable had been loaded post-inflation from a theme attribute.

Bug: 30756548
Change-Id: Ia5457723ae8a62506a7562299d3fe78ec21f8030

7 years agoOverride LinearLayout's onLayout pass in AlertDialogLayout
Alan Viverette [Wed, 24 Aug 2016 16:26:27 +0000 (12:26 -0400)]
Override LinearLayout's onLayout pass in AlertDialogLayout

LinearLayout sets up internal state during onLayout that's missing when
we override onMeasure. Avoid calling super.onMeasure() by re-implementing
onLayout without the internal state dependencies.

Bug: 30494039
Change-Id: I1149517a2fe5f5afdb4125db5e7f573588fea740

7 years agoMerge "Add an new internal DrawableContainer to handle animation scale == 0 case...
Tenghui Zhu [Wed, 24 Aug 2016 16:22:32 +0000 (16:22 +0000)]
Merge "Add an new internal DrawableContainer to handle animation scale == 0 case." into nyc-mr1-dev

7 years agoMerge "Set DeviceLockedForUser state synchronously" into nyc-mr1-dev
Rubin Xu [Wed, 24 Aug 2016 14:23:42 +0000 (14:23 +0000)]
Merge "Set DeviceLockedForUser state synchronously" into nyc-mr1-dev

7 years agoMerge "MediaSessionService: Leave log for media key events" into nyc-mr1-dev
Jaewan Kim [Wed, 24 Aug 2016 05:34:26 +0000 (05:34 +0000)]
Merge "MediaSessionService: Leave log for media key events" into nyc-mr1-dev

7 years agoMerge "ExifInterface: Make saveAttributes throw an exception before change" into...
Sungsoo Lim [Wed, 24 Aug 2016 01:53:19 +0000 (01:53 +0000)]
Merge "ExifInterface: Make saveAttributes throw an exception before change" into nyc-mr1-dev

7 years agoMerge "Fixing issue with toasts not showing for guest users." into nyc-mr1-dev
TreeHugger Robot [Wed, 24 Aug 2016 01:47:18 +0000 (01:47 +0000)]
Merge "Fixing issue with toasts not showing for guest users." into nyc-mr1-dev

7 years agoDO NOT MERGE: Don't create DocumentInfo instances in background.
Steve McKay [Tue, 23 Aug 2016 22:35:53 +0000 (15:35 -0700)]
DO NOT MERGE: Don't create DocumentInfo instances in background.

Cursor access is not threadsafe resulting in operations on incorrect files.

Bug: 30082168
Change-Id: Ib36d5b7acdee9463b6ebd2553172e5ecb4d70857

7 years agoMerge "Don't use fullscreen theme for forced resizable info activity" into nyc-mr1-dev
TreeHugger Robot [Wed, 24 Aug 2016 01:32:09 +0000 (01:32 +0000)]
Merge "Don't use fullscreen theme for forced resizable info activity" into nyc-mr1-dev

7 years agoMediaSessionService: Leave log for media key events
Jaewan Kim [Tue, 19 Jul 2016 13:25:39 +0000 (22:25 +0900)]
MediaSessionService: Leave log for media key events

Bug: 30212915
Change-Id: I6eb523bbbce2292b6b51d538d82ef4d0a8ba23b3

7 years agoMerge "Remove swipe-up gesture from Tuner" into nyc-mr1-dev
TreeHugger Robot [Wed, 24 Aug 2016 01:21:05 +0000 (01:21 +0000)]
Merge "Remove swipe-up gesture from Tuner" into nyc-mr1-dev

7 years agoFixing issue with toasts not showing for guest users.
Winson [Wed, 24 Aug 2016 00:12:22 +0000 (17:12 -0700)]
Fixing issue with toasts not showing for guest users.

Bug: 30001278
Change-Id: I43269da8a6c41f4fec5923aafe5a624ec75ba651

7 years agoMerge "use directory timestamp during OTA" into nyc-mr1-dev
TreeHugger Robot [Wed, 24 Aug 2016 00:09:18 +0000 (00:09 +0000)]
Merge "use directory timestamp during OTA" into nyc-mr1-dev

7 years agoMerge "Improve logging for NightDisplayService/TwilightService" into nyc-mr1-dev
TreeHugger Robot [Wed, 24 Aug 2016 00:04:40 +0000 (00:04 +0000)]
Merge "Improve logging for NightDisplayService/TwilightService" into nyc-mr1-dev

7 years agoBump up preloading recents on boot up to user unlocked.
Winson [Tue, 9 Aug 2016 21:51:24 +0000 (14:51 -0700)]
Bump up preloading recents on boot up to user unlocked.

- To fix b/29320695, we moved the initial recents preloading to boot
  completed.  However, that event happens fairly late in the boot
  sequence, and preloading can instead be done in response to user
  unlocked.

Bug: 29879478
Change-Id: I881bd9c4c3b91d73df4947bfd2cc55eb6e615d15

7 years agoMerge "Backporting shortcut manager test utils to mr1" into nyc-mr1-dev
Makoto Onuki [Tue, 23 Aug 2016 23:44:03 +0000 (23:44 +0000)]
Merge "Backporting shortcut manager test utils to mr1" into nyc-mr1-dev

7 years agoMerge "Only sync adapters with access can see an account - framework" into nyc-mr1-dev
TreeHugger Robot [Tue, 23 Aug 2016 23:26:47 +0000 (23:26 +0000)]
Merge "Only sync adapters with access can see an account - framework" into nyc-mr1-dev

7 years agoresolve merge conflicts of 1081a15 to lmp-mr1-ub-dev
David Christie [Tue, 23 Aug 2016 23:19:51 +0000 (16:19 -0700)]
resolve merge conflicts of 1081a15 to lmp-mr1-ub-dev

Change-Id: Ic44c577ef364bf81dd1e30b50c71718d4910eb10

7 years agoDo not print misleading debug messages in some scenarios.
Jack Yu [Tue, 23 Aug 2016 23:09:36 +0000 (16:09 -0700)]
Do not print misleading debug messages in some scenarios.

When the mobile network is not active, querying the network
information might trigger the misleading debug messages. Added
some condition checks to prevent this.

bug: 30850733
Change-Id: Ice6d548a56f98bac7fe2ca6a06148350b505533d

7 years agoMerge "Added error handling to settings suggestions list" into nyc-mr1-dev
TreeHugger Robot [Tue, 23 Aug 2016 22:52:31 +0000 (22:52 +0000)]
Merge "Added error handling to settings suggestions list" into nyc-mr1-dev

7 years agouse directory timestamp during OTA
Todd Kennedy [Tue, 23 Aug 2016 22:38:26 +0000 (15:38 -0700)]
use directory timestamp during OTA

Previously the timestamp was generated using the directory and not the
APK [see b/29575840 and b/29610181 as to why that's bad]. In MR1, the
timestamp was generated using the most recent time of any of the APK
files.

The timestamp discrepancy causes problems during OTA to N MR1. Most
apps are incorrectly marked as "changed" which means a full parse and
verification pass on all packages. This can be a very lengthy process.

Bug: 30930797
Change-Id: Iaef7b318e1c1effbd74d996f88cbf3d6e77736cd
Test: manually updated the platform and noticed that existing packages were marked as "not changed"

7 years agoImprove logging for NightDisplayService/TwilightService
Justin Klaassen [Tue, 23 Aug 2016 19:04:42 +0000 (12:04 -0700)]
Improve logging for NightDisplayService/TwilightService

Bug: 31037341
Change-Id: Id6e5ea55f2fed93f1afdd0f61028e3329c8a43c3
(cherry picked from commit 7fba39209065eeee8fc8e8e98c44c5fcc1ca275d)

7 years agoMerge "Update light mode when battery saver changes" into nyc-mr1-dev
TreeHugger Robot [Tue, 23 Aug 2016 22:20:38 +0000 (22:20 +0000)]
Merge "Update light mode when battery saver changes" into nyc-mr1-dev

7 years agoAdd metrics logging for Settings -> Help & Feedback
Doris Ling [Mon, 8 Aug 2016 23:17:43 +0000 (16:17 -0700)]
Add metrics logging for Settings -> Help & Feedback

Add new metrics event constant for Settings->Help & Feedback, and log it
whenever user selects the help option menu, passing the context extra for
the corresponding settings preference where the help menu is launched.

Change-Id: I971e8e50b959a5451ed085e5da5fd8504111e6c3
Fixes: 30140281

7 years agoOnly sync adapters with access can see an account - framework
Svetoslav Ganov [Tue, 12 Jul 2016 02:32:30 +0000 (19:32 -0700)]
Only sync adapters with access can see an account - framework

It was possible for a sync adapter without accounts access to
see the account which it is supposed to sync which can be used to
identify the user. This change ensures that only sync adapters
with account access can run (which results in seeing the account),
otherwise we involve the user to approve access only to this account.

A sync adapter can access an account if one of these is true:
 - it is signed as the authenticator for this account
 - has the GET_ACCOUNTS permission
 - has an auth token for the account
 - it is a preinstalled app (system or privileged)

The main thing we need to figure out is if the extra prompts
for giving access to a sync adapter to the account create too
much friction.

bug:28163381

Change-Id: Ie083bb681b5a2aed81ca5f6a062193a175fad77e

7 years agoMerge "Don't complain about sender of MASTER_CLEAR" into nyc-mr1-dev
Amith Yamasani [Tue, 23 Aug 2016 21:19:03 +0000 (21:19 +0000)]
Merge "Don't complain about sender of MASTER_CLEAR" into nyc-mr1-dev

7 years agoMerge "Do not scan system apps unless after OTA" into nyc-mr1-dev
Makoto Onuki [Tue, 23 Aug 2016 20:52:41 +0000 (20:52 +0000)]
Merge "Do not scan system apps unless after OTA" into nyc-mr1-dev

7 years agoRemove swipe-up gesture from Tuner
Jorim Jaggi [Mon, 22 Aug 2016 23:06:01 +0000 (16:06 -0700)]
Remove swipe-up gesture from Tuner

We can't do it anymore with the slippery flag, so remove the entry
in the tuner.

We'll clean up the code in master.

Change-Id: Ib3dee0c947e7925b5847f2edc4801495c659dfa5
Fixes: 30891575

7 years agoDon't use fullscreen theme for forced resizable info activity
Jorim Jaggi [Mon, 22 Aug 2016 23:16:43 +0000 (16:16 -0700)]
Don't use fullscreen theme for forced resizable info activity

Change-Id: I74b5443645dd532ff597d4a1773bbd5a38d71192
Fixes: 29278265

7 years agoUpdate light mode when battery saver changes
Jorim Jaggi [Tue, 23 Aug 2016 20:28:04 +0000 (13:28 -0700)]
Update light mode when battery saver changes

Change-Id: I56b309222782d823d80a66c87d30eefed2ce5dc7
Fixes: 30150232

7 years agoMerge "DO NOT MERGE ANYWHERE (nyc-dr1-dev) Add connection events for indicated when...
Adam Seaton [Tue, 23 Aug 2016 20:16:34 +0000 (20:16 +0000)]
Merge "DO NOT MERGE ANYWHERE (nyc-dr1-dev) Add connection events for indicated when a connection is remotely held." into nyc-dr1-dev
am: 09c77dd2b1  -s ours

Change-Id: I97b120256a68cc2038b72fc13d14ca01729f3199

7 years agoDO NOT MERGE ANYWHERE (nyc-dr1-dev) Add connection events for indicated when a connec...
Tyler Gunn [Tue, 23 Aug 2016 20:16:29 +0000 (20:16 +0000)]
DO NOT MERGE ANYWHERE (nyc-dr1-dev) Add connection events for indicated when a connection is remotely held.
am: d697c5dc9b  -s ours

Change-Id: Id959d48b4c4fa5af883c42cc6fbe052cca10f367