OSDN Git Service

android-x86/frameworks-base.git
8 years agoResetting the native shader instance when the shader changes.
Winson [Thu, 14 Jan 2016 20:53:28 +0000 (12:53 -0800)]
Resetting the native shader instance when the shader changes.

Change-Id: Ib4f8f02d2b777049072e33eabf07d00945c08779

8 years agoMerge "AAPT2: Accept zip, jack, jar, and flata extensions as archives"
Adam Lesinski [Thu, 14 Jan 2016 23:19:18 +0000 (23:19 +0000)]
Merge "AAPT2: Accept zip, jack, jar, and flata extensions as archives"

8 years agoAAPT2: Accept zip, jack, jar, and flata extensions as archives
Adam Lesinski [Thu, 14 Jan 2016 23:17:41 +0000 (15:17 -0800)]
AAPT2: Accept zip, jack, jar, and flata extensions as archives

Change-Id: I3a4db129998e2351e8221f9d72a4b40d2c7a8cf9

8 years agoMerge "Fix "leak" in FrameBuilder.textureLayer test"
John Reck [Thu, 14 Jan 2016 23:14:49 +0000 (23:14 +0000)]
Merge "Fix "leak" in FrameBuilder.textureLayer test"

8 years agoMerge "Verify APKs using APK Signature Scheme v2."
Alex Klyubin [Thu, 14 Jan 2016 23:14:46 +0000 (23:14 +0000)]
Merge "Verify APKs using APK Signature Scheme v2."

8 years agoMerge "Indicator for task auto-select"
Winson Chung [Thu, 14 Jan 2016 23:13:59 +0000 (23:13 +0000)]
Merge "Indicator for task auto-select"

8 years agoFix "leak" in FrameBuilder.textureLayer test
John Reck [Thu, 14 Jan 2016 23:09:10 +0000 (15:09 -0800)]
Fix "leak" in FrameBuilder.textureLayer test

DeferredLayerUpdater always did a post to delete itself, which
would result in the test thinking it had leaked an object since
it wasn't deleted when it returned. Fix this by deleting immediately
if we're already on the right thread.

Remove RenderState's requireGlContext assert as it's now
covered by GpuMemoryTracker, which is also more test friendly.
RenderState's assert required an actual EGL context, which we
don't mock away in unit tests.

Change-Id: Ic23eb54e7151355f7acca483d7464350c9d6a87f

8 years agoMerge "Fix leak in OffscreenBufferPoolTests"
John Reck [Thu, 14 Jan 2016 22:59:24 +0000 (22:59 +0000)]
Merge "Fix leak in OffscreenBufferPoolTests"

8 years agoMerge "Clean up API for PrinterInfo."
Philip P. Moltmann [Thu, 14 Jan 2016 22:51:39 +0000 (22:51 +0000)]
Merge "Clean up API for PrinterInfo."

8 years agoFix leak in OffscreenBufferPoolTests
John Reck [Thu, 14 Jan 2016 22:47:07 +0000 (14:47 -0800)]
Fix leak in OffscreenBufferPoolTests

Change-Id: Ic16df75bdc01d902639df98bc6798d9383510342

8 years agoMerge "Fix @IntDef annotation javadoc"
Tor Norbye [Thu, 14 Jan 2016 22:38:28 +0000 (22:38 +0000)]
Merge "Fix @IntDef annotation javadoc"

8 years agoIndicator for task auto-select
Peter Schiller [Sat, 12 Dec 2015 05:31:17 +0000 (21:31 -0800)]
Indicator for task auto-select

Change-Id: I081222b84a5f90e77890724977821ed481fe3924

8 years agoMerge "Installing packages always needs to create dirs."
Jeff Sharkey [Thu, 14 Jan 2016 22:30:24 +0000 (22:30 +0000)]
Merge "Installing packages always needs to create dirs."

8 years agoInstalling packages always needs to create dirs.
Jeff Sharkey [Thu, 14 Jan 2016 22:28:58 +0000 (15:28 -0700)]
Installing packages always needs to create dirs.

When we're installing an existing app for a user, we still need to
create the private data storage for that app.

Bug: 26554043
Change-Id: Ie18e0952600f860325718f84094aedeac3681403

8 years agoAdd support for AVRCP 1.3.
Sanket Agarwal [Thu, 22 Oct 2015 01:23:27 +0000 (18:23 -0700)]
Add support for AVRCP 1.3.

* Add metadata support.
* Add player settings support.
* Add playback support.

A2DP Settings App support.

Bluetooth: A2DP Sink support for Settings App

- add support for A2DP Sink in Settings App. This will enable connection
  initiation and updation on Settings App
- add framework Apis to support A2DP Sink. Any third party Apps can access
  A2DP Sink priority of device and playing state of device
- add support for key to set priority. This manages priority of device for
  A2DP Sink profile

Change-Id: If5f9139f37cdb9d200387877c7801075205c78a0

8 years agoMerge "Track texture memory globally"
John Reck [Thu, 14 Jan 2016 21:49:42 +0000 (21:49 +0000)]
Merge "Track texture memory globally"

8 years agoMerge "Trap SIGABRT in RenderThread for unit tests"
John Reck [Thu, 14 Jan 2016 21:49:30 +0000 (21:49 +0000)]
Merge "Trap SIGABRT in RenderThread for unit tests"

8 years agoTrap SIGABRT in RenderThread for unit tests
John Reck [Thu, 14 Jan 2016 20:34:46 +0000 (12:34 -0800)]
Trap SIGABRT in RenderThread for unit tests

Change-Id: Icc1039543d975497808a8062e9d909537c4a29c9

8 years agoMerge "Fix crash in forceViewsToAppear"
George Mount [Thu, 14 Jan 2016 21:43:13 +0000 (21:43 +0000)]
Merge "Fix crash in forceViewsToAppear"

8 years agoTrack texture memory globally
John Reck [Tue, 10 Nov 2015 20:19:17 +0000 (12:19 -0800)]
Track texture memory globally

Also mostly consolidates texture creation

Change-Id: Ifea01303afda531dcec99b8fe2a0f64cf2f24420

8 years agoFix crash in forceViewsToAppear
George Mount [Thu, 14 Jan 2016 16:24:20 +0000 (08:24 -0800)]
Fix crash in forceViewsToAppear

Bug 26549234

Change-Id: I57cfc8ea8831d46a2846b36b2ac4acff2112b414

8 years agoMerge "MediaResourceMonitorService: Lift the condition for launching"
Dongwon Kang [Thu, 14 Jan 2016 21:14:54 +0000 (21:14 +0000)]
Merge "MediaResourceMonitorService: Lift the condition for launching"

8 years agoClean up API for PrinterInfo.
Philip P. Moltmann [Wed, 13 Jan 2016 17:17:15 +0000 (09:17 -0800)]
Clean up API for PrinterInfo.

- Make immutable
- Check parameters
- Check state while unparcelling

Change-Id: I13959845ca508936331488506380e894f49abf25

8 years agoMerge "Fixed bug with wrong task bounds when device is rotated 180°"
Wale Ogunwale [Thu, 14 Jan 2016 20:41:35 +0000 (20:41 +0000)]
Merge "Fixed bug with wrong task bounds when device is rotated 180°"

8 years agoMerge "Introduce SuggestionSpan#getLocaleObject()."
Yohei Yukawa [Thu, 14 Jan 2016 20:36:53 +0000 (20:36 +0000)]
Merge "Introduce SuggestionSpan#getLocaleObject()."

8 years agoIntroduce SuggestionSpan#getLocaleObject().
Yohei Yukawa [Thu, 14 Jan 2016 20:16:06 +0000 (12:16 -0800)]
Introduce SuggestionSpan#getLocaleObject().

This is a series of CLs to promote Java Locale object as a primary data
object to represent locale information in Android APIs.

With this CL, developers can get Locale information from SuggestionSpan
without semantically losing the original data.  Possible use cases would
be:
 - Emoji subtag (CLDR Ticket #9063)
 - Stable and reliable 3-letter country codes handling
 - Custom attributes based on private extensions.

Note that this CL does not change the current behavior of
SuggestionSpan#getLocale() as is, even if it is created with a malformed
Locale object:

  new SuggestionSpan(new Locale(" a ", " b c ", " e"), new String[0], 0)
          .getLocale() -> " a  b c  e".

Bug: 22858221
Change-Id: I96dfd4f819a236ee2e6dbd3e12903d1214223cb0

8 years agoUpdate TestWindowContext to work with new HWUI ops.
Derek Sollenberger [Thu, 14 Jan 2016 19:22:53 +0000 (14:22 -0500)]
Update TestWindowContext to work with new HWUI ops.

This enables HWUI to be testing within Skia's infrastructure and
fixes skia bug 4775.

Change-Id: I242b9e4c5ed0f4523b6075d8825a2624235a01c7

8 years agoMerge "Don't full-data back up apps in foreground-equivalent state"
Chris Tate [Thu, 14 Jan 2016 19:15:42 +0000 (19:15 +0000)]
Merge "Don't full-data back up apps in foreground-equivalent state"

8 years agoMerge "Clarify interaction between setPivot() and setPivotRelative()"
Alan Viverette [Thu, 14 Jan 2016 19:10:21 +0000 (19:10 +0000)]
Merge "Clarify interaction between setPivot() and setPivotRelative()"

8 years agoDon't full-data back up apps in foreground-equivalent state
Christopher Tate [Sat, 12 Dec 2015 02:35:28 +0000 (18:35 -0800)]
Don't full-data back up apps in foreground-equivalent state

We have to kill the app and bring it up in a controlled lifecycle mode
in order to do full-data backup, and if it's e.g. playing media, this
is hugely disruptive.  Instead, we now check whether an app being
considered for full-data backup is in a user-observable state, and
defer its backup if so.  We don't kick it all the way down the
daily-backup cycle in this situation -- we set it up to retry the
backup in just a few hours.

Bug 25960428

Change-Id: I576f25c6fb07545565f59bd685624c612b9c5ffd

8 years agoMerge "Log render pipeline in gfxinfo dump"
Chris Craik [Thu, 14 Jan 2016 18:58:54 +0000 (18:58 +0000)]
Merge "Log render pipeline in gfxinfo dump"

8 years agoMerge "Explicitly pass userId to getWindowToken"
Fyodor Kupolov [Thu, 14 Jan 2016 18:37:18 +0000 (18:37 +0000)]
Merge "Explicitly pass userId to getWindowToken"

8 years agoLog render pipeline in gfxinfo dump
Chris Craik [Thu, 14 Jan 2016 18:04:08 +0000 (10:04 -0800)]
Log render pipeline in gfxinfo dump

Change-Id: Ia50c445b29d918f274ec45632d61d8b8479c72eb

8 years agoClarify interaction between setPivot() and setPivotRelative()
Alan Viverette [Thu, 14 Jan 2016 18:18:39 +0000 (13:18 -0500)]
Clarify interaction between setPivot() and setPivotRelative()

Change-Id: I108df5170f702b4938b4fe7fa35ed42d4a8a2d5d

8 years agoMediaResourceMonitorService: Lift the condition for launching
Dongwon Kang [Thu, 14 Jan 2016 18:10:22 +0000 (10:10 -0800)]
MediaResourceMonitorService: Lift the condition for launching

Bug:26548364
Change-Id: If10a8b1c4b2dcdcdab16c9dcc899d37af1224505

8 years agoAdd WifiConfiguration.shared flag
Bartosz Fabianowski [Thu, 14 Jan 2016 17:24:52 +0000 (17:24 +0000)]
Add WifiConfiguration.shared flag
am: 6fb0756d2f

* commit '6fb0756d2f59d70507919350f6192718b5d3f630':
  Add WifiConfiguration.shared flag

8 years agoMerge "Swap in the correct home icon."
Ben Kwa [Thu, 14 Jan 2016 17:19:36 +0000 (17:19 +0000)]
Merge "Swap in the correct home icon."

8 years agoFixed bug with wrong task bounds when device is rotated 180°
Wale Ogunwale [Thu, 14 Jan 2016 16:52:30 +0000 (08:52 -0800)]
Fixed bug with wrong task bounds when device is rotated 180°

When the device rotation changes we were rotating the task bounds
for tasks whose bounds shouldn't change independently from its
stack. This can cause the task and it windows to not show on screen
since they can end up outside the stack crop.
We now let the stack take care of the rotation for tasks that shouldn't
be resized independently of their stack.

Bug: 25970565
Change-Id: I82b78fbe233b57a4fd5df967f109eb532e0579d5

8 years agoMerge "Made changes to padlock support for preferences."
Sudheer Shanka [Thu, 14 Jan 2016 16:38:35 +0000 (16:38 +0000)]
Merge "Made changes to padlock support for preferences."

8 years agoMade changes to padlock support for preferences.
Sudheer Shanka [Wed, 13 Jan 2016 19:57:11 +0000 (19:57 +0000)]
Made changes to padlock support for preferences.

- Currently, if a preference is disabled by admin, we add a padlock and disable
the preference. And now if the preference is enabled in some other place, the
padlock is not removed. Updated RestrictedPreference to fix this
behavior.
- Made RestrictedPreferenceHelper and
RestrictedPreferenceHelper.onAttachedToHierarchy public so that preferences in
Settings can use these.
- Put a check for null to avoid NullPointerException.
- Removed a redundant statement.

Change-Id: Ie88a761dc38c58a680c62b3703d2081c67462079

8 years agoMerge "Add IntDefs for Animator and Transition classes."
George Mount [Thu, 14 Jan 2016 16:21:27 +0000 (16:21 +0000)]
Merge "Add IntDefs for Animator and Transition classes."

8 years agoSwap in the correct home icon.
Ben Kwa [Thu, 14 Jan 2016 16:21:05 +0000 (08:21 -0800)]
Swap in the correct home icon.

BUG=25793423

Change-Id: I55ef5fbc6d6c1497ef4b761f3af236ba5e7e6bbe

8 years agoAdd WifiConfiguration.shared flag
Bartosz Fabianowski [Tue, 12 Jan 2016 14:43:19 +0000 (15:43 +0100)]
Add WifiConfiguration.shared flag

* Add boolean WifiConfiguration.shared, which indicates whether a network
  is shared (visible to and usable by all users) or private (visible to
  and usable only by the user who created it)
* Extend WifiConfiguration.configKey(...) so that when two users create
  private configurations for the same network, their configurationKeys
  will be different.
* Make AccessPoint.matches(...) take into account the shared flag

BUG=25600871

Change-Id: I4a4335fa3b4b4f850e16748583a29ab66992ddc8

8 years agoMerge "Clean up CalendarView docs and annotations"
Alan Viverette [Thu, 14 Jan 2016 16:17:26 +0000 (16:17 +0000)]
Merge "Clean up CalendarView docs and annotations"

8 years agoMerge "Clean up night mode documentation"
Alan Viverette [Thu, 14 Jan 2016 16:16:30 +0000 (16:16 +0000)]
Merge "Clean up night mode documentation"

8 years agoMerge "Apply menu callbacks to existing Toolbar menu view"
Alan Viverette [Thu, 14 Jan 2016 16:16:00 +0000 (16:16 +0000)]
Merge "Apply menu callbacks to existing Toolbar menu view"

8 years agoMerge "Add restricted padlocks to tiles in quick settings."
Sudheer Shanka [Thu, 14 Jan 2016 16:11:12 +0000 (16:11 +0000)]
Merge "Add restricted padlocks to tiles in quick settings."

8 years agoMerge "Fix for syncs being dropped when appIdle is on"
Shreyas Basarge [Thu, 14 Jan 2016 15:54:41 +0000 (15:54 +0000)]
Merge "Fix for syncs being dropped when appIdle is on"

8 years agoMerge "Fix race condition when setting default ringtones"
Marco Nelissen [Thu, 14 Jan 2016 15:42:42 +0000 (15:42 +0000)]
Merge "Fix race condition when setting default ringtones"

8 years agoMerge "Always-on app VPNs"
Robin Lee [Thu, 14 Jan 2016 11:37:18 +0000 (11:37 +0000)]
Merge "Always-on app VPNs"

8 years agoFix race condition when setting default ringtones
Marco Nelissen [Fri, 6 Nov 2015 00:44:52 +0000 (16:44 -0800)]
Fix race condition when setting default ringtones

If the device was powered off during first boot, after media scanner
inserted some entries but before the default ringtone settings were
set (or committed to disk), the default settings would not be set
on subsequent boots.

Bug: 18625739
Bug: 22349910
Bug: 25633323
Change-Id: I8ff5d3c4f842297d0675e1f5cbe17c0709a14158

8 years agoMerge "Fix race condition when setting default ringtones" into mnc-dr1.5-dev am:...
Justin Harrison [Thu, 14 Jan 2016 08:43:45 +0000 (08:43 +0000)]
Merge "Fix race condition when setting default ringtones" into mnc-dr1.5-dev am: e41a6c8b19 am: 2363da89a4
am: 5cb336586e  -s ours

* commit '5cb336586e55e6add5aec1d87ee8848657d9051d':
  Fix race condition when setting default ringtones

8 years agoMerge "Allow turning off Wi-Fi when emergency call is made [DO NOT MERGE]" into mnc...
Amit Mahajan [Thu, 14 Jan 2016 08:09:30 +0000 (08:09 +0000)]
Merge "Allow turning off Wi-Fi when emergency call is made [DO NOT MERGE]" into mnc-dr1.5-dev am: c6c9b2aa66 am: cd097ff856
am: 2bb7707e00  -s ours

* commit '2bb7707e00922d2f614b8d92bdf3e62dfa6fd80d':
  Allow turning off Wi-Fi when emergency call is made [DO NOT MERGE]

8 years agoMerge "DO NOT MERGE Adding new intent for EMERGENCY_CALL_STATE_CHANGE" into mnc-dr1...
Amit Mahajan [Thu, 14 Jan 2016 08:07:45 +0000 (08:07 +0000)]
Merge "DO NOT MERGE Adding new intent for EMERGENCY_CALL_STATE_CHANGE" into mnc-dr1.5-dev am: 658fdf8426 am: 2b260b0006
am: fa86813a56  -s ours

* commit 'fa86813a56cf631b4609387e8ef5ed9e82b47eac':
  DO NOT MERGE Adding new intent for EMERGENCY_CALL_STATE_CHANGE

8 years agoMerge "Add a test for createDocument and getPartialObject."
Daichi Hirono [Thu, 14 Jan 2016 07:46:43 +0000 (07:46 +0000)]
Merge "Add a test for createDocument and getPartialObject."

8 years agoMerge "Fix race condition when setting default ringtones" into mnc-dr1.5-dev am:...
Justin Harrison [Thu, 14 Jan 2016 06:48:37 +0000 (06:48 +0000)]
Merge "Fix race condition when setting default ringtones" into mnc-dr1.5-dev am: e41a6c8b19
am: 2363da89a4

* commit '2363da89a431d8809c49e4bb9568f63887e6e33e':
  Fix race condition when setting default ringtones

8 years agoMerge "Fix race condition when setting default ringtones" into mnc-dr1.5-dev
Justin Harrison [Thu, 14 Jan 2016 06:44:21 +0000 (06:44 +0000)]
Merge "Fix race condition when setting default ringtones" into mnc-dr1.5-dev
am: e41a6c8b19

* commit 'e41a6c8b19482a05a98e77d13281f7f14056f119':
  Fix race condition when setting default ringtones

8 years agoMerge "Fix race condition when setting default ringtones" into mnc-dr1.5-dev
Justin Harrison [Thu, 14 Jan 2016 06:42:20 +0000 (06:42 +0000)]
Merge "Fix race condition when setting default ringtones" into mnc-dr1.5-dev

8 years agoMerge "Allow turning off Wi-Fi when emergency call is made [DO NOT MERGE]" into mnc...
Amit Mahajan [Thu, 14 Jan 2016 06:38:27 +0000 (06:38 +0000)]
Merge "Allow turning off Wi-Fi when emergency call is made [DO NOT MERGE]" into mnc-dr1.5-dev am: c6c9b2aa66
am: cd097ff856

* commit 'cd097ff856b800e3d6b991adfe2316007ddb9957':
  Allow turning off Wi-Fi when emergency call is made [DO NOT MERGE]

8 years agoMerge "DO NOT MERGE Adding new intent for EMERGENCY_CALL_STATE_CHANGE" into mnc-dr1...
Amit Mahajan [Thu, 14 Jan 2016 06:34:46 +0000 (06:34 +0000)]
Merge "DO NOT MERGE Adding new intent for EMERGENCY_CALL_STATE_CHANGE" into mnc-dr1.5-dev am: 658fdf8426
am: 2b260b0006

* commit '2b260b0006403e6be39015c12e422f9782ce6877':
  DO NOT MERGE Adding new intent for EMERGENCY_CALL_STATE_CHANGE

8 years agoMerge "Allow turning off Wi-Fi when emergency call is made [DO NOT MERGE]" into mnc...
Amit Mahajan [Thu, 14 Jan 2016 06:33:00 +0000 (06:33 +0000)]
Merge "Allow turning off Wi-Fi when emergency call is made [DO NOT MERGE]" into mnc-dr1.5-dev
am: c6c9b2aa66

* commit 'c6c9b2aa66635761b5cebc2faf9e06631c36eab5':
  Allow turning off Wi-Fi when emergency call is made [DO NOT MERGE]

8 years agoMerge "DO NOT MERGE Adding new intent for EMERGENCY_CALL_STATE_CHANGE" into mnc-dr1...
Amit Mahajan [Thu, 14 Jan 2016 06:30:15 +0000 (06:30 +0000)]
Merge "DO NOT MERGE Adding new intent for EMERGENCY_CALL_STATE_CHANGE" into mnc-dr1.5-dev
am: 658fdf8426

* commit '658fdf8426e5c0fb68b7c04af651eae93a32b4b4':
  DO NOT MERGE Adding new intent for EMERGENCY_CALL_STATE_CHANGE

8 years agoMerge "Allow turning off Wi-Fi when emergency call is made [DO NOT MERGE]" into mnc...
Amit Mahajan [Thu, 14 Jan 2016 06:28:47 +0000 (06:28 +0000)]
Merge "Allow turning off Wi-Fi when emergency call is made [DO NOT MERGE]" into mnc-dr1.5-dev

8 years agoMerge "DO NOT MERGE Adding new intent for EMERGENCY_CALL_STATE_CHANGE" into mnc-dr1...
Amit Mahajan [Thu, 14 Jan 2016 06:26:26 +0000 (06:26 +0000)]
Merge "DO NOT MERGE Adding new intent for EMERGENCY_CALL_STATE_CHANGE" into mnc-dr1.5-dev

8 years agoMerge "Add STEM_1, STEM_2 and STEM_3 key as wakeup keys" into cw-e-dev am: 4a577bff96...
Chenjie Luo [Thu, 14 Jan 2016 06:13:43 +0000 (06:13 +0000)]
Merge "Add STEM_1, STEM_2 and STEM_3 key as wakeup keys" into cw-e-dev am: 4a577bff96 am: d5cea64d8d am: 7034a6e2d0
am: af8c1b8f94

* commit 'af8c1b8f943f2c616c75da83b44063ae3a5f556f':
  Add STEM_1, STEM_2 and STEM_3 key as wakeup keys

8 years agoAdd a test for createDocument and getPartialObject.
Daichi Hirono [Mon, 11 Jan 2016 08:14:41 +0000 (17:14 +0900)]
Add a test for createDocument and getPartialObject.

BUG=26482337

Change-Id: Ifda5055b422c3960f7c3c5275a1697f96e36bd06

8 years agoMerge "Check isDestroyed after finishing async HandleRootsChangedTask."
Daichi Hirono [Thu, 14 Jan 2016 03:59:12 +0000 (03:59 +0000)]
Merge "Check isDestroyed after finishing async HandleRootsChangedTask."

8 years agoCheck isDestroyed after finishing async HandleRootsChangedTask.
Daichi Hirono [Thu, 14 Jan 2016 03:45:49 +0000 (12:45 +0900)]
Check isDestroyed after finishing async HandleRootsChangedTask.

HandleRootsChangedTask will be finished after the Activity is destroyed,
though we no longer to be able to change the directory at that time.

BUG=26454277

Change-Id: Ia414134c80d900ef2e6c382fdd9209a154d940af

8 years agoMerge "AAPT2: Variety of small fixes to get the build working"
Adam Lesinski [Thu, 14 Jan 2016 02:51:02 +0000 (02:51 +0000)]
Merge "AAPT2: Variety of small fixes to get the build working"

8 years agoAAPT2: Variety of small fixes to get the build working
Adam Lesinski [Mon, 11 Jan 2016 21:10:24 +0000 (13:10 -0800)]
AAPT2: Variety of small fixes to get the build working

- Add option to rename package in AndroidManifest.xml
- Support default versionName and versionCode
- Accept True and False as valid booleans

Change-Id: I400e350b9dcd0fd1c197d1929144299c7823617d

8 years agoAdd support for shortcuts with the shift key.
Jiaquan He [Wed, 13 Jan 2016 23:46:52 +0000 (15:46 -0800)]
Add support for shortcuts with the shift key.

Now shortcuts with the shift key can be defined in
frameworks/base/packages/SettingsProvider/res/xml/bookmarks.xml.

Sample:

<bookmark
    package="package"
    class="package.Class"
    shift="true"
    shortcut="z"  />

Bug 26540880

Change-Id: Ib6d6ea59124226d4e4eb8ec9972059f2d71bd77e
(cherry picked from commit e7319ecbbe865db8884914ceb10f526f4e160a64)

8 years agoMerge "Add STEM_1, STEM_2 and STEM_3 key as wakeup keys" into cw-e-dev am: 4a577bff96...
Chenjie Luo [Thu, 14 Jan 2016 02:34:53 +0000 (02:34 +0000)]
Merge "Add STEM_1, STEM_2 and STEM_3 key as wakeup keys" into cw-e-dev am: 4a577bff96 am: d5cea64d8d
am: 7034a6e2d0

* commit '7034a6e2d05c45c437bef6150bcc70b58b3ccb3b':
  Add STEM_1, STEM_2 and STEM_3 key as wakeup keys

8 years agoMerge "Add STEM_1, STEM_2 and STEM_3 key as wakeup keys" into cw-e-dev am: 4a577bff96
Chenjie Luo [Thu, 14 Jan 2016 02:29:13 +0000 (02:29 +0000)]
Merge "Add STEM_1, STEM_2 and STEM_3 key as wakeup keys" into cw-e-dev am: 4a577bff96
am: d5cea64d8d

* commit 'd5cea64d8d63e9ffb61af1e669962de08ea513cc':
  Add STEM_1, STEM_2 and STEM_3 key as wakeup keys

8 years agoMerge "Change offset and size arguments of MtpDevice#getPartialObject to Java long."
Daichi Hirono [Thu, 14 Jan 2016 02:28:45 +0000 (02:28 +0000)]
Merge "Change offset and size arguments of MtpDevice#getPartialObject to Java long."

8 years agoAllow turning off Wi-Fi when emergency call is made [DO NOT MERGE]
Vinit Deshpande [Thu, 14 Jan 2016 00:58:30 +0000 (16:58 -0800)]
Allow turning off Wi-Fi when emergency call is made [DO NOT MERGE]

Bug: 24147407

Change-Id: Ia07b8bc4ccbdaeea18ed22fbfcf813f71ddfa7dc

8 years agoMerge "Add STEM_1, STEM_2 and STEM_3 key as wakeup keys" into cw-e-dev
Chenjie Luo [Thu, 14 Jan 2016 02:24:48 +0000 (02:24 +0000)]
Merge "Add STEM_1, STEM_2 and STEM_3 key as wakeup keys" into cw-e-dev
am: 4a577bff96

* commit '4a577bff9674f4bc748ab76bf48ac6e7d3e567cc':
  Add STEM_1, STEM_2 and STEM_3 key as wakeup keys

8 years agoMerge "Add STEM_1, STEM_2 and STEM_3 key as wakeup keys" into cw-e-dev
Chenjie Luo [Thu, 14 Jan 2016 02:22:15 +0000 (02:22 +0000)]
Merge "Add STEM_1, STEM_2 and STEM_3 key as wakeup keys" into cw-e-dev

8 years agoMerge "Fix javadoc related to ACTION_MEDIA_RESOURCE_GRANTED"
Dongwon Kang [Thu, 14 Jan 2016 02:16:23 +0000 (02:16 +0000)]
Merge "Fix javadoc related to ACTION_MEDIA_RESOURCE_GRANTED"

8 years agoFix javadoc related to ACTION_MEDIA_RESOURCE_GRANTED
Dongwon Kang [Thu, 14 Jan 2016 02:11:10 +0000 (18:11 -0800)]
Fix javadoc related to ACTION_MEDIA_RESOURCE_GRANTED

This addresses comments left in If506a533c5c7b567e770217a9430bf68b539677a

Change-Id: I6f952db6a8fa246d974bab556be3e21fe1b7f3da

8 years agoDO NOT MERGE Adding new intent for EMERGENCY_CALL_STATE_CHANGE
Amit Mahajan [Wed, 13 Jan 2016 02:25:33 +0000 (18:25 -0800)]
DO NOT MERGE Adding new intent for EMERGENCY_CALL_STATE_CHANGE

Bug: 24147407
Change-Id: Ida957b9cc6b9c3e13bc8660213ce5cf979c886d5

8 years agoMerge "Properly handle the negative scaling factor of canvas in VectorDrawable"
Doris Liu [Thu, 14 Jan 2016 01:30:02 +0000 (01:30 +0000)]
Merge "Properly handle the negative scaling factor of canvas in VectorDrawable"

8 years agoAdd STEM_1, STEM_2 and STEM_3 key as wakeup keys
Chenjie Luo [Wed, 13 Jan 2016 19:01:59 +0000 (11:01 -0800)]
Add STEM_1, STEM_2 and STEM_3 key as wakeup keys

Bug: 25860409
Change-Id: I3f525c9c8df81807d98391c70cd2d1f8c139c8f5

8 years agoProperly handle the negative scaling factor of canvas in VectorDrawable
Doris Liu [Thu, 14 Jan 2016 01:23:33 +0000 (17:23 -0800)]
Properly handle the negative scaling factor of canvas in VectorDrawable

Bug: 26489687
Change-Id: I91cce34759fbbac206cd59f4636fd92194396c87

8 years agoFix for syncs being dropped when appIdle is on
Shreyas Basarge [Mon, 11 Jan 2016 15:43:54 +0000 (15:43 +0000)]
Fix for syncs being dropped when appIdle is on

Syncs were being dropped when appIdleMode was on for
an app. This CL backs off the sync instead of dropping
it. When the app becomes non-idle, backoff is cleared
and the sync is performed.

Bug: 26355386
Change-Id: I2040dfd847011d3ca902e66a8cd52b2a429177c1

8 years agoMerge changes I55d96ec3,I0ebc4639
Jorim Jaggi [Thu, 14 Jan 2016 01:08:52 +0000 (01:08 +0000)]
Merge changes I55d96ec3,I0ebc4639

* changes:
  Reenable task preloading in recents
  When creating docked stack, use SnapAlgorithm

8 years agoMerge "UsageStats: Use new settings key idle_duration2 for app idle" into mnc-dr1...
Adam Lesinski [Thu, 14 Jan 2016 01:05:24 +0000 (01:05 +0000)]
Merge "UsageStats: Use new settings key idle_duration2 for app idle" into mnc-dr1.5-dev am: d2e215978b am: a5c7106017
am: 6a8c328d73

* commit '6a8c328d7386d19f4590dfbfc71338b1ec208fb7':
  UsageStats: Use new settings key idle_duration2 for app idle

8 years agoMerge "UsageStats: Use new settings key idle_duration2 for app idle" into mnc-dr1...
Adam Lesinski [Thu, 14 Jan 2016 00:59:58 +0000 (00:59 +0000)]
Merge "UsageStats: Use new settings key idle_duration2 for app idle" into mnc-dr1.5-dev am: d2e215978b
am: a5c7106017

* commit 'a5c71060174c5357c75592998fb095e768eca8bd':
  UsageStats: Use new settings key idle_duration2 for app idle

8 years agoMerge "UsageStats: Use new settings key idle_duration2 for app idle" into mnc-dr1...
Adam Lesinski [Thu, 14 Jan 2016 00:54:10 +0000 (00:54 +0000)]
Merge "UsageStats: Use new settings key idle_duration2 for app idle" into mnc-dr1.5-dev
am: d2e215978b

* commit 'd2e215978be9df2f3d2bf56eb1c857c6a1bc420a':
  UsageStats: Use new settings key idle_duration2 for app idle

8 years agoMerge "Add ITelephonyDebug.aidl" into mm-wireless-dev
Pavel Zhamaitsiak [Thu, 14 Jan 2016 00:49:09 +0000 (00:49 +0000)]
Merge "Add ITelephonyDebug.aidl" into mm-wireless-dev
am: 4a4345b681

* commit '4a4345b681f430bc76bed964eb3d4d569539130e':
  Add ITelephonyDebug.aidl

8 years agoMerge "UsageStats: Use new settings key idle_duration2 for app idle" into mnc-dr1...
Adam Lesinski [Thu, 14 Jan 2016 00:45:31 +0000 (00:45 +0000)]
Merge "UsageStats: Use new settings key idle_duration2 for app idle" into mnc-dr1.5-dev

8 years agoChange offset and size arguments of MtpDevice#getPartialObject to Java
Daichi Hirono [Tue, 12 Jan 2016 06:46:41 +0000 (15:46 +0900)]
Change offset and size arguments of MtpDevice#getPartialObject to Java
long.

To represents full range of 32-bit unsigned integer, we should use
jlong instead of jint.

BUG=26284424

Change-Id: Id3fa9e3daa778c204ab8e38f821d454c709c317a

8 years agoPulling in https://android-review.googlesource.com/#/c/186482/1 am: 74dfcf90f1 am...
Nancy Zheng [Thu, 14 Jan 2016 00:34:11 +0000 (00:34 +0000)]
Pulling in https://android-review.googlesource.com/#/c/186482/1 am: 74dfcf90f1 am: f474056e99 am: f4c56a21a3
am: b05f242bc8

* commit 'b05f242bc809196a58b1142665a336fc23dc7f9c':
  Pulling in https://android-review.googlesource.com/#/c/186482/1

8 years agoPulling in https://android-review.googlesource.com/#/c/186482/1 am: 74dfcf90f1 am...
Nancy Zheng [Thu, 14 Jan 2016 00:23:20 +0000 (00:23 +0000)]
Pulling in https://android-review.googlesource.com/#/c/186482/1 am: 74dfcf90f1 am: f474056e99
am: f4c56a21a3

* commit 'f4c56a21a389e70b472e4e7e586c7cf59a444f8e':
  Pulling in https://android-review.googlesource.com/#/c/186482/1

8 years agoReenable task preloading in recents
Jorim Jaggi [Thu, 7 Jan 2016 13:42:28 +0000 (14:42 +0100)]
Reenable task preloading in recents

Make sure to call the task stack changed listener only when
app visibilities changed. This fixes the problem of too many
callbacks when just focusing another activity.

Bug: 26420341
Change-Id: I55d96ec367f7461be1f3e35bc0d12ae4b050ece0

8 years agoWhen creating docked stack, use SnapAlgorithm
Jorim Jaggi [Wed, 6 Jan 2016 16:18:44 +0000 (17:18 +0100)]
When creating docked stack, use SnapAlgorithm

To make sure the bounds snapped to a snap position are
set from the very beginning.

Change-Id: I0ebc463926dd17e0deeefc211b097f28a6456b96

8 years agoMerge "Fixed a crash with the heads up manager" into mnc-dr1.5-dev am: d23f1eb0cd...
Selim Cinek [Thu, 14 Jan 2016 00:12:20 +0000 (00:12 +0000)]
Merge "Fixed a crash with the heads up manager" into mnc-dr1.5-dev am: d23f1eb0cd am: 804ff964af
am: a8a4d29aec  -s ours

* commit 'a8a4d29aecd1eca223245d1db1231707992c9341':
  Fixed a crash with the heads up manager

8 years agoPulling in https://android-review.googlesource.com/#/c/186482/1 am: 74dfcf90f1
Nancy Zheng [Thu, 14 Jan 2016 00:12:14 +0000 (00:12 +0000)]
Pulling in https://android-review.googlesource.com/#/c/186482/1 am: 74dfcf90f1
am: f474056e99

* commit 'f474056e99de892b731155989ee0d9dae1d3eea7':
  Pulling in https://android-review.googlesource.com/#/c/186482/1

8 years agoPulling in https://android-review.googlesource.com/#/c/186482/1
Nancy Zheng [Wed, 13 Jan 2016 23:59:42 +0000 (23:59 +0000)]
Pulling in https://android-review.googlesource.com/#/c/186482/1
am: 74dfcf90f1

* commit '74dfcf90f18d8d0e1128707a5986c4fa94d70350':
  Pulling in https://android-review.googlesource.com/#/c/186482/1

8 years agoMerge "API for blocked number provider"
Makoto Onuki [Wed, 13 Jan 2016 23:51:35 +0000 (23:51 +0000)]
Merge "API for blocked number provider"

8 years agoPulling in https://android-review.googlesource.com/#/c/186482/1
Nancy Zheng [Wed, 13 Jan 2016 23:23:56 +0000 (15:23 -0800)]
Pulling in https://android-review.googlesource.com/#/c/186482/1

Fix memory leak in HWUI

std::unique_ptr::release just releases the ownership of the
managed object. To delete the object, std::unique_ptr::reset
function should be called.

Bug: 26116596
Change-Id: If65f74085b1fc2be3a9fffc433326e0bcdb40ff3