Wale Ogunwale
5e641d6536
Remove ZoomButtonsController view immediately when !visible
...
When an acitvity with ZoomButtonsController is destorying all
its views are removed immediately except for the
ZoomButtonController view which is deferred. This causing the
system to think the window was leaked at the end of the current
clean-up pass since the view is still around. We now remove
the view immediately when setVisible(false) is called which is
the current signal that the window is detaching or the parent
view is now hidden.
Bug: 18280446
Change-Id: If566b402c2914a72539e28e4f6d768c6199f2d2f
2015-04-24 13:46:11 -07:00
Etan Cohen
01bdfefd1e
Merge commit 'cd405fe' into merge2
2015-04-24 13:44:35 -07:00
Etan Cohen
5c0d6f61ab
Merge commit '6ddbb5e' into merge2
2015-04-24 13:44:05 -07:00
Etan Cohen
21125b81c9
Merge commit 'de93575' into merge2
2015-04-24 13:43:50 -07:00
Etan Cohen
fa96c94c30
Merge commit '9561e74' into merge2
2015-04-24 13:43:36 -07:00
Alex Klyubin
f9c14b7d16
am b068ae14: am e2b9bb45: Merge "No runtime exceptions during normal use of AndroidKeyStore crypto."
...
* commit 'b068ae143df2c2f3030da23d7fc130f735975867':
No runtime exceptions during normal use of AndroidKeyStore crypto.
2015-04-24 20:35:26 +00:00
Zhijun He
a58271419e
ImageWriter: fix and cleanup the closed Image Handling
...
Attempting to access an Image after it is closed will result in an ISE.
Also fixed some minor doc issues.
Bug: 19872785
Change-Id: I91f037b2b2f243fcbd905d5a646b505bc9c10638
2015-04-24 13:35:07 -07:00
Fyodor Kupolov
946646e4b9
Added SystemServiceRegistry to preloaded-classes
...
SystemServiceRegistry class should be preloaded in the zygote.
Bug: 20559324
Change-Id: I3120c7e42b50c54213513a04d7135d745c8abd7c
2015-04-24 13:34:00 -07:00
Alex Klyubin
b068ae143d
am e2b9bb45: Merge "No runtime exceptions during normal use of AndroidKeyStore crypto."
...
* commit 'e2b9bb45d20102f121660ed361bd4225852a55e0':
No runtime exceptions during normal use of AndroidKeyStore crypto.
2015-04-24 20:22:58 +00:00
Seigo Nonaka
98d88028ae
Notify IME visibility when showWindow is called.
...
To change the back icon, need to notify IME visibility to the
InputMethodManagerService when guest IME service calls showWindow().
IME can call showWindow() if it want to show software input, but it
doesn't send IME_VISIBLE state to the InputMethodManagerService,
hence the arrow icon is different from what we expect. This
typically happens when Latin IME shows Emoji panel by left-alt keys.
Bug: 20318050
Change-Id: I0ec2c71ad9bc3b7e9259d9180375d9062fc7e154
2015-04-24 13:17:03 -07:00
Amith Yamasani
4bc704655a
Merge "Add ability to get and set idle state of apps"
2015-04-24 20:03:02 +00:00
Arunesh Mishra
d08715e503
Add AudioManager property strings for ultrasound.
...
Change-Id: Ia1bc257affdb5afe2b6a00bcca53651f924be7d2
2015-04-24 13:01:08 -07:00
Alex Klyubin
e2b9bb45d2
Merge "No runtime exceptions during normal use of AndroidKeyStore crypto."
2015-04-24 20:00:58 +00:00
Amith Yamasani
cf76872a62
Add ability to get and set idle state of apps
...
Add am shell command to set and get idle
Add public API to check if an app is idle
Bug: 20534955
Bug: 20493806
Change-Id: Ib48b3fe847c71f05ef3905563f6e903cf060c498
2015-04-24 12:58:46 -07:00
Quddus Chong
9408959144
am 9774e8ab: Merge "docs: Updated What\'s New for GMS v7.3 to remove Maps support for Wear." into lmp-mr1-ub-docs
...
* commit '9774e8ab0890d694840c883f309916a444b3ee54':
docs: Updated What's New for GMS v7.3 to remove Maps support for Wear.
2015-04-24 19:56:39 +00:00
Quddus Chong
9774e8ab08
Merge "docs: Updated What's New for GMS v7.3 to remove Maps support for Wear." into lmp-mr1-ub-docs
2015-04-24 19:48:04 +00:00
Jae Seo
de08be8f79
TIF: Use Preconditions.checkNotNull for null checking
...
Bug: 19941047
Change-Id: Ib2b5d86d21ecc48888f9343a0e8f16b08fef6925
2015-04-24 12:46:36 -07:00
Alan Viverette
d4925af839
Merge "Change direction of DPAD_LEFT and DPAD_RIGHT if LayoutDirection is RTL"
2015-04-24 19:40:58 +00:00
Jorn Jacobsson
599b64f937
Change direction of DPAD_LEFT and DPAD_RIGHT if LayoutDirection is RTL
...
Changes the behaviour of onKeyDown for DPAD_LEFT/RIGHT when the
layoutDirection is RTL, to move the focus in the correct direction.
Change-Id: I889649788d1e6f347aed90d6683d9f4dd6807da0
2015-04-24 12:34:50 -07:00
Andy Hung
5a4ee7b62e
Merge "Fix API level in documentation to refer to MNC"
2015-04-24 19:22:22 +00:00
Andy Hung
35e576e792
Fix API level in documentation to refer to MNC
...
Change-Id: I2ab646fce1c3f58b11d88a47e733621d8f1fec79
2015-04-24 12:18:14 -07:00
Andy Hung
980d25ea4a
Merge "Increase AudioTrack and AudioRecord max sample rate to 192kHz"
2015-04-24 19:16:21 +00:00
Ruben Brunk
6faf98e235
camera: Start/stop preview before clearing surface.
...
- Works around HAL issues where preview must be
explicitely stopped after takePicture call before
the surface can be reset.
Bug: 20553124
Change-Id: I403d8c09dfee0cd192d4831376f9f8ed3d6ba444
2015-04-24 12:11:30 -07:00
Tor Norbye
1fd75d83c3
Merge "Add permission requirement annotation for KeyGuard"
2015-04-24 18:54:26 +00:00
Scott Rowe
eec5463cb9
am 5e95a917: am 17c0b254: am ccfedfcc: am 5827af11: am 02e4f2fb: Merge "docs: Supported media protocols, codecs, formats for Android TV" into lmp-docs
...
* commit '5e95a91707ecd53c1ab0eb688513a2328271f9a2':
docs: Supported media protocols, codecs, formats for Android TV
2015-04-24 18:52:35 +00:00
Scott Rowe
5e95a91707
am 17c0b254: am ccfedfcc: am 5827af11: am 02e4f2fb: Merge "docs: Supported media protocols, codecs, formats for Android TV" into lmp-docs
...
* commit '17c0b25441a264efe87ab2db82c04c0e018c178c':
docs: Supported media protocols, codecs, formats for Android TV
2015-04-24 18:43:03 +00:00
Santos Cordon
d974380564
Merge "Fix up DisconnectCause description."
2015-04-24 18:37:38 +00:00
Santos Cordon
c1ec931f00
Fix up DisconnectCause description.
...
Change-Id: Ib2b52b6f8bc8fe945df3684f4e1ed9e04f78b061
2015-04-24 11:37:07 -07:00
Alex Klyubin
9716b081a6
am edf5454a: am 3167fb4b: am 71223ebe: Merge "Reset AndroidKeyStore Mac and Cipher state when init fails."
...
* commit 'edf5454a14cc53de92eaf1ef15fcfb21d8caccca':
Reset AndroidKeyStore Mac and Cipher state when init fails.
2015-04-24 18:35:37 +00:00
Olawale Ogunwale
a298a96af7
am 3846d3a4: am 6d856bfb: am cf7d2d95: Merge "[ActivityManager] Avoid orphan ContentProviderRecord."
...
* commit '3846d3a4c5d79a9d7e86e43c64a5c21a29036de0':
[ActivityManager] Avoid orphan ContentProviderRecord.
2015-04-24 18:35:29 +00:00
Scott Rowe
17c0b25441
am ccfedfcc: am 5827af11: am 02e4f2fb: Merge "docs: Supported media protocols, codecs, formats for Android TV" into lmp-docs
...
* commit 'ccfedfccbe63af223027471ea80869d0fb011098':
docs: Supported media protocols, codecs, formats for Android TV
2015-04-24 18:30:07 +00:00
Leon Scroggins III
ff0bae7dbc
am fddbcd85: (-s ours) am 8be18bbf: am 4c1f70db: am b3523d7f: am 41c458c8: am 67326bcb: am ea2dcda7: am ee35410f: (-s ours) am a7501119: am 69b8e962: Make Bitmap_createFromParcel check the color count. DO NOT MERGE
...
* commit 'fddbcd857fda28213917ef81375514bffc4a6d68':
Make Bitmap_createFromParcel check the color count. DO NOT MERGE
2015-04-24 18:22:00 +00:00
Leon Scroggins III
08a7c50cbe
am 38b84b6d: (-s ours) am 60d7c9fc: am 6db29a92: am f828f43f: am 38cf068c: am 16ac8ad7: am 4a6ca672: Make Bitmap_createFromParcel check the color count. DO NOT MERGE
...
* commit '38b84b6d765302c8325ad10109e43227ce8e8156':
Make Bitmap_createFromParcel check the color count. DO NOT MERGE
2015-04-24 18:21:53 +00:00
Scott Rowe
1db13a9010
am 6a6bfe5e: am 6e5063fe: docs: Supported media protocols, codecs, formats for Android TV
...
* commit '6a6bfe5e84b598f24d73138523d7f8d88729daed':
docs: Supported media protocols, codecs, formats for Android TV
2015-04-24 18:21:42 +00:00
Alex Klyubin
edf5454a14
am 3167fb4b: am 71223ebe: Merge "Reset AndroidKeyStore Mac and Cipher state when init fails."
...
* commit '3167fb4b6e190705d21a76b34cc376a89675a6a0':
Reset AndroidKeyStore Mac and Cipher state when init fails.
2015-04-24 18:21:22 +00:00
Olawale Ogunwale
3846d3a4c5
am 6d856bfb: am cf7d2d95: Merge "[ActivityManager] Avoid orphan ContentProviderRecord."
...
* commit '6d856bfba5b6ae488d49c4909510cd87000cd922':
[ActivityManager] Avoid orphan ContentProviderRecord.
2015-04-24 18:21:19 +00:00
Leon Scroggins III
fddbcd857f
am 8be18bbf: am 4c1f70db: am b3523d7f: am 41c458c8: am 67326bcb: am ea2dcda7: am ee35410f: (-s ours) am a7501119: am 69b8e962: Make Bitmap_createFromParcel check the color count. DO NOT MERGE
...
* commit '8be18bbfc23b768ae3022f988e586871754958ac':
Make Bitmap_createFromParcel check the color count. DO NOT MERGE
2015-04-24 18:16:34 +00:00
Leon Scroggins III
38b84b6d76
am 60d7c9fc: am 6db29a92: am f828f43f: am 38cf068c: am 16ac8ad7: am 4a6ca672: Make Bitmap_createFromParcel check the color count. DO NOT MERGE
...
* commit '60d7c9fcbcb80c556689f03c7b00984f94f9912b':
Make Bitmap_createFromParcel check the color count. DO NOT MERGE
2015-04-24 18:16:29 +00:00
Scott Rowe
ccfedfccbe
am 5827af11: am 02e4f2fb: Merge "docs: Supported media protocols, codecs, formats for Android TV" into lmp-docs
...
* commit '5827af11bdcd9973afe04cb035e83c6428d1e562':
docs: Supported media protocols, codecs, formats for Android TV
2015-04-24 18:16:26 +00:00
Yorke Lee
1011f4870c
Add APIs to getDefaultDialerPackage and getSystemDialerPackage
...
getDefaultDialerPackage is a public API and will be used by
apps to determine if they are the default dialer.
getSystemDialerPackage is a hidden API and is only used by
system components.
Also add new public string constants to allow apps to show
a dialog requesting that the user change the current default
dialer.
Bug: 20304458
Change-Id: I121d36741474c1fe171c372fb766a6c128228c9c
2015-04-24 11:12:34 -07:00
Alex Klyubin
3167fb4b6e
am 71223ebe: Merge "Reset AndroidKeyStore Mac and Cipher state when init fails."
...
* commit '71223ebe1b2264b7463a02c8dafd779eb3b8c210':
Reset AndroidKeyStore Mac and Cipher state when init fails.
2015-04-24 18:11:50 +00:00
Olawale Ogunwale
6d856bfba5
am cf7d2d95: Merge "[ActivityManager] Avoid orphan ContentProviderRecord."
...
* commit 'cf7d2d95adb358a628c2622b43a999d3ab784406':
[ActivityManager] Avoid orphan ContentProviderRecord.
2015-04-24 18:11:29 +00:00
Scott Rowe
6a6bfe5e84
am 6e5063fe: docs: Supported media protocols, codecs, formats for Android TV
...
* commit '6e5063fe88b265c89b39401545925b9e0cbd8390':
docs: Supported media protocols, codecs, formats for Android TV
2015-04-24 18:10:25 +00:00
Alan Viverette
6e37e5a006
Merge "Implement RTL support in framework ViewPager, DatePicker"
2015-04-24 18:06:50 +00:00
Scott Rowe
5827af11bd
am 02e4f2fb: Merge "docs: Supported media protocols, codecs, formats for Android TV" into lmp-docs
...
* commit '02e4f2fbe6e0511789d42d5942548158d2dd154f':
docs: Supported media protocols, codecs, formats for Android TV
2015-04-24 18:01:15 +00:00
Scott Rowe
6e5063fe88
docs: Supported media protocols, codecs, formats for Android TV
...
Change-Id: I8202ba148d35d73ee0940070090e0a29553f9202
(cherry picked from commit f769caa8c15f9983188597e2436b011d23ff2561)
2015-04-24 17:58:13 +00:00
dcashman
38dee0568b
Merge "Remove line wrapping for publickey encoding."
2015-04-24 17:57:35 +00:00
Leon Scroggins III
8be18bbfc2
am 4c1f70db: am b3523d7f: am 41c458c8: am 67326bcb: am ea2dcda7: am ee35410f: (-s ours) am a7501119: am 69b8e962: Make Bitmap_createFromParcel check the color count. DO NOT MERGE
...
* commit '4c1f70db3dc37f818bdff09ec3e289b797acc397':
Make Bitmap_createFromParcel check the color count. DO NOT MERGE
2015-04-24 17:54:57 +00:00
Leon Scroggins III
60d7c9fcbc
am 6db29a92: am f828f43f: am 38cf068c: am 16ac8ad7: am 4a6ca672: Make Bitmap_createFromParcel check the color count. DO NOT MERGE
...
* commit '6db29a92452c2a837528d20d024dcacefd450c17':
Make Bitmap_createFromParcel check the color count. DO NOT MERGE
2015-04-24 17:54:50 +00:00
Alex Klyubin
ad9ba10ecd
No runtime exceptions during normal use of AndroidKeyStore crypto.
...
This changes the implementation of AndroidKeyStore-backed Cipher and
Mac to avoid throwing runtime exceptions during normal use. Runtime
exceptions will now be thrown only due to truly exceptional and
unrecoverable errors (e.g., keystore unreachable, or crypto primitive
not initialized).
This also changes the implementation of Cipher to cache any errors
encountered in Cipher.update until Cipher.doFinal which then throws
them as checked exceptions.
Bug: 20525947
Change-Id: I3c4ad57fe70abfbb817a79402f722a0208660727
2015-04-24 10:54:45 -07:00