OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Remove isPackageInstalled" into nyc-dev
Fyodor Kupolov [Wed, 17 Feb 2016 20:23:54 +0000 (20:23 +0000)]
Merge "Remove isPackageInstalled" into nyc-dev

8 years agoMerge "Increase the importance of noisy notifications." into nyc-dev
Julia Reynolds [Wed, 17 Feb 2016 20:19:01 +0000 (20:19 +0000)]
Merge "Increase the importance of noisy notifications." into nyc-dev

8 years agoMerge "Add a Settings option of "Disable automatic update"." into nyc-dev
Tao Bao [Wed, 17 Feb 2016 20:06:51 +0000 (20:06 +0000)]
Merge "Add a Settings option of "Disable automatic update"." into nyc-dev

8 years agoMerge "[RenderScript] Fix potential leak in RS JNI" into nyc-dev
Miao Wang [Wed, 17 Feb 2016 19:46:57 +0000 (19:46 +0000)]
Merge "[RenderScript] Fix potential leak in RS JNI" into nyc-dev

8 years agoMerge "TIF: Release passthrough session when HardwareSession is released" into nyc-dev
Dongwon Kang [Wed, 17 Feb 2016 19:27:58 +0000 (19:27 +0000)]
Merge "TIF: Release passthrough session when HardwareSession is released" into nyc-dev

8 years agoTIF: Release passthrough session when HardwareSession is released
Dongwon Kang [Tue, 16 Feb 2016 23:50:11 +0000 (15:50 -0800)]
TIF: Release passthrough session when HardwareSession is released

Bug: https://code.google.com/p/android/issues/detail?id=200114
Change-Id: I5d74eb56297e468b95aa0f99b159b2b54f93f5d2

8 years agoDon't read raw root from State, use getCurrentRoot
Steve McKay [Wed, 17 Feb 2016 19:00:55 +0000 (11:00 -0800)]
Don't read raw root from State, use getCurrentRoot

Bug: 27213606
Change-Id: I9abf42672d914041ab710bd09886c0c4034b85b6

8 years agoMerge "sysui: refactor in notification panel view" into nyc-dev
Xiaohui Chen [Wed, 17 Feb 2016 19:21:40 +0000 (19:21 +0000)]
Merge "sysui: refactor in notification panel view" into nyc-dev

8 years ago[RenderScript] Fix potential leak in RS JNI
Miao Wang [Thu, 11 Feb 2016 20:32:39 +0000 (12:32 -0800)]
[RenderScript] Fix potential leak in RS JNI

Bug: 27145639
Change-Id: I80cf2971d803a3366a63caa3612a503a88639040
(cherry picked from commit a4ad5f840173ecbfb679153a4f9460d2b06538e7)

8 years agoAdding event log tags for tracking secondary user connections.
Winson [Tue, 16 Feb 2016 19:05:28 +0000 (11:05 -0800)]
Adding event log tags for tracking secondary user connections.

Bug: 27175589
Change-Id: I6025eb6b0cef0057fd006cc044a638c48b481ed7

8 years agoDon't exclude app info from recents.
Winson [Wed, 17 Feb 2016 18:35:47 +0000 (10:35 -0800)]
Don't exclude app info from recents.

Bug: 27216373
Change-Id: Idc419f8922664c618ac6ddc8287b57c89084a2a3

8 years agoFixing issue with double tap sometimes launching the same task.
Winson [Wed, 17 Feb 2016 02:11:35 +0000 (18:11 -0800)]
Fixing issue with double tap sometimes launching the same task.

- When double tapping, the next preload call can come in before activity
  start, which then resets the instance load plan (which is not
  preloaded since Recents is “on top”), thus having no launch task,
  which then falls back to launching the front-most task.  The preload
  call should never create a new plan unless it will preload it.

Change-Id: I001bfc901856c4e6b4e4b9b6a2125085b53c808b

8 years agoDisabling history
Winson [Tue, 16 Feb 2016 23:18:07 +0000 (15:18 -0800)]
Disabling history

- Fixing regression in scrolling from the back of the stack to the front
  where bindVisibleTaskViews() would be called early causing jank and
  task views to be returned to the view pool before the animation was
  complete.

Change-Id: Ib68495a2e3b34f92a4971dd6b32b7bc6c616ac23

8 years agoMerge "Fix issue with activity reuse for aliased components." into nyc-dev
Rob Carr [Wed, 17 Feb 2016 18:09:48 +0000 (18:09 +0000)]
Merge "Fix issue with activity reuse for aliased components." into nyc-dev

8 years agoUsing AppWidgetHostView in RemoteViewsAdapter instead of managing the RemoteViews...
Sunny Goyal [Thu, 4 Feb 2016 23:30:48 +0000 (15:30 -0800)]
Using AppWidgetHostView in RemoteViewsAdapter instead of managing the RemoteViews inflation itself

Change-Id: If6dd8a778096a07c58b543efe892bbffbe24098f
(cherry picked from commit 89699a2811967fc0c3ad9e06f716d408d6949c86)

8 years agoChanging hashmaps to sparseArrays and other similar conversions
Sunny Goyal [Thu, 4 Feb 2016 00:29:47 +0000 (16:29 -0800)]
Changing hashmaps to sparseArrays and other similar conversions

Change-Id: I1905120a2dc109e8f383b973e599e2c23e005d0e
(cherry picked from commit c7ccff4b202d4ff8f6ba1f21629af95954d30398)

8 years agoMerge "Expose Intent for launching screen reader tutorial." into nyc-dev
Anna Galusza [Wed, 17 Feb 2016 17:56:32 +0000 (17:56 +0000)]
Merge "Expose Intent for launching screen reader tutorial." into nyc-dev

8 years agoMerge "DO NOT MERGE Extend the DownloadManager.addCompletedDownload() method to suppo...
Edward Cunningham [Wed, 17 Feb 2016 17:50:44 +0000 (17:50 +0000)]
Merge "DO NOT MERGE Extend the DownloadManager.addCompletedDownload() method to support origin details." into nyc-dev

8 years agoMerge "Remove "HOME" directory. Use "Documents" instead." into nyc-dev
Steve McKay [Wed, 17 Feb 2016 17:46:23 +0000 (17:46 +0000)]
Merge "Remove "HOME" directory. Use "Documents" instead." into nyc-dev

8 years agoMerge "Be less aggressive in removing old remote bugreport files" into nyc-dev
Michal Karpinski [Wed, 17 Feb 2016 17:18:18 +0000 (17:18 +0000)]
Merge "Be less aggressive in removing old remote bugreport files" into nyc-dev

8 years agoMerge "Add Copy-On-Write mode to InputMethodSettings." into nyc-dev
Yohei Yukawa [Wed, 17 Feb 2016 17:11:53 +0000 (17:11 +0000)]
Merge "Add Copy-On-Write mode to InputMethodSettings." into nyc-dev

8 years agoMerge "Whitelisting remote bugreport finished broadcast" into nyc-dev
Michal Karpinski [Wed, 17 Feb 2016 16:29:19 +0000 (16:29 +0000)]
Merge "Whitelisting remote bugreport finished broadcast" into nyc-dev

8 years agoMerge "Cancel notifications when user tap on Details or Take Screenshot after service...
Felipe Leme [Wed, 17 Feb 2016 16:11:15 +0000 (16:11 +0000)]
Merge "Cancel notifications when user tap on Details or Take Screenshot after service died." into nyc-dev

8 years agoAdd Copy-On-Write mode to InputMethodSettings.
Yohei Yukawa [Wed, 17 Feb 2016 15:54:20 +0000 (07:54 -0800)]
Add Copy-On-Write mode to InputMethodSettings.

This is a preparation for File-Based Encryption (FBE) support in IMMS.

In order to support File-Based Encryption (FBE), IMMS needs to reset
its internal state exactly when the device is unlocked by user first
time. This is important because IMMS would recognize only
encryption-aware input method services until the the device is unlocked
by the current user.

Even if we reset the internal state when the device is unlocked by the
current user, there are still two tricky points.

 1. Except for the initial boot, IMMS uses Secure Settings to determine
    what IMEs are enabled and what IME is currently selected.  These
    persistent state may not be suitable for the situation where the
    device is not unlocked yet, because some of IMEs referenced there
    may or may not be encryption-aware.  Depending on the situations,
    we may need to enable at least one encryption-aware IME to ensure
    that the user is able to type password to unlock the device, even if
    such an IME is not Settings.Secure.ENABLED_INPUT_METHODS.  We have
    to be careful when doing this because we don't want non
    pre-installed IMEs to be enabled until the user approves it.
 2. IMMS tends to save its internal state into Secure Settings.
    However, because of the point 1, we may need to automatically enable
    a certain IME to make sure the user is able to type even when the
    device is not unlocked yet.  We don't want such a temporary state
    to be persistent in Secure Settings.

The basic idea of this CL is to implement Copy-On-Write (COW) mode in
InputMethodSettings so that we can later discard any changes made before
the device is unlocked.  As the initial step, we start using this COW
mode until the the ActivityManager becomes ready.  With this change we
can revert a previous commit [1] for Bug 6685037, where forward-locked
encrypted apks need to be taken care of an early boot phase.

  [1] Ifb311f85154beadd4787ec73669bedfdf1f5172d
      4c0e7152e74d091eb78af8baacd38287ba95a1a1

Bug: 26279466
Change-Id: I9c6f9bb3d51174198e5f73588637f87ea0d90e11

8 years agoMerge "Protect against monkey crash" into nyc-dev
Jason Monk [Wed, 17 Feb 2016 15:46:57 +0000 (15:46 +0000)]
Merge "Protect against monkey crash" into nyc-dev

8 years agoMerge "Move detail panel to its own thing" into nyc-dev
Jason Monk [Wed, 17 Feb 2016 15:45:53 +0000 (15:45 +0000)]
Merge "Move detail panel to its own thing" into nyc-dev

8 years agoMove detail panel to its own thing
Jason Monk [Tue, 16 Feb 2016 19:03:21 +0000 (14:03 -0500)]
Move detail panel to its own thing

Move pieces of the detail panel from the header and QSPanel to be
in a single container to make the enter/exit be handled better
and code cleaner.

Change-Id: Id1e79b96830ee50051e340fb09ecde537a64e516

8 years agoProtect against monkey crash
Jason Monk [Wed, 17 Feb 2016 15:39:31 +0000 (10:39 -0500)]
Protect against monkey crash

Bug: 27164002
Change-Id: Ic1b68a55a136106010b6df07766a96533683eece

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Wed, 17 Feb 2016 15:31:09 +0000 (15:31 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Fixes and changes to support settings using UsageView" into nyc-dev
Jason Monk [Wed, 17 Feb 2016 15:30:52 +0000 (15:30 +0000)]
Merge "Fixes and changes to support settings using UsageView" into nyc-dev

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

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

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Wed, 17 Feb 2016 15:28:48 +0000 (15:28 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

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

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

8 years agoMerge "Alarm can end time-based rule." into nyc-dev
Julia Reynolds [Wed, 17 Feb 2016 15:20:09 +0000 (15:20 +0000)]
Merge "Alarm can end time-based rule." into nyc-dev

8 years agoMerge "Suspend packages - one call for multiple packages" into nyc-dev
Andrei Stingaceanu [Wed, 17 Feb 2016 15:17:34 +0000 (15:17 +0000)]
Merge "Suspend packages - one call for multiple packages" into nyc-dev

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

8 years agoFixes and changes to support settings using UsageView
Jason Monk [Wed, 17 Feb 2016 13:53:28 +0000 (08:53 -0500)]
Fixes and changes to support settings using UsageView

Bug: 27213136
Change-Id: I1796d710379fc92cf21b196459f34dda4570355f

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

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

8 years agoSuspend packages - one call for multiple packages
Andrei Stingaceanu [Tue, 26 Jan 2016 18:39:55 +0000 (18:39 +0000)]
Suspend packages - one call for multiple packages

Refactor setPackageSuspended into setPackagesSuspended. The rationale
is that the consumers of this API are likely to want to remove
multiple packages at once. Rather than calling the API N times, call
it just once.

The good part is that we already have the broadcast intent for
suspended packages take an array so only one broadcast. Less stress
on the system.

Another good part is that (right now) we only have one consumer of
this API and it will be easy to make changes once this CL goes in.

As a shell command, for consistency only allowed one package at
a time.

Bug: 22776761
Change-Id: Ic8b8cf64d0a288ea3a282bb7b72f9d663b3b0049

8 years agoMerge "Hide java.security.Signatue#getCurrentSpi" into nyc-dev
Narayan Kamath [Wed, 17 Feb 2016 15:13:02 +0000 (15:13 +0000)]
Merge "Hide java.security.Signatue#getCurrentSpi" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Wed, 17 Feb 2016 15:12:27 +0000 (15:12 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

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

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

8 years agoHide java.security.Signatue#getCurrentSpi
Przemyslaw Szczepaniak [Thu, 11 Feb 2016 12:43:30 +0000 (12:43 +0000)]
Hide java.security.Signatue#getCurrentSpi

Internal implementation detail, shouldn't
be public.

Bug: 26689841

(cherry picked from commit 4e559bcbf31a4f60620ed1a7a80e43f51d4dec83)

Change-Id: I86b9a3fdcab8afe580d153fac28ab85606626672

8 years agoIncrease the importance of noisy notifications.
Julia Reynolds [Wed, 17 Feb 2016 14:10:19 +0000 (09:10 -0500)]
Increase the importance of noisy notifications.

For apps with a targetSdkVersion < N.

Bug: 27213267
Change-Id: I4c589d149a28357dbbd26344e7fadb59d8b50672

8 years agoBe less aggressive in removing old remote bugreport files
Michal Karpinski [Wed, 17 Feb 2016 13:47:17 +0000 (13:47 +0000)]
Be less aggressive in removing old remote bugreport files

Always keep all the files of the remote bugreport
operation and keep them for at least a day.

Bug: 27215341
Change-Id: I514956004bf982e868a87b39c705d7c4a4a7b001

8 years agoMerge "Fix BackupTransport#getBackupQuota() javadoc." into nyc-dev
Sergey Poromov [Wed, 17 Feb 2016 13:46:19 +0000 (13:46 +0000)]
Merge "Fix BackupTransport#getBackupQuota() javadoc." into nyc-dev

8 years agoMerge "Synchronize results from runner thread to main full backup thread." into nyc-dev
Sergey Poromov [Wed, 17 Feb 2016 13:46:00 +0000 (13:46 +0000)]
Merge "Synchronize results from runner thread to main full backup thread." into nyc-dev

8 years agoAlarm can end time-based rule.
Julia Reynolds [Thu, 11 Feb 2016 18:49:08 +0000 (13:49 -0500)]
Alarm can end time-based rule.

Bug: 21069008
Change-Id: I857d85a32eb44ca873da4a9f19323c48a922ab9f

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

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 17 Feb 2016 13:27:36 +0000 (08:27 -0500)]
Import translations. DO NOT MERGE

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

8 years agoSynchronize results from runner thread to main full backup thread.
Sergey Poromov [Tue, 9 Feb 2016 20:13:45 +0000 (21:13 +0100)]
Synchronize results from runner thread to main full backup thread.

Previously, all results from runner thread - both for preflight
or full backup pass were ignored.
This change adds two synchronized method to get preflight result
and result of full backup pass.
This leads to better coverage of AGENT_ERROR to return in callback
as a result of backup operation.
On the other side we won't start backup pass in main thread
if preflight check hasn't been succeeded.

Change-Id: Id5f9e4c956a1bd5c396d59b7ad2098139a15e69d

8 years agoRemove references to BaseDhcpStateMachine and DhcpStateMachine
Erik Kline [Wed, 17 Feb 2016 13:06:49 +0000 (13:06 +0000)]
Remove references to BaseDhcpStateMachine and DhcpStateMachine
am: 29a215268d

* commit '29a215268dfa18f5023dc3c06b33db68e91ae316':
  Remove references to BaseDhcpStateMachine and DhcpStateMachine

8 years agoRemove references to BaseDhcpStateMachine and DhcpStateMachine
Erik Kline [Wed, 17 Feb 2016 12:44:25 +0000 (21:44 +0900)]
Remove references to BaseDhcpStateMachine and DhcpStateMachine

Bug: 26991160
Change-Id: I3742780a4e5121c163d9d1380951e25edaba19f3

8 years agoAdd IpManager#shutdown() to terminate the state machine.
Erik Kline [Wed, 17 Feb 2016 12:20:19 +0000 (12:20 +0000)]
Add IpManager#shutdown() to terminate the state machine.
am: b1ee39540e

* commit 'b1ee39540ead2e4ee74d4dba9ee1b84211766221':
  Add IpManager#shutdown() to terminate the state machine.

8 years agoSuspend packages - decline suspending the active launcher
Andrei Stingaceanu [Fri, 12 Feb 2016 18:38:19 +0000 (18:38 +0000)]
Suspend packages - decline suspending the active launcher

Bug: 26953019
Bug: 26683041
Bug: 22776761
Change-Id: I7b65abff03aa32f5db8dce68364467a588facdac

8 years agoMerge "Suspend packages - new API for retrieving the suspended status" into nyc-dev
Andrei Stingaceanu [Wed, 17 Feb 2016 11:57:50 +0000 (11:57 +0000)]
Merge "Suspend packages - new API for retrieving the suspended status" into nyc-dev

8 years agoAdd IpManager#shutdown() to terminate the state machine.
Erik Kline [Wed, 17 Feb 2016 09:02:51 +0000 (18:02 +0900)]
Add IpManager#shutdown() to terminate the state machine.

Additionally, remove IpManager.Callback#usingIpReachabilityMonitor()
now that this is now longer used.

Bug: 26991160
Change-Id: I9a17497c82238a9fb37a20d01aeca7bc4913ae2c

8 years agoMerge "Implement getDocumentStreamTypes() in DocumentsProvider." into nyc-dev
Tomasz Mikolajewski [Wed, 17 Feb 2016 11:34:11 +0000 (11:34 +0000)]
Merge "Implement getDocumentStreamTypes() in DocumentsProvider." into nyc-dev

8 years agoWhitelisting remote bugreport finished broadcast
Michal Karpinski [Tue, 16 Feb 2016 15:53:48 +0000 (15:53 +0000)]
Whitelisting remote bugreport finished broadcast

Allowing remote bugreport broadcast to be delivered even if
DISALLOW_DEBUGGING_FEATURES user restriction is enforced.

Bug: 26814173
Change-Id: I2f574de261398adbd71d5f75b3c237c92aeb076c

8 years agoMerge "Remote bugreport notifications rework" into nyc-dev
Michal Karpinski [Wed, 17 Feb 2016 10:53:18 +0000 (10:53 +0000)]
Merge "Remote bugreport notifications rework" into nyc-dev

8 years agoMerge "Fix bug in IntentService and Service example code." into nyc-dev
Florian Salbrechter [Wed, 17 Feb 2016 10:12:55 +0000 (10:12 +0000)]
Merge "Fix bug in IntentService and Service example code." into nyc-dev

8 years agoUse device key to map device documents.
Daichi Hirono [Sat, 6 Feb 2016 12:05:57 +0000 (21:05 +0900)]
Use device key to map device documents.

The CL introduces MAPPING_KEY column to the database and lets Mapper use
the column to map IDs of devices.

It also removes the concept of mapping mode from Mapper for
simplyfing. Now Mapper just tries to multiple mapping keys (MTP
identifier, display name, and mapping key) to find candidate of ID
mapping.

BUG=26212981

Change-Id: I19f6c7dac146047e9978de4eb33d5076406037ad
(cherry picked from commit 637a2010f4a0c0484b13c4cb87aa2858bdf079b2)

8 years agoMerge "Provide siblings in a sorted orders in DocumentsUI." into nyc-dev
Tomasz Mikolajewski [Wed, 17 Feb 2016 07:04:16 +0000 (07:04 +0000)]
Merge "Provide siblings in a sorted orders in DocumentsUI." into nyc-dev

8 years agoMerge "Remove unused return in DocumentsProvider.removeDocument." into nyc-dev
Tomasz Mikolajewski [Wed, 17 Feb 2016 07:02:54 +0000 (07:02 +0000)]
Merge "Remove unused return in DocumentsProvider.removeDocument." into nyc-dev

8 years agoMerge "Improve backspace for emoji and variation sequences." into nyc-dev
Seigo Nonaka [Wed, 17 Feb 2016 06:42:13 +0000 (06:42 +0000)]
Merge "Improve backspace for emoji and variation sequences." into nyc-dev

8 years agoImprove backspace for emoji and variation sequences.
Seigo Nonaka [Thu, 21 Jan 2016 10:47:21 +0000 (19:47 +0900)]
Improve backspace for emoji and variation sequences.

This CL makes backspace handling aware of variation selector, combining
enclosing keycaps, zero width joiner, regional indicator symbols and
emoji modifiers.

BUG: 25737208

Change-Id: I740578bfee955cc623e2831778e5b7ec4b8cb627

8 years agoFix recents transitions
Jorim Jaggi [Sat, 13 Feb 2016 00:55:18 +0000 (16:55 -0800)]
Fix recents transitions

- Also animate when there is no thumbnail, which can frequently
happen after exiting multi-window.
- Also animate when the target stack id is INVALID, because we
currently don't persist stack id's in the tasks.

Change-Id: I280c85e62f55d712408a3e77c43f665acb19bc4c

8 years agoMerge "TIF: Rename setTvInputInfo to updateTvInputInfo" into nyc-dev
Jae Seo [Wed, 17 Feb 2016 02:52:42 +0000 (02:52 +0000)]
Merge "TIF: Rename setTvInputInfo to updateTvInputInfo" into nyc-dev

8 years agoMerge "Remove AM/WM traces" into nyc-dev
Chong Zhang [Wed, 17 Feb 2016 01:03:19 +0000 (01:03 +0000)]
Merge "Remove AM/WM traces" into nyc-dev

8 years agoRemove AM/WM traces
Chong Zhang [Wed, 17 Feb 2016 00:58:37 +0000 (16:58 -0800)]
Remove AM/WM traces

Change-Id: I75f70ce18bf133527b33d42148c71c3fd1be9311

8 years agoMerge "Create BandMode Constants" into mm-wireless-dev
Nathan Harold [Wed, 17 Feb 2016 00:52:29 +0000 (00:52 +0000)]
Merge "Create BandMode Constants" into mm-wireless-dev
am: e629c06730

* commit 'e629c067308964659a5886921642920cd2e1f2f4':
  Create BandMode Constants

8 years agoMerge "Clear mPendingScreenOff and stop color fade animiation if screen is on" into...
Chong Zhang [Wed, 17 Feb 2016 00:47:40 +0000 (00:47 +0000)]
Merge "Clear mPendingScreenOff and stop color fade animiation if screen is on" into nyc-dev

8 years agoMerge "Added option to check if an app is whitelisted for deviceidle." into nyc-dev
Felipe Leme [Wed, 17 Feb 2016 00:46:36 +0000 (00:46 +0000)]
Merge "Added option to check if an app is whitelisted for deviceidle." into nyc-dev

8 years agoMerge "Added extra check to avoid NPE if package does not exist." into nyc-dev
Felipe Leme [Wed, 17 Feb 2016 00:46:14 +0000 (00:46 +0000)]
Merge "Added extra check to avoid NPE if package does not exist." into nyc-dev

8 years agoMerge "Create BandMode Constants" into mm-wireless-dev
Nathan Harold [Wed, 17 Feb 2016 00:44:12 +0000 (00:44 +0000)]
Merge "Create BandMode Constants" into mm-wireless-dev

8 years agoClear mPendingScreenOff and stop color fade animiation if screen is on
Chong Zhang [Wed, 17 Feb 2016 00:31:48 +0000 (16:31 -0800)]
Clear mPendingScreenOff and stop color fade animiation if screen is on

bug: 24116819
Change-Id: I4a962878001b00daf5473d90cbd257ac318c0446

8 years agoAdded extra check to avoid NPE if package does not exist.
Felipe Leme [Wed, 17 Feb 2016 00:26:05 +0000 (16:26 -0800)]
Added extra check to avoid NPE if package does not exist.

BUG: 26685616

Change-Id: I244e479fd9668bc4f07b8797ce2fc1e1df7a4d28

8 years agoTIF: Rename setTvInputInfo to updateTvInputInfo
Jae Seo [Sat, 13 Feb 2016 09:38:08 +0000 (01:38 -0800)]
TIF: Rename setTvInputInfo to updateTvInputInfo

As TvInputInfo includes many complex objects as fields, it is not
practical to check whether an existing TvInputInfo has actually
"changed" by using simple comparisons when a new TvInputInfo object is
set by a TV input service.
This code change renames
  - setTvInputInfo to updateTvInputInfo
  - onTvInputInfoChanged to onTvInputInfoUpdated
to indicate that the callback is mechanically invoked whenever
updateTvInputInfo method is called.

Change-Id: Ia351b3591d0ed9da962311546f0ba51158e6478e

8 years agoMerge "Check RenderNode's owning view before attaching animators" into nyc-dev
Doris Liu [Tue, 16 Feb 2016 23:38:56 +0000 (23:38 +0000)]
Merge "Check RenderNode's owning view before attaching animators" into nyc-dev

8 years agoMerge "Revert "Revert "VectorDrawable native rendering - Step 5 of MANY""" into nyc-dev
Doris Liu [Tue, 16 Feb 2016 23:38:42 +0000 (23:38 +0000)]
Merge "Revert "Revert "VectorDrawable native rendering - Step 5 of MANY""" into nyc-dev

8 years agoMerge "Make scrollbar draggable only when it's visible." into nyc-dev
Keisuke Kuroyanagi [Tue, 16 Feb 2016 23:26:31 +0000 (23:26 +0000)]
Merge "Make scrollbar draggable only when it's visible." into nyc-dev

8 years agoExpose Intent for launching screen reader tutorial.
Anna Galusza [Tue, 16 Feb 2016 22:34:42 +0000 (14:34 -0800)]
Expose Intent for launching screen reader tutorial.

Change-Id: Iad479b3f3dc7d1ca23fa044946a93544067adee3

8 years agoRemove "HOME" directory. Use "Documents" instead.
Steve McKay [Tue, 16 Feb 2016 19:37:03 +0000 (11:37 -0800)]
Remove "HOME" directory. Use "Documents" instead.

Use "Folder" as home icon for now.

Bug:27148009
Change-Id: I9f57bba1c8e51ae7887861923f5baa8f69ec2e6e

8 years agoMerge "Ellipsized and Non-ellipsized baselines should be same." into nyc-dev
Siyamed Sinir [Tue, 16 Feb 2016 22:37:53 +0000 (22:37 +0000)]
Merge "Ellipsized and Non-ellipsized baselines should be same." into nyc-dev

8 years agoMerge changes from topic 'flaky-test' into nyc-dev
Wale Ogunwale [Tue, 16 Feb 2016 22:32:22 +0000 (22:32 +0000)]
Merge changes from topic 'flaky-test' into nyc-dev

* changes:
  Fixed issue with losing window name when copying WindowManager.LayoutParams
  Added AM API to remove a stack
  Don't resume activity on start if there are activities pausing.

8 years agoCheck RenderNode's owning view before attaching animators
Doris Liu [Fri, 12 Feb 2016 04:08:10 +0000 (20:08 -0800)]
Check RenderNode's owning view before attaching animators

-Only add animators to a RenderNode when its owning view is attached
-When changing animator's target RenderNode, remove the animator from
 the old target RenderNode that it's currently running on, if any.
Bug: 27141983
Bug: 27145149
Change-Id: I9c9592382d64ecc0390f7ec743a59ce1ad7d9798

8 years agoMerge "Better document the ignore behavior for client cert api" into nyc-dev
Selim Gurun [Tue, 16 Feb 2016 22:17:41 +0000 (22:17 +0000)]
Merge "Better document the ignore behavior for client cert api" into nyc-dev

8 years agoFix issue with activity reuse for aliased components.
Robert Carr [Tue, 16 Feb 2016 22:12:00 +0000 (14:12 -0800)]
Fix issue with activity reuse for aliased components.

In this case of activity aliases, the ActivityRecord intent
member will contain the aliased component name. The TaskRecord
intent member will contain the resolved component name. When
considering an activity for reuse during start, we need to compare
our candidates ActivityRecord intent, not it's TaskRecord intent
as we have not yet resolved the alias.

Bug: 27112965
Change-Id: Ie3a1fb7b306469037372a0328364ca3d4530599e

8 years agoMerge "Fix TransitionSet javadoc to use transitionOrdering attribute." into nyc-dev
George Mount [Tue, 16 Feb 2016 21:38:01 +0000 (21:38 +0000)]
Merge "Fix TransitionSet javadoc to use transitionOrdering attribute." into nyc-dev

8 years agoMerge "Don't use forceVisibility for Activity Transitions." into nyc-dev
George Mount [Tue, 16 Feb 2016 21:37:39 +0000 (21:37 +0000)]
Merge "Don't use forceVisibility for Activity Transitions." into nyc-dev

8 years agoMerge "Battery graph in QS Detail" into nyc-dev
Jason Monk [Tue, 16 Feb 2016 21:26:24 +0000 (21:26 +0000)]
Merge "Battery graph in QS Detail" into nyc-dev

8 years agoBattery graph in QS Detail
Jason Monk [Thu, 11 Feb 2016 16:33:09 +0000 (11:33 -0500)]
Battery graph in QS Detail

Add new usage graph view to SettingsLib that shows usage with
same labels and whatnot.

Use that graph in the battery detail panel to show more stuffs.

Change-Id: I397b1314f65f668df566e93bdbc15420e1b3a280

8 years agoCancel notifications when user tap on Details or Take Screenshot after
Felipe Leme [Tue, 16 Feb 2016 21:01:38 +0000 (13:01 -0800)]
Cancel notifications when user tap on Details or Take Screenshot after
service died.

There are scenarios when the user is running low on resources and it
kills Shell after it start monitoring a dumpstate process, in which case
the BugreportInfo is not available anymore when the user tap a
notification action.

We could add a mechanism to recover that info (like persistenting the
user-provided values in a shared preference), but would incur in more
costs when the device is already in a resource-constrained state, so
it's better to just stop monitoring and switch back to the traditional
model where the user is notified after the bugreport finishes (the
drawback is that all user-provided information will be lost).

Also improved how info.name is checked to avoid crash in similar cases.

BUG: 27186542
BUG: 27203559
Change-Id: I57076b098a3fce493e1a27121b6e070366808668

8 years agoFail fast when trying to delete a non-existing pacakge.
Svetoslav Ganov [Thu, 11 Feb 2016 16:50:43 +0000 (08:50 -0800)]
Fail fast when trying to delete a non-existing pacakge.

bug:26921392

Change-Id: I518cc43f3b1b28bd239093feead46107c62eb419

8 years agoMerge "Don't allow deactivating DAs when the user is not unlocked" into nyc-dev
Makoto Onuki [Tue, 16 Feb 2016 20:47:09 +0000 (20:47 +0000)]
Merge "Don't allow deactivating DAs when the user is not unlocked" into nyc-dev

8 years agoBetter document the ignore behavior for client cert api
Selim Gurun [Tue, 16 Feb 2016 20:30:08 +0000 (12:30 -0800)]
Better document the ignore behavior for client cert api

Bug: 26361557

When the embedded app requests a ignore of a client cert request,
webview does not cache the response of the app. However, underlying
layers could. Clarify the document.

Change-Id: I43e6a4c91727f71c88ca69e1334f64de9f66905a

8 years agoAdd a Settings option of "Disable automatic update".
Tao Bao [Tue, 16 Feb 2016 04:59:15 +0000 (20:59 -0800)]
Add a Settings option of "Disable automatic update".

Bug: 27193001
Change-Id: Ibd205a749ebd674ca4500fd3b701888ac3ee8721

8 years agoMerge "Frameworks/base: Fix registration function" into nyc-dev
Andreas Gampe [Tue, 16 Feb 2016 19:47:31 +0000 (19:47 +0000)]
Merge "Frameworks/base: Fix registration function" into nyc-dev

8 years agoMerge "Let admin disable fingerprint for the work challenge" into nyc-dev
Esteban Talavera [Tue, 16 Feb 2016 19:29:06 +0000 (19:29 +0000)]
Merge "Let admin disable fingerprint for the work challenge" into nyc-dev

8 years agoDO NOT MERGE Extend the DownloadManager.addCompletedDownload() method to support...
Edward Cunningham [Fri, 5 Feb 2016 08:44:45 +0000 (00:44 -0800)]
DO NOT MERGE Extend the DownloadManager.addCompletedDownload() method to support origin details.

Bug: 20294239
Change-Id: Ic770a223c23013ebab08d22dd14e7192dc8e3109
(cherry picked from commit 735a31e093d9262139c1da6bf426bc8166d4b18e)