OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Add carrier config to report IMEI on CDMA phone." into nyc-mr1-dev
Vineeta Srivastava [Fri, 15 Jul 2016 19:44:44 +0000 (19:44 +0000)]
Merge "Add carrier config to report IMEI on CDMA phone." into nyc-mr1-dev

8 years agoMerge "Align empty views for quicksetting center in detail panel." into nyc-mr1-dev
TreeHugger Robot [Fri, 15 Jul 2016 19:08:10 +0000 (19:08 +0000)]
Merge "Align empty views for quicksetting center in detail panel." into nyc-mr1-dev

8 years agoAdd carrier config to report IMEI on CDMA phone.
Junda Liu [Thu, 14 Jul 2016 20:55:03 +0000 (13:55 -0700)]
Add carrier config to report IMEI on CDMA phone.

Bug: b/29340579
Change-Id: I3cac49af4b173f971b8153c00227141378f32b43

8 years agoMerge \"docs: Added note about limited support for hardware key attestation\" into...
Kevin Hufnagle [Fri, 15 Jul 2016 18:58:07 +0000 (18:58 +0000)]
Merge \"docs: Added note about limited support for hardware key attestation\" into nyc-dev
am: 68b98bc608

Change-Id: I1ae42e82f830ac939491c7d754d71420ec2092d9

8 years agoMerge "docs: Added note about limited support for hardware key attestation" into...
Kevin Hufnagle [Fri, 15 Jul 2016 18:44:09 +0000 (18:44 +0000)]
Merge "docs: Added note about limited support for hardware key attestation" into nyc-dev

8 years agoMerge "Always return valid ClipDescription for ACTION_DRAG_EXITED" into nyc-mr1-dev
TreeHugger Robot [Fri, 15 Jul 2016 18:26:50 +0000 (18:26 +0000)]
Merge "Always return valid ClipDescription for ACTION_DRAG_EXITED" into nyc-mr1-dev

8 years agoMerge "Don't release surface if relayout is visible" into nyc-mr1-dev
Chong Zhang [Fri, 15 Jul 2016 18:26:27 +0000 (18:26 +0000)]
Merge "Don't release surface if relayout is visible" into nyc-mr1-dev

8 years agoMerge "Add ApplicationErrorReport tests" into nyc-mr1-dev
Adrian Roos [Fri, 15 Jul 2016 18:24:27 +0000 (18:24 +0000)]
Merge "Add ApplicationErrorReport tests" into nyc-mr1-dev

8 years agoMerge "Remove VR package disable logic." into nyc-mr1-dev
Ruben Brunk [Fri, 15 Jul 2016 18:09:34 +0000 (18:09 +0000)]
Merge "Remove VR package disable logic." into nyc-mr1-dev

8 years agoMerge "Turn down restore-time logspam" into nyc-mr1-dev
Chris Tate [Fri, 15 Jul 2016 18:05:06 +0000 (18:05 +0000)]
Merge "Turn down restore-time logspam" into nyc-mr1-dev

8 years agoTurn down restore-time logspam
Christopher Tate [Fri, 15 Jul 2016 17:53:15 +0000 (10:53 -0700)]
Turn down restore-time logspam

Bug 30160827

Change-Id: I14ccf0a31e5a6882bf189c28c79d1c139ec44bcc

8 years agoAlign empty views for quicksetting center in detail panel.
Fan Zhang [Fri, 15 Jul 2016 17:39:03 +0000 (10:39 -0700)]
Align empty views for quicksetting center in detail panel.

Change-Id: I6d0f1eaeee1ea59890cf0589381332a3f3a8fb4e
Fixes: 29981651

8 years agoDocs: Behavior changes such as activity dismissal am: f506485b51 am: 274d904d4c
Bert McMeen [Fri, 15 Jul 2016 17:19:42 +0000 (17:19 +0000)]
Docs: Behavior changes such as activity dismissal am: f506485b51 am: 274d904d4c
am: 8432d4328d

Change-Id: I65edec2172b347df56a4be699060bd456cfe3923

8 years agoDocs: Behavior changes such as activity dismissal am: f506485b51
Bert McMeen [Fri, 15 Jul 2016 17:14:06 +0000 (17:14 +0000)]
Docs: Behavior changes such as activity dismissal am: f506485b51
am: 274d904d4c

Change-Id: I2bf5f981b7b8b001ce3d25ff0179270e23d08588

8 years agoDocs: Behavior changes such as activity dismissal
Bert McMeen [Fri, 15 Jul 2016 17:08:31 +0000 (17:08 +0000)]
Docs: Behavior changes such as activity dismissal
am: f506485b51

Change-Id: Ia133aef14f006a15304ca744d933eb8934c80bb5

8 years agoMerge "QS: Don't use ComponentName to identify tiles" into nyc-mr1-dev
Jason Monk [Fri, 15 Jul 2016 16:55:22 +0000 (16:55 +0000)]
Merge "QS: Don't use ComponentName to identify tiles" into nyc-mr1-dev

8 years agoMerge "Disallow user to block notification from OobConfig" into nyc-mr1-dev
Esteban Talavera [Fri, 15 Jul 2016 16:14:20 +0000 (16:14 +0000)]
Merge "Disallow user to block notification from OobConfig" into nyc-mr1-dev

8 years agoMerge "QS Detail: Don't animate switch before panel open" into nyc-mr1-dev
TreeHugger Robot [Fri, 15 Jul 2016 16:04:17 +0000 (16:04 +0000)]
Merge "QS Detail: Don't animate switch before panel open" into nyc-mr1-dev

8 years agoMerge "Add alternative EXTRA_CALL_RAT_TYPE definition for noncompliant modems." into...
Pankaj Kanwar [Fri, 15 Jul 2016 15:10:26 +0000 (15:10 +0000)]
Merge "Add alternative EXTRA_CALL_RAT_TYPE definition for noncompliant modems." into nyc-mr1-dev

8 years agoQS Detail: Don't animate switch before panel open
Jason Monk [Fri, 15 Jul 2016 14:37:07 +0000 (10:37 -0400)]
QS Detail: Don't animate switch before panel open

This will make it more obvious that wifi gets turned on by opening
the panel as the animation of the state change will be visible.

Change-Id: I6ceb0bef914a9ff368b1bdb750d19aeb43593e78
Fixes: 29057528

8 years agoMerge \\\\\"Check caller\\\\\'s uid before allowing notification policy access.\...
Julia Reynolds [Fri, 15 Jul 2016 14:34:21 +0000 (14:34 +0000)]
Merge \\\\\"Check caller\\\\\'s uid before allowing notification policy access.\\\\\" into mnc-dev am: 234e1c25e4 am: 8e8bb6633c am: 5c6db3af89 am: e1d8b98189  -s ours
am: 8e6b7c2f72

Change-Id: I0d01f75f3ba19142675de8c589071af9888deeab

8 years agoMerge \\\\"Check caller\\\\'s uid before allowing notification policy access.\\\...
Julia Reynolds [Fri, 15 Jul 2016 14:27:24 +0000 (14:27 +0000)]
Merge \\\\"Check caller\\\\'s uid before allowing notification policy access.\\\\" into mnc-dev am: 234e1c25e4 am: 8e8bb6633c am: 5c6db3af89
am: e1d8b98189  -s ours

Change-Id: I583fa066aaf12cacb841b10f751ad0ad7a1de237

8 years agoMerge \\\"Check caller\\\'s uid before allowing notification policy access.\\\" into...
Julia Reynolds [Fri, 15 Jul 2016 14:17:56 +0000 (14:17 +0000)]
Merge \\\"Check caller\\\'s uid before allowing notification policy access.\\\" into mnc-dev am: 234e1c25e4 am: 8e8bb6633c
am: 5c6db3af89

Change-Id: Ie212c6105f8796f0e7c4ccf25ea132b8c9f99519

8 years agoMerge \\"Check caller\\'s uid before allowing notification policy access.\\" into...
Julia Reynolds [Fri, 15 Jul 2016 14:12:23 +0000 (14:12 +0000)]
Merge \\"Check caller\\'s uid before allowing notification policy access.\\" into mnc-dev am: 234e1c25e4
am: 8e8bb6633c

Change-Id: Ic36dbb69f0eeddd85b17579b2fc90f75349e4ca3

8 years agoMerge \"Check caller\'s uid before allowing notification policy access.\" into mnc-dev
Julia Reynolds [Fri, 15 Jul 2016 14:06:49 +0000 (14:06 +0000)]
Merge \"Check caller\'s uid before allowing notification policy access.\" into mnc-dev
am: 234e1c25e4

Change-Id: I6724832d28362a76cd2f65432d6e805738f335fa

8 years agoMerge "Check caller's uid before allowing notification policy access." into mnc-dev
Julia Reynolds [Fri, 15 Jul 2016 13:59:04 +0000 (13:59 +0000)]
Merge "Check caller's uid before allowing notification policy access." into mnc-dev

8 years agoMerge "Remove tied profile encryption key cache in keystore" into nyc-mr1-dev
Ricky Wai [Fri, 15 Jul 2016 10:09:39 +0000 (10:09 +0000)]
Merge "Remove tied profile encryption key cache in keystore" into nyc-mr1-dev

8 years agoMerge "Whitelisting device provisioning package from app standby" into nyc-mr1-dev
Tony Mak [Fri, 15 Jul 2016 07:17:42 +0000 (07:17 +0000)]
Merge "Whitelisting device provisioning package from app standby" into nyc-mr1-dev

8 years agoMerge "Fix thread priority after boosting." into nyc-mr1-dev
Alan Leung [Fri, 15 Jul 2016 06:00:06 +0000 (06:00 +0000)]
Merge "Fix thread priority after boosting." into nyc-mr1-dev

8 years agoMerge "media: document new temporal layering schema values." into nyc-mr1-dev
Lajos Molnar [Fri, 15 Jul 2016 05:44:03 +0000 (05:44 +0000)]
Merge "media: document new temporal layering schema values." into nyc-mr1-dev

8 years agoMerge "media: clarify MediaFormat.KEY_I_FRAME_INTERVAL" into nyc-mr1-dev
Lajos Molnar [Fri, 15 Jul 2016 05:43:39 +0000 (05:43 +0000)]
Merge "media: clarify MediaFormat.KEY_I_FRAME_INTERVAL" into nyc-mr1-dev

8 years agomedia: clarify MediaFormat.KEY_I_FRAME_INTERVAL
Lajos Molnar [Fri, 15 Jul 2016 02:54:50 +0000 (19:54 -0700)]
media: clarify MediaFormat.KEY_I_FRAME_INTERVAL

Bug: 30096321
Change-Id: I908b669caf5443fb272a2d274b7cbf7227913b3e

8 years agoMerge "APF: filter unwanted ARP replies" into nyc-mr1-dev
TreeHugger Robot [Fri, 15 Jul 2016 03:59:48 +0000 (03:59 +0000)]
Merge "APF: filter unwanted ARP replies" into nyc-mr1-dev

8 years agoWhitelisting device provisioning package from app standby
Tony Mak [Thu, 14 Jul 2016 07:30:18 +0000 (15:30 +0800)]
Whitelisting device provisioning package from app standby

Change-Id: Ib9cb7a3fdf7aa16a97f22eacbed872880b7f9fbe
Fix: 29892977

8 years agomedia: document new temporal layering schema values.
Lajos Molnar [Fri, 15 Jul 2016 02:10:27 +0000 (19:10 -0700)]
media: document new temporal layering schema values.

Also fix doc as these are advertised on the output port.

Bug: 30150921
Bug: 27596987
Change-Id: Ia95876ade36bc82eea0e9795dea0268abbd1c1ef

8 years agoMerge "Thread-safe pipe teardown during restore operations" into nyc-mr1-dev
Chris Tate [Fri, 15 Jul 2016 01:38:02 +0000 (01:38 +0000)]
Merge "Thread-safe pipe teardown during restore operations" into nyc-mr1-dev

8 years agoMerge "Dump the source uid of scheduled jobs" into nyc-mr1-dev
Chris Tate [Fri, 15 Jul 2016 01:37:19 +0000 (01:37 +0000)]
Merge "Dump the source uid of scheduled jobs" into nyc-mr1-dev

8 years agoMerge "Test existence of wallpaper files before backing them up" into nyc-mr1-dev
Chris Tate [Fri, 15 Jul 2016 01:36:46 +0000 (01:36 +0000)]
Merge "Test existence of wallpaper files before backing them up" into nyc-mr1-dev

8 years agoMerge "Fixed a bug where the burmese clock could overlap" into nyc-mr1-dev
TreeHugger Robot [Fri, 15 Jul 2016 01:33:32 +0000 (01:33 +0000)]
Merge "Fixed a bug where the burmese clock could overlap" into nyc-mr1-dev

8 years agoMerge "Handle locale change and pacakge change in different way" into nyc-mr1-dev
Makoto Onuki [Fri, 15 Jul 2016 00:39:04 +0000 (00:39 +0000)]
Merge "Handle locale change and pacakge change in different way" into nyc-mr1-dev

8 years agoDon't release surface if relayout is visible
Chong Zhang [Thu, 14 Jul 2016 22:09:12 +0000 (15:09 -0700)]
Don't release surface if relayout is visible

There is a delay from the point we notify the client to go invisible,
to the point that request is handled. If a relayout VISIBLE happens
during this period, we need to give the client a surface so that any
pending draws will go through.

bug: 30066966

Change-Id: I0cd4e4be49f3d2d8f726963ed9e23bf0327e1d0f

8 years agoMerge "media: clarify notes in MediaCodec doc" into nyc-mr1-dev
Lajos Molnar [Fri, 15 Jul 2016 00:25:29 +0000 (00:25 +0000)]
Merge "media: clarify notes in MediaCodec doc" into nyc-mr1-dev

8 years agoAlways return valid ClipDescription for ACTION_DRAG_EXITED
Vladislav Kaznacheev [Fri, 15 Jul 2016 00:15:02 +0000 (17:15 -0700)]
Always return valid ClipDescription for ACTION_DRAG_EXITED

Bug: 30148704
Change-Id: I5f5cbb35a343e6ef61bed9ff92e3921a4ecce0c0

8 years agoMerge "Fixed the heads up disspearing bug for real" into nyc-mr1-dev
TreeHugger Robot [Fri, 15 Jul 2016 00:09:46 +0000 (00:09 +0000)]
Merge "Fixed the heads up disspearing bug for real" into nyc-mr1-dev

8 years agoMerge "Don't activate Night display until user setup is complete" into nyc-mr1-dev
TreeHugger Robot [Fri, 15 Jul 2016 00:04:20 +0000 (00:04 +0000)]
Merge "Don't activate Night display until user setup is complete" into nyc-mr1-dev

8 years agoMerge "Fix rotated clip regions" into nyc-mr1-dev
Chris Craik [Fri, 15 Jul 2016 00:02:25 +0000 (00:02 +0000)]
Merge "Fix rotated clip regions" into nyc-mr1-dev

8 years agoMerge "Fix bug where swiping on the fp sensor when the screen is off causes blank...
TreeHugger Robot [Thu, 14 Jul 2016 23:45:11 +0000 (23:45 +0000)]
Merge "Fix bug where swiping on the fp sensor when the screen is off causes blank screen" into nyc-mr1-dev

8 years agoFixed a bug where the burmese clock could overlap
Selim Cinek [Thu, 14 Jul 2016 23:32:23 +0000 (16:32 -0700)]
Fixed a bug where the burmese clock could overlap

Change-Id: I9ccd2fd5fd89c973d937196aa16d459e46eca769
Fixes: 26015598

8 years agoMerge "Properly disable WiFi tethering" into nyc-mr1-dev
TreeHugger Robot [Thu, 14 Jul 2016 23:26:55 +0000 (23:26 +0000)]
Merge "Properly disable WiFi tethering" into nyc-mr1-dev

8 years agoDocs: Behavior changes such as activity dismissal
Bert McMeen [Thu, 14 Jul 2016 23:11:18 +0000 (16:11 -0700)]
Docs: Behavior changes such as activity dismissal

Bug: 29447512
Change-Id: I5360212eab317fab5198afd36780c2d3cfe4d255

8 years agoDon't activate Night display until user setup is complete
Justin Klaassen [Tue, 12 Jul 2016 04:26:46 +0000 (21:26 -0700)]
Don't activate Night display until user setup is complete

Bug: 30042357
Change-Id: I575c5e44b4109816ae14cc139ff171f141e6088f

8 years agoMerge "Fixed a bug where the header was positioned wrong" into nyc-mr1-dev
TreeHugger Robot [Thu, 14 Jul 2016 22:50:07 +0000 (22:50 +0000)]
Merge "Fixed a bug where the header was positioned wrong" into nyc-mr1-dev

8 years agoMerge "Call into ART to get the location of the odex/oat file to pin" into nyc-mr1-dev
Philip Cuadra [Thu, 14 Jul 2016 22:26:20 +0000 (22:26 +0000)]
Merge "Call into ART to get the location of the odex/oat file to pin" into nyc-mr1-dev

8 years agoMerge "Don't count zero width space in hasGlyph layout" into nyc-mr1-dev
Raph Levien [Thu, 14 Jul 2016 22:26:03 +0000 (22:26 +0000)]
Merge "Don't count zero width space in hasGlyph layout" into nyc-mr1-dev

8 years agoMerge "Treat U+2695, U+2640, U+2642 as emoji characters." into nyc-mr1-dev
Raph Levien [Thu, 14 Jul 2016 22:25:39 +0000 (22:25 +0000)]
Merge "Treat U+2695, U+2640, U+2642 as emoji characters." into nyc-mr1-dev

8 years agoMerge "Delete gender-balanced emoji sequence by one backspace key event." into nyc...
Raph Levien [Thu, 14 Jul 2016 22:25:20 +0000 (22:25 +0000)]
Merge "Delete gender-balanced emoji sequence by one backspace key event." into nyc-mr1-dev

8 years agoMerge "Patch out part of the emoji tests." into nyc-mr1-dev
Raph Levien [Thu, 14 Jul 2016 22:24:13 +0000 (22:24 +0000)]
Merge "Patch out part of the emoji tests." into nyc-mr1-dev

8 years agoMerge \"Disallow shell to mutate always-on vpn when DISALLOW_CONFIG_VPN user restrict...
Victor Chang [Thu, 14 Jul 2016 22:09:59 +0000 (22:09 +0000)]
Merge \"Disallow shell to mutate always-on vpn when DISALLOW_CONFIG_VPN user restriction is set\" into nyc-dev
am: 488042fe3b

Change-Id: I4d542c19e057b044544a2ed4f07b9c2cc5866f0f

8 years agoFix thread priority after boosting.
Alan Leung [Wed, 13 Jul 2016 17:59:54 +0000 (10:59 -0700)]
Fix thread priority after boosting.

The previous CL wrongly restores all priority to nice 0.

This CL changes two things:

1. It remembers and restores the previous priority.
2. If the thread has priority of < -2. Do not set it to -2.

BUG: 29930920
Change-Id: I927e060d789c9bbf92f6a166f44317d9db0f5205

8 years agoMerge "Disallow shell to mutate always-on vpn when DISALLOW_CONFIG_VPN user restricti...
Victor Chang [Thu, 14 Jul 2016 22:04:10 +0000 (22:04 +0000)]
Merge "Disallow shell to mutate always-on vpn when DISALLOW_CONFIG_VPN user restriction is set" into nyc-dev

8 years agoFix rotated clip regions
Chris Craik [Thu, 14 Jul 2016 21:24:16 +0000 (14:24 -0700)]
Fix rotated clip regions

bug: 26562461
fixes: 30109912

SeekBar clips out the area of the thumb when drawing its track. This
creates a clip region, since a rect has been subtracted.

This changes region transform support in computing final clip to
properly support any rect-to-rect transform (such as 90 degree rotation)
when applying a clip region.

Change-Id: Ib3bbc52637e59e00b3a7e7d5c4c40555e26c578b

8 years agodocs: Added note about limited support for hardware key attestation
Kevin Hufnagle [Thu, 14 Jul 2016 19:32:52 +0000 (12:32 -0700)]
docs: Added note about limited support for hardware key attestation

Most devices running Android N support only software-based key
attestation, so added several notes to the pages describing this
tool to help developers understand how to tell whether a device
supports only software-based key attestation and the associated
effects of this support level.

Bug: 28851641
Change-Id: I16c8ad7702814eba1e4b8b3ee7e9a569d08c3ff4

8 years agoFixed the heads up disspearing bug for real
Selim Cinek [Thu, 14 Jul 2016 18:16:58 +0000 (11:16 -0700)]
Fixed the heads up disspearing bug for real

When children become unisolated, they could be stuck in heads up mode.

Change-Id: I18227ae6743abec8fd6dc75916c67549f9e0aac4
Fixes: 30120962

8 years agoFixed a bug where the header was positioned wrong
Selim Cinek [Thu, 14 Jul 2016 01:50:04 +0000 (18:50 -0700)]
Fixed a bug where the header was positioned wrong

Also cleaned up some logic about the translation

Change-Id: I6bfcb36ac27d8d6280e8ffea62b597d3bc705121
Fixes: 29880654

8 years agoMerge \"Import translations. DO NOT MERGE\" into nyc-dev
Bill Yi [Thu, 14 Jul 2016 20:47:18 +0000 (20:47 +0000)]
Merge \"Import translations. DO NOT MERGE\" into nyc-dev
am: 9cdfb9d781  -s ours

Change-Id: I861d47e86d5695382ecf2e3093e567f710273c1c

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
TreeHugger Robot [Thu, 14 Jul 2016 20:39:48 +0000 (20:39 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Thu, 14 Jul 2016 20:27:16 +0000 (20:27 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

8 years agoMerge "Add LTE+ and update 4G+ icons" into nyc-mr1-dev
TreeHugger Robot [Thu, 14 Jul 2016 20:08:58 +0000 (20:08 +0000)]
Merge "Add LTE+ and update 4G+ icons" into nyc-mr1-dev

8 years agoMerge "Require permission for FLAG_WILL_BE_FOREGROUND." into nyc-mr1-dev
TreeHugger Robot [Thu, 14 Jul 2016 20:05:37 +0000 (20:05 +0000)]
Merge "Require permission for FLAG_WILL_BE_FOREGROUND." into nyc-mr1-dev

8 years agoMerge "Allow no longer waiting for visible activity to be stopped." into nyc-mr1-dev
TreeHugger Robot [Thu, 14 Jul 2016 19:55:12 +0000 (19:55 +0000)]
Merge "Allow no longer waiting for visible activity to be stopped." into nyc-mr1-dev

8 years agoMerge "Only broadcast LOGIN_ACCOUNTS_CHANGED when changes occur." into nyc-mr1-dev
Carlos Valdivia [Thu, 14 Jul 2016 19:11:02 +0000 (19:11 +0000)]
Merge "Only broadcast LOGIN_ACCOUNTS_CHANGED when changes occur." into nyc-mr1-dev

8 years agoMerge "Refactor display color transforms" into nyc-mr1-dev
Justin Klaassen [Thu, 14 Jul 2016 18:55:30 +0000 (18:55 +0000)]
Merge "Refactor display color transforms" into nyc-mr1-dev

8 years agoAdd bound checks to utf16_to_utf8 am: bce11021b2 am: 008120497b am: bab3334226 am...
Sergio Giro [Thu, 14 Jul 2016 18:48:55 +0000 (18:48 +0000)]
Add bound checks to utf16_to_utf8 am: bce11021b2 am: 008120497b am: bab3334226 am: ff58d7c918  -s ours
am: 437776ac65

Change-Id: Ic88ad611257693f8f5691e48493ed0ac46a1a45a

8 years agoAdd bound checks to utf16_to_utf8 am: bce11021b2 am: 008120497b am: bab3334226
Sergio Giro [Thu, 14 Jul 2016 18:42:45 +0000 (18:42 +0000)]
Add bound checks to utf16_to_utf8 am: bce11021b2 am: 008120497b am: bab3334226
am: ff58d7c918  -s ours

Change-Id: I31000817d4f99c215277d580948a20194176d53e

8 years agoRefactor display color transforms
Justin Klaassen [Tue, 12 Jul 2016 03:52:23 +0000 (20:52 -0700)]
Refactor display color transforms

- Removed Secure.ACCESSIBILITY_DISPLAY_COLOR_MATRIX, it's not desirable
  to persist the actual color transformation matrix.
- Refactored all SurfaceFlinger transforms to DisplayTransformManager,
  which allows color transforms to be set independently from the a11y
  manager service.

Bug: 30042357
Change-Id: Iefa477dedb66aac90e1218e327802a3fab6899ed

8 years agoAdd bound checks to utf16_to_utf8 am: bce11021b2 am: 008120497b
Sergio Giro [Thu, 14 Jul 2016 18:23:54 +0000 (18:23 +0000)]
Add bound checks to utf16_to_utf8 am: bce11021b2 am: 008120497b
am: bab3334226

Change-Id: I6e4e399dfcf89f46d40a162c77462b889883f569

8 years agoMerge \"Fixed statuses on Battery Saver column.\" into nyc-dev
Felipe Leme [Thu, 14 Jul 2016 18:23:12 +0000 (18:23 +0000)]
Merge \"Fixed statuses on Battery Saver column.\" into nyc-dev
am: 24b2e7bbee

Change-Id: I6b871cebf05f0fe18b054df456aabd80b10336aa

8 years agodelete old Community page, redirect to Support page
smain@google.com [Thu, 14 Jul 2016 18:23:04 +0000 (18:23 +0000)]
delete old Community page, redirect to Support page
am: 845cf07bdd

Change-Id: Icf5f64df8ec68544b6e4888309444ef39cb8b494

8 years agoAdd bound checks to utf16_to_utf8 am: bce11021b2
Sergio Giro [Thu, 14 Jul 2016 18:15:33 +0000 (18:15 +0000)]
Add bound checks to utf16_to_utf8 am: bce11021b2
am: 008120497b

Change-Id: Ib3135f8f186b10b773592d2bcbeae398cfd2fee1

8 years agoMerge "Fixed statuses on Battery Saver column." into nyc-dev
Felipe Leme [Thu, 14 Jul 2016 18:10:55 +0000 (18:10 +0000)]
Merge "Fixed statuses on Battery Saver column." into nyc-dev

8 years agoAdd bound checks to utf16_to_utf8
Sergio Giro [Thu, 14 Jul 2016 18:07:34 +0000 (18:07 +0000)]
Add bound checks to utf16_to_utf8
am: 1deedbacc3

Change-Id: I5004728668382feeafcc6fa6155b3169d8240664

8 years agoAdd bound checks to utf16_to_utf8
Sergio Giro [Thu, 14 Jul 2016 18:07:23 +0000 (18:07 +0000)]
Add bound checks to utf16_to_utf8
am: bce11021b2

Change-Id: Ic4995dee3763290f75b3ef623f257c71748d9d51

8 years agodelete old Community page, redirect to Support page
smain@google.com [Thu, 14 Jul 2016 18:05:19 +0000 (11:05 -0700)]
delete old Community page, redirect to Support page

Change-Id: I2c570f8bf88392db75aa78c2e702515b262f2830

8 years agoFixed statuses on Battery Saver column.
Felipe Leme [Thu, 14 Jul 2016 18:04:49 +0000 (11:04 -0700)]
Fixed statuses on Battery Saver column.

BUG: 30139400

Change-Id: I1798607af13c9be5e1f21212fd7078f7152562bd

8 years agoMerge "Don't allow shortcuts with non-main activities" into nyc-mr1-dev
Makoto Onuki [Thu, 14 Jul 2016 17:50:21 +0000 (17:50 +0000)]
Merge "Don't allow shortcuts with non-main activities" into nyc-mr1-dev

8 years agoDon't allow shortcuts with non-main activities
Makoto Onuki [Thu, 14 Jul 2016 01:03:13 +0000 (18:03 -0700)]
Don't allow shortcuts with non-main activities

Bug 30122758

Change-Id: Id9ead6706d5460fec3d68c7457e3097f30a9a080

8 years agoProperly disable WiFi tethering
Christopher Wiley [Thu, 14 Jul 2016 01:57:34 +0000 (18:57 -0700)]
Properly disable WiFi tethering

When Tethering.stopTethering(<wifi>) is called, we set
mWifiTetheringRequested to false and request the AP be torn down.
Previously, we would discard WIFI_AP_STATE_CHANGED_ACTION Intents,
because mWifiTetheringRequested was set to false.  This would in
turn cause us to leave tethering enabled, because we only tear down
tethering upon noticing that the interface is going down
(as signalled by WifiManager via this Intent).

In the past, this was covered up because we would tear down tethering
when the interface was taken down.  Now that we rely on SoftApManager
to notify us of AP state, we need to pay very close attention to what
is being said about the state.

Bug: 30124308
Test: Can toggle tethering on and off reliably on shamu, bullhead,
      angler with no SIM.  Can toggle tethering on and off on a marlin
      with T-Mobile SIM.

Change-Id: If46a8ee11cf4c07c5cc336523f5e5f00273500ec

8 years agoRequire permission for FLAG_WILL_BE_FOREGROUND.
Jeff Sharkey [Thu, 14 Jul 2016 16:31:15 +0000 (10:31 -0600)]
Require permission for FLAG_WILL_BE_FOREGROUND.

We caught scheduleAsPackage(), but not schedule(), oops.

Bug: 28998999
Change-Id: I0642c2265ff61eead8747cc6b4d0f852f1ca3ef2

8 years agoMerge "Always trigger a write if no pages are written" into nyc-mr1-dev
Philip P. Moltmann [Thu, 14 Jul 2016 16:21:10 +0000 (16:21 +0000)]
Merge "Always trigger a write if no pages are written" into nyc-mr1-dev

8 years agoAllow no longer waiting for visible activity to be stopped.
Wale Ogunwale [Thu, 14 Jul 2016 16:17:59 +0000 (09:17 -0700)]
Allow no longer waiting for visible activity to be stopped.

When process the stop list we remove an activity that was previously
waiting for visible and is now visible from the list and also hide
its windows if it is finishing. However, we don't transition it to the
stopped state because it was waiting for visible. If it is finishing
and the windows are hidden then it makes sense to transition it into
the stopped state since it will not be visible to the user again.

Bug: 30058392
Change-Id: Iac81e2877716ae58d05aed42e1433190a2f70428

8 years agoAdd bound checks to utf16_to_utf8
Sergio Giro [Tue, 28 Jun 2016 17:26:10 +0000 (18:26 +0100)]
Add bound checks to utf16_to_utf8

Test: ran libaapt2_tests64
Bug: 29250543
Change-Id: I1ebc017af623b6514cf0c493e8cd8e1d59ea26c3
(cherry picked from commit 4781057e78f63e0e99af109cebf3b6a78f4bfbb6)

8 years agoAPF: filter unwanted ARP replies
Hugo Benichi [Tue, 12 Jul 2016 06:08:50 +0000 (15:08 +0900)]
APF: filter unwanted ARP replies

This patch adds APF filtering of ARP replies for interfaces with APF.

- when the interface has no IPv4 address, broadcast ARP replies with a
  0.0.0.0 target ip are dropped (GARP), ARP requests with a 0.0.0.0
  target ip are dropped.

- when the interface has an IPv4 address, broadcast ARP replies to a
  different ip are dropped (including GARPs to 0.0.0.0), ARP requests to
  a different ip are dropped.

Bug: 29404209
Bug: 30080487
Change-Id: I82613eb865c7f38b6260997fe2caf2aff382ad78

8 years agoWIP debugging.
Dan Sandler [Sun, 26 Jun 2016 19:59:13 +0000 (15:59 -0400)]
WIP debugging.

Bug: 28524184
Change-Id: I0126b1db0c2346ca8d7511b80464c0239f06eeba

8 years agoMerge "Fixes delay when playing first sound in BootAnimation" into nyc-mr1-dev
Geoffrey Pitsch [Thu, 14 Jul 2016 14:14:57 +0000 (14:14 +0000)]
Merge "Fixes delay when playing first sound in BootAnimation" into nyc-mr1-dev

8 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 14 Jul 2016 13:48:37 +0000 (06:48 -0700)]
Import translations. DO NOT MERGE

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

8 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 14 Jul 2016 13:33:13 +0000 (06:33 -0700)]
Import translations. DO NOT MERGE

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

8 years agoAdd bound checks to utf16_to_utf8
Sergio Giro [Tue, 28 Jun 2016 17:26:10 +0000 (18:26 +0100)]
Add bound checks to utf16_to_utf8

Test: ran libaapt2_tests64
Bug: 29250543
Change-Id: I1ebc017af623b6514cf0c493e8cd8e1d59ea26c3
(cherry picked from commit 4781057e78f63e0e99af109cebf3b6a78f4bfbb6)

8 years agoAdd LTE+ and update 4G+ icons
Jason Monk [Wed, 13 Jul 2016 18:22:52 +0000 (14:22 -0400)]
Add LTE+ and update 4G+ icons

Change-Id: Ic91450207921afbfab24cc02d00639d532495c58
Fixes: 30006697

8 years agoMerge "QS Detail: Remove up arrow" into nyc-mr1-dev
Jason Monk [Thu, 14 Jul 2016 13:08:45 +0000 (13:08 +0000)]
Merge "QS Detail: Remove up arrow" into nyc-mr1-dev

8 years agoDisallow shell to mutate always-on vpn when DISALLOW_CONFIG_VPN user restriction...
Victor Chang [Tue, 12 Jul 2016 22:47:29 +0000 (23:47 +0100)]
Disallow shell to mutate always-on vpn when DISALLOW_CONFIG_VPN user restriction is set

Fix: 29899712

Change-Id: I38cc9d0e584c3f2674c9ff1d91f77a11479d8943
(cherry picked from commit 9c7b706cf4332b4aeea39c166abca04b56685280)