OSDN Git Service
Adam Powell [Thu, 21 Jan 2016 19:19:01 +0000 (19:19 +0000)]
Merge "Init child fragments consistently with activity fragments"
Phil Weaver [Thu, 21 Jan 2016 19:17:48 +0000 (19:17 +0000)]
Merge "Pass drawing order information to accessibility."
Siyamed Sinir [Thu, 21 Jan 2016 19:12:28 +0000 (19:12 +0000)]
Merge "Sort the result of SpannableStringBuilder.getSpans"
Kenny Guy [Thu, 21 Jan 2016 19:04:20 +0000 (19:04 +0000)]
Merge "Update PackageMonitor and LauncherApps for suspended apps."
Sergey Poromov [Thu, 21 Jan 2016 18:55:28 +0000 (18:55 +0000)]
Merge "Introduce BackupManager#requestBackup & BackupObserver API"
Andrei Stingaceanu [Thu, 14 Jan 2016 19:10:08 +0000 (19:10 +0000)]
Suspend apps - block
* kill app when suspending
* block starting ONLY activities for suspended apps
* do not allow suspending the device admin package
Bug:
22776761
Change-Id: I3ee5fcb2d6828f363ce0f024dbc662ab29275192
Rakesh Iyer [Thu, 21 Jan 2016 18:47:07 +0000 (18:47 +0000)]
Merge "Commandeer full screen user switcher for auto."
Amith Yamasani [Thu, 21 Jan 2016 18:40:40 +0000 (18:40 +0000)]
Merge "Don't allow user creation intent to work on non-admin users"
Adam Powell [Thu, 14 Jan 2016 20:58:23 +0000 (12:58 -0800)]
Init child fragments consistently with activity fragments
Fragments contained within an activity are restored from instance
state in FragmentActivity.onCreate, but fragments contained within
another fragment were previously restored from instance state in
performCreate after onCreate returned. This meant that developers
couldn't consistently rely on being able to control when this happens
with a call to super.onCreate, and calls to findFragmentByTag to
reconnect with a restored child fragment would fail in ways that
succeed when the fragment is directly added to an activity.
Change child fragment instance state restore to happen during
Fragment.onCreate instead of in performCreate to be consistent with
activity behavior. Preserve the old behavior for apps targeting
an SDK version < N.
Change-Id: I9c88d5554da9a32219d64c70ca638f75ecb233ed
Phil Weaver [Fri, 8 Jan 2016 19:49:32 +0000 (11:49 -0800)]
Pass drawing order information to accessibility.
Bug:
22721935
Change-Id: I45a2be7c174c8b5a469b68a45dec0eb536825d92
Ritesh Reddy [Thu, 21 Jan 2016 18:20:56 +0000 (18:20 +0000)]
Merge "Stopped closing State FDs in AccountSyncSettingsBackupHelper"
Xiaohui Chen [Thu, 21 Jan 2016 18:17:54 +0000 (18:17 +0000)]
Merge "sysui: refactor PhoneStatusBar"
Sergey Poromov [Tue, 15 Dec 2015 15:26:23 +0000 (16:26 +0100)]
Introduce BackupManager#requestBackup & BackupObserver API
Introduces a way to request immediate backup for list of packages
and receive callbacks on backup progress.
Bug:
25688526
Change-Id: Ib826933d44f4ebf2b981f8be366215b2d37847e2
Jack Yu [Thu, 21 Jan 2016 18:07:50 +0000 (18:07 +0000)]
Merge "Data call retry refactoring" into mm-wireless-dev
am:
599f62562b
* commit '
599f62562b6102f9e3830d5b32a282d23c59e2fd':
Data call retry refactoring
Clara Bayarri [Thu, 21 Jan 2016 17:45:59 +0000 (17:45 +0000)]
Merge "Fix missing clear identity in AMS.AppTaskImpl#moveToFront"
Jason Monk [Thu, 21 Jan 2016 17:45:04 +0000 (17:45 +0000)]
Merge "Work on QS layouts"
Jack Yu [Thu, 21 Jan 2016 17:43:19 +0000 (17:43 +0000)]
Merge "Data call retry refactoring" into mm-wireless-dev
Clara Bayarri [Thu, 21 Jan 2016 17:13:15 +0000 (17:13 +0000)]
Fix missing clear identity in AMS.AppTaskImpl#moveToFront
Bug:
26683257
Change-Id: Ic70864aa3e33a5362278b498e2763ce8a70e8fe4
Xiaohui Chen [Tue, 19 Jan 2016 21:52:07 +0000 (13:52 -0800)]
sysui: refactor PhoneStatusBar
Change-Id: I4177d1d02fbafc88ad522bc483e22a68ede075ff
Sergio Giro [Thu, 21 Jan 2016 17:25:12 +0000 (17:25 +0000)]
Merge "org.apache.conn.ssl: rename DistinguishedNameParser to AndroidDistinguishedNameParser" am:
eb93182dfb
am:
e2296d490d
* commit '
e2296d490dba8dad4d3d0831d94c4194c9ed37f3':
org.apache.conn.ssl: rename DistinguishedNameParser to AndroidDistinguishedNameParser
John Reck [Thu, 21 Jan 2016 17:21:05 +0000 (17:21 +0000)]
Merge "Ensure Texture always binds to self"
Sergio Giro [Thu, 21 Jan 2016 17:20:41 +0000 (17:20 +0000)]
Merge "org.apache.conn.ssl: rename DistinguishedNameParser to AndroidDistinguishedNameParser"
am:
eb93182dfb
* commit '
eb93182dfb862df27e479d30c7b8e12f13e5def5':
org.apache.conn.ssl: rename DistinguishedNameParser to AndroidDistinguishedNameParser
Ben Wagner [Thu, 21 Jan 2016 17:13:05 +0000 (17:13 +0000)]
Merge "Remove NanumGothic and DroidSansFallback from fonts.xml."
John Reck [Thu, 21 Jan 2016 17:08:42 +0000 (09:08 -0800)]
Ensure Texture always binds to self
Bug:
26584230
In the event that Texture decides it doesn't
need to actually call glTexImage2D/glSubTexImage2D
it needs to still activateTexture(0) and bindTexture(mId)
as this is the expected state after Texture::upload()
is called.
Change-Id: I62d689a9057907a10dda2bc8f40c3113e43b93b2
Sergio Giro [Thu, 21 Jan 2016 17:08:21 +0000 (17:08 +0000)]
Merge "org.apache.conn.ssl: rename DistinguishedNameParser to AndroidDistinguishedNameParser"
Youngsang Cho [Thu, 21 Jan 2016 17:08:05 +0000 (17:08 +0000)]
Merge "Close picture-in-picture when a fullscreen app starts to play a video"
Youngsang Cho [Sat, 16 Jan 2016 00:59:27 +0000 (16:59 -0800)]
Close picture-in-picture when a fullscreen app starts to play a video
Bug:
26549507
Change-Id: I27e8f7b1847bf0e34e7c47bf6303c425c3eb9127
Sergio Giro [Thu, 21 Jan 2016 15:25:01 +0000 (15:25 +0000)]
org.apache.conn.ssl: rename DistinguishedNameParser to AndroidDistinguishedNameParser
The name DistinguishedNameParser is used by other libraries having the
same package, and some apps incorrectly include packages that are
present in the boot classpath. This relatively newly introduced
DistinguishedNameParser ends up hiding the ones in the libraries.
Bug:
26647082
Change-Id: I735aef3c1e5dd04e5a8e2eda6da6d9c9179f1c70
Ben Wagner [Thu, 21 Jan 2016 16:45:13 +0000 (11:45 -0500)]
Remove NanumGothic and DroidSansFallback from fonts.xml.
These two fonts are no longer installed on a device.
This leaves the fonts themselves in place for the sdk build.
Change-Id: Ib69e73a6682d7eedd7b824f1dadc79cbccf07605
Philip P. Moltmann [Thu, 21 Jan 2016 16:06:45 +0000 (16:06 +0000)]
Merge "Treat empty strings similar to null-strings when composing the subtitle in the SelectPrinterActivity."
Philip P. Moltmann [Thu, 21 Jan 2016 16:06:17 +0000 (16:06 +0000)]
Merge "Shorten LOG_TAGs to fit in 23 characters as commented on by lint."
Jason Monk [Wed, 20 Jan 2016 21:33:46 +0000 (16:33 -0500)]
Work on QS layouts
Better layouts, less work, more columns... sometimes.
Also fix some bugs.
Bug:
26705136
Change-Id: Ia368791259a1a91522a3efb70729919da79e37ea
Alan Viverette [Thu, 21 Jan 2016 15:24:27 +0000 (15:24 +0000)]
Merge "Move alert dialog title into date picker header"
Kenny Guy [Fri, 15 Jan 2016 13:29:06 +0000 (13:29 +0000)]
Update PackageMonitor and LauncherApps for suspended apps.
Allow launchers to read ApplicationInfo from LauncherApps
to support suspended flag.
Provide callback to launchers via LauncherApps for suspend
/unsuspend broadcasts.
Change-Id: I772a121c45f60f926e8343bb6f181bef4e8929d3
Sudheer Shanka [Thu, 21 Jan 2016 14:22:50 +0000 (14:22 +0000)]
Merge "Add a guard against NullPointerException in RestrictedLockUtils."
Sudheer Shanka [Thu, 21 Jan 2016 13:47:51 +0000 (13:47 +0000)]
Add a guard against NullPointerException in RestrictedLockUtils.
Change-Id: I1eb7852cf58a4435a2c7627a569ade5f44855bf7
Jerome Gaillard [Thu, 21 Jan 2016 13:19:57 +0000 (13:19 +0000)]
Deals with translation and scaling in layoutlib am:
ded4d14e33
am:
cc90965d8f
* commit '
cc90965d8f3b8779fc477ec8a43b16306e5da535':
Deals with translation and scaling in layoutlib
Jerome Gaillard [Thu, 21 Jan 2016 13:16:02 +0000 (13:16 +0000)]
Deals with translation and scaling in layoutlib
am:
ded4d14e33
* commit '
ded4d14e3348ebb0cdfa3498a53d3fbfc58b2043':
Deals with translation and scaling in layoutlib
Rubin Xu [Thu, 21 Jan 2016 12:49:11 +0000 (12:49 +0000)]
Merge "Log app process start from ActivityManagerService"
Rubin Xu [Mon, 11 Jan 2016 12:19:44 +0000 (12:19 +0000)]
Log app process start from ActivityManagerService
Information about app process start is logged to the security buffer
as part of the device owner process logging feature.
Bug:
22860162
Change-Id: I752fd3196845577c7c39d9d6b109e7d18b197322
Sudheer Shanka [Thu, 21 Jan 2016 12:32:06 +0000 (12:32 +0000)]
Merge "Fix admin check in Settings."
Jerome Gaillard [Thu, 21 Jan 2016 11:21:47 +0000 (11:21 +0000)]
Deals with translation and scaling in layoutlib
Layoutlib now correctly interprets the translation and scaling
xml attributes of views, by implementing what the Android platform
does in native code.
Change-Id: Ie8465f40ef4508d3c31796200800f12cb8f883a4
Oleksandr Peletskyi [Thu, 21 Jan 2016 11:03:54 +0000 (11:03 +0000)]
Merge "Added new password quality constant PASSWORD_QUALITY_MANAGED to make it possible to prevent user from unlock modification. BUG:
25549437"
David Brazdil [Wed, 20 Jan 2016 14:04:40 +0000 (14:04 +0000)]
Extract APKs on install or OTA
ART will unzip APKs in memory during launch if an OAT file is not
present. To save the time and memory, this patch will invoke dex2oat
with '--compiler-filter=verify-at-runtime' to unzip the APK during
install or after an OTA.
Change-Id: I16583f9450ad60356123a29f7a6a649b2ab9999f
Yohei Yukawa [Thu, 21 Jan 2016 06:06:49 +0000 (06:06 +0000)]
Merge "Ensure EditorInfo#locales is set before return."
Ruben Brunk [Thu, 21 Jan 2016 05:59:09 +0000 (21:59 -0800)]
Fix admin check in Settings.
- This check is broken when there are no Admins on the device.
- Blocks enabling NotificationListenerServices in Settings.
Change-Id: I2c30daf2fc4632d55e84f0e499e3ceedbe162b98
Jinsong Mu [Thu, 21 Jan 2016 06:01:22 +0000 (06:01 +0000)]
Merge "Accessibility services can turn themselves off b/
22514381 Added disableSelf() method to AccessibilityService This newly added api used used in https://googleplex-android-review.git.corp.google.com/#/c/833857/"
Jinsong Mu [Mon, 14 Dec 2015 23:58:41 +0000 (15:58 -0800)]
Accessibility services can turn themselves off b/
22514381
Added disableSelf() method to AccessibilityService
This newly added api used used in
https://googleplex-android-review.git.corp.google.com/#/c/833857/
Change-Id: I5fe60181058ef90dd496318cf270e0825bcc411a
Jorim Jaggi [Thu, 21 Jan 2016 05:43:17 +0000 (05:43 +0000)]
Fix SystemUI animator leak am:
3c988197fa am:
7a1c656269
am:
8867fbdd8d
* commit '
8867fbdd8d9a76ea31485f40822e6f77cb89725e':
Fix SystemUI animator leak
Jorim Jaggi [Thu, 21 Jan 2016 05:38:53 +0000 (05:38 +0000)]
Fix SystemUI animator leak am:
3c988197fa
am:
7a1c656269
* commit '
7a1c6562694faaee4bf30a3b06573e96e93034ff':
Fix SystemUI animator leak
Jorim Jaggi [Thu, 21 Jan 2016 05:34:13 +0000 (05:34 +0000)]
Fix SystemUI animator leak
am:
3c988197fa
* commit '
3c988197fac989e4cca7fd1a96f6489e8ed4a05b':
Fix SystemUI animator leak
Tomasz Mikolajewski [Thu, 21 Jan 2016 05:13:33 +0000 (05:13 +0000)]
Merge "Do not launch a quick viewer unless it's whitelisted."
Yohei Yukawa [Thu, 21 Jan 2016 05:09:33 +0000 (21:09 -0800)]
Ensure EditorInfo#locales is set before return.
This is a follow up CL for the previous CL [1], which mistakenly put
the initialization code of EditorInfo#locales after return statement.
[1]: I77db5b99a7cf745d800db75baf135bb60ad04820
8d6eeb01df72891acd3aa75e64aa1595a41cc96e
With this CL, the IME starts receiving correctly initialized LocaleList
as expected.
Bug:
22859862
Change-Id: I738ffaaf07091d8b980f8bfc6e16227fcb85a96a
Jaesung Chung [Thu, 21 Jan 2016 03:41:01 +0000 (03:41 +0000)]
Merge "Support for CEA-708 closed caption"
Tomasz Mikolajewski [Thu, 21 Jan 2016 03:38:03 +0000 (12:38 +0900)]
Do not launch a quick viewer unless it's whitelisted.
Bug:
26697917
Change-Id: Ibe2c7c462380c219d6ce5b5c69af6dac0df62d41
Daichi Hirono [Thu, 21 Jan 2016 03:34:17 +0000 (03:34 +0000)]
Merge "Ensure to release local reference in AppFuse JNI."
Tomasz Mikolajewski [Thu, 21 Jan 2016 03:32:53 +0000 (03:32 +0000)]
Merge "Fix copying virtual files."
Rakesh Iyer [Thu, 14 Jan 2016 21:37:15 +0000 (13:37 -0800)]
Commandeer full screen user switcher for auto.
The full screen user switcher wasn't needed by the original
author so adapt it for the auto use case because it fits
really well. This change adds in some legal text (TBR - legal)
and tweaks the layout a bit.
Bug:
26559008
Change-Id: Ib78d0ec8a8d4ec8411dbbffe5852c5307c2cf42f
Adam Lesinski [Thu, 21 Jan 2016 02:22:04 +0000 (02:22 +0000)]
Merge "Record bytes transferred for bluetooth"
Daichi Hirono [Wed, 20 Jan 2016 10:01:57 +0000 (19:01 +0900)]
Ensure to release local reference in AppFuse JNI.
Previously get_object_bytes() leaked local reference of Java buffer
array.
BUG=None
Change-Id: Ic27e57281f984fee4aa285ad21de522ccb0fe4ed
Daichi Hirono [Thu, 21 Jan 2016 02:05:29 +0000 (02:05 +0000)]
Merge "Fix race in AppFuseTest."
Jorim Jaggi [Wed, 20 Jan 2016 00:32:17 +0000 (16:32 -0800)]
Fix SystemUI animator leak
When there was a state change or layout when there was an animation
set as the mobile icon in the status bar, we never stopped the old
animation, which was infinite. This was using more and more CPU because
the animations never got stopped.
To fix this, we don't update the drawable when a layout happens and we
stop the previous animation when replacing the icon.
Bug:
26616870
Change-Id: If501155d1a99d587e50a1b77ebb03a21c940662b
Daichi Hirono [Wed, 20 Jan 2016 06:36:04 +0000 (15:36 +0900)]
Fix race in AppFuseTest.
Previously IllegalStateException is thrown in app fuse main loop, if the
loop thread starts just after closing device FD.
BUG=None
Change-Id: Ia5232857d29f9f324446aa38acf3c062f359d406
Svetoslav Ganov [Thu, 21 Jan 2016 01:32:11 +0000 (01:32 +0000)]
Merge "Update flags before querying activities when parsing default apps."
Svetoslav Ganov [Thu, 21 Jan 2016 01:27:48 +0000 (17:27 -0800)]
Update flags before querying activities when parsing default apps.
Change-Id: I0120f32bfa2a7dd93714e8592496df4a0d74d07e
Tomasz Mikolajewski [Thu, 21 Jan 2016 01:00:33 +0000 (10:00 +0900)]
Fix copying virtual files.
Change-Id: I35556f3be7c268a939285926e1e92487a0a6199d
Chenjie Luo [Thu, 21 Jan 2016 00:59:36 +0000 (00:59 +0000)]
Merge "Fix bug in AssetAtlas packing loop" into cw-e-dev am:
b2b2fb0182 am:
8d6f1956e4 am:
bf9a587ca8
am:
5d092a1356
* commit '
5d092a1356f76a43d2411d5f4a6f8309b634e1d4':
Fix bug in AssetAtlas packing loop
Selim Gurun [Thu, 21 Jan 2016 00:42:44 +0000 (00:42 +0000)]
Merge "Add the system apis for token binding"
Ronghua Wu [Thu, 21 Jan 2016 00:42:23 +0000 (00:42 +0000)]
Merge "media: Add MIMETYPE_VIDEO_DOLBY_VISION."
Chenjie Luo [Thu, 21 Jan 2016 00:33:46 +0000 (00:33 +0000)]
Merge "Fix bug in AssetAtlas packing loop" into cw-e-dev am:
b2b2fb0182 am:
8d6f1956e4
am:
bf9a587ca8
* commit '
bf9a587ca8528219e46fc35746d6ec8a8e6568d1':
Fix bug in AssetAtlas packing loop
Siyamed Sinir [Tue, 12 Jan 2016 18:54:43 +0000 (10:54 -0800)]
Sort the result of SpannableStringBuilder.getSpans
SpannableStringBuilder used to return the result of getSpans in the
order of start indices because of the interval tree it uses. However,
style spans has to be applied in the order of insertion to get
predictable results. Sorted the results of getSpans ordered first by
priority flag and then by insertion time. Moreover improved the
performance of SpannableStringInternal copy constructor.
Bug:
26240132
Change-Id: I0b0fa7bb30a3bd9ca37dedca66d8993718586027
Tao Bao [Thu, 21 Jan 2016 00:27:39 +0000 (00:27 +0000)]
Merge "Stop rebooting into recovery if uncrypt fails."
Felipe Leme [Thu, 21 Jan 2016 00:26:23 +0000 (00:26 +0000)]
Merge "Added API to whitelist apps for background restriction."
Jaewan Kim [Thu, 21 Jan 2016 00:22:13 +0000 (00:22 +0000)]
Merge "PIP: Handle KEYCODE_WINDOW to control PIP UI"
Chenjie Luo [Thu, 21 Jan 2016 00:11:23 +0000 (00:11 +0000)]
Merge "Fix bug in AssetAtlas packing loop" into cw-e-dev am:
b2b2fb0182
am:
8d6f1956e4
* commit '
8d6f1956e46cefed0eaa754a468805e2e4d61972':
Fix bug in AssetAtlas packing loop
Chenjie Luo [Wed, 20 Jan 2016 23:55:34 +0000 (23:55 +0000)]
Merge "Fix bug in AssetAtlas packing loop" into cw-e-dev
am:
b2b2fb0182
* commit '
b2b2fb018243831144929b1db9db9b8eeab8d984':
Fix bug in AssetAtlas packing loop
Chenjie Luo [Wed, 20 Jan 2016 23:38:46 +0000 (23:38 +0000)]
Merge "Fix bug in AssetAtlas packing loop" into cw-e-dev
Philip P. Moltmann [Wed, 20 Jan 2016 23:16:48 +0000 (15:16 -0800)]
Shorten LOG_TAGs to fit in 23 characters as commented on by lint.
Change-Id: Ie9415fc3de642493bc36c0159b773d8ce2436df5
Rob Carr [Wed, 20 Jan 2016 23:04:56 +0000 (23:04 +0000)]
Merge "Layout SurfaceView in parent frame."
Amith Yamasani [Wed, 20 Jan 2016 22:36:03 +0000 (14:36 -0800)]
Don't allow user creation intent to work on non-admin users
Only allow admin users to create users using an intent.
Bug:
26692650
Change-Id: Iadcc9843baa6996dcc6e662604dfcc8238e7f35b
Chenjie Luo [Wed, 20 Jan 2016 21:25:11 +0000 (13:25 -0800)]
Fix bug in AssetAtlas packing loop
There is a bug in AssetAtlasService that it always choose the
MAX_SIZE as height. The for loop of height calculation starts
from MAX_SIZE and breaks when it finds a working texture. This
means the height loop will always break for the initial value.
Reording the loop optimize the algorithm to find a smaller
atlas texture. The MIN_SIZE is also changed to 512 for fewer
assets case.
Bug:
26429912
Change-Id: Ic0b2396e9697c417a24f81ec792f8a8af53915ad
Selim Gurun [Wed, 20 Jan 2016 22:26:46 +0000 (14:26 -0800)]
Add the system apis for token binding
Bug:
22665752
Token binding protocol is the next generation channel-ID protocol,
currently it is a draft in IETF
https://tools.ietf.org/html/draft-ietf-tokbind-protocol-03
Add the api as a system api (will be public once the draft finalizes)
Change-Id: If971cc7e6d14f15c778b9b027df9fc48dac0160c
Sandra Kwan [Tue, 12 Jan 2016 22:13:37 +0000 (14:13 -0800)]
AccountManager: add isCredentialsUpdateSuggested API.
Change-Id: I27e0db0345f3431b796a944740dab767b45f7871
Philip P. Moltmann [Wed, 20 Jan 2016 21:55:38 +0000 (13:55 -0800)]
Treat empty strings similar to null-strings when composing the subtitle in the SelectPrinterActivity.
Change-Id: Ia0ee353df56b2f835f1ac291dc69eb3747425e6b
Rob Carr [Wed, 20 Jan 2016 21:53:24 +0000 (21:53 +0000)]
Merge "Disable temporary logging."
Robert Carr [Wed, 20 Jan 2016 21:35:43 +0000 (13:35 -0800)]
Layout SurfaceView in parent frame.
We always want the SurfaceView to be layed out
relative to the parent frame, fixes multiple issues
in freeform mode.
Bug:
26689889
Change-Id: Ib4728a515dc01c6884363b68a29f2e4ce5d5babc
Alan Viverette [Wed, 20 Jan 2016 21:29:54 +0000 (16:29 -0500)]
Move alert dialog title into date picker header
Also cleans up XML layouts for date picker dialog.
Bug:
25897915
Change-Id: I5859f59f8ca0eaf9a5d352d3ceeb6345bd85e970
John Reck [Wed, 20 Jan 2016 21:29:04 +0000 (21:29 +0000)]
Merge "Normalize GL_UNPACK_ALIGNMENT"
John Reck [Wed, 20 Jan 2016 19:09:53 +0000 (11:09 -0800)]
Normalize GL_UNPACK_ALIGNMENT
Several places were setting GL_UNPACK_ALIGNMENT
unneccessarily, whereas other places were assuming an
unpack alignment of 1. Since we never actually
do explicit row-alignment, set GL_UNPACK_ALIGNMENT
to 1 at context creation time and never change it
Bug:
26584230
Also turns on aggressive glGetError checking to
better catch potential problem zones
Change-Id: I190c8f0f0494a7f046d5ed769405c75d363be59a
Abodunrinwa Toki [Wed, 20 Jan 2016 21:13:37 +0000 (21:13 +0000)]
Merge "Update "Change keyboard" settings UI."
Felipe Leme [Fri, 15 Jan 2016 00:16:16 +0000 (16:16 -0800)]
Added API to whitelist apps for background restriction.
The new APIs are:
void addRestrictBackgroundWhitelistedUid(int uid);
void removeRestrictBackgroundWhitelistedUid(int uid);
int[] getRestrictBackgroundWhitelistedUids();
The whitelist is persisted in the same XML used for the other policies,
using the new 'whitelist and 'restrict-background' tags. Examples:
3 whitelisted apps:
<whitelist>
<restrict-background uid="10001" />
<restrict-background uid="10009" />
<restrict-background uid="10086" />
</whitelist>
No whitelisted app:
<whitelist />
BUG:
26451391
Change-Id: I01b114c346fd8abc05433ad43d010379384f8c2b
Robert Carr [Wed, 20 Jan 2016 20:59:21 +0000 (12:59 -0800)]
Disable temporary logging.
Disable temporary logging for tracking ANR bug.
Bug:
26157153
Change-Id: Idff8b15a0c7aa565eccdb62a2ec74d665140e480
Dennis Kempin [Wed, 20 Jan 2016 20:57:36 +0000 (20:57 +0000)]
Merge "SystemGestures: Only send touch events to gesture detector."
Mihai Niță [Wed, 20 Jan 2016 20:50:00 +0000 (20:50 +0000)]
Merge "Re-implements the locales selection with suggestions and search."
Alan Viverette [Wed, 20 Jan 2016 20:49:54 +0000 (20:49 +0000)]
Merge "Postpone hover state resolution in DropDownListView"
Mihai Nita [Tue, 12 Jan 2016 16:53:54 +0000 (08:53 -0800)]
Re-implements the locales selection with suggestions and search.
This replaces the initial implementation of a two-step locale selection
with a more advanced version, which does suggestions, search, removes
locales that already exist in the user preferences.
Bug:
25800339
Bug:
26414919
Bug:
26278049
Bug:
26275094
Bug:
26266914
Bug:
26266743
Bug:
26266712
Bug:
26266605
Bug:
26266490
Bug:
26266021
Change-Id: I88944c86e4cae5eaa00b7ae4855887ab11989253
Raph Levien [Wed, 20 Jan 2016 20:16:50 +0000 (12:16 -0800)]
Update mResolvedLocale more aggressively
A client that mutates the locale of the Configuration being updated
can cause failure of the test that mResolvedLocale needs to be
recomputed. This patch stashes the previous locale list privately
so that updates can be detected even in this case.
Bug:
25993843
Change-Id: I1ea17dffd722177fb5b65ee77b9f5ce9a943f15b
Victor Chan [Wed, 20 Jan 2016 20:13:25 +0000 (20:13 +0000)]
Merge "Add ripple to navigation bar button"
Victor Chan [Wed, 20 Jan 2016 02:56:57 +0000 (18:56 -0800)]
Add ripple to navigation bar button
Change-Id: I3af5bf8e49f244987737be1df286dc52b61ff0f8
Steve McKay [Wed, 20 Jan 2016 20:05:02 +0000 (20:05 +0000)]
Merge "Support for concurrent file operations."