Commit Graph

232986 Commits

Author SHA1 Message Date
Miao Wang
5cb0e96a46 Merge "[RenderScript] Fix potential leak in RS JNI" into nyc-dev 2016-02-17 19:46:59 +00:00
Dongwon Kang
37f3488c5c Merge "TIF: Release passthrough session when HardwareSession is released" into nyc-dev 2016-02-17 19:27:59 +00:00
Dongwon Kang
78364ddc04 TIF: Release passthrough session when HardwareSession is released
Bug: https://code.google.com/p/android/issues/detail?id=200114
Change-Id: I5d74eb56297e468b95aa0f99b159b2b54f93f5d2
2016-02-17 11:25:54 -08:00
Steve McKay
c265117881 Don't read raw root from State, use getCurrentRoot
Bug: 27213606
Change-Id: I9abf42672d914041ab710bd09886c0c4034b85b6
2016-02-17 11:22:50 -08:00
Xiaohui Chen
ac83d19665 Merge "sysui: refactor in notification panel view" into nyc-dev 2016-02-17 19:21:41 +00:00
Miao Wang
f94e77da7e [RenderScript] Fix potential leak in RS JNI
Bug: 27145639
Change-Id: I80cf2971d803a3366a63caa3612a503a88639040
(cherry picked from commit a4ad5f8401)
2016-02-17 11:01:51 -08:00
Winson
a00a785ec8 Adding event log tags for tracking secondary user connections.
Bug: 27175589
Change-Id: I6025eb6b0cef0057fd006cc044a638c48b481ed7
2016-02-17 10:58:50 -08:00
Winson
369aad0e23 Don't exclude app info from recents.
Bug: 27216373
Change-Id: Idc419f8922664c618ac6ddc8287b57c89084a2a3
2016-02-17 10:58:13 -08:00
Winson
5b4e0d2b11 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
2016-02-17 10:58:08 -08:00
Winson
91b225d41f 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
2016-02-17 10:57:45 -08:00
Rob Carr
31eb784f89 Merge "Fix issue with activity reuse for aliased components." into nyc-dev 2016-02-17 18:09:49 +00:00
Sunny Goyal
a086f0436a Using AppWidgetHostView in RemoteViewsAdapter instead of managing the RemoteViews inflation itself
Change-Id: If6dd8a778096a07c58b543efe892bbffbe24098f
(cherry picked from commit 89699a2811)
2016-02-17 18:08:46 +00:00
Sunny Goyal
4ea5484266 Changing hashmaps to sparseArrays and other similar conversions
Change-Id: I1905120a2dc109e8f383b973e599e2c23e005d0e
(cherry picked from commit c7ccff4b20)
2016-02-17 18:07:40 +00:00
Anna Galusza
9f972de6e5 Merge "Expose Intent for launching screen reader tutorial." into nyc-dev 2016-02-17 17:56:33 +00:00
Edward Cunningham
e619e33b60 Merge "DO NOT MERGE Extend the DownloadManager.addCompletedDownload() method to support origin details." into nyc-dev 2016-02-17 17:50:45 +00:00
Steve McKay
25a7ee08f6 Merge "Remove "HOME" directory. Use "Documents" instead." into nyc-dev 2016-02-17 17:46:24 +00:00
Michal Karpinski
f58179a24b Merge "Be less aggressive in removing old remote bugreport files" into nyc-dev 2016-02-17 17:18:19 +00:00
Yohei Yukawa
93dfc03ba6 Merge "Add Copy-On-Write mode to InputMethodSettings." into nyc-dev 2016-02-17 17:11:54 +00:00
Michal Karpinski
fbff8c1cbf Merge "Whitelisting remote bugreport finished broadcast" into nyc-dev 2016-02-17 16:29:20 +00:00
Felipe Leme
6cb955826b Merge "Cancel notifications when user tap on Details or Take Screenshot after service died." into nyc-dev 2016-02-17 16:11:16 +00:00
Yohei Yukawa
68645a638a 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
      4c0e7152e7

Bug: 26279466
Change-Id: I9c6f9bb3d51174198e5f73588637f87ea0d90e11
2016-02-17 07:54:20 -08:00
Jason Monk
0a6495dc60 Merge "Protect against monkey crash" into nyc-dev 2016-02-17 15:46:58 +00:00
Jason Monk
8556328bdf Merge "Move detail panel to its own thing" into nyc-dev 2016-02-17 15:45:53 +00:00
Jason Monk
377e7ad8dc 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
2016-02-17 10:42:41 -05:00
Jason Monk
8c7e47f95d Protect against monkey crash
Bug: 27164002
Change-Id: Ic1b68a55a136106010b6df07766a96533683eece
2016-02-17 10:39:31 -05:00
Geoff Mendal
319524a51b Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-02-17 15:31:09 +00:00
Jason Monk
300ec46741 Merge "Fixes and changes to support settings using UsageView" into nyc-dev 2016-02-17 15:30:52 +00:00
Geoff Mendal
120be92692 Import translations. DO NOT MERGE
Change-Id: I18d91b33eaa2d759744cdf7c44f41143de0e109f
Auto-generated-cl: translation import
2016-02-17 07:30:29 -08:00
Geoff Mendal
3d13783841 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-02-17 15:28:49 +00:00
Geoff Mendal
063cb147b7 Import translations. DO NOT MERGE
Change-Id: I01ab59200468fe5d7a8cb27a9ef16eb46d52f3fe
Auto-generated-cl: translation import
2016-02-17 07:25:10 -08:00
Julia Reynolds
7caa0b8724 Merge "Alarm can end time-based rule." into nyc-dev 2016-02-17 15:20:10 +00:00
Andrei Stingaceanu
3e7bfe98e0 Merge "Suspend packages - one call for multiple packages" into nyc-dev 2016-02-17 15:17:35 +00:00
Geoff Mendal
f0922b2a4b Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-02-17 15:17:19 +00:00
Jason Monk
a5d7dd9cd5 Fixes and changes to support settings using UsageView
Bug: 27213136
Change-Id: I1796d710379fc92cf21b196459f34dda4570355f
2016-02-17 10:16:31 -05:00
Geoff Mendal
878b249c90 Import translations. DO NOT MERGE
Change-Id: If833e6af6b9206411e02db9c081d410c4893d73e
Auto-generated-cl: translation import
2016-02-17 07:14:57 -08:00
Andrei Stingaceanu
eb84b1843a 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
2016-02-17 15:14:33 +00:00
Narayan Kamath
0891e3e2aa Merge "Hide java.security.Signatue#getCurrentSpi" into nyc-dev 2016-02-17 15:13:03 +00:00
Geoff Mendal
95e58ce469 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-02-17 15:12:28 +00:00
Geoff Mendal
fb7a4e73de Import translations. DO NOT MERGE
Change-Id: Ic8d25da29dbdb3132a51bef32045c166f48b8bc6
Auto-generated-cl: translation import
2016-02-17 07:11:49 -08:00
Przemyslaw Szczepaniak
76c407b12f Hide java.security.Signatue#getCurrentSpi
Internal implementation detail, shouldn't
be public.

Bug: 26689841

(cherry picked from commit 4e559bcbf3)

Change-Id: I86b9a3fdcab8afe580d153fac28ab85606626672
2016-02-17 15:00:42 +00:00
Michal Karpinski
a57f0e6b14 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
2016-02-17 13:47:17 +00:00
Sergey Poromov
af11ff0c03 Merge "Fix BackupTransport#getBackupQuota() javadoc." into nyc-dev 2016-02-17 13:46:23 +00:00
Sergey Poromov
570c939e48 Merge "Synchronize results from runner thread to main full backup thread." into nyc-dev 2016-02-17 13:46:01 +00:00
Julia Reynolds
1998ee5628 Alarm can end time-based rule.
Bug: 21069008
Change-Id: I857d85a32eb44ca873da4a9f19323c48a922ab9f
2016-02-17 08:44:26 -05:00
Geoff Mendal
e979ccb595 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-02-17 13:30:06 +00:00
Geoff Mendal
10121495c2 Import translations. DO NOT MERGE
Change-Id: I01c7b9f2ca1bdff55f474ddf2020051cb09d4b71
Auto-generated-cl: translation import
2016-02-17 08:27:36 -05:00
Sergey Poromov
cd8c13fc4e 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
2016-02-17 14:24:39 +01:00
Erik Kline
907b255ebf Remove references to BaseDhcpStateMachine and DhcpStateMachine
am: 29a215268d

* commit '29a215268dfa18f5023dc3c06b33db68e91ae316':
  Remove references to BaseDhcpStateMachine and DhcpStateMachine
2016-02-17 13:06:49 +00:00
Erik Kline
29a215268d Remove references to BaseDhcpStateMachine and DhcpStateMachine
Bug: 26991160
Change-Id: I3742780a4e5121c163d9d1380951e25edaba19f3
2016-02-17 21:44:25 +09:00
Erik Kline
5c78685d56 Add IpManager#shutdown() to terminate the state machine.
am: b1ee39540e

* commit 'b1ee39540ead2e4ee74d4dba9ee1b84211766221':
  Add IpManager#shutdown() to terminate the state machine.
2016-02-17 12:20:19 +00:00