196220 Commits

Author SHA1 Message Date
Jorim Jaggi
e85da2bad5 Add accessibility event for assist disclosure
Bug: 21568059
Change-Id: Ib51d4236fcc87acd54cb5d191197b9b2c6cc54ea
2015-06-30 00:27:14 +00:00
Jorim Jaggi
825c2a006e Merge "Add setting to disable screenshot separately (1/2)" into mnc-dev 2015-06-30 00:24:38 +00:00
Jorim Jaggi
a133f0b522 Add setting to disable screenshot separately (1/2)
Bug: 22063668
Change-Id: Ief704004a8ab0a65d34753f9098003ba695726df
2015-06-29 17:16:33 -07:00
Dianne Hackborn
a03b18c6c2 Merge "Auto grant GET_ACCOUNTS where appropriate." into mnc-dev 2015-06-30 00:15:09 +00:00
Christopher Tate
c4c239bfe5 Merge "Don't crash in JNI: add DeadObjectException(String msg) ctor" into mnc-dev 2015-06-29 23:46:38 +00:00
Santos Cordon
bea55afc4a Merge "Telecom API council changes." into mnc-dev 2015-06-29 23:40:24 +00:00
Tyler Gunn
f7c5c373ab Merge "IMS: Map pay phone and unknown presentation with OIR." into mnc-dev 2015-06-29 23:31:46 +00:00
Santos Cordon
895d4b8f63 Telecom API council changes.
- adding more javadocs.
- fixing javadoc on isEnabled
- renaming to CONFIGURE_PHONE_ACCOUNT

Bug: 21573551
Change-Id: Ice035b8573a08ea18181a73c9e9a462520a934f1
2015-06-29 16:17:47 -07:00
Christopher Tate
e56db0e3fa Don't crash in JNI: add DeadObjectException(String msg) ctor
Bug 22104446

Change-Id: I0a538119269fe45955130e4e3d0d0bae8ee64993
2015-06-29 16:04:57 -07:00
Shriram Ganesh
ef0cde848b IMS: Map pay phone and unknown presentation with OIR.
Current code does not map pay phone and unknown
presentation with OIR.
Add code to map pay phone and unknown presentation
with OIR correctly.

Bug: 22123243
Change-Id: I7610db8547a0f0f5529c2627879047dd9a45cf9f
2015-06-29 15:54:54 -07:00
Jean-Michel Trivi
3a0d77f42a Merge "Volume change intent carries stream alias" into mnc-dev 2015-06-29 22:11:35 +00:00
Yohei Yukawa
4daf600ee0 Merge "Check system locale when picking up an initial SpellChecker." into mnc-dev 2015-06-29 20:42:54 +00:00
Yang Ni
fd5ec27bf9 Merge "Add Java doc comments on script group name reuse" into mnc-dev 2015-06-29 20:38:16 +00:00
John Spurlock
c3409dd253 Merge "Volume: Force dismiss on ACTION_CLOSE_SYSTEM_DIALOGS." into mnc-dev 2015-06-29 20:08:44 +00:00
Alan Viverette
a1b647c883 Merge "Always remeasure ListView scrap used to obtain minimum width" into mnc-dev 2015-06-29 19:39:29 +00:00
John Spurlock
bc7233a8a3 Volume: Force dismiss on ACTION_CLOSE_SYSTEM_DIALOGS.
Use ACTION_CLOSE_SYSTEM_DIALOGS as an additional signal to immediately
dismiss the volume dialog, if showing.  Otherwise nav bar navigation
will not immediately dismiss the dialog.

Bug: 22173890
Change-Id: I3eee85a4579b4673b19402cf0f4048068009be35
2015-06-29 15:34:18 -04:00
Christopher Tate
795d95ecd7 Merge "Throw DeadObjectException on failed transaction, not RuntimeException" into mnc-dev 2015-06-29 18:54:58 +00:00
Christopher Tate
ffd5864202 Throw DeadObjectException on failed transaction, not RuntimeException
In practice we only see failed transactions with small payloads when
the remote dies while the binder operation is in flight.  Throw the
applicable exception type rather than the generic "oops binder went
haywire" one.

Bug 22104446

Change-Id: I785c15617db7a1f4d505aa11f16e61551c8357ba
2015-06-29 11:52:23 -07:00
Wale Ogunwale
810d5ed23b Merge "Use the correct lock to protect members in PolicyControl" into mnc-dev 2015-06-29 18:13:06 +00:00
Jean-Michel Trivi
560877d498 Volume change intent carries stream alias
Define a new extra, AudioManager.EXTRA_VOLUME_STREAM_TYPE_ALIAS, to be
  sent along with the volume change intent, VOLUME_CHANGED_ACTION.
When sending VOLUME_CHANGED_ACTION, attach the stream type alias.

Bug 17955277

Change-Id: I04fd279e223504e3ee1581086d7e9205344a6808
2015-06-29 10:44:16 -07:00
Jae Seo
82b3f67711 Merge "Use AlertDialog for MediaRouteControllerDialog" into mnc-dev 2015-06-29 17:14:43 +00:00
Nicolas Prevot
6fd49936ae Merge "Rename ALLOW_PARENT_APP_LINKING to ALLOW_PARENT_PROFILE_APP_LINKING" into mnc-dev 2015-06-29 17:08:34 +00:00
Makoto Onuki
cadf3969c3 Merge "Notification for non-adopotable disks shouldn't be snoozed" into mnc-dev 2015-06-29 16:56:09 +00:00
Geoff Mendal
b05e2286a9 Merge "Import translations. DO NOT MERGE" into mnc-dev 2015-06-29 16:50:57 +00:00
Geoff Mendal
cda214a1c3 Import translations. DO NOT MERGE
Change-Id: Ia7c3e19454b5350971e62e79804cc45512436b98
Auto-generated-cl: translation import
2015-06-29 09:45:56 -07:00
Jason Monk
435a1dfbd6 Merge "Fix weird case of multi cell icons" into mnc-dev 2015-06-29 16:19:48 +00:00
John Spurlock
f21f1a9158 Merge "Volume Dialog: Fix NPE found in monkey testing." into mnc-dev 2015-06-29 15:50:51 +00:00
John Spurlock
dc005a8965 Volume Dialog: Fix NPE found in monkey testing.
Bug: 22116033
Change-Id: I34c586ec77bd0d2baae4e84c07afc781cda09ec3
2015-06-29 11:42:28 -04:00
tiger_huang
cc6366dde1 Use the correct lock to protect members in PolicyControl
Members in PolicyControl can be accessed by multiple threads via the
public functions called by PhoneWindowManager. Most of the functions
are called with the window-manager-lock held, but reloadFromSetting()
is an exception.

In this patch, we acquire the window-manager-lock before calling
reloadFromSetting() to ensure accessing the members with the same
lock held.

Change-Id: I54ac5cab2a2d74c568fa96145f7a6741c6d99e36
2015-06-29 08:18:36 -07:00
Jason Monk
8fcab35828 Fix weird case of multi cell icons
- Don't auto-inflate cell icons
 - Move callback to better time (shouldn't get callbacks before
   setSubs)
 - Fix accidental callback in MobileSignalController constructor
 - Fix subscription listener to run on the right thread to avoid
   the thread issue allowing this bug

Bug: 21504138
Change-Id: Ie1adf8eb05e1042245eead5354b29b314a2e0aae
2015-06-29 11:00:24 -04:00
Geoff Mendal
e3fc5415ed Merge "Import translations. DO NOT MERGE" into mnc-dev 2015-06-29 13:59:39 +00:00
Geoff Mendal
3945defe60 Import translations. DO NOT MERGE
Change-Id: I0a27f1d72cdcad094a9651c223f14e3a928ea2c3
Auto-generated-cl: translation import
2015-06-29 08:52:39 -05:00
Geoff Mendal
208daa1d76 Merge "Import translations. DO NOT MERGE" into mnc-dev 2015-06-29 13:41:41 +00:00
Geoff Mendal
d38d3e2b1f Import translations. DO NOT MERGE
Change-Id: Ia1829162e64c53a9c9df9211f41bf29d4e67fd20
Auto-generated-cl: translation import
2015-06-29 08:40:48 -05:00
Kenny Guy
43904fd5b7 Merge "Revert "Deprecate APIs for admin to create users."" into mnc-dev 2015-06-29 13:28:54 +00:00
Kenny Guy
2703a13f11 Revert "Deprecate APIs for admin to create users."
This reverts commit ea864c4d4d7ca390d3b67868fd2a640411bff020.

Change-Id: I827e6364b61eeb9e1b2d3205b5e93e10b1df4bfe
2015-06-29 13:24:24 +00:00
Craig Lafayette
bee7245c69 Merge "Hide MIME_TYPE_PROVISIONING_NFC_V2" into mnc-dev 2015-06-29 12:48:21 +00:00
Kenny Guy
01056b3662 Merge "Deprecate APIs for admin to create users." into mnc-dev 2015-06-29 12:42:21 +00:00
Nicolas Prevot
f1fff79769 Merge "Add flag FLAG_ACTIVITY_RESET_TASK_IF_NEEDED in LauncherAppsService." into mnc-dev 2015-06-29 11:28:13 +00:00
Benjamin Franz
b6fb3fe8f4 Merge "Block assist when screenshots are disabled by policy" into mnc-dev 2015-06-29 10:29:23 +00:00
Niels Egberts
1ea7a81931 Merge "Fix crash with engines that don't override getVoices()." into mnc-dev 2015-06-29 09:34:44 +00:00
Seigo Nonaka
e96b1c6f82 Merge "Fix crash due to reverse selection." into mnc-dev 2015-06-29 03:02:45 +00:00
Yang Ni
dbb6fd58a4 Add Java doc comments on script group name reuse
b/21999787

Change-Id: Id9a7bad4ce91f3afdd82a1288cf94430f3aef9bb
2015-06-28 16:09:57 -07:00
Sanket Padawe
253cea18fe Merge "Add flag indicating device supporting EAP SIM, AKA & AKA'." into mnc-dev 2015-06-28 02:54:04 +00:00
Xiaohui Chen
44e3a4cbfa Merge "fix temp white list update in device idle" into mnc-dev 2015-06-27 03:58:59 +00:00
Yohei Yukawa
174843afb6 Check system locale when picking up an initial SpellChecker.
Since Ia25e7b4f308778891929e31b8cbd741f6848cce4, the TSMS has
picked up the first found spell checker no matter regardless of
the system locale.

The primary goal of this CL is to introduce a low-risk fix for
the situation where two or more spell checker services are
pre-installed but they are well different from each other in
terms of supported languages.  Solving the problem in more
ambiguous and complicated situation is beyond the goal of
this CL.

With this CL, we still pick up the first found spell checker
but also require the spell checker supports a certain locale.
We will try several locales starting with the system locale
to some fallback locales until we find one appropriate spell
checker.  If no spell checker is picked up in this process,
we simply pick up the first one as we have done.

Examples about what locales will be checked are:

A. System locale: en_US
  1. en_US
  2. en_GB
  3. en

B. System locale: en
  1. en
  2. en_US
  3. en_GB

C. System locale: en_IN
  1. en_IN
  2. en_US
  3. en_GB
  4. en

D. System locale: ja_JP
  1. ja_JP
  2. ja
  3. en_US
  4. en_GB
  5. en

E. System locale: fil_PH
  1. fil_PH
  2. fil
  3. en_US
  4. en_GB
  5. en

F. System locale: th_TH_TH
  1. th_TH_TH
  2. th_TH
  3. th
  4. en_US
  5. en_GB
  6. en

Bug: 22042994
Change-Id: I094f1c33430f7904a1dac6167431d6df64a07212
2015-06-26 18:02:54 -07:00
Christopher Tate
b035c6d9a6 Merge "Properly scope the "only http/https schemes" intent filter semantics" into mnc-dev 2015-06-27 00:48:10 +00:00
Christopher Tate
2134744efd Properly scope the "only http/https schemes" intent filter semantics
That restriction applies only to default-app linkage verification, and
not to any general questions of "is this app effectively a web browser?"

Bug 21688029

Change-Id: I9f6a7bc6dcac5e12ee07f8da6465ad51c1aeddfb
2015-06-26 17:45:22 -07:00
Adam Lesinski
e69e4e1a3a Merge "BatteryStats: Record suspend abort reasons" into mnc-dev 2015-06-27 00:40:25 +00:00
Dianne Hackborn
388cd2c2cc Auto grant GET_ACCOUNTS where appropriate.
And add in a few other things.

Change-Id: If86a04a8ec63c252f895dcceb60a0248abb91083
2015-06-26 17:39:39 -07:00