OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Disallow disabling of the package installer" into nyc-dev
Svetoslav Ganov [Wed, 16 Mar 2016 23:32:25 +0000 (23:32 +0000)]
Merge "Disallow disabling of the package installer" into nyc-dev

8 years agoMerge "Add emoji-related tests for the font chain" into nyc-dev
Roozbeh Pournader [Wed, 16 Mar 2016 23:31:15 +0000 (23:31 +0000)]
Merge "Add emoji-related tests for the font chain" into nyc-dev

8 years agoMerge "DocsUI: Don't animate selection changes on all bind events." into nyc-dev
Ben Kwa [Wed, 16 Mar 2016 23:26:50 +0000 (23:26 +0000)]
Merge "DocsUI: Don't animate selection changes on all bind events." into nyc-dev

8 years agoMerge "Add new key in CarrierConfigManager for ICCID display." into nyc-dev
Meng Wang [Wed, 16 Mar 2016 23:25:08 +0000 (23:25 +0000)]
Merge "Add new key in CarrierConfigManager for ICCID display." into nyc-dev

8 years agoMerge "Add delete key support." into nyc-dev
Ben Kwa [Wed, 16 Mar 2016 23:24:42 +0000 (23:24 +0000)]
Merge "Add delete key support." into nyc-dev

8 years agoMerge "Add "pm set-home-activity"" into nyc-dev
Makoto Onuki [Wed, 16 Mar 2016 23:14:03 +0000 (23:14 +0000)]
Merge "Add "pm set-home-activity"" into nyc-dev

8 years agoMerge "DocsUI: Don't crash on invalid window sizes." into nyc-dev
Ben Kwa [Wed, 16 Mar 2016 22:52:34 +0000 (22:52 +0000)]
Merge "DocsUI: Don't crash on invalid window sizes." into nyc-dev

8 years agoDocsUI: Don't crash on invalid window sizes.
Ben Kwa [Wed, 16 Mar 2016 20:01:20 +0000 (13:01 -0700)]
DocsUI: Don't crash on invalid window sizes.

Our layout code asserts when passed an (invalid) width of 0.  The assert
is unnecessary as we already handle this situation by always laying out
the content pane with a column count of at least 1.

Also, per Steve, bump the minimum column count in grid mode to 2.

BUG=27150284

Change-Id: I8aa87beaaf4907ef5248999d0c590deef732589f

8 years agoMerge "Adjust graphics dataspace references to new standard" into nyc-dev
Eino-Ville Talvala [Wed, 16 Mar 2016 22:49:35 +0000 (22:49 +0000)]
Merge "Adjust graphics dataspace references to new standard" into nyc-dev

8 years agoAdd "pm set-home-activity"
Makoto Onuki [Wed, 16 Mar 2016 01:06:57 +0000 (18:06 -0700)]
Add "pm set-home-activity"

This is needed to change the default launcher on CTS for
ShortcutManager.

- When the default set with DPM.addPersistentPreferredActivity() is
still stronger.

- Ideally we should unify the code with HomeSettings, but I couldn't
find a good way to do this.

- I didn't make it to work to set the default for any intents
because building an intent filter from a command line would be
painful.

Bug 27548047

Change-Id: I66b153c20c7796147f77214b483112629f9d80c5

8 years agoAdd new key in CarrierConfigManager for ICCID display.
Meng Wang [Mon, 14 Mar 2016 17:08:41 +0000 (10:08 -0700)]
Add new key in CarrierConfigManager for ICCID display.

Bug: 27574058
Change-Id: I74445c68f58e64a5baa87cd05fea9e91e59b0201

8 years ago[NAN] Refactor session lifecycle to clarify API & eliminate race conditions [DO NOT...
Etan Cohen [Wed, 16 Mar 2016 21:56:24 +0000 (21:56 +0000)]
[NAN] Refactor session lifecycle to clarify API & eliminate race conditions [DO NOT MERGE]
am: 2a73c7f  -s ours

* commit '2a73c7fb2a4aba4dd75341414f1583e5fb1f4613':
  [NAN] Refactor session lifecycle to clarify API & eliminate race conditions [DO NOT MERGE]

8 years agoMerge "Update ContextHubManager's System APIs." into nyc-dev
Daniel Estrada Alva [Wed, 16 Mar 2016 21:49:10 +0000 (21:49 +0000)]
Merge "Update ContextHubManager's System APIs." into nyc-dev

8 years agoMerge "Dynamic audio policies: device type and address" into nyc-dev
Jean-Michel Trivi [Wed, 16 Mar 2016 21:31:08 +0000 (21:31 +0000)]
Merge "Dynamic audio policies: device type and address" into nyc-dev

8 years agoMerge "Add fillType support to VectorDrawable" into nyc-dev
Tenghui Zhu [Wed, 16 Mar 2016 21:13:23 +0000 (21:13 +0000)]
Merge "Add fillType support to VectorDrawable" into nyc-dev

8 years agoMerge "AudioService: do not persist mic mute and master mute" into nyc-dev
Eric Laurent [Wed, 16 Mar 2016 21:09:29 +0000 (21:09 +0000)]
Merge "AudioService: do not persist mic mute and master mute" into nyc-dev

8 years agoUpdate ContextHubManager's System APIs.
destradaa [Tue, 15 Mar 2016 19:33:40 +0000 (12:33 -0700)]
Update ContextHubManager's System APIs.

- Consolidates the use of handles in context hub, and nano apps.
- Quick fixes to typos.
- Update the signature to find nano apps to use primitive types

Change-Id: Icffa6fa86e0e33a536516d98bc4674c0a39b2163

8 years agoAdd emoji-related tests for the font chain
Roozbeh Pournader [Wed, 16 Mar 2016 20:53:47 +0000 (13:53 -0700)]
Add emoji-related tests for the font chain

1. Check that all emoji characters are supported in emoji fonts.

2. Check that no default-emoji characters are included in any font
that can get a higher score then the color emoji font, either by
being before it or by having a language/script assigned.

Bug: 26187231

Change-Id: Ic76bf59f1c6f9d2d290b1b64128d725ae08dcb5c

8 years agoMerge "Remove references to Google packages." into nyc-dev
Jeff Sharkey [Wed, 16 Mar 2016 20:55:46 +0000 (20:55 +0000)]
Merge "Remove references to Google packages." into nyc-dev

8 years agoMerge "Revert "Precompute cursor indexes in DocumentsUI and improve perf by 2.7%...
Aga Wronska [Wed, 16 Mar 2016 20:54:40 +0000 (20:54 +0000)]
Merge "Revert "Precompute cursor indexes in DocumentsUI and improve perf by 2.7%." It ia causing tests failures and exception at the app start." into nyc-dev

8 years agoRemove references to Google packages.
Jeff Sharkey [Thu, 10 Mar 2016 20:24:18 +0000 (13:24 -0700)]
Remove references to Google packages.

Bug: 26441633
Change-Id: Iba6566215e2b6d224fd3b9c11d086f5c2db87dca

8 years agoAdd delete key support.
Ben Kwa [Mon, 14 Mar 2016 22:12:12 +0000 (15:12 -0700)]
Add delete key support.

- Pull the action mode up from the ActionMode listener into the
  DirectoryFragment.  There is no way to globally check on action mode,
  so fragment-level coordination on the action mode requires a
  fragment-level variable.

- Add a key handling clause for the delete key.  Unfortunately this
  can't be set up as a shortcut key, because shortcuts all have to be
  modified with the "Ctrl" key.

BUG=27409328

Change-Id: I48d1c87613ee7434728828e3b745fadb3bc915c1

8 years agoMerge "Defuse Bundles parsed by the system process." into nyc-dev
Jeff Sharkey [Wed, 16 Mar 2016 20:52:03 +0000 (20:52 +0000)]
Merge "Defuse Bundles parsed by the system process." into nyc-dev

8 years agoRevert "Precompute cursor indexes in DocumentsUI and improve perf by 2.7%."
Aga Wronska [Wed, 16 Mar 2016 20:44:27 +0000 (13:44 -0700)]
Revert "Precompute cursor indexes in DocumentsUI and improve perf by 2.7%."
It ia causing tests failures and exception at the app start.

This reverts commit d35a974b76cb0b3387aff7780d101e3f7de2ebd3.

Change-Id: I2577f723a7e25d4dcc12050791c65a900ac41f7d

8 years agoDefuse Bundles parsed by the system process.
Jeff Sharkey [Thu, 10 Mar 2016 05:30:56 +0000 (22:30 -0700)]
Defuse Bundles parsed by the system process.

It's easy for apps to throw custom Parcelables into Bundles, but
if the system tries peeking inside one of these Bundles, it triggers
a BadParcelableException.  If that Bundle was passed away from the
Binder thread that delivered it into the system, we end up with a
nasty runtime restart.

This change mitigates this trouble by "defusing" any Bundles parsed by
the system server.  That is, if it encounters BadParcelableException
while unpacking a Bundle, it logs and delivers an empty Bundle as
the result.

Simultaneously, to help catch the system process sticking its
fingers into Bundles that are destined for other processes, a Bundle
now tracks if it's "defusable."  For example, any Intents delivered
through ActivityThread are marked as being defusable, since they've
arrived at their final destination.  Any other Bundles are considered
to be "in transit" and we log if the system tries unparceling them.

Merges several Parcel boolean fields into a flags int.  Add better
docs to several classes.

Bug: 27581063
Change-Id: I28cf3e7439503b5dc9a429bafae5eb48f21f0d93

8 years agoMerge "Converting empty graphic to vector drawable." into nyc-dev
Winson Chung [Wed, 16 Mar 2016 20:35:20 +0000 (20:35 +0000)]
Merge "Converting empty graphic to vector drawable." into nyc-dev

8 years agoMerge "DO NOT MERGE Fix conditional when checking for confirm key." into nyc-dev
Yigit Boyar [Wed, 16 Mar 2016 20:27:20 +0000 (20:27 +0000)]
Merge "DO NOT MERGE Fix conditional when checking for confirm key." into nyc-dev

8 years agoMerge "Add support for dpads." into nyc-dev
Ben Kwa [Wed, 16 Mar 2016 20:24:07 +0000 (20:24 +0000)]
Merge "Add support for dpads." into nyc-dev

8 years agoMerge "Remove unused include" into nyc-dev
Chris Craik [Wed, 16 Mar 2016 20:19:38 +0000 (20:19 +0000)]
Merge "Remove unused include" into nyc-dev

8 years agoMerge "Fix band selection problems." into nyc-dev
Ben Kwa [Wed, 16 Mar 2016 20:06:12 +0000 (20:06 +0000)]
Merge "Fix band selection problems." into nyc-dev

8 years agoMerge "Don't allow selection in copy dest picker." into nyc-dev
Steve McKay [Wed, 16 Mar 2016 20:05:47 +0000 (20:05 +0000)]
Merge "Don't allow selection in copy dest picker." into nyc-dev

8 years agoRemove unused include
Chris Craik [Wed, 16 Mar 2016 20:04:02 +0000 (13:04 -0700)]
Remove unused include

This include breaks compilation when HWUI_NEW_OPS=false

Change-Id: Ia3167f1550167f96de83af4b2f25abd6903c4723

8 years agoMerge "Fix NC caused by race condition in SystemSensorManager" into nyc-dev
Peng Xu [Wed, 16 Mar 2016 19:30:54 +0000 (19:30 +0000)]
Merge "Fix NC caused by race condition in SystemSensorManager" into nyc-dev

8 years agoDynamic audio policies: device type and address
Jean-Michel Trivi [Tue, 15 Mar 2016 01:46:41 +0000 (18:46 -0700)]
Dynamic audio policies: device type and address

Store device type and address in audio mixes regardless of the
  mix route type, no "registration" field.
For LOOP_BACK mixes, assign the REMOTE_SUBMIX device type.

Bug 25448664

Change-Id: I8d59b2fd3e05b1dcf1081ad826f985f5e3e74769

8 years agoDocsUI: Don't animate selection changes on all bind events.
Ben Kwa [Wed, 16 Mar 2016 19:13:21 +0000 (12:13 -0700)]
DocsUI: Don't animate selection changes on all bind events.

When directory contents update, this causes all items to be bound, which
can cause flickering even though item selection state hasn't changed.

Add a boolean var to trigger UI animations only when selection changes
are triggered by the selection manager.

BUG=27680153

Change-Id: I892d8111cf3ba7e1610d94af4a1a646f1cdb5546

8 years agoDon't allow selection in copy dest picker.
Steve McKay [Wed, 16 Mar 2016 19:00:44 +0000 (12:00 -0700)]
Don't allow selection in copy dest picker.

Bug: 27490262
Change-Id: I1938a900cfd3693739c2ac10b5eea3176a4ca82c

8 years agoConverting empty graphic to vector drawable.
Winson [Wed, 16 Mar 2016 18:33:03 +0000 (11:33 -0700)]
Converting empty graphic to vector drawable.

Bug: 27154293
Change-Id: I2ee46bf5aa9ab7ad05c054363d53fdda0a3069dc

8 years agoMerge "Document that Rect right/bottom are exclusive" into nyc-dev
Chet Haase [Wed, 16 Mar 2016 18:09:51 +0000 (18:09 +0000)]
Merge "Document that Rect right/bottom are exclusive" into nyc-dev

8 years agoMerge changes I3eba2cdb,Ie529f27e,I4f0290fa,I7fb1f704,I32b9dd59, ... into nyc-dev
Winson Chung [Wed, 16 Mar 2016 18:07:11 +0000 (18:07 +0000)]
Merge changes I3eba2cdb,Ie529f27e,I4f0290fa,I7fb1f704,I32b9dd59, ... into nyc-dev

* changes:
  Scroll to the launch-task when toggling overview.
  Ensure that recents toggles even in the empty state.
  Removing paging tuner setting.
  Updating empty state graphic.
  Fixing issue with the stack layout not being updated on config change.
  Ensuring that we evict ActivityInfos from the cache.

8 years agoAdd fillType support to VectorDrawable
Teng-Hui Zhu [Tue, 15 Mar 2016 21:32:16 +0000 (14:32 -0700)]
Add fillType support to VectorDrawable

Default as non-zero, which is the same as SVG.
b/27533958

Change-Id: Id20e6d3493bb4d2b4b65d7f6cdb13586631c40e4

8 years agoFix band selection problems.
Ben Kwa [Mon, 14 Mar 2016 18:56:47 +0000 (11:56 -0700)]
Fix band selection problems.

BUG=27364174
BUG=27645942

Change-Id: Ib14680db708f1ddf1f5dc9dff8b93b655fa3f123

8 years agoScroll to the launch-task when toggling overview.
Winson [Tue, 15 Mar 2016 23:47:19 +0000 (16:47 -0700)]
Scroll to the launch-task when toggling overview.

Bug: 27680710
Change-Id: I3eba2cdbe0a92ef05dd6882a5e41db2a5875c98a

8 years agoEnsure that recents toggles even in the empty state.
Winson [Tue, 15 Mar 2016 22:44:48 +0000 (15:44 -0700)]
Ensure that recents toggles even in the empty state.

Bug: 27604213
Change-Id: Ie529f27e7e8110be8e86224bbad7622300fa87a7

8 years agoRemoving paging tuner setting.
Winson [Tue, 15 Mar 2016 19:22:31 +0000 (12:22 -0700)]
Removing paging tuner setting.

Bug: 26962865
Change-Id: I4f0290fa334b6153cc160cb5dbe6e333a002334c

8 years agoUpdating empty state graphic.
Winson [Tue, 15 Mar 2016 22:20:17 +0000 (15:20 -0700)]
Updating empty state graphic.

Change-Id: I7fb1f704dfbf0a300e00805d75c08b2fdabf7260

8 years agoFixing issue with the stack layout not being updated on config change.
Winson [Tue, 15 Mar 2016 18:41:37 +0000 (11:41 -0700)]
Fixing issue with the stack layout not being updated on config change.

Bug: 27376567
Change-Id: I32b9dd59a6187c87387785335dd66cc4f28372b3

8 years agoEnsuring that we evict ActivityInfos from the cache.
Winson [Tue, 15 Mar 2016 01:58:43 +0000 (18:58 -0700)]
Ensuring that we evict ActivityInfos from the cache.

- Once the data that we depend on the ActivityInfos for are evicted,
  also remove them from the cache so that they are not stale the next
  time we might want to use them.

Bug: 27495264
Change-Id: I615842df4f48deb12a051ef241991a51a10cf383

8 years agoMerge "TIF: Unhide sendAppPrivateCommand/onAppPrivateCommand" into nyc-dev
Dongwon Kang [Wed, 16 Mar 2016 17:56:11 +0000 (17:56 +0000)]
Merge "TIF: Unhide sendAppPrivateCommand/onAppPrivateCommand" into nyc-dev

8 years agoTIF: Unhide sendAppPrivateCommand/onAppPrivateCommand
Dongwon Kang [Thu, 10 Mar 2016 23:09:29 +0000 (15:09 -0800)]
TIF: Unhide sendAppPrivateCommand/onAppPrivateCommand

Bug: 25726685
Change-Id: Iad6417b4da0543043a7fa17287487313a7670209

8 years agoFix NC caused by race condition in SystemSensorManager
Peng Xu [Wed, 16 Mar 2016 01:16:45 +0000 (18:16 -0700)]
Fix NC caused by race condition in SystemSensorManager

This change fixes a race condition when two SystemSensorManager
instances are initialized the same time.

Bug: 27334914
Change-Id: I7a886abcbff2ed6f8abf87556a78d1a4afb71f91

8 years agoMerge "Apply stack crop to docked stack during animation" into nyc-dev
Chong Zhang [Wed, 16 Mar 2016 17:41:36 +0000 (17:41 +0000)]
Merge "Apply stack crop to docked stack during animation" into nyc-dev

8 years agoApply stack crop to docked stack during animation
Chong Zhang [Wed, 16 Mar 2016 01:16:01 +0000 (18:16 -0700)]
Apply stack crop to docked stack during animation

If device goes to sleep with docked stack visible, the docked stack
will be minimized after unlock. Due to "force hide enter" animation
and the entering animation of the app itself, the app will be animating
for the initial few frames. Not applying the crop causes the app to
be seen in full briefly, then minimized.

Docked divider doesn't use a final stack bounds but changes stack
bounds continously during docked stack resize, so we can apply the
bounds even during animation.

bug: 27592767
Change-Id: I12f4eb46a95c9a7dd2147b68c362e17609a8b410

8 years agoMerge "Exposing Context Hub service." into nyc-dev
Ashutosh Joshi [Wed, 16 Mar 2016 17:21:32 +0000 (17:21 +0000)]
Merge "Exposing Context Hub service." into nyc-dev

8 years agoMerge "Remove Intent to start screen reader tutorial. Reverts ag/867242. Bug: 2721868...
Anna Galusza [Wed, 16 Mar 2016 17:07:48 +0000 (17:07 +0000)]
Merge "Remove Intent to start screen reader tutorial. Reverts ag/867242. Bug: 27218687" into nyc-dev

8 years agoMerge "Update PIP position on recents" into nyc-dev
Youngsang Cho [Wed, 16 Mar 2016 16:59:05 +0000 (16:59 +0000)]
Merge "Update PIP position on recents" into nyc-dev

8 years agoMerge "Prevent apps without DND access from toggling DND via AudioService." into...
Julia Reynolds [Wed, 16 Mar 2016 16:48:31 +0000 (16:48 +0000)]
Merge "Prevent apps without DND access from toggling DND via AudioService." into nyc-dev

8 years agoMerge "Synchronize on subscription list." into nyc-dev
Julia Reynolds [Wed, 16 Mar 2016 16:34:32 +0000 (16:34 +0000)]
Merge "Synchronize on subscription list." into nyc-dev

8 years agoMerge "Minor UI improvements and code cleanup:" into nyc-dev
Felipe Leme [Wed, 16 Mar 2016 16:29:55 +0000 (16:29 +0000)]
Merge "Minor UI improvements and code cleanup:" into nyc-dev

8 years agoMerge "Polished Scoped Directory Access UI." into nyc-dev
Felipe Leme [Wed, 16 Mar 2016 16:22:16 +0000 (16:22 +0000)]
Merge "Polished Scoped Directory Access UI." into nyc-dev

8 years agoMerge "Use proper ScriptCall size in nScriptForEach()" into nyc-dev
Yang Ni [Wed, 16 Mar 2016 15:46:37 +0000 (15:46 +0000)]
Merge "Use proper ScriptCall size in nScriptForEach()" into nyc-dev

8 years agoUse proper ScriptCall size in nScriptForEach()
Yang Ni [Tue, 15 Mar 2016 23:00:02 +0000 (16:00 -0700)]
Use proper ScriptCall size in nScriptForEach()

Bug: 26498479

Although the size of struct ScriptCall is not used underneath in the
runtime or drivers, assign the correct value here to avoid confusion.

Change-Id: I8db19538b9f70f3bf9ee849a8724da3d9ee04785
(cherry picked from commit e8f2e445fdb138416043a16659bbf86fbbd3fff8)

8 years agoMerge "Fix a bug in ControllerActivityCounter" into nyc-dev
Roshan Pius [Wed, 16 Mar 2016 15:05:12 +0000 (15:05 +0000)]
Merge "Fix a bug in ControllerActivityCounter" into nyc-dev

8 years agogetUserInfo fail when app trying to get self user info
Tony Mak [Wed, 16 Mar 2016 14:49:52 +0000 (14:49 +0000)]
getUserInfo fail when app trying to get self user info

isSameProfileGroupLP return false when user has no profile, we should
check callingUserId != userId explictly.
Please notice that isSameProfileGroup handles this case, but we would like
to avoid the permission checking of isSameProfileGroup.

Change-Id: Ibb2d09eaaf7e8f099445490aa9ec287e86945125

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Wed, 16 Mar 2016 14:33:52 +0000 (14:33 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Wed, 16 Mar 2016 14:33:29 +0000 (14:33 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 16 Mar 2016 14:28:31 +0000 (07:28 -0700)]
Import translations. DO NOT MERGE

Change-Id: I94fd8779f7e2611373bfd09ca25ffef2e178c17d
Auto-generated-cl: translation import

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 16 Mar 2016 14:27:26 +0000 (07:27 -0700)]
Import translations. DO NOT MERGE

Change-Id: Iefbda82e967a365520cdf26df0728b8eb425c6a7
Auto-generated-cl: translation import

8 years agoMerge "Clarified documentation as requested by API review" into nyc-dev
Esteban Talavera [Wed, 16 Mar 2016 14:24:39 +0000 (14:24 +0000)]
Merge "Clarified documentation as requested by API review" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Wed, 16 Mar 2016 14:22:03 +0000 (14:22 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Wed, 16 Mar 2016 14:21:46 +0000 (14:21 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 16 Mar 2016 14:21:07 +0000 (07:21 -0700)]
Import translations. DO NOT MERGE

Change-Id: I949b397af1475733943f0b3597c9ff4c050bba03
Auto-generated-cl: translation import

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 16 Mar 2016 14:14:47 +0000 (07:14 -0700)]
Import translations. DO NOT MERGE

Change-Id: I33545a8fee9b65fa3e11fdb86c1b6c9d2bcdc7ec
Auto-generated-cl: translation import

8 years agoMerge "Rebind managed services more" into nyc-dev
Julia Reynolds [Wed, 16 Mar 2016 14:08:19 +0000 (14:08 +0000)]
Merge "Rebind managed services more" into nyc-dev

8 years agoPrevent apps without DND access from toggling DND via AudioService.
Julia Reynolds [Wed, 9 Mar 2016 15:15:16 +0000 (10:15 -0500)]
Prevent apps without DND access from toggling DND via AudioService.

Bug: 25395278
Change-Id: Id72830607b01a43848d1261292e5835315ef70d0

8 years agoTrack libcore change 5409226c71aa1e090291f391faeb4249f5447472
Przemyslaw Szczepaniak [Wed, 16 Mar 2016 13:20:16 +0000 (13:20 +0000)]
Track libcore change 5409226c71aa1e090291f391faeb4249f5447472

Bug: 27426599
Change-Id: I028bb4ac7a24d6121c8114aa58e0e53799d00945

8 years agoMerge "Reduce memory allocations and improve sorting in DocumentsUI by 8.42%." into...
Tomasz Mikolajewski [Wed, 16 Mar 2016 12:55:37 +0000 (12:55 +0000)]
Merge "Reduce memory allocations and improve sorting in DocumentsUI by 8.42%." into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Wed, 16 Mar 2016 12:44:35 +0000 (12:44 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 16 Mar 2016 12:30:51 +0000 (08:30 -0400)]
Import translations. DO NOT MERGE

Change-Id: I1349c9ce36d61c83ffe2305411f5843fc5b1fe89
Auto-generated-cl: translation import

8 years agoMerge "Remove all non-porterduff xfermodes from the public API" into nyc-dev
Derek Sollenberger [Wed, 16 Mar 2016 12:17:14 +0000 (12:17 +0000)]
Merge "Remove all non-porterduff xfermodes from the public API" into nyc-dev

8 years agoMerge "Update documentation of DevicePolicyManager.isProvisioningAllowed." into nyc-dev
Nicolas Prévot [Wed, 16 Mar 2016 12:05:34 +0000 (12:05 +0000)]
Merge "Update documentation of DevicePolicyManager.isProvisioningAllowed." into nyc-dev

8 years agoClarified documentation as requested by API review
Esteban Talavera [Wed, 16 Mar 2016 12:00:40 +0000 (12:00 +0000)]
Clarified documentation as requested by API review

Bug: 27532433
Change-Id: I5fada6c0a4636528393308d5ce098cd0398e5ff5

8 years agoFix NotificationListenerService fail to mirror work notification
Tony Mak [Wed, 16 Mar 2016 10:46:49 +0000 (10:46 +0000)]
Fix NotificationListenerService fail to mirror work notification

1. Instead of getting application info in runtime, just retrieve the
   one in the context to avoid cross user operation.

2. Functions in PackageManager that retrieve badged icon now return
   badged icon if the targer user is managed profile instead of checking
   whether target user is a managed profile of the user in mContext.

3. Relax the restriction of getUserInfo, if the caller is asking a user
   in the same profile group or having the manage user permission, we let
   it go.

Bug: 26469166

Change-Id: Ia1ffc5743f7d94bd489cdb7571eaed51499ebdd9

8 years agoReduce memory allocations and improve sorting in DocumentsUI by 8.42%.
Tomasz Mikolajewski [Tue, 15 Mar 2016 06:55:46 +0000 (15:55 +0900)]
Reduce memory allocations and improve sorting in DocumentsUI by 8.42%.

Bug: 27286016
Change-Id: Icc84aaaedd396d82f4ca7de63a682deebe1e1b93

8 years agoMerge "Precompute cursor indexes in DocumentsUI and improve perf by 2.7%." into nyc-dev
Tomasz Mikolajewski [Wed, 16 Mar 2016 09:25:28 +0000 (09:25 +0000)]
Merge "Precompute cursor indexes in DocumentsUI and improve perf by 2.7%." into nyc-dev

8 years agoMerge "APF: add debug code." into nyc-dev
Lorenzo Colitti [Wed, 16 Mar 2016 08:13:21 +0000 (08:13 +0000)]
Merge "APF: add debug code." into nyc-dev

8 years agoPrecompute cursor indexes in DocumentsUI and improve perf by 2.7%.
Tomasz Mikolajewski [Tue, 15 Mar 2016 06:38:54 +0000 (15:38 +0900)]
Precompute cursor indexes in DocumentsUI and improve perf by 2.7%.

Bug: 27286016
Change-Id: I0ad852faef46ba9eccc90ca32d8c2ea0e2d5cd98

8 years agoMerge "Handle SQLite disk IO error in MtpDocumentsProvider#onCreate." into nyc-dev
Daichi Hirono [Wed, 16 Mar 2016 07:34:14 +0000 (07:34 +0000)]
Merge "Handle SQLite disk IO error in MtpDocumentsProvider#onCreate." into nyc-dev

8 years agoMerge "HdmiControlService does not broadcast CEC <standby> message on shutdown" into...
Donghyun Cho [Wed, 16 Mar 2016 07:08:01 +0000 (07:08 +0000)]
Merge "HdmiControlService does not broadcast CEC <standby> message on shutdown" into nyc-dev

8 years agoAPF: add debug code.
Lorenzo Colitti [Thu, 3 Mar 2016 08:53:46 +0000 (17:53 +0900)]
APF: add debug code.

1. Store additional debug information when RA filtering.
2. Add a toString method for RA packets.
3. Make "adb shell dumpsys connectivity apf" dump APF filter
   state.

Bug: 26238573
Change-Id: I1441ff7bc90e63624f8b10a220b2ac97f4d390a5

8 years agoHandle SQLite disk IO error in MtpDocumentsProvider#onCreate.
Daichi Hirono [Wed, 16 Mar 2016 05:36:27 +0000 (14:36 +0900)]
Handle SQLite disk IO error in MtpDocumentsProvider#onCreate.

The error should be regarded as an expected error that failes onCreate,
rather than crash.

BUG=27244513

Change-Id: Icf5164b0cba6cb919077539afe7701ada1e0c247

8 years agoHdmiControlService does not broadcast CEC <standby> message on shutdown
Rob McConnell [Fri, 11 Mar 2016 11:03:00 +0000 (11:03 +0000)]
HdmiControlService does not broadcast CEC <standby> message on shutdown

When the STB is shutting down the CEC <standby> message should be
broadcast to all CEC devices to place them in to standby. This is
not happening because the ACTION_SHUTDOWN Intent has not been
added to the list of Intent filters that the HdmiControlService
should be listening for.

This one-line change adds the ACTION_SHUTDOWN Intent filter so that
when the STB is shutting down (e.g. via a long press of the POWER
button), the CEC <standby> message can be broadcast to all devices.
This allows a connected HDMI TV to be automatically placed in to
standby.

Bug: 27596547
Change-Id: I4cdd2eaaad86e98bdf86c74fb0c377eb716f3c83

8 years agoMerge "Move to downloads root instead of home root." into nyc-dev
Daichi Hirono [Wed, 16 Mar 2016 04:21:04 +0000 (04:21 +0000)]
Merge "Move to downloads root instead of home root." into nyc-dev

8 years agoMerge "Add a system property for the 'Set Menu Language' feature of CEC" into nyc-dev
Donghyun Cho [Wed, 16 Mar 2016 04:20:57 +0000 (04:20 +0000)]
Merge "Add a system property for the 'Set Menu Language' feature of CEC" into nyc-dev

8 years agoMerge "Ignore the checksum when comparing RAs for equality." into nyc-dev
Lorenzo Colitti [Wed, 16 Mar 2016 03:27:48 +0000 (03:27 +0000)]
Merge "Ignore the checksum when comparing RAs for equality." into nyc-dev

8 years agoIgnore the checksum when comparing RAs for equality.
Lorenzo Colitti [Thu, 3 Mar 2016 08:53:33 +0000 (17:53 +0900)]
Ignore the checksum when comparing RAs for equality.

When comparing two RAs for equality, Ra#matches intentionally
ignores lifetimes. It should ignore the checksum instead, because
otherwise-identical packets with different lifetimes will almost
certainly have different checksums.

In order to avoid the generated APF program also matching the
checksum, we treat the checksum as if it were a lifetime, but
take care not to use its value when calculating mMinLifetime or
when checking the lifetimes in the APF program.

Bug: 27595799
Bug: 26238573
Change-Id: I526fdc17e99803a1ddec6275a3c542014434c429

8 years agoAdd a system property for the 'Set Menu Language' feature of CEC
Donghyun Cho [Fri, 11 Mar 2016 08:35:37 +0000 (17:35 +0900)]
Add a system property for the 'Set Menu Language' feature of CEC

The CEC feature, <Set Menu Language>, is enabled by setting a system
property 'ro.hdmi.set_menu_language', which is false by default.

Bug: 25704899
Change-Id: I941b238bcc06227c128f09d38d422b8295e81b7b

8 years agoUpdate docs for ACTION_QUICK_VIEW.
Tomasz Mikolajewski [Thu, 10 Mar 2016 08:42:35 +0000 (17:42 +0900)]
Update docs for ACTION_QUICK_VIEW.

Bug: 27531273
Change-Id: I917ca16c14db20e6a2773018e00a61ff5fcf7ecd

8 years agoMerge "Add FLAG_PARTIAL. Partial files can't be copied." into nyc-dev
Steve McKay [Wed, 16 Mar 2016 01:37:06 +0000 (01:37 +0000)]
Merge "Add FLAG_PARTIAL. Partial files can't be copied." into nyc-dev

8 years agoAudioService: do not persist mic mute and master mute
Eric Laurent [Wed, 16 Mar 2016 01:19:23 +0000 (18:19 -0700)]
AudioService: do not persist mic mute and master mute

Master mute and mic mute are fully managed by user restrictions so there
is no need to persist their states.

Bug: 27486437
Change-Id: I7e58d1ddf409f6c80af371c7f5a5f305ee996386

8 years agoMerge "Add View#onVisibilityAggregated" into nyc-dev
Adam Powell [Wed, 16 Mar 2016 00:22:21 +0000 (00:22 +0000)]
Merge "Add View#onVisibilityAggregated" into nyc-dev