Commit Graph

301953 Commits

Author SHA1 Message Date
Ned Burns
7d6cb913de Modify SwipeDismissLayout to perform its own exit animation
Instead of relying on the window animation system, in the special
case of a swipe-dismiss, disable any default window exit animation
and perform a custom animation. This bypasses some bugs in the
window animator codebase and allows us to have a nice "rebound"
animation if the user doesn't swipe far/fast enough to trigger a
dismiss.

Bug: 33041168
Change-Id: Ied45700d35a59950bacef1ba0650eaa5bc60fadb
2016-12-05 19:38:14 -05:00
Jeff Sharkey
043c4c575c Merge "Initial Binder interface for installd." am: 19fc36fa33 am: 2ab7bff525
am: 48eb4e390e

Change-Id: I0f8015d3ca80d1f6a806b2ff7b739ea27feddc10
2016-12-06 00:35:44 +00:00
jackqdyulei
fd1b9d4da0 Add tint for brightness thumb icon
Bug:32592245
Test: Manual
Change-Id: I3ce17dada37deb3b0bf6224293bce8df0e125938
2016-12-05 16:29:46 -08:00
Jeff Sharkey
48eb4e390e Merge "Initial Binder interface for installd." am: 19fc36fa33
am: 2ab7bff525

Change-Id: I80f56bc8e531fd23ffc95f2f75c84add3f9a34e5
2016-12-06 00:29:38 +00:00
Jeff Sharkey
2ab7bff525 Merge "Initial Binder interface for installd."
am: 19fc36fa33

Change-Id: I22e910b705327eafa5c158ec43d6d86eb0b429d0
2016-12-06 00:23:56 +00:00
TreeHugger Robot
e2812604b8 Merge "DozeMachine: Improve resilience against out-of-order pulse requests" 2016-12-06 00:22:54 +00:00
jackqdyulei
448390d651 Add tint for icons in volume dialog
Bug: 32592245
Test: Manual
Change-Id: I90857c91cd0cdcfd3c379375e6b7662369995462
2016-12-05 16:22:47 -08:00
Jeff Sharkey
19fc36fa33 Merge "Initial Binder interface for installd." 2016-12-06 00:14:54 +00:00
Adrian Roos
c4bf1ca4a8 Merge "Lockscreen: Restrict double taps to prevent falsing" into nyc-mr2-dev am: dcb6efcd55
am: 405e0fc79e

Change-Id: I83fad7d1f623d380a3444386e3c839a28f8b2cd1
2016-12-05 23:50:50 +00:00
Adrian Roos
eaa5987148 Lockscreen: Restrict double taps to prevent falsing am: ac75cddcf5
am: 923e706576

Change-Id: I2492a3a86d8468a2309a0fddd1deef53876d219a
2016-12-05 23:49:41 +00:00
Adrian Roos
405e0fc79e Merge "Lockscreen: Restrict double taps to prevent falsing" into nyc-mr2-dev
am: dcb6efcd55

Change-Id: I5e4b04c054522f7620a0a8e1b37830cf2e3711da
2016-12-05 23:43:13 +00:00
Adrian Roos
923e706576 Lockscreen: Restrict double taps to prevent falsing
am: ac75cddcf5

Change-Id: I25fe91c23f79d8f54cfa106966dbf4a820dd4c6b
2016-12-05 23:43:05 +00:00
Adrian Roos
dcb6efcd55 Merge "Lockscreen: Restrict double taps to prevent falsing" into nyc-mr2-dev 2016-12-05 23:37:49 +00:00
TreeHugger Robot
96bc5dece7 Merge "Fixed Mockito expectation." 2016-12-05 23:23:52 +00:00
Phil Weaver
867ad35d9c Add null check to a11y interrupt.
Also adding same robustness to interrupt that we have for
sending a11y events.

Bug: 32507871

Test: Ran a11y CTS. Verified manually with sample app
that sends interrupt and accessibility service that
crashes when started. That case used to crash the
app, and doesn't anymore.
Change-Id: I5cf05dcbb54ea23ae876cb3258dd206c55dce775
2016-12-05 14:57:48 -08:00
Shunta Sato
167fd9a0a8 Merge "Avoid NPE around mReusedTask of ActivityStarter" into nyc-mr2-dev am: 53db761efb
am: cfe760531a

Change-Id: If35c341025e858939eef8424047d2595edfaac44
2016-12-05 22:55:23 +00:00
Shunta Sato
3c18ab7f12 Avoid NPE around mReusedTask of ActivityStarter am: 9fff53f2cb
am: 2c174fb0cb

Change-Id: I441f2fe4dac673f3f2fdaa9068a1085b58c0d627
2016-12-05 22:54:28 +00:00
Android Build Merger (Role)
92d06a632c Merge "Merge "TwilightService: Ignore (0,0) coordinate location updates" into nyc-mr2-dev am: b10e339774 am: ff5ec7fdf6" 2016-12-05 22:49:57 +00:00
Christine Franks
21cb91d54c Merge "TwilightService: Ignore (0,0) coordinate location updates" into nyc-mr2-dev am: b10e339774
am: ff5ec7fdf6

Change-Id: I7e856c017c4f8b8071aa997a78dbeb9e9d81e5f7
2016-12-05 22:49:02 +00:00
Android Build Merger (Role)
3959a6082b Merge "TwilightService: Ignore (0,0) coordinate location updates am: cc2801296d am: bc0bd475da" 2016-12-05 22:48:42 +00:00
TreeHugger Robot
c60f1fd1ab Merge "Add null checks for *Buffer params" 2016-12-05 22:48:33 +00:00
Shunta Sato
cfe760531a Merge "Avoid NPE around mReusedTask of ActivityStarter" into nyc-mr2-dev
am: 53db761efb

Change-Id: I33a8ef76a1a9c192889f7f66b32b383986789e04
2016-12-05 22:48:06 +00:00
Shunta Sato
2c174fb0cb Avoid NPE around mReusedTask of ActivityStarter
am: 9fff53f2cb

Change-Id: I3e56af93c3feaf34ac93965127ad7817d609dc11
2016-12-05 22:48:00 +00:00
Christine Franks
5e998e63ce TwilightService: Ignore (0,0) coordinate location updates am: cc2801296d
am: bc0bd475da

Change-Id: I10691fe0ee6b1d788611db17a84a960fa40d3901
2016-12-05 22:47:58 +00:00
Christine Franks
ff5ec7fdf6 Merge "TwilightService: Ignore (0,0) coordinate location updates" into nyc-mr2-dev
am: b10e339774

Change-Id: Iae529fc5e891ec115379003cbb4d0236448f2f63
2016-12-05 22:42:51 +00:00
Christine Franks
bc0bd475da TwilightService: Ignore (0,0) coordinate location updates
am: cc2801296d

Change-Id: Ic74955ff78956953288de96d261dc1eab8fc6137
2016-12-05 22:42:45 +00:00
TreeHugger Robot
53db761efb Merge "Avoid NPE around mReusedTask of ActivityStarter" into nyc-mr2-dev 2016-12-05 22:41:24 +00:00
Christine Franks
b10e339774 Merge "TwilightService: Ignore (0,0) coordinate location updates" into nyc-mr2-dev 2016-12-05 22:38:14 +00:00
TreeHugger Robot
9ce4714273 Merge "Fix monkey NPE" 2016-12-05 22:37:12 +00:00
TreeHugger Robot
28947f3b02 Merge "Fixes recents from expanding full size when an app is docked" 2016-12-05 22:23:56 +00:00
jackqdyulei
805f9afc8d Add tint for wifi icon.
It contains the following type:
1. basic type(e.g. disabled)
2. signal strength(e.g. ic_qs_wifi_0)
3. up/down arrow(e.g. ic_qs_signal_in)

Bug: 32592245
Test: Manual
Change-Id: I014b84a71aef9b0cf3f88aa80b743b781caefef8
2016-12-05 14:21:18 -08:00
Adrian Roos
b84dc1866a DozeMachine: Improve resilience against out-of-order pulse requests
Fixes a class of bugs that arise from requesting to pulse at
inopportune times. Also improves logging such that we know what
state transition failed to validate.

Test: runtest -x frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/DozeMachineTest.java
Change-Id: If0bbe003c4805fd180d013dadbc28addc5bb0dd4
Fixes: 32869355
2016-12-05 22:09:25 +00:00
TreeHugger Robot
84f285c7e0 Merge "Correct the string resource for tooltip_popup_title" 2016-12-05 21:55:08 +00:00
Felipe Leme
b8d572eb86 Fixed Mockito expectation.
Bug: 33349775

Test: most tests from NetworkPolicyManagerServiceTest passes (there are still
      3 failures, but they're unrelated).

Change-Id: I291a2d8404ba540d9922e5de62f5224d2d9b9314
2016-12-05 13:44:36 -08:00
Xiaohui Chen
890951ce1a Merge "sysui: fix navbar button view orientation" into nyc-mr2-dev am: 4eaf8c2d9b
am: 472e287812  -s ours

Change-Id: I06212be8ae14836aa6082f755ef693233bb3eb56
2016-12-05 21:41:35 +00:00
TreeHugger Robot
8a0048893e Merge "Revert "Import translations. DO NOT MERGE"" 2016-12-05 21:40:03 +00:00
Xiaohui Chen
f7512b2761 sysui: fix navbar button view orientation am: 7917006430
am: fe4413b214  -s ours

Change-Id: Ia7c0d2e2f64507c8d84fdab7373d26295f8483b2
2016-12-05 21:37:51 +00:00
Xiaohui Chen
472e287812 Merge "sysui: fix navbar button view orientation" into nyc-mr2-dev
am: 4eaf8c2d9b

Change-Id: I442ff67a71fef2f9fe65c8c7f966259b6c85b495
2016-12-05 21:35:15 +00:00
jackqdyulei
e27e142360 Add tint for cellular icon.
It contains the following types:
1. cellular basic type(no_signal, no_sim)
2. cellular signal strength(e.g. *_signal_full_0.xml)
3. signal type(e.g. lte, g, h)

Bug: 32592245
Test: Manual
Change-Id: I430d3c831a672bad53651eec1b8a8b2caa2f4b54
2016-12-05 13:33:49 -08:00
Xiaohui Chen
fe4413b214 sysui: fix navbar button view orientation
am: 7917006430

Change-Id: I94127b0eba0f0abf47558131218dd21b5a82e089
2016-12-05 21:31:45 +00:00
TreeHugger Robot
4eaf8c2d9b Merge "sysui: fix navbar button view orientation" into nyc-mr2-dev 2016-12-05 21:22:03 +00:00
Jeff Sharkey
2659bbc161 Merge "Move dump() to dumpAsync(), more oneway calls." into nyc-mr1-dev-plus-aosp am: 5e2155058d
am: 173e689099

Change-Id: I3df7c60af177c378f142514158f84c9430cf4168
2016-12-05 21:19:15 +00:00
Jeff Sharkey
fdfdc91fef Move dump() to dumpAsync(), more oneway calls. am: c06f184ae9
am: a909053664  -s ours

Change-Id: Ibd2d476fc502891a2687fcae55fe7d8cdc8f43fc
2016-12-05 21:18:02 +00:00
Doris Liu
21b93c1f66 Add API info about Keyframe and PropertyValuesHolder
BUG: 32713413
Test: make -j20 docs
Change-Id: Ib2d11fe16cb470609058d2698b6b00173ae1928b
2016-12-05 21:16:10 +00:00
Yifan Hong
b747440d2f Check for nullptr when casting IBinder to IBase.
Test: compiles

Bug: 33307202
Change-Id: I6ef880188e2f43766e52317244366b2fdd38c728
2016-12-05 13:10:13 -08:00
TreeHugger Robot
38adb81889 Merge "Revert "Import translations. DO NOT MERGE"" 2016-12-05 21:03:05 +00:00
TreeHugger Robot
7389af13f8 Merge "Revert "Import translations. DO NOT MERGE"" 2016-12-05 21:01:34 +00:00
Shunta Sato
9fff53f2cb Avoid NPE around mReusedTask of ActivityStarter
Symptom:
System crash by NPE is observed on ActivityStarter
during phone boot-up.

Detail and sample:
ActivityStarter has possibility to be called itself recursively
by calling TaskRecord$performClearTaskLocked().
Then class variable of mReusedTask is initialized to null
after the call, because the recursive call isn't guarded by
synchronized block.
Then NPE crash occurs on next statement.

Solutions:
Call performClearTaskLocked() before assigning 
intentActivity.task to mReusedTask.

Bug: 32361138
Test: builds, boots, Manual testing of condition in bug
Author: Shigeki Yokomichi <shigeki.x.yokomichi@sonymobile.com>
Change-Id: Iaea3e066a6f7134fcae4338ff864bb236241194c
(cherry picked from commit 0bd28e2c5f)
2016-12-05 12:58:25 -08:00
jackqdyulei
e689f4e6f7 Add tint for bluebooth icon
Bug: 32592245
Test: Manual

Change-Id: I374cdb48fd92b3aac0b4bf1d019dd58715cca108
2016-12-05 12:55:41 -08:00
TreeHugger Robot
c1d492628a Merge "Revert "Import translations. DO NOT MERGE"" 2016-12-05 20:54:40 +00:00