Commit Graph

61090 Commits

Author SHA1 Message Date
Jorim Jaggi
b0a301396d Make sure we call reportResized exactly once when drag starting am: c662d8e946
am: ab3e290fe2

* commit 'ab3e290fe264ddc3874ebc96addb33c7a7ca3b1d':
  Make sure we call reportResized exactly once when drag starting
2016-02-17 21:28:06 +00:00
Jorim Jaggi
ab3e290fe2 Make sure we call reportResized exactly once when drag starting
am: c662d8e946

* commit 'c662d8e94620c84b2fa57bfd6e45690f0c349d89':
  Make sure we call reportResized exactly once when drag starting
2016-02-17 21:18:23 +00:00
Jorim Jaggi
c662d8e946 Make sure we call reportResized exactly once when drag starting
If there was another layout happening before the app called
relayoutWindow(), we were issuing multiple reportResized calls,
leading to multiple relayoutWindow() calls, slowing everything
down.

Change-Id: I1f3da04bb7581c655567e1d1a6fe0f8c83c0ffda
2016-02-17 21:02:13 +00:00
Tao Bao
60e0644d60 Merge "Add a Settings option of "Disable automatic update"." into nyc-dev am: c86f234c51
am: a250308200

* commit 'a250308200542681c7409a394d8277afa203123d':
  Add a Settings option of "Disable automatic update".
2016-02-17 20:16:00 +00:00
Tao Bao
a250308200 Merge "Add a Settings option of "Disable automatic update"." into nyc-dev
am: c86f234c51

* commit 'c86f234c51ebcb78164d850177eb2143112f9f65':
  Add a Settings option of "Disable automatic update".
2016-02-17 20:09:51 +00:00
Tao Bao
c86f234c51 Merge "Add a Settings option of "Disable automatic update"." into nyc-dev 2016-02-17 20:06:52 +00:00
Sunny Goyal
e4ef2f5160 Using AppWidgetHostView in RemoteViewsAdapter instead of managing the RemoteViews inflation itself
am: a086f0436a

* commit 'a086f0436ad600915db1f8e0dc284d653d152e8d':
  Using AppWidgetHostView in RemoteViewsAdapter instead of managing the RemoteViews inflation itself
2016-02-17 18:15:08 +00:00
Sunny Goyal
885d729bc0 Changing hashmaps to sparseArrays and other similar conversions
am: 4ea5484266

* commit '4ea548426666c736587a7fe5ad24ab03a3466cad':
  Changing hashmaps to sparseArrays and other similar conversions
2016-02-17 18:13:31 +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
0d0f4756d5 Merge "Expose Intent for launching screen reader tutorial." into nyc-dev am: 9f972de6e5
am: 747d8814a8

* commit '747d8814a8bb23dea66daed8123b5a498ecf0b50':
  Expose Intent for launching screen reader tutorial.
2016-02-17 18:06:51 +00:00
Steve McKay
2d9344d5d9 Merge "Remove "HOME" directory. Use "Documents" instead." into nyc-dev am: 25a7ee08f6
am: 40cc8409e1

* commit '40cc8409e1c0255e44ce3ca2818dae9f636f9c7a':
  Remove "HOME" directory. Use "Documents" instead.
2016-02-17 18:00:54 +00:00
Anna Galusza
747d8814a8 Merge "Expose Intent for launching screen reader tutorial." into nyc-dev
am: 9f972de6e5

* commit '9f972de6e59da095670c65c5936114da43b5ec1b':
  Expose Intent for launching screen reader tutorial.
2016-02-17 18:00:15 +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
11b2f01262 Merge "DO NOT MERGE Extend the DownloadManager.addCompletedDownload() method to support origin details." into nyc-dev
am: e619e33b60

* commit 'e619e33b606dbdd885d5379a6f1fd60636ff59a2':
  DO NOT MERGE Extend the DownloadManager.addCompletedDownload() method to support origin details.
2016-02-17 17:55:21 +00:00
Steve McKay
40cc8409e1 Merge "Remove "HOME" directory. Use "Documents" instead." into nyc-dev
am: 25a7ee08f6

* commit '25a7ee08f6eaa1c0e9e2b2a0ef9b6fe8ecf5da23':
  Remove "HOME" directory. Use "Documents" instead.
2016-02-17 17:54:09 +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
Yohei Yukawa
f71167b50a Merge "Add Copy-On-Write mode to InputMethodSettings." into nyc-dev am: 93dfc03ba6
am: 92721fedfb

* commit '92721fedfb335d1c7b9f6abc40ab83a778c25098':
  Add Copy-On-Write mode to InputMethodSettings.
2016-02-17 17:23:28 +00:00
Yohei Yukawa
92721fedfb Merge "Add Copy-On-Write mode to InputMethodSettings." into nyc-dev
am: 93dfc03ba6

* commit '93dfc03ba632590e30604dde31b78628df962eff':
  Add Copy-On-Write mode to InputMethodSettings.
2016-02-17 17:17:15 +00:00
Yohei Yukawa
93dfc03ba6 Merge "Add Copy-On-Write mode to InputMethodSettings." into nyc-dev 2016-02-17 17:11:54 +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
Julia Reynolds
6e0498b342 Merge "Alarm can end time-based rule." into nyc-dev am: 7caa0b8724
am: 835a2a1f6c

* commit '835a2a1f6ce2e3936d4cb2411312efd37403f639':
  Alarm can end time-based rule.
2016-02-17 15:34:31 +00:00
Andrei Stingaceanu
6cc3a00f96 Merge "Suspend packages - one call for multiple packages" into nyc-dev am: 3e7bfe98e0
am: cb4634aa72

* commit 'cb4634aa72c8435705e41d7b0bf714b5c276022e':
  Suspend packages - one call for multiple packages
2016-02-17 15:30:07 +00:00
Julia Reynolds
835a2a1f6c Merge "Alarm can end time-based rule." into nyc-dev
am: 7caa0b8724

* commit '7caa0b872479fef4067fbc1f824ca184addf9c37':
  Alarm can end time-based rule.
2016-02-17 15:27:48 +00:00
Andrei Stingaceanu
cb4634aa72 Merge "Suspend packages - one call for multiple packages" into nyc-dev
am: 3e7bfe98e0

* commit '3e7bfe98e0727f54fe369bfa6b416e1d040830a7':
  Suspend packages - one call for multiple packages
2016-02-17 15:23:54 +00: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
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
Sergey Poromov
137a63025b Merge "Fix BackupTransport#getBackupQuota() javadoc." into nyc-dev am: af11ff0c03
am: 05878e0b06

* commit '05878e0b06c1e717c903cfe9fec2769b5f983e5b':
  Fix BackupTransport#getBackupQuota() javadoc.
2016-02-17 13:56:08 +00:00
Sergey Poromov
05878e0b06 Merge "Fix BackupTransport#getBackupQuota() javadoc." into nyc-dev
am: af11ff0c03

* commit 'af11ff0c03a774324726ade96ef162dbe9f279f4':
  Fix BackupTransport#getBackupQuota() javadoc.
2016-02-17 13:51:20 +00:00
Sergey Poromov
af11ff0c03 Merge "Fix BackupTransport#getBackupQuota() javadoc." into nyc-dev 2016-02-17 13:46:23 +00:00
Julia Reynolds
1998ee5628 Alarm can end time-based rule.
Bug: 21069008
Change-Id: I857d85a32eb44ca873da4a9f19323c48a922ab9f
2016-02-17 08:44:26 -05:00
Andrei Stingaceanu
4d9c991308 Merge "Suspend packages - new API for retrieving the suspended status" into nyc-dev am: 5ae4e73ef0
am: d09548d408

* commit 'd09548d4082996edebc2ae96861be1bc510be34b':
  Suspend packages - new API for retrieving the suspended status
2016-02-17 12:07:18 +00:00
Andrei Stingaceanu
d09548d408 Merge "Suspend packages - new API for retrieving the suspended status" into nyc-dev
am: 5ae4e73ef0

* commit '5ae4e73ef0747c2d08a901f1a76d8fb8ee64a53a':
  Suspend packages - new API for retrieving the suspended status
2016-02-17 12:03:16 +00:00
Andrei Stingaceanu
5ae4e73ef0 Merge "Suspend packages - new API for retrieving the suspended status" into nyc-dev 2016-02-17 11:57:51 +00:00
Tomasz Mikolajewski
d659cad62f Merge "Implement getDocumentStreamTypes() in DocumentsProvider." into nyc-dev am: 804d648138
am: d0c2533b5c

* commit 'd0c2533b5c770723fffc795957948691de58bd6e':
  Implement getDocumentStreamTypes() in DocumentsProvider.
2016-02-17 11:45:34 +00:00
Tomasz Mikolajewski
d0c2533b5c Merge "Implement getDocumentStreamTypes() in DocumentsProvider." into nyc-dev
am: 804d648138

* commit '804d648138212a00bb260291e39fde0b327df709':
  Implement getDocumentStreamTypes() in DocumentsProvider.
2016-02-17 11:41:04 +00:00
Tomasz Mikolajewski
804d648138 Merge "Implement getDocumentStreamTypes() in DocumentsProvider." into nyc-dev 2016-02-17 11:34:12 +00:00
Tomasz Mikolajewski
366828b056 Merge "Remove unused return in DocumentsProvider.removeDocument." into nyc-dev am: 36aafd5086
am: ae65936e8f

* commit 'ae65936e8f86d93890b690041a31a9c3225a36db':
  Remove unused return in DocumentsProvider.removeDocument.
2016-02-17 07:09:42 +00:00
Tomasz Mikolajewski
ae65936e8f Merge "Remove unused return in DocumentsProvider.removeDocument." into nyc-dev
am: 36aafd5086

* commit '36aafd5086dbd2e604419a0e02a9c7f292f092cd':
  Remove unused return in DocumentsProvider.removeDocument.
2016-02-17 07:05:54 +00:00
Tomasz Mikolajewski
36aafd5086 Merge "Remove unused return in DocumentsProvider.removeDocument." into nyc-dev 2016-02-17 07:02:55 +00:00
Seigo Nonaka
8bc0a2412d Merge "Improve backspace for emoji and variation sequences." into nyc-dev am: 3c6e30818d
am: ab421cab7a

* commit 'ab421cab7ad18c7d9e3af10813c7d98c028ff073':
  Improve backspace for emoji and variation sequences.
2016-02-17 06:50:23 +00:00
Seigo Nonaka
ab421cab7a Merge "Improve backspace for emoji and variation sequences." into nyc-dev
am: 3c6e30818d

* commit '3c6e30818d5927aace44331c70020e42ce8f5bf2':
  Improve backspace for emoji and variation sequences.
2016-02-17 06:46:26 +00:00
Seigo Nonaka
3c6e30818d Merge "Improve backspace for emoji and variation sequences." into nyc-dev 2016-02-17 06:42:14 +00:00
Seigo Nonaka
ff3bfd5a79 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
2016-02-17 15:29:52 +09:00
Jorim Jaggi
6859c86aa3 Fix recents transitions am: 8a5c64062f
am: ec8506212c

* commit 'ec8506212c096f8e8c6404bd762e7472c8b08277':
  Fix recents transitions
2016-02-17 06:27:22 +00:00
Jorim Jaggi
ec8506212c Fix recents transitions
am: 8a5c64062f

* commit '8a5c64062f78b96c05638171a78331a2f8d422b5':
  Fix recents transitions
2016-02-17 06:23:20 +00:00
Jorim Jaggi
8a5c64062f 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
2016-02-17 06:17:48 +00:00
Doris Liu
1c412a6dde Merge "Check RenderNode\'s owning view before attaching animators" into nyc-dev am: e6e57a9d51
am: e3358edaf1

* commit 'e3358edaf19fdfb25d4c1d336938c0418cd1ef4f':
  Check RenderNode's owning view before attaching animators
2016-02-17 01:18:43 +00:00