191156 Commits

Author SHA1 Message Date
Bart Sears
d130bdc462 Revert "Always show auxiliary subtypes from NavBar keyboard icon."
CL is breaking the build.  Discussed with Seigo and verting until he can take a look at it.

This reverts commit 80ff4ed6bb8dbdad7192d679a01096aa888e090b.

Change-Id: I3decaf37198e5864a1763a059df4a36ebc70c5a7
2015-05-07 01:51:28 +00:00
Seigo Nonaka
80ff4ed6bb Always show auxiliary subtypes from NavBar keyboard icon.
The auxiliary subtypes should be listed if the input method picker is
opened from NavBar keyboard icon.  However there is only
IMM#showInputMethodPicker() API to open input method picker and this is
also used from LockScreen or Settings UI.  Auxiliary subtypes should not
be listed there(Id7cf5d122).  Thus framework shows auxiliary subtypes
based on IMMS#mInputShown and LockScreen state, but it is not a perfect
solution.  If a physical keyboard is connected, the soft input may be
gone.  As the result, auxiliary subtypes won't be listed even if it is
opened from NavBar keyboard icon.

To fix this issue, this CL introduces IMM#showInputMethodPicker(boolean)
to be able to decide showing auxiliary subtypes by caller.
Note that IMM#showInputMethodPicker(boolean) is still hidden with @hide.
There is no public API change in this CL.

Bug: 20763994

Change-Id: I1e50ee42838a1bf64a612da4904aa93458d44ea4
2015-05-06 20:29:05 +00:00
Seigo Nonaka
d4474cb945 Remove dead code from IMMS.
MSG_SHOW_IM_PICKER is no longer used.  Also by removing that message, we
can simplify showInputMethodMenu/showINputMethodSubtypeMenu.

Change-Id: I7002ff063e490928309e9a9a0f6557ce3d12e6aa
2015-05-05 12:49:34 +09:00
Dirk Dougherty
08e474ca24 am 08c72b91: am ecfed34d: Merge "Doc change: merge landing page and header/footer designs." into mnc-preview-docs
* commit '08c72b91bedefbebe0547646544cd875c1062af0':
  Doc change: merge landing page and header/footer designs.
2015-05-05 02:46:40 +00:00
Dirk Dougherty
08c72b91be am ecfed34d: Merge "Doc change: merge landing page and header/footer designs." into mnc-preview-docs
* commit 'ecfed34d3e71bfceae11493b8441a051e803ec05':
  Doc change: merge landing page and header/footer designs.
2015-05-05 02:34:51 +00:00
Dirk Dougherty
ecfed34d3e Merge "Doc change: merge landing page and header/footer designs." into mnc-preview-docs 2015-05-05 02:27:47 +00:00
Rich Slogar
703b5f895d am 2f626153: am 39220a7e: am 023901c6: am ffd0e519: Merge "docs: Update Eclipse migrate procedure" into lmp-docs
* commit '2f6261534b0916714715ffa9e2800716dd900eb8':
  docs: Update Eclipse migrate procedure
2015-05-05 01:48:06 +00:00
Andrew Solovay
3e51aa3981 am 168bbcef: am 65241c66: am 9ceea140: am fbd4af0f: Merge "Docs: New swipe-to-refresh training guide." into lmp-docs
* commit '168bbcef02603b35b9fad53d923310b9a80acb5b':
  Docs: New swipe-to-refresh training guide.
2015-05-05 01:48:00 +00:00
Prerepa Viswanadham
d1808401ca Merge changes from topic 'mwd-merge-050415' into mnc-dev
* changes:
  Merge commit 'b6f59f4' into master_merge
  Merge commit 'f6db0ce' into master_merge
  Merge commit '17455a3' into master_merge
  Merge commit 'b4d5b32' into master_merge
  Merge commit 'a1a2fa7' into master_merge
  Merge commit '8dfdb98' into master_merge
  Merge commit 'eba66c3' into master_merge
2015-05-05 01:06:38 +00:00
Rich Slogar
2f6261534b am 39220a7e: am 023901c6: am ffd0e519: Merge "docs: Update Eclipse migrate procedure" into lmp-docs
* commit '39220a7e924e659dffccd94ea7680f3ef8ac14b6':
  docs: Update Eclipse migrate procedure
2015-05-05 00:59:34 +00:00
Andrew Solovay
168bbcef02 am 65241c66: am 9ceea140: am fbd4af0f: Merge "Docs: New swipe-to-refresh training guide." into lmp-docs
* commit '65241c66974053203a66c11cd27678b84f65691c':
  Docs: New swipe-to-refresh training guide.
2015-05-05 00:59:30 +00:00
Fabrice Di Meglio
44b60be189 Merge "Add user selectable Default Browser feature - part 5" into mnc-dev 2015-05-05 00:11:06 +00:00
Fabrice Di Meglio
7d1a9d0562 Add user selectable Default Browser feature - part 5
- check and clear default Browser if its package is no more available

See bug #20144393

Change-Id: I60a1b8f11058f3a4f9dc80440027ab72fe7cce2e
2015-05-04 17:06:33 -07:00
Adam Lesinski
5b1516900a Merge "AAPT2: Add option to generate static library" into mnc-dev 2015-05-04 23:58:27 +00:00
Adam Lesinski
f713aa2f10 Merge "AAPT2: Include package name of attributes in styleable from another package" into mnc-dev 2015-05-04 23:57:22 +00:00
Adam Lesinski
247bc95cb3 Merge "AAPT2: Record public status in a more robust way" into mnc-dev 2015-05-04 23:56:24 +00:00
Adam Lesinski
2f519532ee Merge "Add namespace handling in attribute values" into mnc-dev 2015-05-04 23:54:15 +00:00
Jorim Jaggi
f31a700364 Merge "Update emergency call button label when language changes" into mnc-dev 2015-05-04 23:51:21 +00:00
Robert Shih
5eac1da3bb Merge "MediaPlayer: setSubtitleAnchor on a HandlerThread" into mnc-dev 2015-05-04 23:50:07 +00:00
Jorim Jaggi
76511c75e6 Update emergency call button label when language changes
Bug: 17987231
Change-Id: I74fe6942f4ff965537803d61f3446d5f28a60f9e
2015-05-04 23:46:56 +00:00
Jorim Jaggi
9f74303eb8 Track unlock attempts per user.
Bug: 19330825
Change-Id: I3e09f676b945dbeee16dc0fb3cb126cb884a6934
2015-05-04 23:44:15 +00:00
Adam Lesinski
6d8e4c48f9 AAPT2: Add option to generate static library
Difference between normal app and static library is that
the R file uses non-final fields, and the extra chunks added
by AAPT2 remain in the final APK.

Change-Id: I61416387ca9bb3c21857ff7cfab5847ac3edf57a
2015-05-04 16:43:24 -07:00
Adam Lesinski
838a68705b AAPT2: Include package name of attributes in styleable from another package
Change-Id: I44f902e297238e7ee4ae27c02aaaf9e148652d2a
2015-05-04 16:43:24 -07:00
Adam Lesinski
6ff19664f9 AAPT2: Record public status in a more robust way
This allows us to store the source and comments of a resource's
public declaration and avoids issues where there is no default
configuration for a publicly declared resource (like with drawables
of various densities) and AAPT2 mistakenly took this as an error.

Change-Id: I07a2fe9f551daefcce842f205fb219d2fa453ebc
2015-05-04 16:43:24 -07:00
Adam Lesinski
24aad163bc Add namespace handling in attribute values
Previously, you could only reference namespace prefixes in attribute names:

<View xmlns:appcompat="http://schemas.android.com/apk/res/android.support.v7.appcompat"
      appcompat:name="hey"
      ...

Now you can also reference them in resource names within an attribute value:

      ...
      android:text="@appcompat:string/confirm"
      ...

Which will be treated as "@android.support.v7.appcompat:string/confirm".

Change-Id: Ib076e867a990c80cf877a704eb77cd1ef0b23b52
2015-05-04 16:43:24 -07:00
Robert Shih
98b6842e30 MediaPlayer: setSubtitleAnchor on a HandlerThread
This ensures that we wouldn't run into the error `Can't create handler
inside thread that has not called Looper.prepare` no matter on which
thread we attempt to set the SubtitleController internally.

Bug: 20821869
Change-Id: Ie53d60b58f5382428e7b7a01deccfa516b61b25f
2015-05-04 16:38:30 -07:00
Andre Eisenbach
ab2581398c BluetoothSap class should not be public
Bug: 20823932
Change-Id: I87dfa10b994f7a14c123bb384925c08b34bfbe67
2015-05-04 23:20:28 +00:00
Wei Jia
73b4a3303e Merge "MediaSync: clean up configureAudioTrack and configureSurface." into mnc-dev 2015-05-04 23:14:17 +00:00
Wei Jia
d80d6f6b05 MediaSync: clean up configureAudioTrack and configureSurface.
Bug: 19666434

Change-Id: I8b112843d430c0730a879abc9aa25f143bdcf09d
2015-05-04 15:59:20 -07:00
Joe Fernandez
2dc05e22bd am 722b509d: am a246d2dd: am 9dabc784: Merge "docs: Android Developer Dashboard update - May 2015" into lmp-mr1-ub-docs
* commit '722b509df505c156c71e95336b8059b8afcd8621':
  docs: Android Developer Dashboard update - May 2015
2015-05-04 22:19:56 +00:00
Rich Slogar
3b7af8c9b4 am 0d133125: am d3de33e9: am 2b46b70d: am a541020a: am e7bfe5b3: docs: sdk 24.2.0 revisions
* commit '0d13312552030dce0499fd9201c8e17b92aa8a4d':
2015-05-04 22:19:46 +00:00
Dirk Dougherty
41ef6ba4ce am fd92db9c: am 35219b7d: am b42c5f80: Update N6 device art port image to remove shadow.
* commit 'fd92db9c843042ab66f76d11a733493819d8c2c9':
  Update N6 device art port image to remove shadow.
2015-05-04 22:19:39 +00:00
Rich Slogar
d5aa39cc0a am 5bf92cba: am ffac3c82: am 67a05f0c: am e7bfe5b3: docs: sdk 24.2.0 revisions
* commit '5bf92cbab9e6df7fb918c925fd506737a9e25c4e':
  docs: sdk 24.2.0 revisions
2015-05-04 22:19:33 +00:00
Joe Fernandez
ed4331d29a am 419aff0f: am ddb65560: Merge "docs: M Preview mini site skeleton" into mnc-preview-docs
* commit '419aff0fd39c565d52c21a845e346c691f3ec4fb':
  docs: M Preview mini site skeleton
2015-05-04 22:19:23 +00:00
George Mount
57436d3f7e Merge "Fix potential NPE in internal isValidTarget method." into mnc-dev 2015-05-04 22:08:03 +00:00
George Mount
f586c925d5 Fix potential NPE in internal isValidTarget method.
Bug 19805383

Change-Id: Ib22d86cca5e1225b12ed39ac988824eeb9c58bbd
2015-05-04 15:01:55 -07:00
Andre Eisenbach
f455986a45 Add documentation for BluetoothSocket.getConnectionType()
Bug: 20824264
Change-Id: I58aa8f5bbe08ddb252f01f4ad187ae8741963f0b
2015-05-04 21:56:17 +00:00
George Mount
c81af1ca78 Merge "When returning, transition only existing shared elements." into mnc-dev 2015-05-04 21:48:56 +00:00
George Mount
8de1de1f04 When returning, transition only existing shared elements.
Previously all shared element names were delivered when
returning from an Activity, even if no shared elements
existed in the exiting Activity. That prevented the calling
Activity from showing a shared element that it delivered,
but will not be receiving back again until shared elements
are transfered. That leaves a weird hole in the UI.

Now only the shared elements mapped in the returning view
hierarchy are delivered to the calling Activity.

Change-Id: I481a8bc7a771d7e819871f424d22313314c9ee8b
2015-05-04 14:12:40 -07:00
Chris Wren
0425de31cf Merge "eliminate notification clicker garbage." into mnc-dev 2015-05-04 21:06:17 +00:00
Chris Wren
42d5dd4690 eliminate notification clicker garbage.
Bug: 9739772
Change-Id: If05079cb0f956e03f26c7780c318452f73c3e849
2015-05-04 17:03:48 -04:00
Sanket Padawe
5c33a2e3ec Merge "Adding "Connected, no Internet" string in Wifi nw summary." into mnc-dev 2015-05-04 20:44:52 +00:00
George Mount
61bab469a1 Merge "Fix Visibility not changing until Animator ends." into mnc-dev 2015-05-04 20:26:48 +00:00
Alan Viverette
394f9360c9 Merge "More documentation for handling RippleDrawable mask at run time" into mnc-dev 2015-05-04 20:10:20 +00:00
Fabrice Di Meglio
8ef631de47 Merge "Add user selectable Default Browser feature - part 4" into mnc-dev 2015-05-04 19:59:35 +00:00
Alan Viverette
d21be49975 More documentation for handling RippleDrawable mask at run time
The docs are now really explicit about the layer's ID and how to set
or update the mask layer from code.

Bug: 20493831
Change-Id: I801f10cd08fd1b4bb226c63a1bdf3271229928ea
2015-05-04 12:51:54 -07:00
Alan Viverette
d38d3574d0 Merge "Always force constructors accessible during inflation" into mnc-dev 2015-05-04 19:38:57 +00:00
Rich Slogar
39220a7e92 am 023901c6: am ffd0e519: Merge "docs: Update Eclipse migrate procedure" into lmp-docs
* commit '023901c628f0f01fc05aa83b45e57f883fba21ea':
  docs: Update Eclipse migrate procedure
2015-05-04 19:15:01 +00:00
Andrew Solovay
65241c6697 am 9ceea140: am fbd4af0f: Merge "Docs: New swipe-to-refresh training guide." into lmp-docs
* commit '9ceea140a3830794b202eec6be68a9a13e37c59f':
  Docs: New swipe-to-refresh training guide.
2015-05-04 19:14:57 +00:00
John Spurlock
ad2399f3be Merge "Zen: Implement calendar event system condition provider." into mnc-dev 2015-05-04 19:07:36 +00:00