OSDN Git Service

android-x86/frameworks-base.git
8 years agoPackageManager: add Vulkan system features
Jesse Hall [Fri, 5 Feb 2016 02:41:33 +0000 (18:41 -0800)]
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

8 years agoMerge "TIF: Add android.permission.READ_TV_LISTINGS" into nyc-dev
Jae Seo [Mon, 22 Feb 2016 23:44:46 +0000 (23:44 +0000)]
Merge "TIF: Add android.permission.READ_TV_LISTINGS" into nyc-dev

8 years agoMerge "Fix build breakage." into nyc-dev
Yohei Yukawa [Mon, 22 Feb 2016 23:22:44 +0000 (23:22 +0000)]
Merge "Fix build breakage." into nyc-dev

8 years agoMerge "Support persist.sys.audit_safemode" into nyc-dev
Sami Tolvanen [Mon, 22 Feb 2016 23:22:28 +0000 (23:22 +0000)]
Merge "Support persist.sys.audit_safemode" into nyc-dev

8 years agoFix build breakage.
Yohei Yukawa [Mon, 22 Feb 2016 23:11:49 +0000 (15:11 -0800)]
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

8 years agoMerge "Limit scheduled jobs to 100 per app" into nyc-dev
Chris Tate [Mon, 22 Feb 2016 23:10:23 +0000 (23:10 +0000)]
Merge "Limit scheduled jobs to 100 per app" into nyc-dev

8 years agoMerge "Revert "Add option to allow key validity after fingerprint enrollment."" into...
Shawn Willden [Mon, 22 Feb 2016 23:00:49 +0000 (23:00 +0000)]
Merge "Revert "Add option to allow key validity after fingerprint enrollment."" into nyc-dev

8 years agoRevert "Add option to allow key validity after fingerprint enrollment."
Shawn Willden [Mon, 22 Feb 2016 22:59:34 +0000 (22:59 +0000)]
Revert "Add option to allow key validity after fingerprint enrollment."

This reverts commit ada0fc1b05902b11401094b15480377d1b6c5a35.

Change-Id: I934b6e6af49ab680af726c544f0193dfcb80054e

8 years agoMerge "DO NOT MERGE Fix for syncs being dropped when appIdle is on" into mnc-dr-dev...
Akshay Thakker [Mon, 22 Feb 2016 22:53:27 +0000 (22:53 +0000)]
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

8 years agoMerge "DO NOT MERGE Fix for syncs being dropped when appIdle is on" into mnc-dr-dev...
Akshay Thakker [Mon, 22 Feb 2016 22:46:59 +0000 (22:46 +0000)]
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

8 years agoMerge "Implement wildcard-host policy in reference autoVerify implementation" into...
Chris Tate [Mon, 22 Feb 2016 22:41:36 +0000 (22:41 +0000)]
Merge "Implement wildcard-host policy in reference autoVerify implementation" into nyc-dev

8 years agoMerge "DO NOT MERGE Fix for syncs being dropped when appIdle is on" into mnc-dr-dev
Akshay Thakker [Mon, 22 Feb 2016 22:39:53 +0000 (22:39 +0000)]
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

8 years agoMerge "DO NOT MERGE Fix for syncs being dropped when appIdle is on" into mnc-dr-dev
Akshay Thakker [Mon, 22 Feb 2016 22:27:24 +0000 (22:27 +0000)]
Merge "DO NOT MERGE Fix for syncs being dropped when appIdle is on" into mnc-dr-dev

8 years agoMerge "Restrict dock sides after rotation" into nyc-dev
Jorim Jaggi [Mon, 22 Feb 2016 22:07:53 +0000 (22:07 +0000)]
Merge "Restrict dock sides after rotation" into nyc-dev

8 years agoSupport persist.sys.audit_safemode
Sami Tolvanen [Fri, 5 Feb 2016 22:30:45 +0000 (14:30 -0800)]
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)

8 years agoRestrict dock sides after rotation
Jorim Jaggi [Sat, 20 Feb 2016 01:12:19 +0000 (17:12 -0800)]
Restrict dock sides after rotation

Bug: 27167078
Change-Id: If51626b75321eebc277eb2399ee753ffe489642b

8 years agoMerge "Unify windowGainedFocus() and startInput()." into nyc-dev
Yohei Yukawa [Mon, 22 Feb 2016 21:52:55 +0000 (21:52 +0000)]
Merge "Unify windowGainedFocus() and startInput()." into nyc-dev

8 years agoMerge "Add create_trivial_array" into nyc-dev
Chris Craik [Mon, 22 Feb 2016 21:40:57 +0000 (21:40 +0000)]
Merge "Add create_trivial_array" into nyc-dev

8 years agoMerge "Fix leaking animation" into nyc-dev
Jorim Jaggi [Mon, 22 Feb 2016 21:18:31 +0000 (21:18 +0000)]
Merge "Fix leaking animation" into nyc-dev

8 years agoFix leaking animation
Jorim Jaggi [Sat, 20 Feb 2016 03:33:26 +0000 (19:33 -0800)]
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

8 years agoMerge "Allow button events in ambient." into nyc-dev
Anthony Hugh [Mon, 22 Feb 2016 20:46:42 +0000 (20:46 +0000)]
Merge "Allow button events in ambient." into nyc-dev

8 years agoMerge "Remove night mode from developer settings" into nyc-dev
Alan Viverette [Mon, 22 Feb 2016 20:43:59 +0000 (20:43 +0000)]
Merge "Remove night mode from developer settings" into nyc-dev

8 years agoLimit scheduled jobs to 100 per app
Christopher Tate [Fri, 19 Feb 2016 02:36:08 +0000 (18:36 -0800)]
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

8 years agoUnify windowGainedFocus() and startInput().
Yohei Yukawa [Mon, 22 Feb 2016 20:41:17 +0000 (12:41 -0800)]
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

8 years agoAllow button events in ambient.
Joe LaPenna [Fri, 22 Jan 2016 15:11:49 +0000 (07:11 -0800)]
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)

8 years agoMerge "Fix crash on QS edit immediate collapse" into nyc-dev
Jason Monk [Mon, 22 Feb 2016 20:34:26 +0000 (20:34 +0000)]
Merge "Fix crash on QS edit immediate collapse" into nyc-dev

8 years agoAdd CREATOR class to Selection.
Steve McKay [Fri, 19 Feb 2016 18:57:08 +0000 (10:57 -0800)]
Add CREATOR class to Selection.

Bug: 27236334
Change-Id: I5f50cd63b850785194fec2db3eb68e40aa7af34f

8 years agoFix crash on QS edit immediate collapse
Jason Monk [Mon, 22 Feb 2016 20:18:36 +0000 (15:18 -0500)]
Fix crash on QS edit immediate collapse

Bug: 27164002
Change-Id: Idd47716c08987eba14826c7b1f428c3231f9fdbd

8 years agoMerge "Add option to allow key validity after fingerprint enrollment." into nyc-dev
Shawn Willden [Mon, 22 Feb 2016 20:12:41 +0000 (20:12 +0000)]
Merge "Add option to allow key validity after fingerprint enrollment." into nyc-dev

8 years agoMerge "Move directory and roots support to own ui bots." into nyc-dev
Steve McKay [Mon, 22 Feb 2016 20:01:46 +0000 (20:01 +0000)]
Merge "Move directory and roots support to own ui bots." into nyc-dev

8 years agoMerge "DO NOT MERGE ANYWHERE: Hack to get devices booting again." into mnc-dr-dev...
Adam Lesinski [Mon, 22 Feb 2016 19:56:20 +0000 (19:56 +0000)]
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.

8 years agoMerge "DO NOT MERGE ANYWHERE: Don\'t change screen on time on time changes" into...
Adam Lesinski [Mon, 22 Feb 2016 19:53:54 +0000 (19:53 +0000)]
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

8 years agoMove directory and roots support to own ui bots.
Steve McKay [Fri, 19 Feb 2016 20:57:05 +0000 (12:57 -0800)]
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

8 years agoMerge "DO NOT MERGE ANYWHERE: Hack to get devices booting again." into mnc-dr-dev...
Adam Lesinski [Mon, 22 Feb 2016 19:44:19 +0000 (19:44 +0000)]
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.

8 years agoMerge "DO NOT MERGE ANYWHERE: Don\'t change screen on time on time changes" into...
Adam Lesinski [Mon, 22 Feb 2016 19:42:04 +0000 (19:42 +0000)]
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

8 years agoMerge "Make drag shadow grapheme cluster aware." into nyc-dev
Keisuke Kuroyanagi [Mon, 22 Feb 2016 19:40:12 +0000 (19:40 +0000)]
Merge "Make drag shadow grapheme cluster aware." into nyc-dev

8 years agoMake drag shadow grapheme cluster aware.
Keisuke Kuroyanagi [Fri, 19 Feb 2016 23:28:26 +0000 (15:28 -0800)]
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

8 years agoProperly handle non split system user when showing bouncer
Toni Barzic [Wed, 17 Feb 2016 23:09:10 +0000 (15:09 -0800)]
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)

8 years agoMerge "Try to dismiss Keyguard bypassing bouncer only for active users" into nyc-dev
Toni Barzic [Mon, 22 Feb 2016 19:31:51 +0000 (19:31 +0000)]
Merge "Try to dismiss Keyguard bypassing bouncer only for active users" into nyc-dev

8 years agoMerge "DO NOT MERGE ANYWHERE: Hack to get devices booting again." into mnc-dr-dev
Adam Lesinski [Mon, 22 Feb 2016 19:31:32 +0000 (19:31 +0000)]
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.

8 years agoMerge "DO NOT MERGE ANYWHERE: Don\'t change screen on time on time changes" into...
Adam Lesinski [Mon, 22 Feb 2016 19:27:18 +0000 (19:27 +0000)]
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

8 years agoMerge "Add support for update-on-boot feature." into nyc-dev
Tao Bao [Mon, 22 Feb 2016 19:24:23 +0000 (19:24 +0000)]
Merge "Add support for update-on-boot feature." into nyc-dev

8 years agoMerge "PIP: Rename closeInternal to closePipInternal" into nyc-dev
Youngsang Cho [Mon, 22 Feb 2016 19:22:31 +0000 (19:22 +0000)]
Merge "PIP: Rename closeInternal to closePipInternal" into nyc-dev

8 years agoPIP: Rename closeInternal to closePipInternal
Youngsang Cho [Mon, 22 Feb 2016 19:17:29 +0000 (11:17 -0800)]
PIP: Rename closeInternal to closePipInternal

Change-Id: I6e1e98a1a75728d057a7dee3edbd2f2a6f32112d

8 years agoMerge "Removed bugreport intents from protected list." into nyc-dev
Felipe Leme [Mon, 22 Feb 2016 19:17:07 +0000 (19:17 +0000)]
Merge "Removed bugreport intents from protected list." into nyc-dev

8 years agoMerge "Use provided context directly" into nyc-dev
Chad Brubaker [Mon, 22 Feb 2016 19:11:49 +0000 (19:11 +0000)]
Merge "Use provided context directly" into nyc-dev

8 years agoUse provided context directly
Chad Brubaker [Mon, 22 Feb 2016 19:04:57 +0000 (11:04 -0800)]
Use provided context directly

getApplicationContext may return null so use the provided context
instead.

Bug:27293859
Change-Id: Ic3b218bf5b0c23982c75a793f0374870bd8e9da1

8 years agoMerge "Close PIP when PIP activity is finished" into nyc-dev
Youngsang Cho [Mon, 22 Feb 2016 19:04:27 +0000 (19:04 +0000)]
Merge "Close PIP when PIP activity is finished" into nyc-dev

8 years agoRemoved bugreport intents from protected list.
Felipe Leme [Mon, 22 Feb 2016 19:04:03 +0000 (11:04 -0800)]
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

8 years agoClose PIP when PIP activity is finished
Youngsang Cho [Wed, 27 Jan 2016 01:51:33 +0000 (17:51 -0800)]
Close PIP when PIP activity is finished

Bug: 26717072
Change-Id: I5dd431b0ee64ca152bd49013bb6bbb3e8d9fba71

8 years agoRemove night mode from developer settings
Alan Viverette [Mon, 22 Feb 2016 18:30:17 +0000 (13:30 -0500)]
Remove night mode from developer settings

It's in SysUI Tuner now.

Change-Id: Id8fbce5462fc0a317c56f70ab2dbb2ffc004ffeb

8 years agoMerge "Improved OpenExternalDirectoryActivity so it returns right away when an app...
Felipe Leme [Mon, 22 Feb 2016 18:55:21 +0000 (18:55 +0000)]
Merge "Improved OpenExternalDirectoryActivity so it returns right away when an app already has the requested permission." into nyc-dev

8 years agoMerge "Fix crash when clearing all notifications" into nyc-dev
Mady Mellor [Mon, 22 Feb 2016 18:54:39 +0000 (18:54 +0000)]
Merge "Fix crash when clearing all notifications" into nyc-dev

8 years agoMerge "DO NOT MERGE ANYWHERE: Hack to get devices booting again." into mnc-dr-dev
Adam Lesinski [Mon, 22 Feb 2016 18:47:11 +0000 (18:47 +0000)]
Merge "DO NOT MERGE ANYWHERE: Hack to get devices booting again." into mnc-dr-dev

8 years agoMerge "DO NOT MERGE ANYWHERE: Don't change screen on time on time changes" into mnc...
Adam Lesinski [Mon, 22 Feb 2016 18:47:02 +0000 (18:47 +0000)]
Merge "DO NOT MERGE ANYWHERE: Don't change screen on time on time changes" into mnc-dr-dev

8 years agoFix crash when clearing all notifications
Mady Mellor [Mon, 22 Feb 2016 18:43:35 +0000 (10:43 -0800)]
Fix crash when clearing all notifications

Bug: 27284789

8 years agoTry to dismiss Keyguard bypassing bouncer only for active users
Toni Barzic [Thu, 4 Feb 2016 23:14:49 +0000 (15:14 -0800)]
Try to dismiss Keyguard bypassing bouncer only for active users

Some bouncers might allow showing keyguards for users that are not
currently active (e.g. before any user is signed in, in which case the
system user is active). Make sure that keyguard is not dismissed
without showing bouncer in these cases.

Change-Id: I0e037b2d4e095d49c1f0d06a9fe1b9a6233421b0
(cherry picked from commit aa69fd417f32435d7d7c06f8d033efa7fa21475a)

8 years agoMerge "Directory fragment refactoring. First attempt to to refactor fragments handlin...
Aga Wronska [Mon, 22 Feb 2016 18:28:40 +0000 (18:28 +0000)]
Merge "Directory fragment refactoring. First attempt to to refactor fragments handling, state and app lifecycle." into nyc-dev

8 years agoMerge "Construct classloader for apps with no java code" into nyc-dev
Dimitry Ivanov [Mon, 22 Feb 2016 18:24:12 +0000 (18:24 +0000)]
Merge "Construct classloader for apps with no java code" into nyc-dev

8 years agoMerge "sysui: refactor for extensibility" into nyc-dev
Xiaohui Chen [Mon, 22 Feb 2016 18:09:29 +0000 (18:09 +0000)]
Merge "sysui: refactor for extensibility" into nyc-dev

8 years agoMerge "Ensure animator's interpolator is set" into nyc-dev
Doris Liu [Mon, 22 Feb 2016 18:08:05 +0000 (18:08 +0000)]
Merge "Ensure animator's interpolator is set" into nyc-dev

8 years agosysui: refactor for extensibility
Xiaohui Chen [Mon, 22 Feb 2016 18:04:41 +0000 (10:04 -0800)]
sysui: refactor for extensibility

Bug: 27098035
Change-Id: I9ce480a5995f354ad45b6f13112cfa1ab49934cd

8 years agoDirectory fragment refactoring.
Aga Wronska [Wed, 17 Feb 2016 21:50:42 +0000 (13:50 -0800)]
Directory fragment refactoring.
First attempt to to refactor fragments handling, state and app lifecycle.

The goal was to simplify code by using android built lifecycle
mechanism, eliminate bugs caused by multiple creation of the fragment,
see the performance impact and give some fundament for refactoring of
fragments and activities in the app.

Search view manager:
    * Remove curentSearch from state
    * Restore search from saved state (ex. after rotation)
    * Rename file  to give the better overview of its purpose

Directory fragment:
    * Store selection state in a bundle
    * Remove double creation of fragment
    * Use loaders to reload content when possible
    * Keep info about state inside the object
    * Refactor available types of fragment to be normal and recents
    * Make search type a mode possibly available in all types
    * Remove search being invoked from refresh method
    * Do search by reloading fragments content instead of recreation as
      an example

Other:
    * Fix window title maybe

Bug: 2696840527101786
Change-Id: I58f36cd0a3e3a6ec98996cd8aac16e10e425e1fe

8 years agoRemove layoutlib RunQueue implementation
Diego Perez [Mon, 22 Feb 2016 17:16:50 +0000 (17:16 +0000)]
Remove layoutlib RunQueue implementation

Change-Id: Id2b666f086a48f101ff7ef4177fe28ad17d10783

8 years agoMerge "Revert "Add defaultPeriodic to every authority"" into nyc-dev
Shreyas Basarge [Mon, 22 Feb 2016 16:48:13 +0000 (16:48 +0000)]
Merge "Revert "Add defaultPeriodic to every authority"" into nyc-dev

8 years agoMerge "Migrate PeriodicSyncs from old format" into nyc-dev
Shreyas Basarge [Mon, 22 Feb 2016 16:48:01 +0000 (16:48 +0000)]
Merge "Migrate PeriodicSyncs from old format" into nyc-dev

8 years agoMerge "Fix rounding error in SeekBar tickmark drawing" into nyc-dev
Chris Banes [Mon, 22 Feb 2016 16:26:56 +0000 (16:26 +0000)]
Merge "Fix rounding error in SeekBar tickmark drawing" into nyc-dev

8 years agoDO NOT MERGE: Fix Canvas memory leak
Diego Perez [Mon, 22 Feb 2016 16:19:12 +0000 (16:19 +0000)]
DO NOT MERGE: Fix Canvas memory leak
am: b75a0426d8

* commit 'b75a0426d8c2339f2d552f96cc4dfcd86deb3447':
  DO NOT MERGE: Fix Canvas memory leak

8 years agoFix rounding error in SeekBar tickmark drawing
Chris Banes [Mon, 22 Feb 2016 16:11:10 +0000 (16:11 +0000)]
Fix rounding error in SeekBar tickmark drawing

There are instances where an int calculation would result
in a loss of precision and rounding error. Fixed by
using a float instead.

Change-Id: I595872f00552a7fd717a1754c1d8f5a50d776621

8 years agoMerge "Fix Canvas memory leak" into nyc-dev
Diego Perez [Mon, 22 Feb 2016 16:06:59 +0000 (16:06 +0000)]
Merge "Fix Canvas memory leak" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Mon, 22 Feb 2016 15:29:57 +0000 (15:29 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 22 Feb 2016 15:28:16 +0000 (07:28 -0800)]
Import translations. DO NOT MERGE

Change-Id: Ibf2edd0cc4c1d2d8f11d5ee489e6e9729d2d2b5e
Auto-generated-cl: translation import

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Mon, 22 Feb 2016 15:20:55 +0000 (15:20 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Mon, 22 Feb 2016 15:18:33 +0000 (15:18 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Mon, 22 Feb 2016 15:16:07 +0000 (15:16 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 22 Feb 2016 15:15:15 +0000 (07:15 -0800)]
Import translations. DO NOT MERGE

Change-Id: I6e5ad383334c184105b8eca9baf79db8b0943f66
Auto-generated-cl: translation import

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 22 Feb 2016 15:14:18 +0000 (07:14 -0800)]
Import translations. DO NOT MERGE

Change-Id: Iebbd1c6ecbf4dac53728e87b9ba0b9f00687b2d4
Auto-generated-cl: translation import

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 22 Feb 2016 15:11:59 +0000 (07:11 -0800)]
Import translations. DO NOT MERGE

Change-Id: I5f452609d36a3b910e3fadab6f31913371da0f19
Auto-generated-cl: translation import

8 years agoFix Canvas memory leak
Diego Perez [Mon, 1 Feb 2016 11:48:16 +0000 (11:48 +0000)]
Fix Canvas memory leak

Every RenderSession would call the AttachInfo.setAttachInfo but wouldn't
issue a View.dispatchDetachedFromWindow.
This caused some Canvas to be slowly leaked in the DelegateManager in
every session.

Change-Id: Iec418a86f5c5e55c2a2860ef945268c51c0e8173

8 years agoMerge "Move background data notif to data saver status icon" into nyc-dev
Jason Monk [Mon, 22 Feb 2016 14:57:32 +0000 (14:57 +0000)]
Merge "Move background data notif to data saver status icon" into nyc-dev

8 years agoMove background data notif to data saver status icon
Jason Monk [Fri, 22 Jan 2016 21:45:21 +0000 (16:45 -0500)]
Move background data notif to data saver status icon

Bug: 26796370
Change-Id: Ibf53c3affa63100b603e362b58ca6d2958791321

8 years agoDO NOT MERGE: Fix Canvas memory leak
Diego Perez [Mon, 1 Feb 2016 11:48:16 +0000 (11:48 +0000)]
DO NOT MERGE: Fix Canvas memory leak

Every RenderSession would call the AttachInfo.setAttachInfo but wouldn't
issue a View.dispatchDetachedFromWindow.
This caused some Canvas to be slowly leaked in the DelegateManager in
every session.

Change-Id: Ib0392303e6d00a4fe5494ae484f28135b1fe6b28

8 years agoMerge "Use UserAccounts handed into accountExistsCacheLocked" into nyc-dev
Benjamin Franz [Mon, 22 Feb 2016 14:07:34 +0000 (14:07 +0000)]
Merge "Use UserAccounts handed into accountExistsCacheLocked" into nyc-dev

8 years agoUse UserAccounts handed into accountExistsCacheLocked
Benjamin Franz [Mon, 22 Feb 2016 13:41:53 +0000 (13:41 +0000)]
Use UserAccounts handed into accountExistsCacheLocked

Use the object we get handed rather than obtaining the one for the
calling user. We're previously clearing the caller, so the calling user
might not be the same as the one we used to obtain accounts object.

Bug: 27285299
Change-Id: Ie384bca83779593f6569bccea3c2851083ace31d

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Mon, 22 Feb 2016 13:30:35 +0000 (13:30 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Updated removeActiveAdmin documentation" into nyc-dev
Esteban Talavera [Mon, 22 Feb 2016 13:25:14 +0000 (13:25 +0000)]
Merge "Updated removeActiveAdmin documentation" into nyc-dev

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 22 Feb 2016 13:20:26 +0000 (08:20 -0500)]
Import translations. DO NOT MERGE

Change-Id: I63b3fcce838f0d2fd12f5b0c9382480bac783e56
Auto-generated-cl: translation import

8 years agoMerge "Add stubs needed to enable javac to compile lambdas" into nyc-dev
Neil Fuller [Mon, 22 Feb 2016 11:55:29 +0000 (11:55 +0000)]
Merge "Add stubs needed to enable javac to compile lambdas" into nyc-dev

8 years agoMerge "Change the location of profile files." into nyc-dev
Calin Juravle [Mon, 22 Feb 2016 11:41:59 +0000 (11:41 +0000)]
Merge "Change the location of profile files." into nyc-dev

8 years agoMerge "Added hardwareproperties SystemService" into nyc-dev
Polina Bondarenko [Mon, 22 Feb 2016 09:27:20 +0000 (09:27 +0000)]
Merge "Added hardwareproperties SystemService" into nyc-dev

8 years agoDelete all NetworkUtils DHCP-related code.
Erik Kline [Mon, 22 Feb 2016 09:16:16 +0000 (09:16 +0000)]
Delete all NetworkUtils DHCP-related code.
am: c3b52bc466

* commit 'c3b52bc46604cb18d74fbe13dda15f4679222107':
  Delete all NetworkUtils DHCP-related code.

8 years agoresolve merge conflicts of b242549166 to nyc-dev
Erik Kline [Mon, 22 Feb 2016 06:42:07 +0000 (15:42 +0900)]
resolve merge conflicts of b242549166 to nyc-dev

Change-Id: I42d4cac95a209fdfae5769d75d90f004a94d60a4

8 years agoDelete all NetworkUtils DHCP-related code.
Erik Kline [Thu, 18 Feb 2016 11:06:02 +0000 (20:06 +0900)]
Delete all NetworkUtils DHCP-related code.

Bug: 26991160
Change-Id: I2c74e0161f43f65c1b6a85dc9f294b64c8f1ae6e

8 years agoGive bluetooth sufficient capabilities to run DhcpClient
Erik Kline [Thu, 18 Feb 2016 12:59:31 +0000 (21:59 +0900)]
Give bluetooth sufficient capabilities to run DhcpClient

Specifically:
    CAP_NET_RAW
    CAP_NET_BIND_SERVICE

Bug: 26991160
Change-Id: I2afddc9efa3b613d974afb0ea33703948203d99a

8 years agoAdd WaitForProvisioningCallback
Erik Kline [Mon, 22 Feb 2016 04:29:37 +0000 (04:29 +0000)]
Add WaitForProvisioningCallback
am: 111d55658b

* commit '111d55658bce1bcc3eb61b4aeaa4d8a256165b02':
  Add WaitForProvisioningCallback

8 years agoSupport setting TCP buffer sizes and HTTP Proxy config
Erik Kline [Mon, 22 Feb 2016 04:11:28 +0000 (04:11 +0000)]
Support setting TCP buffer sizes and HTTP Proxy config
am: d0e843b8ef

* commit 'd0e843b8ef4218ba8f69a8a53b3eeaf21e667deb':
  Support setting TCP buffer sizes and HTTP Proxy config

8 years agoAdd WaitForProvisioningCallback
Erik Kline [Fri, 19 Feb 2016 06:48:22 +0000 (15:48 +0900)]
Add WaitForProvisioningCallback

This centralizes code that is shared by both bluetooth and ethernet
transport layers.

Bug: 26991160
Change-Id: I8e2dd8580c29c86394119768e3a5529850b4b859

8 years agoSupport setting TCP buffer sizes and HTTP Proxy config
Erik Kline [Wed, 17 Feb 2016 13:53:03 +0000 (22:53 +0900)]
Support setting TCP buffer sizes and HTTP Proxy config

This allows IpManager to send callback recipients a more satisfying
LinkProperties.

Bug: 26991160
Change-Id: I2eb60dc633e5be38dad9410a1096d0095ddf57a0

8 years agoMerge "MediaSession: Add new methods for preparing media content" into nyc-dev
Donghyun Cho [Mon, 22 Feb 2016 03:38:54 +0000 (03:38 +0000)]
Merge "MediaSession: Add new methods for preparing media content" into nyc-dev

8 years agoMerge "Update object info when writing a file." into nyc-dev
Daichi Hirono [Mon, 22 Feb 2016 03:07:30 +0000 (03:07 +0000)]
Merge "Update object info when writing a file." into nyc-dev