OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Move child FragmentManager shutdown for retained fragments" into nyc-dev
Adam Powell [Thu, 21 Apr 2016 23:30:14 +0000 (23:30 +0000)]
Merge "Move child FragmentManager shutdown for retained fragments" into nyc-dev
am: ee4ee262c6

* commit 'ee4ee262c674cf0a20cf294ecfe4b8736cf6c983':
  Move child FragmentManager shutdown for retained fragments

Change-Id: I4e946a45c375c6af680679fc1415f9ff0ff0f5d1

8 years agoMerge "Fix flag value collision" into nyc-dev
John Reck [Thu, 21 Apr 2016 23:30:10 +0000 (23:30 +0000)]
Merge "Fix flag value collision" into nyc-dev
am: e5cebf7aaa

* commit 'e5cebf7aaa1a1eaa16bbb8b039a572e19e0a5542':
  Fix flag value collision

Change-Id: I7efb08917bbab1c3594b23fd256ba6fa2e68ba6e

8 years agoMerge "Move child FragmentManager shutdown for retained fragments" into nyc-dev
Adam Powell [Thu, 21 Apr 2016 23:05:01 +0000 (23:05 +0000)]
Merge "Move child FragmentManager shutdown for retained fragments" into nyc-dev

8 years agoMerge "Fix flag value collision" into nyc-dev
Tim Murray [Thu, 21 Apr 2016 22:59:40 +0000 (22:59 +0000)]
Merge "Fix flag value collision" into nyc-dev

8 years agoFix flag value collision
John Reck [Thu, 21 Apr 2016 22:40:45 +0000 (15:40 -0700)]
Fix flag value collision

Bug: 28314544
Change-Id: If73c1e8fd0e7b313bccbeffa172bdc3ab9496a43

8 years agoMerge changes I036fbc5f,I979f0107 into nyc-dev
Joe Onorato [Thu, 21 Apr 2016 22:40:27 +0000 (22:40 +0000)]
Merge changes I036fbc5f,I979f0107 into nyc-dev
am: 60b688876d

* commit '60b688876de79392236524b950381927878fa34f':
  If we can't call into an app process to deliver an intent, crash the process.
  If a crash dialog can't be shown, just kill the process.

Change-Id: Ie82f693507a546a560cf622d6830e50a9041543d

8 years agoMerge changes I036fbc5f,I979f0107 into nyc-dev
Joe Onorato [Thu, 21 Apr 2016 22:36:21 +0000 (22:36 +0000)]
Merge changes I036fbc5f,I979f0107 into nyc-dev

* changes:
  If we can't call into an app process to deliver an intent, crash the process.
  If a crash dialog can't be shown, just kill the process.

8 years agoMerge changes I7261cf87,Icabfcf47,I09e6b032,I252cf139,If85ade73, ... into nyc-dev
Jorim Jaggi [Thu, 21 Apr 2016 22:33:36 +0000 (22:33 +0000)]
Merge changes I7261cf87,Icabfcf47,I09e6b032,I252cf139,If85ade73, ... into nyc-dev
am: a51388d653

* commit 'a51388d6536bd57c2bbcf18e84d87763d388dbf7':
  Revert "Death to synchronous transactions (2/2)"
  Fix a few weird state issues from race-conditions
  Fix lifecycle bug in when calling positionTask
  Animation fixes when task is not resumed
  Keep stack from mReuseTask
  Final fixes for growing recents transition

Change-Id: I7f6ec0e8fa76b12229c4e7b53915eb152f1bfcfb

8 years agoMerge "Update divider controller\'s dim layer when the layer is changed" into nyc-dev
Chong Zhang [Thu, 21 Apr 2016 22:33:33 +0000 (22:33 +0000)]
Merge "Update divider controller\'s dim layer when the layer is changed" into nyc-dev
am: da3cd339e9

* commit 'da3cd339e968b8f54575f72823eb2e4cd826aa02':
  Update divider controller's dim layer when the layer is changed

Change-Id: Ib3f23a94476de4696600de4d5d649fb61e9581d8

8 years agoIf we can't call into an app process to deliver an intent, crash the process.
Joe Onorato [Wed, 20 Apr 2016 22:38:07 +0000 (15:38 -0700)]
If we can't call into an app process to deliver an intent, crash the process.

Rather than hoping the process will crash for some other reason, it is
better to just get rid of it right away. The Intent was not delivered,
so there are no guarantees that the app will continue to function
correctly.

Bug: 28196243
Change-Id: I036fbc5ffd42dc7259437cc5a733976478a2dd3a

8 years agoMerge changes I7261cf87,Icabfcf47,I09e6b032,I252cf139,If85ade73, ... into nyc-dev
TreeHugger Robot [Thu, 21 Apr 2016 22:28:00 +0000 (22:28 +0000)]
Merge changes I7261cf87,Icabfcf47,I09e6b032,I252cf139,If85ade73, ... into nyc-dev

* changes:
  Revert "Death to synchronous transactions (2/2)"
  Fix a few weird state issues from race-conditions
  Fix lifecycle bug in when calling positionTask
  Animation fixes when task is not resumed
  Keep stack from mReuseTask
  Final fixes for growing recents transition

8 years agoMerge "Update divider controller's dim layer when the layer is changed" into nyc-dev
Chong Zhang [Thu, 21 Apr 2016 22:27:51 +0000 (22:27 +0000)]
Merge "Update divider controller's dim layer when the layer is changed" into nyc-dev

8 years agoUpdate divider controller's dim layer when the layer is changed
Chong Zhang [Thu, 21 Apr 2016 22:17:47 +0000 (15:17 -0700)]
Update divider controller's dim layer when the layer is changed

The divider's layer assignment could change after the initial adjust
animation has finished.

bug: 28255739
Change-Id: I5899fe22e4fec680c49c881437c7f85d8ee9ca74

8 years agoRevert "Death to synchronous transactions (2/2)"
Jorim Jaggi [Thu, 21 Apr 2016 07:12:27 +0000 (07:12 +0000)]
Revert "Death to synchronous transactions (2/2)"

This reverts commit dd05f0365aa0df9ba9a7631c8e02ed67f472132d.

There seems to be some logic that gets triggered inside surface flinger
regarding commit time of the transaction, and without it seems that
animations got jankier. No time to investigate...

Bug: 28305789
Change-Id: I7261cf8719d3528f8f5bee19e507b8ba88b8b729

8 years agoFix a few weird state issues from race-conditions
Jorim Jaggi [Thu, 21 Apr 2016 07:07:29 +0000 (00:07 -0700)]
Fix a few weird state issues from race-conditions

- When starting another transition while the dock transition
is already set, always override that because that transition
starts prolonged animations which will never be ended.
- Only dock if we get a good UP event.

Bug: 28257206
Change-Id: Icabfcf475f419696d2bcff8fbb53cf3b29dedd69

8 years agoFix lifecycle bug in when calling positionTask
Jorim Jaggi [Thu, 21 Apr 2016 05:42:32 +0000 (22:42 -0700)]
Fix lifecycle bug in when calling positionTask

Sometimes the resumed activity from another stack gets positioned
BELOW the top activity of the current stack. We need to carry over
the mResumedActivity to make sure onPause is called on the moved
activity.

Bug: 28235047
Change-Id: I09e6b032cd8d0b00dc5fdd06bec68e53c25aae73

8 years agoAnimation fixes when task is not resumed
Jorim Jaggi [Thu, 21 Apr 2016 03:37:45 +0000 (20:37 -0700)]
Animation fixes when task is not resumed

- Make sure to add the activity to mWaitingVisibleActivities
to not destroy the activity before the app transition has
started.
- Defer layouts in startActivityUnchecked so when clearing the
current activities in the current stack, we don't execute the
app transition yet. We need to wait until the new activities
are added as well.

Bug: 28026847
Change-Id: I252cf139e06197ea34329d1466f1f6162f3e7a30

8 years agoKeep stack from mReuseTask
Jorim Jaggi [Thu, 21 Apr 2016 00:58:29 +0000 (17:58 -0700)]
Keep stack from mReuseTask

When we launch an activity with CLEAR_TOP and NEW_TASK, we clear
all the activities in that task but then we don't reuse the stack,
which can lead to weirdness.

To fix this, we need to keep the target stack in that case.

Bug: 28000613
Change-Id: If85ade73b1036e8a7c0eda418d9f39e8596b8b16

8 years agoFinal fixes for growing recents transition
Jorim Jaggi [Wed, 20 Apr 2016 03:03:47 +0000 (20:03 -0700)]
Final fixes for growing recents transition

- Make sure to reposition windows during animations to avoid that
they lag one frame behind.
- Don't put windows that are gone for layout into resizing mode.
- Don't layout windows that are gone for layout, to avoid resizing
the surface but the client won't draw anymore.

Change-Id: I809feffef00f9a086b44504126e03f509eb7f190
Fixes: 27855229

8 years agoMerge "Rename DropPermissions to DragAndDropPermissions" into nyc-dev
Vladislav Kaznacheev [Thu, 21 Apr 2016 21:43:08 +0000 (21:43 +0000)]
Merge "Rename DropPermissions to DragAndDropPermissions" into nyc-dev
am: 729c640cc8

* commit '729c640cc887da9fe7a1b57121167a7bf83fee97':
  Rename DropPermissions to DragAndDropPermissions

Change-Id: I4a43cc10586d548befffa182d89382071ba412e7

8 years agoMerge "Fix broken build due to @RemotableViewMethod" into nyc-dev
Hyunyoung Song [Thu, 21 Apr 2016 21:43:04 +0000 (21:43 +0000)]
Merge "Fix broken build due to @RemotableViewMethod" into nyc-dev
am: 44157a4abf

* commit '44157a4abf36250f259eca4cdaa346be15d47738':
  Fix broken build due to @RemotableViewMethod

Change-Id: Iad3e7a73952046d00e533ddb0ccabe28d3d646c6

8 years agoMerge "Rename DropPermissions to DragAndDropPermissions" into nyc-dev
Vladislav Kaznacheev [Thu, 21 Apr 2016 21:34:24 +0000 (21:34 +0000)]
Merge "Rename DropPermissions to DragAndDropPermissions" into nyc-dev

8 years agoMerge "Fix broken build due to @RemotableViewMethod" into nyc-dev
Hyunyoung Song [Thu, 21 Apr 2016 21:32:36 +0000 (21:32 +0000)]
Merge "Fix broken build due to @RemotableViewMethod" into nyc-dev

8 years agoMerge "API review feedback for ProgressBar" into nyc-dev
Alan Viverette [Thu, 21 Apr 2016 21:27:06 +0000 (21:27 +0000)]
Merge "API review feedback for ProgressBar" into nyc-dev
am: 5500bb1d6d

* commit '5500bb1d6d5d5c49f7bb5d81b48a707f1ade75ab':
  API review feedback for ProgressBar

Change-Id: If6e1d8d9211b86030d8a678b6030df4cc50c9e77

8 years agoMerge "Don\'t overwrite vertical and horizontal offsets unless explicit" into nyc-dev
Alan Viverette [Thu, 21 Apr 2016 21:27:03 +0000 (21:27 +0000)]
Merge "Don\'t overwrite vertical and horizontal offsets unless explicit" into nyc-dev
am: e84393674d

* commit 'e84393674da0f5ecce2ee1074fc79c856f549623':
  Don't overwrite vertical and horizontal offsets unless explicit

Change-Id: I9cd87f63c07748ba4d53b1e8326900c1efeb04ee

8 years agoFix broken build due to @RemotableViewMethod
Hyunyoung Song [Thu, 21 Apr 2016 21:26:54 +0000 (14:26 -0700)]
Fix broken build due to @RemotableViewMethod

Change-Id: I63c6cb4fa68df114220efb2f263115e773e25f5d

8 years agoMerge "API review feedback for ProgressBar" into nyc-dev
Alan Viverette [Thu, 21 Apr 2016 21:21:55 +0000 (21:21 +0000)]
Merge "API review feedback for ProgressBar" into nyc-dev

8 years agoMerge "Don't overwrite vertical and horizontal offsets unless explicit" into nyc-dev
Alan Viverette [Thu, 21 Apr 2016 21:21:33 +0000 (21:21 +0000)]
Merge "Don't overwrite vertical and horizontal offsets unless explicit" into nyc-dev

8 years agoMerge "add @RemotableViewMethod to TextView#setEnabled b/28304068" into nyc-dev
Hyunyoung Song [Thu, 21 Apr 2016 21:06:24 +0000 (21:06 +0000)]
Merge "add @RemotableViewMethod to TextView#setEnabled b/28304068" into nyc-dev
am: 22d91b0eb4

* commit '22d91b0eb40137e6236d7af5d2857df97648d15b':
  add @RemotableViewMethod to TextView#setEnabled b/28304068

Change-Id: I7d8f610e543ad1ef9937b342c04feb75774c0b23

8 years agoMerge "add @RemotableViewMethod to TextView#setEnabled b/28304068" into nyc-dev
Hyunyoung Song [Thu, 21 Apr 2016 21:04:23 +0000 (21:04 +0000)]
Merge "add @RemotableViewMethod to TextView#setEnabled b/28304068" into nyc-dev

8 years agoMerge "Make sure don\'t adjust IME when docked left-right" into nyc-dev
Chong Zhang [Thu, 21 Apr 2016 20:55:11 +0000 (20:55 +0000)]
Merge "Make sure don\'t adjust IME when docked left-right" into nyc-dev
am: 5da7a4a3f0

* commit '5da7a4a3f078b2a770fc36be8a3c0d9c522525f8':
  Make sure don't adjust IME when docked left-right

Change-Id: I581b424e672807830a3937a1f9ed0797b6210089

8 years agoadd @RemotableViewMethod to TextView#setEnabled
Hyunyoung Song [Thu, 21 Apr 2016 20:41:56 +0000 (13:41 -0700)]
add @RemotableViewMethod to TextView#setEnabled
b/28304068

Change-Id: Ia5464030a65c87dacdd75e5be331da017d7ef593

8 years agoMerge "Make sure don't adjust IME when docked left-right" into nyc-dev
Chong Zhang [Thu, 21 Apr 2016 20:35:26 +0000 (20:35 +0000)]
Merge "Make sure don't adjust IME when docked left-right" into nyc-dev

8 years agoMerge "Remove pre-N db after successful migration" into nyc-dev
Fyodor Kupolov [Thu, 21 Apr 2016 20:35:05 +0000 (20:35 +0000)]
Merge "Remove pre-N db after successful migration" into nyc-dev
am: cdb5fcf7b8

* commit 'cdb5fcf7b81de81793995097b017c001be2a4264':
  Remove pre-N db after successful migration

Change-Id: I3c45a3bc5bf26fccf5fd8b09e0d8e1989b8832a0

8 years agoMerge "QS: Use current tile state when removing custom tiles" into nyc-dev
Jason Monk [Thu, 21 Apr 2016 20:35:02 +0000 (20:35 +0000)]
Merge "QS: Use current tile state when removing custom tiles" into nyc-dev
am: 53c116f5da

* commit '53c116f5da0c5a8d0da5f046b892d7a106d4937a':
  QS: Use current tile state when removing custom tiles

Change-Id: I73edc9a6029ed38e41abd0d8908a345b4631ad1e

8 years agoMerge "Remove pre-N db after successful migration" into nyc-dev
Fyodor Kupolov [Thu, 21 Apr 2016 20:30:37 +0000 (20:30 +0000)]
Merge "Remove pre-N db after successful migration" into nyc-dev

8 years agoMerge "QS: Use current tile state when removing custom tiles" into nyc-dev
Jason Monk [Thu, 21 Apr 2016 20:25:31 +0000 (20:25 +0000)]
Merge "QS: Use current tile state when removing custom tiles" into nyc-dev

8 years agoMerge "Announce when volume controls appear and disappear." into nyc-dev
Julia Reynolds [Thu, 21 Apr 2016 20:21:34 +0000 (20:21 +0000)]
Merge "Announce when volume controls appear and disappear." into nyc-dev
am: c14996393a

* commit 'c14996393a976c1ca9ac7cef01a052614a84a7f4':
  Announce when volume controls appear and disappear.

Change-Id: I6ba293a46f1a51413e1ca5c5ae17b5756dc37993

8 years agoMerge "Make Dismiss Icon under Cards show up only when focused." into nyc-dev
Sid Soundararajan [Thu, 21 Apr 2016 20:21:32 +0000 (20:21 +0000)]
Merge "Make Dismiss Icon under Cards show up only when focused." into nyc-dev
am: 6efc5dcb27

* commit '6efc5dcb274d08ba7dc812c90089bc10a38b890e':
  Make Dismiss Icon under Cards show up only when focused.

Change-Id: I5bdd6346c01c432d268bcc23379a2311be5a7069

8 years agoMerge "Announce when volume controls appear and disappear." into nyc-dev
Julia Reynolds [Thu, 21 Apr 2016 20:18:27 +0000 (20:18 +0000)]
Merge "Announce when volume controls appear and disappear." into nyc-dev

8 years agoQS: Use current tile state when removing custom tiles
Jason Monk [Thu, 21 Apr 2016 20:14:27 +0000 (16:14 -0400)]
QS: Use current tile state when removing custom tiles

Change-Id: If12415c051239348261386fb23e88d6725767ba0
Fixes: 27912532

8 years agoMerge "Make Dismiss Icon under Cards show up only when focused." into nyc-dev
Sid Soundararajan [Thu, 21 Apr 2016 20:06:29 +0000 (20:06 +0000)]
Merge "Make Dismiss Icon under Cards show up only when focused." into nyc-dev

8 years agoMerge "Framework: change the TTS text to use the current locale" into nyc-dev
Mihai Nita [Thu, 21 Apr 2016 20:01:18 +0000 (20:01 +0000)]
Merge "Framework: change the TTS text to use the current locale" into nyc-dev
am: 344bd5c63d

* commit '344bd5c63dfbe9a6aaef68144d04d3613563c080':
  Framework: change the TTS text to use the current locale

Change-Id: I23d1acfd0b53fddeec4e9ad183d90d1cf7a9708e

8 years agoMerge "Respect manually set HARDWARE_ACCELERATED flag." into nyc-dev
Robert Carr [Thu, 21 Apr 2016 20:01:15 +0000 (20:01 +0000)]
Merge "Respect manually set HARDWARE_ACCELERATED flag." into nyc-dev
am: 37696cccd8

* commit '37696cccd8925ca6e4aa6f2ca6f29807066c7f1e':
  Respect manually set HARDWARE_ACCELERATED flag.

Change-Id: I2b63fc161dc7dccf21080ad7dd27d9b958808ad1

8 years agoMake sure don't adjust IME when docked left-right
Chong Zhang [Thu, 21 Apr 2016 19:57:55 +0000 (12:57 -0700)]
Make sure don't adjust IME when docked left-right

bug: 28295645
Change-Id: Ia8f7f9a92fcc562bd672abae4d3ddfd6e6201a79

8 years agoMerge "Framework: change the TTS text to use the current locale" into nyc-dev
Mihai Niță [Thu, 21 Apr 2016 19:55:41 +0000 (19:55 +0000)]
Merge "Framework: change the TTS text to use the current locale" into nyc-dev

8 years agoMerge "Respect manually set HARDWARE_ACCELERATED flag." into nyc-dev
Rob Carr [Thu, 21 Apr 2016 19:52:01 +0000 (19:52 +0000)]
Merge "Respect manually set HARDWARE_ACCELERATED flag." into nyc-dev

8 years agoMerge "Fix order of operation issue with ResStringPool" into nyc-dev
Adam Lesinski [Thu, 21 Apr 2016 19:15:47 +0000 (19:15 +0000)]
Merge "Fix order of operation issue with ResStringPool" into nyc-dev
am: b53e8a7a8a

* commit 'b53e8a7a8aa495289ab2872032f80501edd472ef':
  Fix order of operation issue with ResStringPool

Change-Id: Idaca4dee242389680b82b9d58728d281a65f9116

8 years agoMerge "Fix order of operation issue with ResStringPool" into nyc-dev
Adam Lesinski [Thu, 21 Apr 2016 19:08:38 +0000 (19:08 +0000)]
Merge "Fix order of operation issue with ResStringPool" into nyc-dev

8 years agoAnnounce when volume controls appear and disappear.
Julia Reynolds [Thu, 21 Apr 2016 18:58:52 +0000 (14:58 -0400)]
Announce when volume controls appear and disappear.

Bug: 28120156
Change-Id: I4e17b9cf1cd4a442adb7513168c12e3af24c424f

8 years agoRemove pre-N db after successful migration
Fyodor Kupolov [Thu, 21 Apr 2016 18:26:14 +0000 (11:26 -0700)]
Remove pre-N db after successful migration

Bug: 26279712
Change-Id: I53e4bd1b04b4ae6b94e8b5642d7f11a4edd6f1e4

8 years agoMerge "AudioManager: fix isBluetoothA2dpOn()" into nyc-dev
Eric Laurent [Thu, 21 Apr 2016 18:26:21 +0000 (18:26 +0000)]
Merge "AudioManager: fix isBluetoothA2dpOn()" into nyc-dev
am: dc7ce84095

* commit 'dc7ce840950398518cc116924b173eb7b7f3288a':
  AudioManager: fix isBluetoothA2dpOn()

Change-Id: I7a655431e766701b2f02c468aae163554e47ecdb

8 years agoMerge "AudioManager: fix isBluetoothA2dpOn()" into nyc-dev
Eric Laurent [Thu, 21 Apr 2016 18:22:57 +0000 (18:22 +0000)]
Merge "AudioManager: fix isBluetoothA2dpOn()" into nyc-dev

8 years agoMake Dismiss Icon under Cards show up only when focused.
Sid Soundararajan [Thu, 21 Apr 2016 18:20:52 +0000 (11:20 -0700)]
Make Dismiss Icon under Cards show up only when focused.

BUG: 28299529
Change-Id: I37cd029734da5de8416705746457151c22f64280

8 years agoMerge "Fix dead surface/window left on screen" into nyc-dev
Chong Zhang [Thu, 21 Apr 2016 18:15:02 +0000 (18:15 +0000)]
Merge "Fix dead surface/window left on screen" into nyc-dev
am: 289395b1fe

* commit '289395b1feca65fc758384bb2d5c12f1c78500c1':
  Fix dead surface/window left on screen

Change-Id: Idd818246a5ada66abc24806529848d8d25a2e383

8 years agoMove child FragmentManager shutdown for retained fragments
Adam Powell [Thu, 21 Apr 2016 18:04:41 +0000 (11:04 -0700)]
Move child FragmentManager shutdown for retained fragments

Some apps out there do some creative things in terms of calling their
own onDetach methods from elsewhere. Perform the child FragmentManager
shutdown for retained fragments in a package-level perform method
instead of in onDetach itself.

Also mark all existing fragment methods with @CallSuper.

Bug 28293847

Change-Id: I343b610f8d427fe5cabd523a78fbf0e6f3b34c57

8 years agoMerge "Fix dead surface/window left on screen" into nyc-dev
Chong Zhang [Thu, 21 Apr 2016 17:58:50 +0000 (17:58 +0000)]
Merge "Fix dead surface/window left on screen" into nyc-dev

8 years agoMerge "Accept null subtype in InputMethodSubtypeHandle." into nyc-dev
Yohei Yukawa [Thu, 21 Apr 2016 17:16:19 +0000 (17:16 +0000)]
Merge "Accept null subtype in InputMethodSubtypeHandle." into nyc-dev
am: d67a1ca49b

* commit 'd67a1ca49b138056d53490322ffdadef61d95fec':
  Accept null subtype in InputMethodSubtypeHandle.

Change-Id: I8eb560fa0176836894164a9e7856d44bd0b91a09

8 years agoMerge "Fix shadow radius too large for RS" into nyc-dev
Chris Craik [Thu, 21 Apr 2016 17:16:16 +0000 (17:16 +0000)]
Merge "Fix shadow radius too large for RS" into nyc-dev
am: 924d8227c4

* commit '924d8227c4c790f05fb90d6140de15fa8abb704b':
  Fix shadow radius too large for RS

Change-Id: I14e606d89f456bedb240f564acc7867b629bf8ed

8 years agoMerge "Accept null subtype in InputMethodSubtypeHandle." into nyc-dev
Yohei Yukawa [Thu, 21 Apr 2016 17:11:53 +0000 (17:11 +0000)]
Merge "Accept null subtype in InputMethodSubtypeHandle." into nyc-dev

8 years agoMerge "Fix shadow radius too large for RS" into nyc-dev
Chris Craik [Thu, 21 Apr 2016 17:09:02 +0000 (17:09 +0000)]
Merge "Fix shadow radius too large for RS" into nyc-dev

8 years agoFix order of operation issue with ResStringPool
Adam Lesinski [Thu, 21 Apr 2016 17:05:06 +0000 (10:05 -0700)]
Fix order of operation issue with ResStringPool

Due to ! taking precedence over bitwise &, the condition for
checking non-null terminated string blocks is incorrect.

Adds parentheses for the correct behavior.

Bug:28288210
Change-Id: Ie31fa239e5f869e6bb28deb6ae190f41f1aa4d92

8 years agoMerge "PIP: Fix system UI crash" into nyc-dev
Jaewan Kim [Thu, 21 Apr 2016 16:31:43 +0000 (16:31 +0000)]
Merge "PIP: Fix system UI crash" into nyc-dev
am: 28d9c9f7b2

* commit '28d9c9f7b2498d5b81bdfbf6cabc955c4a2ecec9':
  PIP: Fix system UI crash

Change-Id: If073cb6c099d05abd99674b461bc46fbd377c9c2

8 years agoMerge "PIP: Fix system UI crash" into nyc-dev
Youngsang Cho [Thu, 21 Apr 2016 16:23:00 +0000 (16:23 +0000)]
Merge "PIP: Fix system UI crash" into nyc-dev

8 years agoMerge "Fix wrong app is launched after solving challenge from tapping notification...
Tony Mak [Thu, 21 Apr 2016 15:53:57 +0000 (15:53 +0000)]
Merge "Fix wrong app is launched after solving challenge from tapping notification" into nyc-dev
am: d3589ee715

* commit 'd3589ee715e397e61025265adc883c9ed3be4f56':
  Fix wrong app is launched after solving challenge from tapping notification

Change-Id: Id0e6e3cbc8cbea4e87625f479eb0d83dbf22266e

8 years agoMerge "Accept the calendar name in addition to the owner as a calendar filter." into...
Julia Reynolds [Thu, 21 Apr 2016 15:53:55 +0000 (15:53 +0000)]
Merge "Accept the calendar name in addition to the owner as a calendar filter." into nyc-dev
am: 54a6394cf9

* commit '54a6394cf96423936e6f3548ed8d78ff82e6b247':
  Accept the calendar name in addition to the owner as a calendar filter.

Change-Id: Ifea1511f02dc1a9bba8af1dd7db535c81b199808

8 years agoMerge "Fix wrong app is launched after solving challenge from tapping notification...
Tony Mak [Thu, 21 Apr 2016 15:51:13 +0000 (15:51 +0000)]
Merge "Fix wrong app is launched after solving challenge from tapping notification" into nyc-dev

8 years agoFix wrong app is launched after solving challenge from tapping notification
Tony Mak [Thu, 21 Apr 2016 15:43:08 +0000 (16:43 +0100)]
Fix wrong app is launched after solving challenge from tapping notification

PendingIntent.FLAG_ONE_SHOT is needed to prevent the PendingIntent being
reused.

Also, flag and activity option of credential intent in BaseStatusBar
is not same as the one in ActivityStarter. Added a new
function startConfirmDeviceCredentialIntent in AM to centralize it.

Change-Id: I2d9e5923ad5d4d012f10057c409c666c8ca299a3
Fix: 28309964

8 years agoMerge "Accept the calendar name in addition to the owner as a calendar filter." into...
Julia Reynolds [Thu, 21 Apr 2016 15:36:29 +0000 (15:36 +0000)]
Merge "Accept the calendar name in addition to the owner as a calendar filter." into nyc-dev

8 years agoMerge "Always reevaluate rules when a new service is added." into nyc-dev
Julia Reynolds [Thu, 21 Apr 2016 15:31:20 +0000 (15:31 +0000)]
Merge "Always reevaluate rules when a new service is added." into nyc-dev
am: a8574a1dfa

* commit 'a8574a1dfaa45089d392ebf05a8a82e4d8a1d82e':
  Always reevaluate rules when a new service is added.

Change-Id: I50d3dd445cf2f6c76964548575ab8aa851088db5

8 years agoMerge "Include work app in battery optimization settings" into nyc-dev
Keith Cheung [Thu, 21 Apr 2016 15:31:17 +0000 (15:31 +0000)]
Merge "Include work app in battery optimization settings" into nyc-dev
am: 39066abb59

* commit '39066abb5929622a1918805bf85d19180c6dfe3d':
  Include work app in battery optimization settings

Change-Id: Ibd3aab6cde137ec145c43da3da2730dd62688d9f

8 years agoMerge "Always reevaluate rules when a new service is added." into nyc-dev
Julia Reynolds [Thu, 21 Apr 2016 15:24:03 +0000 (15:24 +0000)]
Merge "Always reevaluate rules when a new service is added." into nyc-dev

8 years agoMerge "Include work app in battery optimization settings" into nyc-dev
Keith Cheung [Thu, 21 Apr 2016 15:18:06 +0000 (15:18 +0000)]
Merge "Include work app in battery optimization settings" into nyc-dev

8 years agoMerge "Don\'t call into audiomanager holding a zen lock." into nyc-dev
Julia Reynolds [Thu, 21 Apr 2016 15:17:41 +0000 (15:17 +0000)]
Merge "Don\'t call into audiomanager holding a zen lock." into nyc-dev
am: d0f2d1f9ac

* commit 'd0f2d1f9ace01c4e0581baa3f5eb0a694afca675':
  Don't call into audiomanager holding a zen lock.

Change-Id: Ic6c48dbce9c7fa5bfb71cd253d2ca7fde4749912

8 years agoMerge "Don't call into audiomanager holding a zen lock." into nyc-dev
Julia Reynolds [Thu, 21 Apr 2016 15:04:05 +0000 (15:04 +0000)]
Merge "Don't call into audiomanager holding a zen lock." into nyc-dev

8 years agoMerge "Reinflate QS view on Locale configuration change" into nyc-dev
Clara Bayarri [Thu, 21 Apr 2016 14:52:39 +0000 (14:52 +0000)]
Merge "Reinflate QS view on Locale configuration change" into nyc-dev
am: 98c7c05dde

* commit '98c7c05dde8c288a4eab680af31b030813b8c87f':
  Reinflate QS view on Locale configuration change

Change-Id: I83817da94838153b692996931d3865d305165243

8 years agoMerge "Reinflate QS view on Locale configuration change" into nyc-dev
Clara Bayarri [Thu, 21 Apr 2016 14:47:14 +0000 (14:47 +0000)]
Merge "Reinflate QS view on Locale configuration change" into nyc-dev

8 years agoMerge "Volume updates should appear continuous when changed by touch." into nyc-dev
Julia Reynolds [Thu, 21 Apr 2016 14:45:48 +0000 (14:45 +0000)]
Merge "Volume updates should appear continuous when changed by touch." into nyc-dev
am: db042644d5

* commit 'db042644d5f724d1c21c2ddd424de70aaf0d4195':
  Volume updates should appear continuous when changed by touch.

Change-Id: I481f0fb62209f920781ed8ac22f58972c6c7b85f

8 years agoMerge "Fix silent errors when launching Keyboard Shortcuts from Settings" into nyc-dev
Clara Bayarri [Thu, 21 Apr 2016 14:43:36 +0000 (14:43 +0000)]
Merge "Fix silent errors when launching Keyboard Shortcuts from Settings" into nyc-dev
am: bcedd6b74f

* commit 'bcedd6b74f717dddb2e3e37385d1b4a4e82d949a':
  Fix silent errors when launching Keyboard Shortcuts from Settings

Change-Id: I9e87e2c02187117df5e8ff587cb293e44f3b1e2c

8 years agoAlways reevaluate rules when a new service is added.
Julia Reynolds [Thu, 21 Apr 2016 14:24:27 +0000 (10:24 -0400)]
Always reevaluate rules when a new service is added.

Otherwise the condition providers may never get an
onSubscribe call and may not turn on at the right time.

Bug: 26981870
Change-Id: Ia622597f10cc26f7c34ece1748013655543f488f

8 years agoDon't call into audiomanager holding a zen lock.
Julia Reynolds [Tue, 19 Apr 2016 17:27:41 +0000 (13:27 -0400)]
Don't call into audiomanager holding a zen lock.

Bug: 27642196
Change-Id: Ib510f2ddf966f36b3670290a4f3f695bf6b7810e

8 years agoMerge "Volume updates should appear continuous when changed by touch." into nyc-dev
TreeHugger Robot [Thu, 21 Apr 2016 14:33:48 +0000 (14:33 +0000)]
Merge "Volume updates should appear continuous when changed by touch." into nyc-dev

8 years agoMerge "Fix silent errors when launching Keyboard Shortcuts from Settings" into nyc-dev
Clara Bayarri [Thu, 21 Apr 2016 14:28:57 +0000 (14:28 +0000)]
Merge "Fix silent errors when launching Keyboard Shortcuts from Settings" into nyc-dev

8 years agoMerge "Cap number of NetworkRequests a UID can make to 100" into nyc-dev
Paul Jensen [Thu, 21 Apr 2016 13:54:53 +0000 (13:54 +0000)]
Merge "Cap number of NetworkRequests a UID can make to 100" into nyc-dev
am: 3f45105353

* commit '3f4510535397bf103d0299440a0299ff8bbeec28':
  Cap number of NetworkRequests a UID can make to 100

Change-Id: Ic664fa080316eff75dd22fc8e84431cb0eb903be

8 years agoMerge "Cap number of NetworkRequests a UID can make to 100" into nyc-dev
Paul Jensen [Thu, 21 Apr 2016 13:47:11 +0000 (13:47 +0000)]
Merge "Cap number of NetworkRequests a UID can make to 100" into nyc-dev

8 years agoMerge "Integer.valueOf() -> Integer.parseInt() to avoid allocation." am: c027ae49f0
Tobias Thierer [Thu, 21 Apr 2016 13:41:12 +0000 (13:41 +0000)]
Merge "Integer.valueOf() -> Integer.parseInt() to avoid allocation." am: c027ae49f0
am: a2ad95a1e3

* commit 'a2ad95a1e3933190004d9fb414ea2d54540bf4f2':
  Integer.valueOf() -> Integer.parseInt() to avoid allocation.

Change-Id: I72b7a6d5a36eb10ccf321e8ecb0f24ab6834324a

8 years agoMerge "Integer.valueOf() -> Integer.parseInt() to avoid allocation."
Tobias Thierer [Thu, 21 Apr 2016 13:38:52 +0000 (13:38 +0000)]
Merge "Integer.valueOf() -> Integer.parseInt() to avoid allocation."
am: c027ae49f0

* commit 'c027ae49f0a941c73c692e1153b2a6623fdae152':
  Integer.valueOf() -> Integer.parseInt() to avoid allocation.

Change-Id: I8cb16c650ea35299a99a878134c3060d4ae6ed1e

8 years agoReinflate QS view on Locale configuration change
Clara Bayarri [Thu, 21 Apr 2016 13:28:47 +0000 (14:28 +0100)]
Reinflate QS view on Locale configuration change

The existing DensityContainer already did this for density changes,
repurposed it to handle other Configuration changes. Also renamed
to AutoReinflateContainer.

Bug: 27952059
Change-Id: Ieb572abcbafe49aec73b16e1bcb8c294011afdd3

8 years agoMerge "Integer.valueOf() -> Integer.parseInt() to avoid allocation."
Tobias Thierer [Thu, 21 Apr 2016 13:23:18 +0000 (13:23 +0000)]
Merge "Integer.valueOf() -> Integer.parseInt() to avoid allocation."

8 years agoInteger.valueOf() -> Integer.parseInt() to avoid allocation.
Tobias Thierer [Thu, 21 Apr 2016 11:02:10 +0000 (12:02 +0100)]
Integer.valueOf() -> Integer.parseInt() to avoid allocation.

Bug: 28289401
Change-Id: If767f891644a06ba587f9bb55dccea4089a8c66d

8 years agoFix silent errors when launching Keyboard Shortcuts from Settings
Clara Bayarri [Fri, 15 Apr 2016 12:09:39 +0000 (13:09 +0100)]
Fix silent errors when launching Keyboard Shortcuts from Settings

The following error was thrown, given that Activity is generating a
protected broadcast:
Sending non-protected broadcast
android.intent.action.SHOW_KEYBOARD_SHORTCUTS from system

Bug: 28138503
Change-Id: I50d5212d7776d33ffe6e9df1c5f080205ac4a29d

8 years agoPIP: Fix system UI crash
Jaewan Kim [Thu, 21 Apr 2016 07:22:48 +0000 (16:22 +0900)]
PIP: Fix system UI crash

Bug: 28306480
Change-Id: Ie36f73c46f3ee8d6a2cb8264458cb0e0410aaecd

8 years agoMerge "Expand NetworkMonitor metrics" into nyc-dev
Erik Kline [Thu, 21 Apr 2016 05:28:30 +0000 (05:28 +0000)]
Merge "Expand NetworkMonitor metrics" into nyc-dev
am: b99d6af3ab

* commit 'b99d6af3ab406db14d161cdc0000ed521957d7ca':
  Expand NetworkMonitor metrics

Change-Id: I1d5475b998b6e29ad8bf43f8e457d9f4db85527a

8 years agoMerge "Expand NetworkMonitor metrics" into nyc-dev
TreeHugger Robot [Thu, 21 Apr 2016 05:24:38 +0000 (05:24 +0000)]
Merge "Expand NetworkMonitor metrics" into nyc-dev

8 years agoMerge "Some fixes in ConnectivityService event logging" into nyc-dev
Hugo Benichi [Thu, 21 Apr 2016 04:12:56 +0000 (04:12 +0000)]
Merge "Some fixes in ConnectivityService event logging" into nyc-dev
am: 7261fb27de

* commit '7261fb27de16bb6d3ebd81bd3b73062bd212ea7e':
  Some fixes in ConnectivityService event logging

Change-Id: I0ca861a1d35eb6cdb5490d04a725d64465eebc31

8 years agoMerge "Various fixes in IpReachability event logging" into nyc-dev
Hugo Benichi [Thu, 21 Apr 2016 04:04:01 +0000 (04:04 +0000)]
Merge "Various fixes in IpReachability event logging" into nyc-dev
am: 75f0346167

* commit '75f0346167f9b8beb8d4b941e7a4ca8228e0737a':
  Various fixes in IpReachability event logging

Change-Id: Ibfea132ad824990464e4d488a717d34bd027b891

8 years agoMerge "Some fixes in ConnectivityService event logging" into nyc-dev
Hugo Benichi [Thu, 21 Apr 2016 04:02:54 +0000 (04:02 +0000)]
Merge "Some fixes in ConnectivityService event logging" into nyc-dev

8 years agoExpand NetworkMonitor metrics
Erik Kline [Fri, 15 Apr 2016 06:49:42 +0000 (15:49 +0900)]
Expand NetworkMonitor metrics

    - add netid to CaptivePortalStateChangeEvent
    - add NetworkMonitorEvent for simple duration measurements

Bug: 28204408
Change-Id: I62035e07d64013878a0bce30c67c929c2c7e7a85

8 years agoMerge "Various fixes in IpReachability event logging" into nyc-dev
Hugo Benichi [Thu, 21 Apr 2016 03:54:17 +0000 (03:54 +0000)]
Merge "Various fixes in IpReachability event logging" into nyc-dev

8 years agoMerge "Removed obsolete screenshot mention from full bugreport." into nyc-dev
Felipe Leme [Thu, 21 Apr 2016 03:44:15 +0000 (03:44 +0000)]
Merge "Removed obsolete screenshot mention from full bugreport." into nyc-dev
am: 333e808b34

* commit '333e808b34397258457813b6d7d970da72e76925':
  Removed obsolete screenshot mention from full bugreport.

Change-Id: Ieba4b10f6b46e1805e28288b9ada2e48417cf66b