293938 Commits

Author SHA1 Message Date
Selim Cinek
f58948fc04 Merge "Fixed a grey flash when swiping away the last notification" into nyc-mr1-dev
am: d9a569ae58

Change-Id: I47ba110bd4a53f59647f37a5466cb8c4b0fd8966
2016-10-20 02:34:55 +00:00
Selim Cinek
73595daf43 Fixed a grey flash when swiping away the last notification
am: 54680901ed

Change-Id: I050754c1f749b7c5fce81359a52b7eba2f7b7d67
2016-10-20 02:34:48 +00:00
TreeHugger Robot
d9a569ae58 Merge "Fixed a grey flash when swiping away the last notification" into nyc-mr1-dev 2016-10-20 02:21:37 +00:00
Keun-young Park
ec7a118950 add default overlay for END_CALL_BEHAVIOR
- for automotive, default END_CALL_BEHAVIOR should be 0.
- automotive product should have overlay overriding it.
- default value is the same as now

bug: 31926624
Test: manual (check dumpsys window policy)
Change-Id: Ice7b3c1374dfccf8a03c13c73201fa1615acab5f
2016-10-19 18:54:19 -07:00
TreeHugger Robot
ac625e5e2e Merge "Add tests for attribute resolution" 2016-10-20 01:42:24 +00:00
TreeHugger Robot
662a134c91 Merge "Synchronized access to mService." 2016-10-20 01:30:38 +00:00
Tyler Gunn
172829260f Merge "Framework fixes to support VoLTE conf calls via RemoteConnectionServices." into nyc-mr1-dev am: 049980c284 am: f1de362abe
am: 0e8e23c90d

Change-Id: Ic26652eba541fc36d57a44c9be4dc5ab667c100f
2016-10-20 01:23:21 +00:00
Tyler Gunn
a31648e46a Framework fixes to support VoLTE conf calls via RemoteConnectionServices. am: 2282bb97e7 am: 7f4abb2a05
am: d55bf0fa1b

Change-Id: I4c119ff16efbbe39e1f4531b4bab09fc52a7a780
2016-10-20 01:22:17 +00:00
Tyler Gunn
0e8e23c90d Merge "Framework fixes to support VoLTE conf calls via RemoteConnectionServices." into nyc-mr1-dev am: 049980c284
am: f1de362abe

Change-Id: I06cd03592c0ce23c42e8420ac0eef1bd61f233ff
2016-10-20 01:14:48 +00:00
Tyler Gunn
d55bf0fa1b Framework fixes to support VoLTE conf calls via RemoteConnectionServices. am: 2282bb97e7
am: 7f4abb2a05

Change-Id: I2320cc580dba98b40a4ed630ad52d1c6b55a6349
2016-10-20 01:13:52 +00:00
Tyler Gunn
f1de362abe Merge "Framework fixes to support VoLTE conf calls via RemoteConnectionServices." into nyc-mr1-dev
am: 049980c284

Change-Id: I003ba96a8358b3104acae03f8e2a3e53d8b976df
2016-10-20 01:06:56 +00:00
Tyler Gunn
7f4abb2a05 Framework fixes to support VoLTE conf calls via RemoteConnectionServices.
am: 2282bb97e7

Change-Id: Ibc446de0822d379bc367d6bc410e9830b65d5d20
2016-10-20 01:06:48 +00:00
Tyler Gunn
049980c284 Merge "Framework fixes to support VoLTE conf calls via RemoteConnectionServices." into nyc-mr1-dev 2016-10-20 00:56:20 +00:00
Hugo Benichi
c4fe5d373c ConnectivityThread: use lazy holder idiom
This patch changes the way that the ConnectivityThread is lazily
instantiated by using the "lazy initialization holder class idiom".

The first code point that tries to obtain a reference to the unique
ConnectivityThread instance will trigger the creation of the Singleton
class, which will guarantee a thread-safe initialization of the static
INSTANCE field inside Singleton according to the language specs.

This is the Item #71 of Effective Java.

The unique static instance of ConnectivityThread is not stored directly
inside ConnectivityThread class but is stored in a static nested class.
This is to avoid triggering the creation of that unique instance when
Zygote does class preloading at phone startup. Otherwise this would lead
to Zygote creating a new OS thread during preloading, which is a fatal
error.

Test: frameworks-wifi tests pass
Bug: 26749700
Bug: 28537383
Bug: 32130437

Change-Id: I4d5672a3195d3af9a0a2c85f871695257abe782b
2016-10-20 09:30:13 +09:00
Kevin Hufnagle
552de297d0 Merge "docs: Updated ShortcutManager and ShortcutInfo class references." into nyc-mr1-dev am: fee89015c5 am: 873d2f4404
am: 92da531f48

Change-Id: I83f31606be76695b606c67555c7b4bdfa671e3db
2016-10-20 00:11:36 +00:00
Kevin Hufnagle
b881803ef2 docs: Updated ShortcutManager and ShortcutInfo class references. am: 68d699d100 am: 38138600d2
am: cc93c4d247

Change-Id: Idc65cf4ce396728840a81893b2e078af6152cddc
2016-10-20 00:10:41 +00:00
Hugo Benichi
d42650faaa ConnectivityManager: a simpler CallbackHandler
This patch simplifies CallbackHandler in the following way:
  - CallbackHandler directly uses the static references to
    sNetworkCallback and sCallbackRefCount. This allows to remove
    instance fields in CallbackHandler.
  - CallbackHandler does not have a reference to ConnectivityManager
    anymore
  - CallbackHandler.getObject() is now generic in a type-safe way.

Test: ConnectivityServiceTest passes
Bug: 28537383
Bug: 32130437
Change-Id: I5004da5b91498e6ff7f8b05057a9e24b975bb56e
2016-10-20 09:09:02 +09:00
Selim Cinek
54680901ed Fixed a grey flash when swiping away the last notification
Change-Id: I12edf673f29abad66fa6704004886124eee9978b
Fixes: 32289359
Test: have 1 notification, swipe it a way, observe no flashing in statusbar
2016-10-20 00:07:26 +00:00
Adam Lesinski
77e54616bf Merge "Use Google3 style guide with .clang-format" 2016-10-20 00:06:04 +00:00
Kevin Hufnagle
92da531f48 Merge "docs: Updated ShortcutManager and ShortcutInfo class references." into nyc-mr1-dev am: fee89015c5
am: 873d2f4404

Change-Id: I81aa4ee6ee8c920409bffd7ae2b812ac09ff2b79
2016-10-20 00:03:09 +00:00
Kevin Hufnagle
cc93c4d247 docs: Updated ShortcutManager and ShortcutInfo class references. am: 68d699d100
am: 38138600d2

Change-Id: I5545ca14cebb7ff1d38f03d329c3a0dd1f329390
2016-10-20 00:02:14 +00:00
Kevin Hufnagle
873d2f4404 Merge "docs: Updated ShortcutManager and ShortcutInfo class references." into nyc-mr1-dev
am: fee89015c5

Change-Id: Ieeb9f7424d8f8e7845417f069b044e50b95c693f
2016-10-19 23:53:40 +00:00
Kevin Hufnagle
38138600d2 docs: Updated ShortcutManager and ShortcutInfo class references.
am: 68d699d100

Change-Id: I3d6ba36f36eddc3e9075383011732143c910a13f
2016-10-19 23:53:36 +00:00
Kevin Hufnagle
fee89015c5 Merge "docs: Updated ShortcutManager and ShortcutInfo class references." into nyc-mr1-dev 2016-10-19 23:43:52 +00:00
Julia Reynolds
8f488d3f2f Move autogrouping into framework.
Test: runtest systemui, and post and dismiss notifications, checking that they
are grouped (or not) appropriately.

Change-Id: I8f3ec497cebcb14a7853fac98b844a3fd4503141
2016-10-19 22:30:58 +00:00
Felipe Leme
5aaca3a620 Synchronized access to mService.
Test: none
Change-Id: Ibab1211384c1c579fa24be19821c2784faa22b8c
2016-10-19 15:23:08 -07:00
Brad Ebinger
a05b35cb40 Adds registerSessionListener API to Log
Adds the registerSessionListener API to android.telecom.Log to allow
callbacks to occur when a session has been fully completed.

Test: Manual Testing
Bug: 26571395
Change-Id: I70ebd6f432768a5d7bd8f3a0997b8e0ef335bb35
2016-10-19 14:36:52 -07:00
Brad Ebinger
836efade0c Adds registerSessionListener API to Log
Adds the registerSessionListener API to android.telecom.Log to allow
callbacks to occur when a session has been fully completed.
CP from internal branch.

Test: Manual Testing
Bug: 26571395
Change-Id: I70ebd6f432768a5d7bd8f3a0997b8e0ef335bb35
2016-10-19 14:32:46 -07:00
Colin Cross
bb3d2e97be Merge "Revert "Added JNI interface for aapt2."" 2016-10-19 21:14:27 +00:00
Colin Cross
fe4b31019b Revert "Added JNI interface for aapt2."
This reverts commit 9f551fcf191a6b09ab4bfc0dbcfc28a899a1294e.

Change-Id: I0ffcb608ba5e858edfbe92bdcc892e0a0fd7d5b2
2016-10-19 21:13:33 +00:00
Brad Ebinger
9fbbd4052d Switch on android.telecom.Log in Telecom
Move over the Runnable Class into android.telecom and turn on the
framework's usage in Telecom.
CP from: https://android-review.googlesource.com/#/c/287291/

Test: All Telecom unit tests pass. Manual Log testing has also been
confirmed to be working as it did before.
Bug: 26571395
Change-Id: If7e2036c746c5a953f3a77e2d625a423ce5bf8f3
2016-10-19 13:58:01 -07:00
TreeHugger Robot
0154feef22 Merge "Initial refactoring to enable reuse of SkiaDisplayList on a per RenderNode basis. With Skia renderer we see 30% speed improvement in Invalidate Tree UI Jank test, when SkiaDisplayList objects are reused." 2016-10-19 20:36:00 +00:00
Sergei Vasilinetc
7ca5ad1d06 Merge "Move allocatePixelRef methods to hwui. This patch also makes tests to use SkBitmap backed by hwui/PixelRef, Test: refactoring cl. bug:27762775" 2016-10-19 20:30:24 +00:00
Andreas Huber
ec36a7a944 Merge "HIDL Vectors are now exposed to Java as ArrayList<T>, the supporting APIs on" am: 2202b164d8 am: abfd527d09
am: 599d51393c

Change-Id: I4be94dcb7e86e74a9f9676e6980f69c35d016f92
2016-10-19 19:54:16 +00:00
Christopher Wiley
bfe052cb73 Merge "Use this.isUp() inside InterfaceConfiguration" am: 239df3cc5a am: c6e72b30c7
am: 31ac117bef

Change-Id: If2c93c4affbdb3c1f27f874c509147f2cf50337f
2016-10-19 19:53:15 +00:00
Winson
02ba8fbff8 Merge "Skip getting transforms for ignored tasks." into nyc-mr1-dev am: 5f4169b5ea am: be0eded075
am: a1d2e5a623

Change-Id: I3b62024c9ed417263e6d52a12b8ebde78c01b9c6
2016-10-19 19:52:14 +00:00
Winson
72350cb4fb Skip getting transforms for ignored tasks. am: 448c0adb78 am: cfdbd7b2e2
am: a0e36bafad

Change-Id: I78780193c8e7a4ee47a607fda68b5e42d4eaba4e
2016-10-19 19:51:12 +00:00
Andrii Kulian
523042de56 Merge "DO NOT MERGE -- Use focused activity value when moving task back" into nyc-mr1-dev am: 6e4f6ecbab am: 618b3cb6fa
am: 2a838ca767  -s ours

Change-Id: Ic6ef76c7abdcb42c3e83824ec53de6282d172902
2016-10-19 19:47:40 +00:00
Andrii Kulian
b0cd253c2a DO NOT MERGE -- Use focused activity value when moving task back am: da3b648b64 am: 39be2e91ca
am: 870489e97e  -s ours

Change-Id: I303e8404cb6888618a9d5d4d05b7ff481f07bcfe
2016-10-19 19:46:34 +00:00
Andreas Huber
599d51393c Merge "HIDL Vectors are now exposed to Java as ArrayList<T>, the supporting APIs on" am: 2202b164d8
am: abfd527d09

Change-Id: I53a55b6278c1b59bef454b880d540dbd46684af7
2016-10-19 19:45:54 +00:00
TreeHugger Robot
e0866a3356 Merge "Adds user id when dumping a task." 2016-10-19 19:42:49 +00:00
Christopher Wiley
31ac117bef Merge "Use this.isUp() inside InterfaceConfiguration" am: 239df3cc5a
am: c6e72b30c7

Change-Id: I21739e50ed2111afdb073299f96e8cd22788034c
2016-10-19 19:39:13 +00:00
Andreas Huber
abfd527d09 Merge "HIDL Vectors are now exposed to Java as ArrayList<T>, the supporting APIs on"
am: 2202b164d8

Change-Id: I43bec2c6d3e6e4201f7a50981f428ef00f384684
2016-10-19 19:39:03 +00:00
Winson
a1d2e5a623 Merge "Skip getting transforms for ignored tasks." into nyc-mr1-dev am: 5f4169b5ea
am: be0eded075

Change-Id: I590f576ac9e4d2e8e01702c965f69f8ef1ed5c0b
2016-10-19 19:36:37 +00:00
Winson
a0e36bafad Skip getting transforms for ignored tasks. am: 448c0adb78
am: cfdbd7b2e2

Change-Id: I19181f3c3ffff3da30b864290a0ba45571bbb47f
2016-10-19 19:35:25 +00:00
Andrii Kulian
2a838ca767 Merge "DO NOT MERGE -- Use focused activity value when moving task back" into nyc-mr1-dev am: 6e4f6ecbab
am: 618b3cb6fa

Change-Id: I3c47a26f5f10bd271277a974b81697913f612762
2016-10-19 19:34:21 +00:00
Andrii Kulian
870489e97e DO NOT MERGE -- Use focused activity value when moving task back am: da3b648b64
am: 39be2e91ca

Change-Id: I43b583256b5975ca1206c9474bd64ee56e2419b0
2016-10-19 19:33:17 +00:00
Christopher Wiley
c6e72b30c7 Merge "Use this.isUp() inside InterfaceConfiguration"
am: 239df3cc5a

Change-Id: Id6f064d7a74e41d757de2499653671fc830d217b
2016-10-19 19:31:57 +00:00
Andreas Huber
2202b164d8 Merge "HIDL Vectors are now exposed to Java as ArrayList<T>, the supporting APIs on" 2016-10-19 19:30:29 +00:00
Winson
be0eded075 Merge "Skip getting transforms for ignored tasks." into nyc-mr1-dev
am: 5f4169b5ea

Change-Id: I98a6d30d26fd00d09e670d22663617ccd0c5ca62
2016-10-19 19:18:31 +00:00