Commit Graph

59161 Commits

Author SHA1 Message Date
Jorim Jaggi
bf9a7566df Handle multi-window for inset hint am: 23bf5462f0
am: b7bd18bdc6

* commit 'b7bd18bdc67740aad7fd1fc4704dcf58857b4c58':
  Handle multi-window for inset hint

Change-Id: I2434e83d0885551653f2a449c4a6194940f139b0
2016-05-16 23:32:21 +00:00
Jorim Jaggi
b7bd18bdc6 Handle multi-window for inset hint
am: 23bf5462f0

* commit '23bf5462f05b33ce4390d8370520e43b74dbec09':
  Handle multi-window for inset hint

Change-Id: I6165730cf338d85f4e4a38d4115b9f4f299807b2
2016-05-16 23:26:53 +00:00
Jorim Jaggi
23bf5462f0 Handle multi-window for inset hint
We need to incorporate task bounds when calculating the inset hint
so we don't specify something wrong to the client which we correct
immediately after.

Bug: 28697105
Change-Id: I23cec7d6cc62a4d982e0796a867e803d4cce0803
2016-05-16 23:18:14 +00:00
Felipe Leme
00463970fe Merge "Documented return value of getRestrictBackgroundStatus()." into nyc-dev am: 522787f39a
am: b811d4ede8

* commit 'b811d4ede8ca91d1118ccb44a290c0707a984c09':
  Documented return value of getRestrictBackgroundStatus().

Change-Id: Id6197b9ee56fd06505c21c1bb5dce083998aa79a
2016-05-16 22:28:27 +00:00
Felipe Leme
b811d4ede8 Merge "Documented return value of getRestrictBackgroundStatus()." into nyc-dev
am: 522787f39a

* commit '522787f39a759cf8af8438641fa8df7470a1b959':
  Documented return value of getRestrictBackgroundStatus().

Change-Id: Ie2e7b14ecc0b574a8776121d3c79c768093ef4f7
2016-05-16 22:23:44 +00:00
TreeHugger Robot
522787f39a Merge "Documented return value of getRestrictBackgroundStatus()." into nyc-dev 2016-05-16 22:17:42 +00:00
Vladislav Kaznacheev
a19f5b640c Merge "Fix inconsistencies in DragEvent.getX/getY behavior and JavaDoc." into nyc-dev am: a423ec52ac
am: 943c9f10d2

* commit '943c9f10d284acf5a5f927517fc7c283c473382e':
  Fix inconsistencies in DragEvent.getX/getY behavior and JavaDoc.

Change-Id: I6a35f83dcc11704dfbc983bd9004685ecc63b9b5
2016-05-16 21:31:10 +00:00
Vladislav Kaznacheev
943c9f10d2 Merge "Fix inconsistencies in DragEvent.getX/getY behavior and JavaDoc." into nyc-dev
am: a423ec52ac

* commit 'a423ec52ac427e5bdbd12aac21ef75eff7d96140':
  Fix inconsistencies in DragEvent.getX/getY behavior and JavaDoc.

Change-Id: I8b704c0cf3b4df430b0f5a322e1cee008e67d113
2016-05-16 21:26:04 +00:00
TreeHugger Robot
a423ec52ac Merge "Fix inconsistencies in DragEvent.getX/getY behavior and JavaDoc." into nyc-dev 2016-05-16 21:21:58 +00:00
Felipe Leme
c9c7be58a5 Documented return value of getRestrictBackgroundStatus().
Change-Id: I2c15a6d5e23cbc3c9b59c975196c1c04c1294471
Fixes: 28775490
2016-05-16 13:57:19 -07:00
Ta-wei Yen
655041ef5a Merge "Add visual voicemail SMS filter APIs" into nyc-mr1-dev
am: ca2da6dc33

* commit 'ca2da6dc3332bb657e4927b837e5bc15a6e119cb':
  Add visual voicemail SMS filter APIs

Change-Id: I8b124c6a22e473f760e29be8d79843ec55122bb7
2016-05-16 20:43:01 +00:00
Ta-wei Yen
ca2da6dc33 Merge "Add visual voicemail SMS filter APIs" into nyc-mr1-dev 2016-05-16 20:36:37 +00:00
Vladislav Kaznacheev
c244970220 Fix inconsistencies in DragEvent.getX/getY behavior and JavaDoc.
Make getX/getY return view-relative position as specified in the class
JavaDoc.

Fix obvious errors in JavaDoc for getX/getY

Bug: 28793547
Change-Id: Ic2ac646189711e7466594d4fc8326408fc0348e1
2016-05-16 12:57:15 -07:00
Alan Viverette
c46f3a4fe9 Merge "Update docs for ColorStateList to include alpha" into nyc-dev am: 5bcf7650b4
am: 3818d32374

* commit '3818d32374374f568805a9a5eb7c4468aec78862':
  Update docs for ColorStateList to include alpha

Change-Id: Ife972ac77358719a78c6ead2c2866e8de84e722e
2016-05-16 19:44:48 +00:00
Alan Viverette
a9c50001aa Merge "Use standalone capitalization for month labels" into nyc-dev am: 895241170b
am: cee6b62ce8

* commit 'cee6b62ce80b1c8f67cf18658768a94fef6e94da':
  Use standalone capitalization for month labels

Change-Id: I2547ae9f4b21fe6be093023eb35f57c1b1eaff54
2016-05-16 19:44:46 +00:00
Alan Viverette
3818d32374 Merge "Update docs for ColorStateList to include alpha" into nyc-dev
am: 5bcf7650b4

* commit '5bcf7650b492ca9ce5b685c5e0f535b5927af0c6':
  Update docs for ColorStateList to include alpha

Change-Id: Ibb7c034061ec5c6b540e44ca856bed2624c14629
2016-05-16 19:40:47 +00:00
Alan Viverette
cee6b62ce8 Merge "Use standalone capitalization for month labels" into nyc-dev
am: 895241170b

* commit '895241170b017235faf9a6a77afd22b12209bce6':
  Use standalone capitalization for month labels

Change-Id: I313042aaf507d5f4a23d3e261354d836b7bdfb0a
2016-05-16 19:40:37 +00:00
Alan Viverette
f10697e17b Merge "Update docs for ColorStateList to include alpha" into nyc-dev
am: 5bcf7650b4

* commit '5bcf7650b492ca9ce5b685c5e0f535b5927af0c6':
  Update docs for ColorStateList to include alpha

Change-Id: I1dc16f964509cec422622da2ac60e5428b8203f6
2016-05-16 19:40:26 +00:00
Alan Viverette
97306713fe Merge "Use standalone capitalization for month labels" into nyc-dev
am: 895241170b

* commit '895241170b017235faf9a6a77afd22b12209bce6':
  Use standalone capitalization for month labels

Change-Id: I881afd0f2decf329e11e103c92dc54584b91ac54
2016-05-16 19:40:23 +00:00
Alan Viverette
5bcf7650b4 Merge "Update docs for ColorStateList to include alpha" into nyc-dev 2016-05-16 19:30:38 +00:00
Ta-wei Yen
349f4eddf7 Add visual voicemail SMS filter APIs
Added the following APIs to the framework:
VoicemailContracts.ACTION_VOICEMAIL_SMS_RECEIVED
VoicemailContracts.EXTRA_VOICEMAIL_SMS_TYPE
VoicemailContracts.EXTRA_VOICEMAIL_SMS_DATA
VoicemailContracts.EXTRA_VOICEMAIL_SMS_SUBID

TelphonyManager.setVisualVoicemailSmsFilterEnabled()
TelphonyManager.isVisualVoicemailSmsFilterEnabled()
TelphonyManager.setVisualVoicemailSmsFilterPrefix()
TelphonyManager.getVisualVoicemailSmsFilterPrefix()
TelphonyManager.setVisualVoicemailSmsFilterOriginatingNumbers()
TelphonyManager.getVisualVoicemailSmsFilterOriginatingNumbers()
TelphonyManager.setVisualVoicemailSmsFilterDestinationPort()
TelphonyManager.getVisualVoicemailSmsFilterDestinationPort()
TelphonyManager.VVM_SMS_FILTER_DESTINATION_PORT_ANY
TelphonyManager.VVM_SMS_FILTER_DESTINATION_PORT_DATA_SMS

These values are required to implement the VisualVoicemailSmsFilter in
frameworks/opt/telephony

All of the APIs are hidden.

Bug:27816386
Bug:27817303
Change-Id: I07736785da5fece84d1f3d27f270ac6fa94c1c56
(cherry picked from commit ecbcce11ce)
2016-05-16 17:37:48 +00:00
Alan Viverette
c3e5a82691 Use standalone capitalization for month labels
Bug: 28020439
Change-Id: I85169a78142a43ff2348e0b561a7aa995544a65e
2016-05-16 13:35:56 -04:00
Alan Viverette
582dcac856 Update docs for ColorStateList to include alpha
Bug: 28760030
Change-Id: I309364002220b9896f5ddf29dabde79636a722e9
2016-05-16 12:37:55 -04:00
Yohei Yukawa
c7aeaff113 Merge "Make IMS#clearInsetOfPreviousIme() reliable." into nyc-dev am: cef3337cb5
am: a1c905caf3

* commit 'a1c905caf3fe89beec6df12b423c6cab33c40879':
  Make IMS#clearInsetOfPreviousIme() reliable.

Change-Id: Ifbbbd96c2453a1aa6d933dda6fbd7ebbfdf132a7
2016-05-16 15:34:19 +00:00
Yohei Yukawa
a1c905caf3 Merge "Make IMS#clearInsetOfPreviousIme() reliable." into nyc-dev
am: cef3337cb5

* commit 'cef3337cb5e27d4f571fb350be055c26d339833d':
  Make IMS#clearInsetOfPreviousIme() reliable.

Change-Id: I76b607cd8086f421fc0d552a348a70fc06aa3d9c
2016-05-16 15:31:05 +00:00
Yohei Yukawa
6b078fef33 Merge "Make IMS#clearInsetOfPreviousIme() reliable." into nyc-dev
am: cef3337cb5

* commit 'cef3337cb5e27d4f571fb350be055c26d339833d':
  Make IMS#clearInsetOfPreviousIme() reliable.

Change-Id: Ie654d6bccd6d4425e0dbefe2833424abdfe52a4d
2016-05-16 15:31:03 +00:00
Michael Wright
56ef817f1e Merge "Remove onUhandledInputEvent API." into nyc-dev am: a1e4cbe211
am: 9e0ff89010

* commit '9e0ff89010dd2003bc9952ffedcf0f6c8d080cbb':
  Remove onUhandledInputEvent API.

Change-Id: I067333a191a5d581f397f5e9c09f6b7feae8d1f5
2016-05-16 15:27:37 +00:00
Michael Wright
9e0ff89010 Merge "Remove onUhandledInputEvent API." into nyc-dev
am: a1e4cbe211

* commit 'a1e4cbe2116bef9fad7c98836926317bde95d33e':
  Remove onUhandledInputEvent API.

Change-Id: I13835ddbe40330694763d34d37e01b8deeb701d7
2016-05-16 15:24:10 +00:00
Michael Wright
eb1ca626f0 Merge "Remove onUhandledInputEvent API." into nyc-dev
am: a1e4cbe211

* commit 'a1e4cbe2116bef9fad7c98836926317bde95d33e':
  Remove onUhandledInputEvent API.

Change-Id: I206665559c16852a6405af7081481c4e7c17cf81
2016-05-16 15:24:08 +00:00
Yohei Yukawa
cef3337cb5 Merge "Make IMS#clearInsetOfPreviousIme() reliable." into nyc-dev 2016-05-16 15:22:21 +00:00
TreeHugger Robot
a1e4cbe211 Merge "Remove onUhandledInputEvent API." into nyc-dev 2016-05-16 15:18:20 +00:00
Clara Bayarri
8bccf39875 Merge "Rename requestKeyboardShortcutsHelper" into nyc-dev am: d34396443e
am: 8184f2e545

* commit '8184f2e5452a8c5133da8c8d9ae957cf5182ce5a':
  Rename requestKeyboardShortcutsHelper

Change-Id: I43fd7494218d2c1662bb3647671a0f02592ffc2d
2016-05-16 15:11:37 +00:00
Clara Bayarri
8184f2e545 Merge "Rename requestKeyboardShortcutsHelper" into nyc-dev
am: d34396443e

* commit 'd34396443e712a96572d26c820809a9485e57da3':
  Rename requestKeyboardShortcutsHelper

Change-Id: I0522d4d9bcfdce6b79dc672dcc0c515dc747b99d
2016-05-16 15:08:15 +00:00
Clara Bayarri
f76e417c52 Merge "Rename requestKeyboardShortcutsHelper" into nyc-dev
am: d34396443e

* commit 'd34396443e712a96572d26c820809a9485e57da3':
  Rename requestKeyboardShortcutsHelper

Change-Id: I6fb4ae2c7b39b24fb4b9c916552bd9fb4534f546
2016-05-16 15:08:09 +00:00
Clara Bayarri
ac6f034f2a Rename requestKeyboardShortcutsHelper
Per API council feedback

Bug: 28775576
Change-Id: I1c4f98d7ec0d848f0c387aaedf8a0ed80628c64e
2016-05-16 14:15:14 +01:00
Narayan Kamath
9bfcf64542 LoadedApk: Avoid unnecessary work when mIncludeCode == false. am: 8995b00ce8
am: 150664c275

* commit '150664c27553ba06667d4ee7eafef16940a87788':
  LoadedApk: Avoid unnecessary work when mIncludeCode == false.

Change-Id: Ie5b0fd3d47aa4121f4a5a054510c828a5f4e6454
2016-05-16 10:48:17 +00:00
Narayan Kamath
150664c275 LoadedApk: Avoid unnecessary work when mIncludeCode == false.
am: 8995b00ce8

* commit '8995b00ce8f68f2a285a97c2ce711bea8c61179e':
  LoadedApk: Avoid unnecessary work when mIncludeCode == false.

Change-Id: Ib34104b27c85d4b74e8505ca3030ae5578ed4599
2016-05-16 10:45:24 +00:00
Narayan Kamath
788a8a87ef LoadedApk: Avoid unnecessary work when mIncludeCode == false.
am: 8995b00ce8

* commit '8995b00ce8f68f2a285a97c2ce711bea8c61179e':
  LoadedApk: Avoid unnecessary work when mIncludeCode == false.

Change-Id: I53ae61c1e5aed49f25ba473d33e3cbe27a475b4f
2016-05-16 10:45:22 +00:00
Narayan Kamath
8995b00ce8 LoadedApk: Avoid unnecessary work when mIncludeCode == false.
We don't need to set up JIT profiles and register usage etc when
the package context we're trying to construct doesn't request code.

This will correct accounting for packages which are only used for
resources.

bug: 28519185
Change-Id: I849675efa76c8100ae937de478b52254babe384c
2016-05-16 10:39:08 +00:00
Abodunrinwa Toki
58056cf0bc Merge "Ensure that ViewGroup.getChildVisibleRect(...) is recursive." into nyc-dev am: 376f9f4bd6
am: 03e7feeba3

* commit '03e7feeba33b565dd09cb77834caa643b6dff0e9':
  Ensure that ViewGroup.getChildVisibleRect(...) is recursive.

Change-Id: If5557d0a968e263b4252566566621b522ffb5617
2016-05-16 09:47:03 +00:00
Abodunrinwa Toki
03e7feeba3 Merge "Ensure that ViewGroup.getChildVisibleRect(...) is recursive." into nyc-dev
am: 376f9f4bd6

* commit '376f9f4bd6ba2e117f0356161c767225f47f2745':
  Ensure that ViewGroup.getChildVisibleRect(...) is recursive.

Change-Id: I35ef50e803c17df3911bee580e604992768df484
2016-05-16 09:44:05 +00:00
Abodunrinwa Toki
4fc4cf6528 Merge "Ensure that ViewGroup.getChildVisibleRect(...) is recursive." into nyc-dev
am: 376f9f4bd6

* commit '376f9f4bd6ba2e117f0356161c767225f47f2745':
  Ensure that ViewGroup.getChildVisibleRect(...) is recursive.

Change-Id: I84041bf0414518f747d2f1a09bd8c154f74347b9
2016-05-16 09:44:03 +00:00
Abodunrinwa Toki
376f9f4bd6 Merge "Ensure that ViewGroup.getChildVisibleRect(...) is recursive." into nyc-dev 2016-05-16 09:37:56 +00:00
Martijn Coenen
2386212c05 Merge "Address API review comments." into nyc-dev am: 9a32929def
am: 1ffef9a239

* commit '1ffef9a239a67016607f62dfd023bf7fefb85370':
  Address API review comments.

Change-Id: I1f7da4c07988923b22bfab5689d48531cfb95aa1
2016-05-16 09:28:57 +00:00
Martijn Coenen
1ffef9a239 Merge "Address API review comments." into nyc-dev
am: 9a32929def

* commit '9a32929def3425c55a1bc96ea20346bf95357ae4':
  Address API review comments.

Change-Id: Ieb67cdc7846a06d84280e9ea9ca1cbe34dbff78f
2016-05-16 09:25:58 +00:00
Martijn Coenen
a87343fbeb Merge "Address API review comments." into nyc-dev
am: 9a32929def

* commit '9a32929def3425c55a1bc96ea20346bf95357ae4':
  Address API review comments.

Change-Id: Id397091f72c9ca3d50809a3e029e8b12ee86ea26
2016-05-16 09:25:57 +00:00
Martijn Coenen
9a32929def Merge "Address API review comments." into nyc-dev 2016-05-16 09:18:36 +00:00
Yohei Yukawa
833bdcedce Make IMS#clearInsetOfPreviousIme() reliable.
This is a follow-up to my previous CL [1] for Bug 15922840 so that we
can clear the following variables in a more reliable way.
 - PhoneWindowManager#mLastInputMethodWindow
 - PhoneWindowManager#mLastInputMethodTargetWindow

The idea behind CL [2] is that when InputMethodManagerService (IMMS) is
switching from an IME to another IME, IMMS can send a signal to
WindowManagerService (WMS) to remember the current IME's inset so that
the system can continue using it to reduce jank until the new inset is
specified by the next IME.  As summarized in Bug 28781358, however, if
the next IME does not show the window after the IME switch, WMS (or
PhoneWindowManager to be precise) keeps using the previous IME's inset
unexpectedly until the new IME shows its window.  All we have seen in
Bug 15922840 and Bug 26663589 fall into this category.

The idea of this CL is just adding a hidden API to InputMethodManager so
that InputMethodService#clearInsetOfPreviousIme() can surely terminate
the IME transition state managed in PhoneWindowManager, rather than
relying on a hack of calling SoftInputWindow#show() and
SoftInputWindow#hide(), which actually does not work for Bug 26663589.

 [1]: Ib04967f39b2529251e4835c42e9f99dba2cf43f2
      2977eb7b6c
 [2]: I5723f627ce323b0d12bd7b93f5b35fc4d342b50c
      792faa2c16

Note that addressing all the corner cases in [2] still requires lots of
non-trivial change.  Hence this CL focuses only on Bug 26663589 (and
the case we handled in Bug 15922840).

Bug: 26663589
Change-Id: Ib567daa009c1139858dccadcfc6a04465ebecf36
2016-05-15 20:05:56 -07:00
Daniel Nishi
057a101453 Merge "Add an Activity action to go into the Deletion Helper." into nyc-mr1-dev
am: e8ed2ed331

* commit 'e8ed2ed331a056fe2262ac649f71d781df25f363':
  Add an Activity action to go into the Deletion Helper.

Change-Id: I09b09f645b455c8a2cde7bd0eadb34b2cc704178
2016-05-14 01:17:24 +00:00
Daniel Nishi
ac62b4b360 Add an Activity action to go into the Deletion Helper.
Applications may want to jump to the Deletion Helper to free up
storage when the device is under storage pressure.

Bug: 28675265
Change-Id: I709c39f3e699ab5f51f4ad1272468583276ff050
2016-05-14 00:01:33 +00:00