233483 Commits

Author SHA1 Message Date
Jesse Hall
f77a34fa17 PackageManager: add Vulkan system features
FEATURE_VULKAN_HARDWARE_FEATURES describes the feature set supported
by the device hardware and driver. FEATURE_VULKAN_HARDWARE_VERSION
describes the Vulkan API version supported by the driver, which may be
lower than the API version supported by a particular Android release.

Bug: 26583896
Change-Id: Ia3e6be496abf631cb677eb838d632d3c7b4dd24b
2016-02-22 16:59:13 -08:00
Jae Seo
af326ed2b9 Merge "TIF: Add android.permission.READ_TV_LISTINGS" into nyc-dev 2016-02-22 23:44:48 +00:00
Yohei Yukawa
4449a27fe9 Merge "Fix build breakage." into nyc-dev 2016-02-22 23:22:45 +00:00
Sami Tolvanen
436f1523d1 Merge "Support persist.sys.audit_safemode" into nyc-dev 2016-02-22 23:22:30 +00:00
Yohei Yukawa
5cf733f89b Fix build breakage.
This follows up to my previous CL [1], which forgot to update
BridgeIInputMethodManager.java (again!).

  [1] I56934f18e30d90fcdf77bcbb0c35a92a5feb1b82
      05c25f8a3a033816ac25aa5cd7db5b1ab495bc3f

Bug: 25373872
Change-Id: I0643069fd0b677115c89c340b7a23f1d12bd7988
2016-02-22 15:11:49 -08:00
Chris Tate
3e30b118f7 Merge "Limit scheduled jobs to 100 per app" into nyc-dev 2016-02-22 23:10:25 +00:00
Shawn Willden
b094ebf18a Merge "Revert "Add option to allow key validity after fingerprint enrollment."" into nyc-dev 2016-02-22 23:00:50 +00:00
Shawn Willden
512c132f49 Revert "Add option to allow key validity after fingerprint enrollment."
This reverts commit ada0fc1b05902b11401094b15480377d1b6c5a35.

Change-Id: I934b6e6af49ab680af726c544f0193dfcb80054e
2016-02-22 22:59:34 +00:00
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
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
7587e38992 Merge "Restrict dock sides after rotation" into nyc-dev 2016-02-22 22:07:54 +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 ee2b49283261f7b4518ec7c98f568f883f817c9d)
2016-02-22 14:00:01 -08:00
Jorim Jaggi
5060bd8910 Restrict dock sides after rotation
Bug: 27167078
Change-Id: If51626b75321eebc277eb2399ee753ffe489642b
2016-02-22 16:59:43 -05:00
Yohei Yukawa
5a19477ec4 Merge "Unify windowGainedFocus() and startInput()." into nyc-dev 2016-02-22 21:52:56 +00:00
Chris Craik
339fc0a1d2 Merge "Add create_trivial_array" into nyc-dev 2016-02-22 21:40:58 +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
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
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
     a82ba54b0bbc3ff41f29db3998806cb45b261d58
 [2] Icb58bef75ef4bf9979f3e2ba88cea20db2e2c3fb
     7663d80f6b6fd6ca7a736c3802013a09c0abdeb9

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 7528f57c4ddbde1c6d0a2a352bd8a1af43711013)
2016-02-22 20:39:48 +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
Jason Monk
77a2c5f56b Fix crash on QS edit immediate collapse
Bug: 27164002
Change-Id: Idd47716c08987eba14826c7b1f428c3231f9fdbd
2016-02-22 15:18:36 -05:00
Shawn Willden
272fe13331 Merge "Add option to allow key validity after fingerprint enrollment." into nyc-dev 2016-02-22 20:12:42 +00:00
Steve McKay
cddd034ca7 Merge "Move directory and roots support to own ui bots." into nyc-dev 2016-02-22 20:01:48 +00:00
Adam Lesinski
43c452eea8 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

* commit '202fbf2c34cee4d3b66fd26dec7f49259ef638b5':
  DO NOT MERGE ANYWHERE: Hack to get devices booting again.
2016-02-22 19:56:20 +00:00
Adam Lesinski
209d706d2b 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

* commit '5c918ee029276efe090e82086fd4089d7686e60f':
  DO NOT MERGE ANYWHERE: Don't change screen on time on time changes
2016-02-22 19:53:54 +00:00
Steve McKay
b9a20d10c9 Move directory and roots support to own ui bots.
Also...sorry, snowball, don't automatically open folders
    that are created in Files app. Only do this in DocumentsActivity.

Change-Id: I271655fd3566496eced4aaa7a44d5110233150a0
2016-02-22 11:50:34 -08:00
Adam Lesinski
202fbf2c34 Merge "DO NOT MERGE ANYWHERE: Hack to get devices booting again." into mnc-dr-dev am: d201f48687 -s ours
am: ab4d629294  -s ours

* commit 'ab4d62929412556b90f8927fb05602d2e630518c':
  DO NOT MERGE ANYWHERE: Hack to get devices booting again.
2016-02-22 19:44:19 +00:00
Adam Lesinski
5c918ee029 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

* commit '83fd156e2173ff65fd8afdaca1ccd20fc91a5d33':
  DO NOT MERGE ANYWHERE: Don't change screen on time on time changes
2016-02-22 19:42:04 +00:00
Keisuke Kuroyanagi
f2629d481e Merge "Make drag shadow grapheme cluster aware." into nyc-dev 2016-02-22 19:40:13 +00:00
Keisuke Kuroyanagi
5396d7eb13 Make drag shadow grapheme cluster aware.
[start, min(end, DRAG_SHADOW_MAX_TEXT_LENGTH)) was used to make drag
shadow. It ignores grapheme cluster, so unexpected shadow was created for
characters that contain multiple code units.

Bug: 23097276
Change-Id: Ic7d34ec02ea04a3f17337e4253babac87ef3b03c
2016-02-22 19:37:26 +00:00
Toni Barzic
b799d3f127 Properly handle non split system user when showing bouncer
For system user, there should be no atempt to dismiss keyguard,
but only if system user is split (i.e. not a meat user).

Change-Id: Ia2c1e7a3e197c5be72446f21b3883e853485ff26
(cherry picked from commit aa401afb4cdfd5bab441e633aee801c2a127aec2)
2016-02-22 19:32:15 +00:00
Toni Barzic
a2ab1d6932 Merge "Try to dismiss Keyguard bypassing bouncer only for active users" into nyc-dev 2016-02-22 19:31:52 +00:00
Adam Lesinski
ab4d629294 Merge "DO NOT MERGE ANYWHERE: Hack to get devices booting again." into mnc-dr-dev
am: d201f48687  -s ours

* commit 'd201f486871e825e713ae0df2f2f01e3dfff94d8':
  DO NOT MERGE ANYWHERE: Hack to get devices booting again.
2016-02-22 19:31:32 +00:00
Adam Lesinski
83fd156e21 Merge "DO NOT MERGE ANYWHERE: Don\'t change screen on time on time changes" into mnc-dr-dev
am: 3e439db8c8  -s ours

* commit '3e439db8c829023645a54eee4cd531928bccb03d':
  DO NOT MERGE ANYWHERE: Don't change screen on time on time changes
2016-02-22 19:27:18 +00:00
Tao Bao
9de7952aa9 Merge "Add support for update-on-boot feature." into nyc-dev 2016-02-22 19:24:25 +00:00
Youngsang Cho
ffd4c73a29 Merge "PIP: Rename closeInternal to closePipInternal" into nyc-dev 2016-02-22 19:22:32 +00:00
Youngsang Cho
336007ba71 PIP: Rename closeInternal to closePipInternal
Change-Id: I6e1e98a1a75728d057a7dee3edbd2f2a6f32112d
2016-02-22 11:17:29 -08:00
Felipe Leme
ab9a9b09fd Merge "Removed bugreport intents from protected list." into nyc-dev 2016-02-22 19:17:08 +00:00
Chad Brubaker
62df07eee1 Merge "Use provided context directly" into nyc-dev 2016-02-22 19:11:51 +00:00
Chad Brubaker
7879b8f4ab Use provided context directly
getApplicationContext may return null so use the provided context
instead.

Bug:27293859
Change-Id: Ic3b218bf5b0c23982c75a793f0374870bd8e9da1
2016-02-22 11:08:59 -08:00
Youngsang Cho
d78bf970ca Merge "Close PIP when PIP activity is finished" into nyc-dev 2016-02-22 19:04:29 +00:00
Felipe Leme
66d7588078 Removed bugreport intents from protected list.
These intents are send by Shell, which is not a protected uid, and
already required the android.permission.DUMP permission, hence they are
protected by permission.

BUG: 27287868
Change-Id: Ie7cfe20a119e8abe989186ca2e0ae16454b4cf22
2016-02-22 11:04:03 -08:00
Youngsang Cho
23df699451 Close PIP when PIP activity is finished
Bug: 26717072
Change-Id: I5dd431b0ee64ca152bd49013bb6bbb3e8d9fba71
2016-02-22 11:03:00 -08:00