Commit Graph

235150 Commits

Author SHA1 Message Date
Akshay Thakker
5d35396a53 Merge "DO NOT MERGE Fix for syncs being dropped when appIdle is on" into mnc-dr-dev am: e210c99809 am: 768e1df375
am: 7e65e5c681  -s ours

* commit '7e65e5c681cc67dab31762cfce7dada402491f2e':
  DO NOT MERGE Fix for syncs being dropped when appIdle is on
2016-02-22 22:53:27 +00:00
Akshay Thakker
7e65e5c681 Merge "DO NOT MERGE Fix for syncs being dropped when appIdle is on" into mnc-dr-dev am: e210c99809
am: 768e1df375

* commit '768e1df37559c580ede46574bb1c583b0705375a':
  DO NOT MERGE Fix for syncs being dropped when appIdle is on
2016-02-22 22:46:59 +00:00
Chris Tate
0932809357 Merge "Implement wildcard-host policy in reference autoVerify implementation" into nyc-dev
am: 737a1c1053

* commit '737a1c10534ff4181304611e3d0d11961fc7b929':
  Implement wildcard-host policy in reference autoVerify implementation
2016-02-22 22:46:53 +00:00
Chris Tate
737a1c1053 Merge "Implement wildcard-host policy in reference autoVerify implementation" into nyc-dev 2016-02-22 22:41:38 +00:00
Akshay Thakker
768e1df375 Merge "DO NOT MERGE Fix for syncs being dropped when appIdle is on" into mnc-dr-dev
am: e210c99809

* commit 'e210c9980946b440bc6f7d57fef18c7fac223d3a':
  DO NOT MERGE Fix for syncs being dropped when appIdle is on
2016-02-22 22:39:53 +00:00
Akshay Thakker
e210c99809 Merge "DO NOT MERGE Fix for syncs being dropped when appIdle is on" into mnc-dr-dev 2016-02-22 22:27:25 +00:00
Jorim Jaggi
1376051525 Merge "Restrict dock sides after rotation" into nyc-dev am: 7587e38992
am: ab899ed501

* commit 'ab899ed501ca45f7dbf9c20bb1ef0b2799e3fc93':
  Restrict dock sides after rotation
2016-02-22 22:18:59 +00:00
Jorim Jaggi
ab899ed501 Merge "Restrict dock sides after rotation" into nyc-dev
am: 7587e38992

* commit '7587e38992af85ea1f488f2155ff3576d65f2c18':
  Restrict dock sides after rotation
2016-02-22 22:13:04 +00:00
Jorim Jaggi
7587e38992 Merge "Restrict dock sides after rotation" into nyc-dev 2016-02-22 22:07:54 +00:00
Yohei Yukawa
4ebaee81e5 Merge "Unify windowGainedFocus() and startInput()." into nyc-dev am: 5a19477ec4
am: 8ff4d727b4

* commit '8ff4d727b484868eb3f21b60c58dfb2a930f1b27':
  Unify windowGainedFocus() and startInput().
2016-02-22 22:06:30 +00:00
Sami Tolvanen
a6e9e24be5 Support persist.sys.audit_safemode
Don't leave safe more if persist.sys.audit_safemode is set, unless the
current build date is newer than the specified value.

This allows us to keep the device in safe mode across reboots until an
OTA has been applied or user data is wiped.

Bug: 26902605
Change-Id: I781c3059ea8d4fb2f0c923e4488b1932d69678d3
(cherry picked from commit ee2b492832)
2016-02-22 14:00:01 -08:00
Yohei Yukawa
8ff4d727b4 Merge "Unify windowGainedFocus() and startInput()." into nyc-dev
am: 5a19477ec4

* commit '5a19477ec4de4c468a2c7da25929d0acc0aabdfa':
  Unify windowGainedFocus() and startInput().
2016-02-22 21:59:46 +00:00
Jorim Jaggi
5060bd8910 Restrict dock sides after rotation
Bug: 27167078
Change-Id: If51626b75321eebc277eb2399ee753ffe489642b
2016-02-22 16:59:43 -05:00
Ben Wagner
c38dd0a95d Merge "Use utf32_from_utf8_at instead of SkUTF8_NextUnichar." 2016-02-22 21:55:53 +00:00
Chris Craik
a17b5366d5 Merge "Add create_trivial_array" into nyc-dev am: 339fc0a1d2
am: 064b467718

* commit '064b467718e02e42360fce45c985d88333a35cdf':
  Add create_trivial_array
2016-02-22 21:53:15 +00:00
Yohei Yukawa
5a19477ec4 Merge "Unify windowGainedFocus() and startInput()." into nyc-dev 2016-02-22 21:52:56 +00:00
Chris Craik
064b467718 Merge "Add create_trivial_array" into nyc-dev
am: 339fc0a1d2

* commit '339fc0a1d213fed1201443838a9536651ad2ca3b':
  Add create_trivial_array
2016-02-22 21:49:15 +00:00
Chris Craik
339fc0a1d2 Merge "Add create_trivial_array" into nyc-dev 2016-02-22 21:40:58 +00:00
Jorim Jaggi
04ec3bbc8b Merge "Fix leaking animation" into nyc-dev am: 0822a7e272
am: 33f776dda8

* commit '33f776dda8b8ba2d0c64d31ff0bedc991be7d94b':
  Fix leaking animation
2016-02-22 21:39:25 +00:00
Anthony Hugh
80f5525289 Merge "Allow button events in ambient." into nyc-dev am: 1e413f5b77
am: 97f0727cfe

* commit '97f0727cfe69db4f0a570f9eb62424bb33e5212d':
  Allow button events in ambient.
2016-02-22 21:32:13 +00:00
Alan Viverette
2dd6a51c24 Merge "Remove night mode from developer settings" into nyc-dev am: 379b0d45b8
am: 775554ff02

* commit '775554ff02f24d48db1cb6de8735066d5b82691b':
  Remove night mode from developer settings
2016-02-22 21:30:26 +00:00
Jason Monk
9e584392ae Merge "Fix crash on QS edit immediate collapse" into nyc-dev am: 15e124f2df
am: 6df861e53c

* commit '6df861e53c585bd60b314b1322b0e919f22c7dc5':
  Fix crash on QS edit immediate collapse
2016-02-22 21:29:15 +00:00
Steve McKay
1e4e9850cf Add CREATOR class to Selection. am: 2fbb40eebd
am: 7b814c76bf

* commit '7b814c76bf32050ac10708122e6a93514a2773be':
  Add CREATOR class to Selection.
2016-02-22 21:27:31 +00:00
Shawn Willden
1ab6e33f23 Merge "Add option to allow key validity after fingerprint enrollment." into nyc-dev am: 272fe13331
am: 718dce52eb

* commit '718dce52eb1a32fcc0d366f2244267e6a7cb35f2':
  Add option to allow key validity after fingerprint enrollment.
2016-02-22 21:26:20 +00:00
Jorim Jaggi
33f776dda8 Merge "Fix leaking animation" into nyc-dev
am: 0822a7e272

* commit '0822a7e272645f676712c3c1d927d04667f46baa':
  Fix leaking animation
2016-02-22 21:25:58 +00:00
Steve McKay
6eb2b937b0 Merge "Move directory and roots support to own ui bots." into nyc-dev am: cddd034ca7
am: 45602c0251

* commit '45602c025185565d039b96984bef214c74a3cdd3':
  Move directory and roots support to own ui bots.
2016-02-22 21:25:12 +00:00
Adam Lesinski
9f8e71a2c7 Merge "DO NOT MERGE ANYWHERE: Hack to get devices booting again." into mnc-dr-dev am: d201f48687 -s ours am: ab4d629294 -s ours am: 202fbf2c34 -s ours am: 43c452eea8 -s ours
am: 45104c92da  -s ours

* commit '45104c92dab69842a25044235b9fbd72245b1650':
  DO NOT MERGE ANYWHERE: Hack to get devices booting again.
2016-02-22 21:23:50 +00:00
Adam Lesinski
d1b346bcae Merge "DO NOT MERGE ANYWHERE: Don\'t change screen on time on time changes" into mnc-dr-dev am: 3e439db8c8 -s ours am: 83fd156e21 -s ours am: 5c918ee029 -s ours am: 209d706d2b -s ours
am: a7194069bd  -s ours

* commit 'a7194069bddb1b38a1d6f19696772c52c9b6b440':
  DO NOT MERGE ANYWHERE: Don't change screen on time on time changes
2016-02-22 21:22:40 +00:00
Keisuke Kuroyanagi
04755fcae4 Merge "Make drag shadow grapheme cluster aware." into nyc-dev am: f2629d481e
am: e4ba22e7d6

* commit 'e4ba22e7d67bae08c67a9221bc3e98bdf7a0d0d3':
  Make drag shadow grapheme cluster aware.
2016-02-22 21:21:22 +00:00
Toni Barzic
95642d59e9 Properly handle non split system user when showing bouncer am: b799d3f127
am: 8508ed5044

* commit '8508ed5044e993d0e0e2ba875bc90c819ad93c03':
  Properly handle non split system user when showing bouncer
2016-02-22 21:20:05 +00:00
Jorim Jaggi
0822a7e272 Merge "Fix leaking animation" into nyc-dev 2016-02-22 21:18:32 +00:00
Jorim Jaggi
02b74b9420 Fix leaking animation
Clear animation when destroying window surface.

Because we are not stepping in animations for windows if they don't
have a surface, we can't use it as a detached wallpaper target
animation.

When the surface was destroyed while animating,
winAnimator.mAnimating was still true, and never got false, because
we didn't call stepAnimation on the WindowAnimator anymore.

Thus, we were constantly animating, using a lot of battery (surface
flinger was constantly pushing frames) and impacting overall system
performance.

Bug: 27276043
Change-Id: I8b0943da0908c85740dc1113aedb573fb440f162
2016-02-22 16:17:46 -05:00
Toni Barzic
49f36aba1c Merge "Try to dismiss Keyguard bypassing bouncer only for active users" into nyc-dev am: a2ab1d6932
am: 53ff8e5573  -s ours

* commit '53ff8e5573a0fd04deaf943c38aea2cb3b2e1d38':
  Try to dismiss Keyguard bypassing bouncer only for active users
2016-02-22 21:17:28 +00:00
Tao Bao
69d01e2376 Merge "Add support for update-on-boot feature." into nyc-dev am: 9de7952aa9
am: 3dd23af6a0

* commit '3dd23af6a0fb58ce7d1f6f078c765890ca839bd3':
  Add support for update-on-boot feature.
2016-02-22 21:10:21 +00:00
Youngsang Cho
3d1265bda7 Merge "PIP: Rename closeInternal to closePipInternal" into nyc-dev am: ffd4c73a29
am: ad5dccf123

* commit 'ad5dccf123d20ad56c40641fe71a49e322db90f6':
  PIP: Rename closeInternal to closePipInternal
2016-02-22 21:08:54 +00:00
Anthony Hugh
97f0727cfe Merge "Allow button events in ambient." into nyc-dev
am: 1e413f5b77

* commit '1e413f5b77b4105479eb7686dfa9b8428bdf58a1':
  Allow button events in ambient.
2016-02-22 20:53:15 +00:00
Alan Viverette
775554ff02 Merge "Remove night mode from developer settings" into nyc-dev
am: 379b0d45b8

* commit '379b0d45b82362a3cf9aecbcc9f6579c982a1bcb':
  Remove night mode from developer settings
2016-02-22 20:48:38 +00:00
Anthony Hugh
1e413f5b77 Merge "Allow button events in ambient." into nyc-dev 2016-02-22 20:46:44 +00:00
Alan Viverette
379b0d45b8 Merge "Remove night mode from developer settings" into nyc-dev 2016-02-22 20:44:01 +00:00
Christopher Tate
2f36fd6fc9 Limit scheduled jobs to 100 per app
Packages that are entitled to schedule jobs on behalf of other uids
are not subject to the limit.  Also break the JobStore's monolithic
set of jobs into per-uid slices for efficiency and orthogonality.

Bug 27150350

Change-Id: I8f5f718bf200d55f9977a6fc53b7f617e7652ad9
2016-02-22 12:42:29 -08:00
Jason Monk
6df861e53c Merge "Fix crash on QS edit immediate collapse" into nyc-dev
am: 15e124f2df

* commit '15e124f2df93e3d6825cf2c7b2dd2c32dafa2a57':
  Fix crash on QS edit immediate collapse
2016-02-22 20:42:24 +00:00
Yohei Yukawa
05c25f8a3a Unify windowGainedFocus() and startInput().
This is a safe refactoring that changes nothing.

In order to improve the keyboard dismissal lags [1][2], we have used
IMMS#windowGainedFocus() as a combined event to do startInput() in
certain situations.

To make the intent of those CLs clear, this CL renames
IMMS#windowGainedFocus() to IMMS#startInputOrWindowGainedFocus().  Note
that these are @hide internal IPC protocols.  Hence this change is never
observable to application developers.

 [1] I8494cbd6e19e2ab6db03f2463d9906680dda058b
     a82ba54b0b
 [2] Icb58bef75ef4bf9979f3e2ba88cea20db2e2c3fb
     7663d80f6b

Bug: 25373872
Change-Id: I56934f18e30d90fcdf77bcbb0c35a92a5feb1b82
2016-02-22 12:41:17 -08:00
Joe LaPenna
90776de6bb Allow button events in ambient.
See thread: "key presses & Ambient"

Bluetooth media button presses and Stem buttons were being rejected in ambient.  This change allows those keys while disabling touch events while in ambient.

BUG: 25964771
BUG: 26524301

Change-Id: I914edd447c38678a06d27677be4597c0ee384635
(cherry picked from commit 7528f57c4d)
2016-02-22 20:39:48 +00:00
Ben Wagner
f4cf5d3b01 Use utf32_from_utf8_at instead of SkUTF8_NextUnichar.
Skia would like to make the SkUTF* methods private to Skia. This CL
makes this Android test code use Android methods for the same function.

Change-Id: I544847c70030c818aa72dd3ec21b1926834a3e78
2016-02-22 20:39:13 +00:00
Steve McKay
7b814c76bf Add CREATOR class to Selection.
am: 2fbb40eebd

* commit '2fbb40eebd508b67e53f5a8590caf57a53cfb25d':
  Add CREATOR class to Selection.
2016-02-22 20:36:40 +00:00
Jason Monk
15e124f2df Merge "Fix crash on QS edit immediate collapse" into nyc-dev 2016-02-22 20:34:27 +00:00
Steve McKay
2fbb40eebd Add CREATOR class to Selection.
Bug: 27236334
Change-Id: I5f50cd63b850785194fec2db3eb68e40aa7af34f
2016-02-22 12:29:37 -08:00
Shawn Willden
718dce52eb Merge "Add option to allow key validity after fingerprint enrollment." into nyc-dev
am: 272fe13331

* commit '272fe13331cad7197e47c19056d2f49dd26ba0b3':
  Add option to allow key validity after fingerprint enrollment.
2016-02-22 20:23:50 +00:00
Steve McKay
45602c0251 Merge "Move directory and roots support to own ui bots." into nyc-dev
am: cddd034ca7

* commit 'cddd034ca78fd92be132cb2336eb2bff04ac5ce8':
  Move directory and roots support to own ui bots.
2016-02-22 20:20:02 +00:00
Adam Lesinski
45104c92da Merge "DO NOT MERGE ANYWHERE: Hack to get devices booting again." into mnc-dr-dev am: d201f48687 -s ours am: ab4d629294 -s ours am: 202fbf2c34 -s ours
am: 43c452eea8  -s ours

* commit '43c452eea8cf60fd2319aa43257783ab4bf7f515':
  DO NOT MERGE ANYWHERE: Hack to get devices booting again.
2016-02-22 20:18:53 +00:00