OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Created a new bug report workflow so user can keep track of its progress."
Felipe Leme [Mon, 30 Nov 2015 23:01:04 +0000 (23:01 +0000)]
Merge "Created a new bug report workflow so user can keep track of its progress."

8 years agoMerge "Add two new intents"
Tom Taylor [Mon, 30 Nov 2015 23:00:11 +0000 (23:00 +0000)]
Merge "Add two new intents"

8 years agoIgnore feedbackType in AccessibilityEvent dispatch
Phil Weaver [Fri, 20 Nov 2015 22:46:28 +0000 (14:46 -0800)]
Ignore feedbackType in AccessibilityEvent dispatch

Send AccessibilityEvents to all accessibility services
that request them. No longer refuse to send them to
services with the same feedback type.

Change-Id: I137905c24fc75c075ab938175ecb6ea5f39112cf

8 years agoMerge "Add and copy video stop sound"
Chien-Yu Chen [Mon, 30 Nov 2015 21:47:54 +0000 (21:47 +0000)]
Merge "Add and copy video stop sound"

8 years agoAdd two new intents
Tom Taylor [Mon, 30 Nov 2015 21:45:52 +0000 (13:45 -0800)]
Add two new intents

One intent notifies the new and previous default sms app when the user
changes which app is the default sms app. The second intent is sent to the
default sms app when some other white-listed app, such as Android Auto or
the phone, modifies the Telephony db behind the default sms app's back.

Change-Id: Iee1e1c4a4c299846f382bd8247c295cf7aaa040e

8 years agoMerge "Revert "Implement AAPT Bundle format""
Adam Lesinski [Mon, 30 Nov 2015 21:08:00 +0000 (21:08 +0000)]
Merge "Revert "Implement AAPT Bundle format""

8 years agoRevert "Implement AAPT Bundle format"
Adam Lesinski [Mon, 30 Nov 2015 21:07:44 +0000 (21:07 +0000)]
Revert "Implement AAPT Bundle format"

This reverts commit 9d0f7d44d5cc5322415f52f7ce03cc37a478b350.

Caused a build breakage when parsing some attributes.

Change-Id: I89ca958b2f2e820d353648df8aadd90bbe8d8339

8 years agoMerge "Always invalidate TextView on checkForRelayout"
Raph Levien [Mon, 30 Nov 2015 21:07:07 +0000 (21:07 +0000)]
Merge "Always invalidate TextView on checkForRelayout"

8 years agoAlways invalidate TextView on checkForRelayout
Alan Viverette [Wed, 25 Nov 2015 19:30:08 +0000 (14:30 -0500)]
Always invalidate TextView on checkForRelayout

Previously we would check whether relayout was required and optionally
invalidate; however, with partial layout we leave this work for the
makeNewLayout() method. We still need to manually invalidate, though,
since makeNewLayout() does not handle invalidation.

Bug: 25857300
Change-Id: I81ef9062c9fb4964d5e42a3562e6c782492ad65f

8 years agoMerge "Guard against monkey crash"
Jason Monk [Mon, 30 Nov 2015 20:11:00 +0000 (20:11 +0000)]
Merge "Guard against monkey crash"

8 years agoGuard against monkey crash
Jason Monk [Mon, 30 Nov 2015 20:05:35 +0000 (15:05 -0500)]
Guard against monkey crash

Bug: 25795998
Change-Id: I351faae1e29d09b7577435207ec466a1ff5ed237

8 years agoMerge "Implement AAPT Bundle format"
Adam Lesinski [Mon, 30 Nov 2015 19:51:53 +0000 (19:51 +0000)]
Merge "Implement AAPT Bundle format"

8 years agoMerge "AAPT2: Support compiling a res/ directory and output to zip"
Adam Lesinski [Mon, 30 Nov 2015 19:30:48 +0000 (19:30 +0000)]
Merge "AAPT2: Support compiling a res/ directory and output to zip"

8 years agoMerge "Add callback for connections to be notified when the ringer is silenced."...
Bryce Lee [Mon, 30 Nov 2015 19:17:53 +0000 (19:17 +0000)]
Merge "Add callback for connections to be notified when the ringer is silenced." into cw-e-dev am: 52bdf11583 am: b241487c16 am: 64e41590d2
am: 0ca7de9031

* commit '0ca7de90310034d118f21343a69a38ebc02dd0bc':
  Add callback for connections to be notified when the ringer is silenced.

8 years agoAAPT2: Support compiling a res/ directory and output to zip
Adam Lesinski [Wed, 25 Nov 2015 03:11:46 +0000 (19:11 -0800)]
AAPT2: Support compiling a res/ directory and output to zip

This allows us to compile an entire directory and output to a single
file. This is important to support generated resources in the make
build, since we may not know what resources get generated.

The link step will accept the zip and read the contents of it as if they
were passed in on the command line.

Change-Id: If1a51b0abe772350c24074353eb4989953c2e0cb

8 years agoMerge "Add callback for connections to be notified when the ringer is silenced."...
Bryce Lee [Mon, 30 Nov 2015 19:09:17 +0000 (19:09 +0000)]
Merge "Add callback for connections to be notified when the ringer is silenced." into cw-e-dev am: 52bdf11583 am: b241487c16
am: 64e41590d2

* commit '64e41590d246cf1fc548b72d40436bcd2fca7b06':
  Add callback for connections to be notified when the ringer is silenced.

8 years agoMerge "Show all windows with FLAG_SHOW_WHEN_LOCKED over lock screen if"
Chong Zhang [Mon, 30 Nov 2015 19:03:47 +0000 (19:03 +0000)]
Merge "Show all windows with FLAG_SHOW_WHEN_LOCKED over lock screen if"

8 years agoMerge "Add callback for connections to be notified when the ringer is silenced."...
Bryce Lee [Mon, 30 Nov 2015 19:02:38 +0000 (19:02 +0000)]
Merge "Add callback for connections to be notified when the ringer is silenced." into cw-e-dev am: 52bdf11583
am: b241487c16

* commit 'b241487c16976a3f0aa6592740bba15f489eab17':
  Add callback for connections to be notified when the ringer is silenced.

8 years agoMerge "Add callback for connections to be notified when the ringer is silenced."...
Bryce Lee [Mon, 30 Nov 2015 18:56:27 +0000 (18:56 +0000)]
Merge "Add callback for connections to be notified when the ringer is silenced." into cw-e-dev
am: 52bdf11583

* commit '52bdf11583366322ca14d69b895ac451a71245db':
  Add callback for connections to be notified when the ringer is silenced.

8 years agoMerge "Add callback for connections to be notified when the ringer is silenced."...
Bryce Lee [Mon, 30 Nov 2015 18:51:39 +0000 (18:51 +0000)]
Merge "Add callback for connections to be notified when the ringer is silenced." into cw-e-dev

8 years agoMerge "Remove unnecessary field from AppWindowToken."
Filip Gruszczynski [Mon, 30 Nov 2015 18:38:44 +0000 (18:38 +0000)]
Merge "Remove unnecessary field from AppWindowToken."

8 years agofix data race condition BUG: 25819358 am: 2242b4d2bd am: 1dbb0355dc am: 1d92c4538f
Erik Wolsheimer [Mon, 30 Nov 2015 17:43:39 +0000 (17:43 +0000)]
fix data race condition BUG: 25819358 am: 2242b4d2bd am: 1dbb0355dc am: 1d92c4538f
am: 48543000e0

* commit '48543000e0417213b227b1047a83eb7d8528ff35':
  fix data race condition BUG: 25819358

8 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Mon, 30 Nov 2015 17:36:56 +0000 (17:36 +0000)]
Merge "Import translations. DO NOT MERGE"

8 years agofix data race condition BUG: 25819358 am: 2242b4d2bd am: 1dbb0355dc
Erik Wolsheimer [Mon, 30 Nov 2015 17:35:20 +0000 (17:35 +0000)]
fix data race condition BUG: 25819358 am: 2242b4d2bd am: 1dbb0355dc
am: 1d92c4538f

* commit '1d92c4538f8ed43a2e9c1e6d4694ddb3fb058741':
  fix data race condition BUG: 25819358

8 years agofix data race condition BUG: 25819358 am: 2242b4d2bd
Erik Wolsheimer [Mon, 30 Nov 2015 17:28:44 +0000 (17:28 +0000)]
fix data race condition BUG: 25819358 am: 2242b4d2bd
am: 1dbb0355dc

* commit '1dbb0355dc89a9f878365ee793ec48f6cb0b1426':
  fix data race condition BUG: 25819358

8 years agofix data race condition BUG: 25819358
Erik Wolsheimer [Mon, 30 Nov 2015 17:22:56 +0000 (17:22 +0000)]
fix data race condition BUG: 25819358
am: 2242b4d2bd

* commit '2242b4d2bda7f83cf7813103ff95d9b4e244126f':
  fix data race condition BUG: 25819358

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 30 Nov 2015 16:52:28 +0000 (17:52 +0100)]
Import translations. DO NOT MERGE

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

8 years agoFix for being able to setup Managed User from system user.
Alan Treadway [Thu, 26 Nov 2015 15:30:37 +0000 (15:30 +0000)]
Fix for being able to setup Managed User from system user.

Also move feature flag check to ensure it is used in all cases.

Change-Id: If42787c5bc9ab824449c70f90fb827cf2da7507f

8 years agoMerge "Avoid concurrent modification for pending partial layout views"
Alan Viverette [Mon, 30 Nov 2015 14:59:23 +0000 (14:59 +0000)]
Merge "Avoid concurrent modification for pending partial layout views"

8 years agoMerge "Small refactoring for FileSynthesisCallback."
Niels Egberts [Mon, 30 Nov 2015 14:05:36 +0000 (14:05 +0000)]
Merge "Small refactoring for FileSynthesisCallback."

8 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Mon, 30 Nov 2015 14:02:17 +0000 (14:02 +0000)]
Merge "Import translations. DO NOT MERGE"

8 years agoSmall refactoring for FileSynthesisCallback.
Niels Egberts [Fri, 20 Nov 2015 12:05:55 +0000 (12:05 +0000)]
Small refactoring for FileSynthesisCallback.

Removed unused callerIdentity member and removed null checks
for the dispatcher.

Change-Id: I2983f5d48a7a593bc998ba4e033f1e815fa61819

8 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Mon, 30 Nov 2015 14:01:01 +0000 (14:01 +0000)]
Merge "Import translations. DO NOT MERGE"

8 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Mon, 30 Nov 2015 14:00:02 +0000 (14:00 +0000)]
Merge "Import translations. DO NOT MERGE"

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 30 Nov 2015 13:57:50 +0000 (05:57 -0800)]
Import translations. DO NOT MERGE

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

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 30 Nov 2015 13:53:19 +0000 (05:53 -0800)]
Import translations. DO NOT MERGE

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

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 30 Nov 2015 13:51:51 +0000 (05:51 -0800)]
Import translations. DO NOT MERGE

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

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 30 Nov 2015 13:23:55 +0000 (05:23 -0800)]
Import translations. DO NOT MERGE

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

8 years agoMerge "Reopen MTP devices when the provider is created."
Daichi Hirono [Mon, 30 Nov 2015 01:08:06 +0000 (01:08 +0000)]
Merge "Reopen MTP devices when the provider is created."

8 years agoReopen MTP devices when the provider is created.
Daichi Hirono [Thu, 26 Nov 2015 06:20:08 +0000 (15:20 +0900)]
Reopen MTP devices when the provider is created.

When the provider is created, it reopens MTP devices that are recorded
in the database. It enables the provider to resume MTP session after the
provider process is killed by the system.

BUG=25704854
Change-Id: I58ae80fdb2e02cb0f045c63c4ade8943e2baae06

8 years agoMerge "Remove isCertificateEntry check" am: 7d72975c5b am: 59919babe0
Chad Brubaker [Mon, 30 Nov 2015 00:00:44 +0000 (00:00 +0000)]
Merge "Remove isCertificateEntry check" am: 7d72975c5b am: 59919babe0
am: 19c7afab62

* commit '19c7afab6244303e78bbc6b5ab04520bbd4172d7':
  Remove isCertificateEntry check

8 years agoMerge "Remove isCertificateEntry check" am: 7d72975c5b
Chad Brubaker [Sun, 29 Nov 2015 23:56:01 +0000 (23:56 +0000)]
Merge "Remove isCertificateEntry check" am: 7d72975c5b
am: 59919babe0

* commit '59919babe0763980ae0a3977e2701ad2d81a6cbe':
  Remove isCertificateEntry check

8 years agoMerge "Remove isCertificateEntry check"
Chad Brubaker [Sun, 29 Nov 2015 23:50:33 +0000 (23:50 +0000)]
Merge "Remove isCertificateEntry check"
am: 7d72975c5b

* commit '7d72975c5b3e6f18710f078199e7a9e3f9376c60':
  Remove isCertificateEntry check

8 years agoMerge "Remove isCertificateEntry check"
Chad Brubaker [Sun, 29 Nov 2015 23:45:47 +0000 (23:45 +0000)]
Merge "Remove isCertificateEntry check"

8 years agoCamera2: fix build break
Zhijun He [Fri, 27 Nov 2015 20:58:34 +0000 (12:58 -0800)]
Camera2: fix build break

Change-Id: I1641c012eb34fee15b1f4ffa3206de7631014440

8 years agoMerge "Camera2: update dynamic black level type"
Zhijun He [Fri, 27 Nov 2015 20:40:10 +0000 (20:40 +0000)]
Merge "Camera2: update dynamic black level type"

8 years agoMerge "Don't match network requests to legacy API requests."
Lorenzo Colitti [Fri, 27 Nov 2015 03:09:33 +0000 (03:09 +0000)]
Merge "Don't match network requests to legacy API requests."

8 years agoMerge "Fix one of the breakages of ConnectivityServiceTest in master."
Lorenzo Colitti [Fri, 27 Nov 2015 03:04:31 +0000 (03:04 +0000)]
Merge "Fix one of the breakages of ConnectivityServiceTest in "

8 years agoDon't match network requests to legacy API requests.
Lorenzo Colitti [Wed, 25 Nov 2015 11:28:50 +0000 (20:28 +0900)]
Don't match network requests to legacy API requests.

Currently, we look at network requests that are created by the
current requestNetwork API to see if they look like requests
that could have been created using the legacy
startUsingNetworkFeature API.

This causes those networks to be added to LegacyTypeTracker,
and so cause CONNECTIVITY_ACTION broadcasts, be accessible
using getNetworkInfo(int type), etc. This was done in the L
timeframe so that apps could request networks using the
then-new requestNetwork APIs and still use them using legacy
APIs such as requestRouteToHost.

However, the resulting CONNECTIVITY_ACTION broadcasts are
expensive. requestRouteToHost has been deprecated since L, and
mixing the old and new APIs was never recommended, so it's time
to delete this hack.

Bug: 22513439
Bug: 23350688
Bug: 25295964
Change-Id: Id867058446e5ee44396743d126d26fa57da0c990

8 years agoFix one of the breakages of ConnectivityServiceTest in master.
Lorenzo Colitti [Fri, 27 Nov 2015 01:52:10 +0000 (10:52 +0900)]
Fix one of the breakages of ConnectivityServiceTest in 

Change-Id: I31c7a019383fa589beb1572486700e54edfb97e8

8 years agoRemove isCertificateEntry check
Chad Brubaker [Thu, 26 Nov 2015 22:00:50 +0000 (14:00 -0800)]
Remove isCertificateEntry check

This was returning false on some test keystores even when
getCertificate would correct return a certificate. Remove the check to
be consistent with how conscrypt loads trust anchors from the keystore.

Bug: 25897324
Change-Id: Ie87658a261ee7ba1cca6896e34b6c53b8abfba85

8 years agoMerge "Stop using startUsingNetworkFeature"
Erik Kline [Thu, 26 Nov 2015 08:57:18 +0000 (08:57 +0000)]
Merge "Stop using startUsingNetworkFeature"

8 years agoMerge "Fix javadoc for the NetworkRequest version of requestNetwork."
Lorenzo Colitti [Thu, 26 Nov 2015 08:16:51 +0000 (08:16 +0000)]
Merge "Fix javadoc for the NetworkRequest version of requestNetwork."

8 years agoMerge changes Iee47e374,Icc64942a
Yohei Yukawa [Thu, 26 Nov 2015 08:16:33 +0000 (08:16 +0000)]
Merge changes Iee47e374,Icc64942a

* changes:
  Use Context.getSystemService(Class<T>) for InputManager.
  Use Context.getSystemService(Class<T>) for InputMethodManager.

8 years agoFix javadoc for the NetworkRequest version of requestNetwork.
Lorenzo Colitti [Thu, 26 Nov 2015 02:03:17 +0000 (11:03 +0900)]
Fix javadoc for the NetworkRequest version of requestNetwork.

The documentation for this method says that the request can be
released using releaseNetworkRequest, but that's not true.
releaseNetworkRequest only takes a PendingIntent, and can only be
used to release a request filed with a PendingIntent.

Fix the docs to say that the request needs to be released using
unregisterNetworkCallback.

Change-Id: If044fd2d463ab8d09874172d5d56946251057a3c

8 years agoUse Context.getSystemService(Class<T>) for InputManager.
Yohei Yukawa [Thu, 26 Nov 2015 04:35:04 +0000 (20:35 -0800)]
Use Context.getSystemService(Class<T>) for InputManager.

This is a mechanical replacement of Context.getSystemService(String)
with Context.getSystemService(Class<T>) when retrieving InputManager.
Note those are bundled code.  Hence we don't need to make sure
Build.VERSION.SDK_INT >= 23.

Change-Id: Iee47e374e1349720e3100bab33ed139e1f47c169

8 years agoUse Context.getSystemService(Class<T>) for InputMethodManager.
Yohei Yukawa [Thu, 26 Nov 2015 04:32:24 +0000 (20:32 -0800)]
Use Context.getSystemService(Class<T>) for InputMethodManager.

This is a mechanical replacement of Context.getSystemService(String)
with Context.getSystemService(Class<T>) when retrieving
InputMethodManager.  Note those are bundled code.  Hence we don't need
to make sure Build.VERSION.SDK_INT >= 23.

Change-Id: Icc64942ad8f11e44bf84f8d4fe476b2fdd1257f3

8 years agoStop using startUsingNetworkFeature
Erik Kline [Fri, 20 Nov 2015 08:47:08 +0000 (17:47 +0900)]
Stop using startUsingNetworkFeature

Also:
    - add a few @Overrides where appropriate.
    - some small refactoring/reformatting

Bug: 9580643
Bug: 22332501
Bug: 25824776
Change-Id: Id4f496ced4db15cd9da51c80c5d1dde06f476f54

8 years agoExtract mapping operations to partial class of MtpDatabase.
Daichi Hirono [Fri, 20 Nov 2015 08:51:53 +0000 (17:51 +0900)]
Extract mapping operations to partial class of MtpDatabase.

Change-Id: I5fda6d5754206528ad5953bcc179a0ffe0b4982d

8 years agoChange ID format of MtpDocumentsProvider.
Daichi Hirono [Thu, 19 Nov 2015 07:13:38 +0000 (16:13 +0900)]
Change ID format of MtpDocumentsProvider.

BUG=25704562

Change-Id: I5d9fc167512eee06964650e07206e226173611b2

8 years agoMerge "Add new methods to MtpDatabase."
Daichi Hirono [Thu, 26 Nov 2015 01:31:03 +0000 (01:31 +0000)]
Merge "Add new methods to MtpDatabase."

8 years agoCreated a new bug report workflow so user can keep track of its progress.
Felipe Leme [Wed, 25 Nov 2015 01:48:05 +0000 (17:48 -0800)]
Created a new bug report workflow so user can keep track of its progress.

The old workflow was:

1. dumpstate starts.
2. When dumpstate finishes, it sends a BUGREPORT_FINISHED intent.
3. Shell's BugreportReceiver receives the BUGREPORT_FINISHED and issues a
   system notification so user can share the bug report.

The new workflow is:

1. When dumpstate starts, it sends a BUGREPORT_STARTED with its pid and
   the estimated total effort.
2. When Shell's BugreportReceiver receives the BUGREPORT_STARTED, it:
  2.1 Issues a system notification so user can watch the
      progresss (which is 0% initially).
  2.2 Starts a service (BugreportProgressService) responsible for
      polling the dumpstate progress (using system properties and the
      pid) and updating the system notification.
3. As dumpstate progress, it updates the proper system property.
4. When dumpstate finishes, it sends a BUGREPORT_FINISHED event.
5. When Shell's BugreportReceiver receives the BUGREPORT_FINISHED, it:
  5.1 Finishes the service if necessary.
  5.2 Issues a system notification so user can share the bug report.

This CL handles the Shell changes only, the dumpstate changes will be
changed in a separate CL.

BUG: 25794470
Change-Id: Icbd0b42dd48e8db376b60544348b6818c6374338

8 years agoRemove unnecessary field from AppWindowToken.
Filip Gruszczynski [Thu, 26 Nov 2015 00:45:26 +0000 (16:45 -0800)]
Remove unnecessary field from AppWindowToken.

Change-Id: I0bc488dc67d5128a1f47f58f62038d178d8ef0cd

8 years agoMerge "Syncronosuly notify SelectPrinterActivity about changes to enabled print services"
Philip P. Moltmann [Thu, 26 Nov 2015 00:36:55 +0000 (00:36 +0000)]
Merge "Syncronosuly notify SelectPrinterActivity about changes to enabled print services"

8 years agoSyncronosuly notify SelectPrinterActivity about changes to enabled print
Philip P. Moltmann [Wed, 25 Nov 2015 21:35:41 +0000 (13:35 -0800)]
Syncronosuly notify SelectPrinterActivity about changes to enabled print
services

If the SelectPrinterActivity is visible it shows different emptyState
depending on if there are print services available or not. Hence the
activity has to listen to changes to the list of enabled services.

This also fixes a small syncronsation problem if two observers are
registered for the enabled print services.

Bug: 25666802
Change-Id: I79af66f25f10e66347b48ce9bb99c1657b30a8dd

8 years agoMerge "Refactored the BUGREPORT_RECEIVED logic into a new service."
Felipe Leme [Thu, 26 Nov 2015 00:14:30 +0000 (00:14 +0000)]
Merge "Refactored the BUGREPORT_RECEIVED logic into a new service."

8 years agoMerge "Initial integration test for BugReportReceiver."
Felipe Leme [Thu, 26 Nov 2015 00:14:03 +0000 (00:14 +0000)]
Merge "Initial integration test for BugReportReceiver."

8 years agoMerge "Rename PhoneBase to Phone."
Amit Mahajan [Wed, 25 Nov 2015 23:48:05 +0000 (23:48 +0000)]
Merge "Rename PhoneBase to Phone."

8 years agoMerge "Revert "Destroy docked divider surface when it's hidden.""
Filip Gruszczynski [Wed, 25 Nov 2015 23:20:25 +0000 (23:20 +0000)]
Merge "Revert "Destroy docked divider surface when it's hidden.""

8 years agoRevert "Destroy docked divider surface when it's hidden."
Filip Gruszczynski [Wed, 25 Nov 2015 23:01:48 +0000 (15:01 -0800)]
Revert "Destroy docked divider surface when it's hidden."

This reverts commit cb5f57bc580d7f73b93c8f504daa4dcd74cdce72.

Change-Id: I1f77e1ccd5382ed57b8e4165afd79db5223f51c1

8 years agoMerge "Fix build breakage in BridgeIInputMethodManager."
Yohei Yukawa [Wed, 25 Nov 2015 22:33:49 +0000 (22:33 +0000)]
Merge "Fix build breakage in BridgeIInputMethodManager."

8 years agoFix build breakage in BridgeIInputMethodManager.
Yohei Yukawa [Wed, 25 Nov 2015 22:21:01 +0000 (14:21 -0800)]
Fix build breakage in BridgeIInputMethodManager.

This is a follow up CL for 35d3f37bd51268cc99d81a3f537ac364d178e851 [1],
which changed some method signatures of IInputMethodManager.

  [1]: Ia1fe120af7d71495c5f3a4fc0ec6390efb8240ca

We need to update BridgeIInputMethodManager.java every time when we
change IInputMethodManager.

Bug: 25373872
Change-Id: I126dc4234f921039a9d29010ea411a0a7d2ef6c6

8 years agoMerge "Support projection in OpReorderer"
Chris Craik [Wed, 25 Nov 2015 22:14:42 +0000 (22:14 +0000)]
Merge "Support projection in OpReorderer"

8 years agoMerge "Allow to specify which user the call should be inserted to"
Tony Mak [Wed, 25 Nov 2015 22:10:26 +0000 (22:10 +0000)]
Merge "Allow to specify which user the call should be inserted to"

8 years agoSupport projection in OpReorderer
Chris Craik [Wed, 25 Nov 2015 00:40:09 +0000 (16:40 -0800)]
Support projection in OpReorderer

bug:22480459

Change-Id: Iceb71732dc50957cfb47fa1ba9b8e18e6fc51132

8 years agoAllow to specify which user the call should be inserted to
Tony Mak [Wed, 25 Nov 2015 21:55:52 +0000 (21:55 +0000)]
Allow to specify which user the call should be inserted to

Two changes:
1. Allow to specify which user the call is inserted to
2. Store addForAllUsers in call, so that we do not need to copy every call

Change-Id: I8fc9e8e4f2e0bdb0049ca2914fdf8908f62b3eb2

8 years agoMerge "Don't call DPM from UserManager to avoid lock inversion"
Makoto Onuki [Wed, 25 Nov 2015 21:51:19 +0000 (21:51 +0000)]
Merge "Don't call DPM from UserManager to avoid lock inversion"

8 years agoMerge "Move BakedOpDispatcher to separate file"
Chris Craik [Wed, 25 Nov 2015 21:38:56 +0000 (21:38 +0000)]
Merge "Move BakedOpDispatcher to separate file"

8 years agoMove BakedOpDispatcher to separate file
Chris Craik [Wed, 25 Nov 2015 21:27:33 +0000 (13:27 -0800)]
Move BakedOpDispatcher to separate file

Change-Id: If7aad6db6b7e54a33eac9b9eddbe8cd844207282

8 years agoMerge "Implement checkClientTrusted" am: 8e19803a6a am: a4a6cf9b51
Chad Brubaker [Wed, 25 Nov 2015 20:55:01 +0000 (20:55 +0000)]
Merge "Implement checkClientTrusted" am: 8e19803a6a am: a4a6cf9b51
am: 52ae900a29

* commit '52ae900a291844b6454fdb5f9edf65abb95c6fa9':
  Implement checkClientTrusted

8 years agoMerge "Fix RecordingCanvas::refPaint, add tests"
Chris Craik [Wed, 25 Nov 2015 20:51:47 +0000 (20:51 +0000)]
Merge "Fix RecordingCanvas::refPaint, add tests"

8 years agoMerge "Implement checkClientTrusted" am: 8e19803a6a
Chad Brubaker [Wed, 25 Nov 2015 20:48:25 +0000 (20:48 +0000)]
Merge "Implement checkClientTrusted" am: 8e19803a6a
am: a4a6cf9b51

* commit 'a4a6cf9b51e903087e2c7f77f2dcb814a0b43fb8':
  Implement checkClientTrusted

8 years agoMerge "Implement checkClientTrusted"
Chad Brubaker [Wed, 25 Nov 2015 20:41:03 +0000 (20:41 +0000)]
Merge "Implement checkClientTrusted"
am: 8e19803a6a

* commit '8e19803a6a10ac44ca59cf15a2ae1f2eedb13cf8':
  Implement checkClientTrusted

8 years agoMerge "Tell the reason why IMM called startInput()."
Yohei Yukawa [Wed, 25 Nov 2015 20:36:13 +0000 (20:36 +0000)]
Merge "Tell the reason why IMM called startInput()."

8 years agoMerge "Implement checkClientTrusted"
Chad Brubaker [Wed, 25 Nov 2015 20:33:31 +0000 (20:33 +0000)]
Merge "Implement checkClientTrusted"

8 years agoImplement checkClientTrusted
Chad Brubaker [Wed, 25 Nov 2015 18:39:28 +0000 (10:39 -0800)]
Implement checkClientTrusted

Bug: 25885029
Change-Id: I07ef11a556f1a1a65456ae5e3904c56902c6e82a

8 years agoFixing task view heights in paging tasks
Winson [Wed, 25 Nov 2015 19:18:56 +0000 (11:18 -0800)]
Fixing task view heights in paging tasks

- Now, all task views will be bounded by the stack rect, and the
  thumbnail bitmaps will be scaled accordingly to fit either by width
  (when stacked) or to the view rect (when freeform)
- Fixing issue where the history button was not offset in freeform
- Tweaking thumbnail sizes of fullscreen screenshots
- Still requires changes to fix clipping to the correct aspect ratio in
  freeform.

Change-Id: I678b87c2f06947d32f3bb7c60a35f28eb36b5a68

8 years agoSeparating the stack vs the historical tasks.
Winson [Tue, 24 Nov 2015 23:00:31 +0000 (15:00 -0800)]
Separating the stack vs the historical tasks.

- Adding a notion of session to the stack.  If the history is enabled,
  the stack will now be constrained to show either tasks that were last
  active in a window of time, or a minimum number of tasks.
- Giving the history button the full space above the stack so that it
  looks more balanced.

Change-Id: If7b647349e8bb164ae86fd6dba3f7e974257eb5b

8 years agoMerge "Adding history view."
Winson Chung [Wed, 25 Nov 2015 19:43:10 +0000 (19:43 +0000)]
Merge "Adding history view."

8 years agoAdding history view.
Winson [Sat, 21 Nov 2015 00:00:45 +0000 (16:00 -0800)]
Adding history view.

- Initial changes to show a history view within Overview (behind tuner
  flag)
- Restoring the task view dim in the stack

Change-Id: I0503d11768736c86f3145942404391dfacd0ddd6

8 years agoAvoid concurrent modification for pending partial layout views
Alan Viverette [Wed, 25 Nov 2015 19:41:46 +0000 (14:41 -0500)]
Avoid concurrent modification for pending partial layout views

Bug: 25871867
Change-Id: I696a441704bad65203633bd34dafc7a56162007a

8 years agoMerge "Custom engineUpdate/engineDoFinal(ByteBuffer, ByteBuffer)." am: e766e399c5...
Alex Klyubin [Wed, 25 Nov 2015 19:23:55 +0000 (19:23 +0000)]
Merge "Custom engineUpdate/engineDoFinal(ByteBuffer, ByteBuffer)." am: e766e399c5 am: 4bc1904119
am: 0540e1b127

* commit '0540e1b127e03ecc97c32719ac79769d69c16aec':
  Custom engineUpdate/engineDoFinal(ByteBuffer, ByteBuffer).

8 years agoMerge "Extend the \'qwerty\' key layout" am: 9a83f115ad am: e579edc76b
Jim Kaye [Wed, 25 Nov 2015 19:22:37 +0000 (19:22 +0000)]
Merge "Extend the \'qwerty\' key layout" am: 9a83f115ad am: e579edc76b
am: b159adb4a8

* commit 'b159adb4a89de42156537294b39d163c26d04d88':
  Extend the 'qwerty' key layout

8 years agoMerge "ssl: make DistinguishedNameParser a package-private class in org.apache.http...
Sergio Giro [Wed, 25 Nov 2015 19:21:11 +0000 (19:21 +0000)]
Merge "ssl: make DistinguishedNameParser a package-private class in org.apache.http.conn.ssl" am: d5a5d547d0 am: d9942006e4
am: dd52b3db36

* commit 'dd52b3db3678dc0840b82f5406d445cea59d2b59':
  ssl: make DistinguishedNameParser a package-private class in org.apache.http.conn.ssl

8 years agoDon't call DPM from UserManager to avoid lock inversion
Makoto Onuki [Wed, 25 Nov 2015 18:05:17 +0000 (10:05 -0800)]
Don't call DPM from UserManager to avoid lock inversion

- Also make sure DPMS.mOwners is always guarded with DPMS.this.
(and remove synchronization from Owners.)

Bug 25796840

Change-Id: I83f7b78e7b437d9c2a2b1d6e714346cd15f95330

8 years agoMerge "Custom engineUpdate/engineDoFinal(ByteBuffer, ByteBuffer)." am: e766e399c5
Alex Klyubin [Wed, 25 Nov 2015 19:13:21 +0000 (19:13 +0000)]
Merge "Custom engineUpdate/engineDoFinal(ByteBuffer, ByteBuffer)." am: e766e399c5
am: 4bc1904119

* commit '4bc1904119875dd0e8c63f87106e8ab293cc9a7a':
  Custom engineUpdate/engineDoFinal(ByteBuffer, ByteBuffer).

8 years agoMerge "Only create surface when showing window if it destroys it when hiding."
Filip Gruszczynski [Wed, 25 Nov 2015 19:09:21 +0000 (19:09 +0000)]
Merge "Only create surface when showing window if it destroys it when hiding."

8 years agoMerge "Don't preserve the window on client side when pinning activity."
Filip Gruszczynski [Wed, 25 Nov 2015 19:09:06 +0000 (19:09 +0000)]
Merge "Don't preserve the window on client side when pinning activity."

8 years agoTell the reason why IMM called startInput().
Yohei Yukawa [Wed, 25 Nov 2015 19:07:19 +0000 (11:07 -0800)]
Tell the reason why IMM called startInput().

As a preparation to fix Bug 25373872, this CL introduces an additional
int parameter into the following two methods
  - IInputMethodManager.startInput()
  - IInputMethodManager.windowGainedFocus()
so that IMMS can know why IMM needs to start input.  Currently the
"startInputReason" parameter is used only for debug message only when
the OS is rebuilt with flipping IMMS#DEBUG to true.  Basically this
should have no impact in production builds except for a tiny overhead
of having one int parameter in some internal IPC calls.

Note that since 7663d80f6b6fd6ca7a736c3802013a09c0abdeb9 [1] basically
IMMS#windowGainedFocus() has been a superset of IMMS#startInput().
Hence we should pass to "startInputReason" parameter to
IMMS#windowGainedFocus() as well as IMMS#startInput().

  [1]: Icb58bef75ef4bf9979f3e2ba88cea20db2e2c3fb

Bug: 25373872
Change-Id: Ia1fe120af7d71495c5f3a4fc0ec6390efb8240ca

8 years agoMerge "Custom engineUpdate/engineDoFinal(ByteBuffer, ByteBuffer)."
Alex Klyubin [Wed, 25 Nov 2015 19:05:09 +0000 (19:05 +0000)]
Merge "Custom engineUpdate/engineDoFinal(ByteBuffer, ByteBuffer)."
am: e766e399c5

* commit 'e766e399c59669156284c330ae3f38f79230d930':
  Custom engineUpdate/engineDoFinal(ByteBuffer, ByteBuffer).