OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Don't even try adjusting when dock is minimized" into nyc-dev
TreeHugger Robot [Tue, 10 May 2016 19:47:40 +0000 (19:47 +0000)]
Merge "Don't even try adjusting when dock is minimized" into nyc-dev

8 years agoMerge "Simplify permitted-path construction" into nyc-dev
TreeHugger Robot [Tue, 10 May 2016 19:17:02 +0000 (19:17 +0000)]
Merge "Simplify permitted-path construction" into nyc-dev

8 years agoMerge "Don't throw runtime exceptions for permission flags" into nyc-dev
Svetoslav Ganov [Tue, 10 May 2016 18:52:15 +0000 (18:52 +0000)]
Merge "Don't throw runtime exceptions for permission flags" into nyc-dev

8 years agodocs: Add redirects for deleted files on AS devsite b/28679461 am: bc753be9e3 am...
Cheryl Potter [Tue, 10 May 2016 18:37:18 +0000 (18:37 +0000)]
docs: Add redirects for deleted files on AS devsite b/28679461 am: bc753be9e3 am: 90f143e1f3
am: 9f2b8642a8

* commit '9f2b8642a8d496cceb0e0ab3ed0f67ae7f357ae0':
  docs: Add redirects for deleted files on AS devsite b/28679461

Change-Id: I3a1ae7b5c76cb6395ea2bfbfe8cea223fecf653a

8 years agodocs: Add redirects for deleted files on AS devsite b/28679461 am: bc753be9e3
Cheryl Potter [Tue, 10 May 2016 18:34:39 +0000 (18:34 +0000)]
docs: Add redirects for deleted files on AS devsite b/28679461 am: bc753be9e3
am: 90f143e1f3

* commit '90f143e1f384ae37878e46997e43b171384c421d':
  docs: Add redirects for deleted files on AS devsite b/28679461

Change-Id: I9e5c8225010dbfa631c6f51fad094def57e4db15

8 years agodocs: Add redirects for deleted files on AS devsite b/28679461
Cheryl Potter [Tue, 10 May 2016 18:32:01 +0000 (18:32 +0000)]
docs: Add redirects for deleted files on AS devsite b/28679461
am: bc753be9e3

* commit 'bc753be9e3838cedfb2b45ef2076cc71f2cbe9b5':
  docs: Add redirects for deleted files on AS devsite b/28679461

Change-Id: I196bb7059c78439d051a5e3e9daac0033e4c6595

8 years agoDon't even try adjusting when dock is minimized
Jorim Jaggi [Tue, 10 May 2016 01:44:34 +0000 (18:44 -0700)]
Don't even try adjusting when dock is minimized

Bug: 28652219
Change-Id: I61fa515ec945e1da6b9e7a53766abea2fb1e606e

8 years agodocs: Add redirects for deleted files on AS devsite
Cheryl Potter [Tue, 10 May 2016 05:08:18 +0000 (22:08 -0700)]
docs: Add redirects for deleted files on AS devsite
b/28679461

Change-Id: I825cf17a4065b1af67fa1792cf66e50c30208e17

8 years agoMerge "Use MetricsLogger.histogram for optimizing app statistics." into nyc-dev
Narayan Kamath [Tue, 10 May 2016 17:56:21 +0000 (17:56 +0000)]
Merge "Use MetricsLogger.histogram for optimizing app statistics." into nyc-dev

8 years agoMerge "Make sure preserved surface is removed when it's no longer needed" into nyc-dev
Chong Zhang [Tue, 10 May 2016 17:53:25 +0000 (17:53 +0000)]
Merge "Make sure preserved surface is removed when it's no longer needed" into nyc-dev

8 years agoMerge "Fixed logic error when calculating window touch exclude region." into nyc-dev
TreeHugger Robot [Tue, 10 May 2016 17:52:27 +0000 (17:52 +0000)]
Merge "Fixed logic error when calculating window touch exclude region." into nyc-dev

8 years agoSimplify permitted-path construction
Dimitry Ivanov [Tue, 10 May 2016 17:51:40 +0000 (10:51 -0700)]
Simplify permitted-path construction

The white list of permitted directories is applied for every
classloader namespace by libnativeloader. LoadedApk no longer
needs to do that.

Add mDataDir to permitted paths in the case if for any reason
it is outside of the whitelisted dirs.

Bug: http://b/28639227
Change-Id: I5b61ac64e281ecee3e3e9b1fe56cf04dc6ee7b25

8 years agoMerge "Keep RemoteInputView visible when focused" into nyc-dev
TreeHugger Robot [Tue, 10 May 2016 17:41:58 +0000 (17:41 +0000)]
Merge "Keep RemoteInputView visible when focused" into nyc-dev

8 years agoMerge "Set jack.assert.policy value to 'always'" into nyc-dev
Benoit Lamarche [Tue, 10 May 2016 16:28:27 +0000 (16:28 +0000)]
Merge "Set jack.assert.policy value to 'always'" into nyc-dev

8 years agoFixed logic error when calculating window touch exclude region.
Wale Ogunwale [Tue, 10 May 2016 15:39:01 +0000 (08:39 -0700)]
Fixed logic error when calculating window touch exclude region.

Problem was introduced in ag/960365. We need to properly set the
temp variable to the current task bounds before trying to use it.

Bug: 26962445
Change-Id: I3cded03582e1379e16fa48f69da6ceadb92d8d4b

8 years agoDon't throw runtime exceptions for permission flags
Svetoslav Ganov [Tue, 10 May 2016 03:43:52 +0000 (20:43 -0700)]
Don't throw runtime exceptions for permission flags

We were thrwing undocumented runtime exception when
one gets the permission flags - now we just return
default result of the package is gone.

bug:28657926

Change-Id: I42554a86b9304ff83fe9385f3eea930b8ebf0c63

8 years agoMerge "Fix accessibility order in nav bar" into nyc-dev
Jason Monk [Tue, 10 May 2016 15:26:35 +0000 (15:26 +0000)]
Merge "Fix accessibility order in nav bar" into nyc-dev

8 years agoFix accessibility order in nav bar
Jason Monk [Tue, 10 May 2016 15:02:24 +0000 (11:02 -0400)]
Fix accessibility order in nav bar

Change-Id: I2e90dee8e50b0642f39258fe3d04ded2f0bb8961
Fixes: 28281859

8 years agoMerge "Set notification listener defaults for system VrListeners." into nyc-dev
Ruben Brunk [Tue, 10 May 2016 14:54:44 +0000 (14:54 +0000)]
Merge "Set notification listener defaults for system VrListeners." into nyc-dev

8 years agoUse MetricsLogger.histogram for optimizing app statistics.
Narayan Kamath [Tue, 10 May 2016 14:32:24 +0000 (15:32 +0100)]
Use MetricsLogger.histogram for optimizing app statistics.

bug: 28528058
bug: 28544474
Change-Id: Icbe26e9699eade08725e38914f07d7584e77b608

8 years agoMerge "Patrially revert 4ec026930bfbbb5d8923f359c8." into nyc-dev
TreeHugger Robot [Tue, 10 May 2016 14:45:35 +0000 (14:45 +0000)]
Merge "Patrially revert 4ec026930bfbbb5d8923f359c8." into nyc-dev

8 years agoSet jack.assert.policy value to 'always'
Delphine Martin [Tue, 10 May 2016 13:41:34 +0000 (15:41 +0200)]
Set jack.assert.policy value to 'always'

The policy value 'enable' does not exist anymore
and was replaced by 'always'

Change-Id: I233a555821a84d917e3b3ec923b5baffc18bd2d2

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Baligh Uddin [Tue, 10 May 2016 13:45:25 +0000 (13:45 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoPatrially revert 4ec026930bfbbb5d8923f359c8.
Narayan Kamath [Tue, 10 May 2016 13:24:45 +0000 (14:24 +0100)]
Patrially revert 4ec026930bfbbb5d8923f359c8.

In preparation for using MetricsLogger.histogram / count. The main
purpose of this change is to remove the (now bogus) action IDs
associated with this logging.

bug: 28528058
bug: 28544474

Change-Id: Id79de2d34c3f937a327ac21d44e55c18047bce85

8 years agoMerge "Revert "Enable profile merging for post-OTA package verification"" into nyc-dev
TreeHugger Robot [Tue, 10 May 2016 12:09:25 +0000 (12:09 +0000)]
Merge "Revert "Enable profile merging for post-OTA package verification"" into nyc-dev

8 years agoMerge "Add a command to print package dexopt status." into nyc-dev
TreeHugger Robot [Tue, 10 May 2016 09:35:50 +0000 (09:35 +0000)]
Merge "Add a command to print package dexopt status." into nyc-dev

8 years agoMerge "Updates training/camera/photobasics.jd with FileProvider details" into nyc-dev
Janis Danisevskis [Tue, 10 May 2016 09:12:48 +0000 (09:12 +0000)]
Merge "Updates training/camera/photobasics.jd with FileProvider details" into nyc-dev

8 years agoAdd a command to print package dexopt status.
Narayan Kamath [Mon, 2 May 2016 13:44:31 +0000 (14:44 +0100)]
Add a command to print package dexopt status.

Can be invoked like so :

$adb shell dumpsys package dexopt
$adb shell dumpsys package dexopt <packageName>

bug: 27494108
Change-Id: Ie91f744aeac772e0e22abc9c805df9290a4e2418

8 years agoMerge "Revert "Persist settings on a dedicated background thread"" into nyc-dev
Guang Zhu [Tue, 10 May 2016 07:03:06 +0000 (07:03 +0000)]
Merge "Revert "Persist settings on a dedicated background thread"" into nyc-dev

8 years agoRevert "Persist settings on a dedicated background thread"
Guang Zhu [Tue, 10 May 2016 07:02:42 +0000 (07:02 +0000)]
Revert "Persist settings on a dedicated background thread"

Bug: 25472484

This reverts commit 82b8c92b97d3c7006d7a9f67a9cdb83263d6bf2c.

Change-Id: I1a8c2e186ad74d78f1c82fe508c6f71c438177dc

8 years agodocs: Wear F Preview page infrastructure am: 9ccfe2553b
Joe Fernandez [Tue, 10 May 2016 06:00:16 +0000 (06:00 +0000)]
docs: Wear F Preview page infrastructure am: 9ccfe2553b
am: 1b99b2ce92

* commit '1b99b2ce927ec16ade8f05f607eb190dc91b2548':
  docs: Wear F Preview page infrastructure

Change-Id: I2ac0d97023fad2c20f67f96d89921c19b7c72270

8 years agodocs: Wear F Preview page infrastructure
Joe Fernandez [Tue, 10 May 2016 05:54:38 +0000 (05:54 +0000)]
docs: Wear F Preview page infrastructure
am: 9ccfe2553b

* commit '9ccfe2553bb0f2cf5ae6f493f12042cf9fa1eba2':
  docs: Wear F Preview page infrastructure

Change-Id: I7665b4ecbd3c46a8ea7eb1a675933f43243911cc

8 years agodocs: Wear F Preview page infrastructure
Joe Fernandez [Sun, 10 Apr 2016 23:10:09 +0000 (16:10 -0700)]
docs: Wear F Preview page infrastructure

- add new landing page for F Preview
- add new supporting pages for F Preview
- Update TOC file to list new pages

b/28004352

Change-Id: I3a4de8b3c756f1bbee91e136d67a413a5953277a

8 years agoMerge "Frameworks/base: Make profile buffer adjustable" into nyc-dev
Andreas Gampe [Tue, 10 May 2016 04:15:12 +0000 (04:15 +0000)]
Merge "Frameworks/base: Make profile buffer adjustable" into nyc-dev

8 years agoFrameworks/base: Make profile buffer adjustable
Andreas Gampe [Mon, 9 May 2016 21:26:07 +0000 (14:26 -0700)]
Frameworks/base: Make profile buffer adjustable

Add a debug system property to change the profile buffer size.

Bug: 26877591
Change-Id: Idd13f2bc6563fd88daadd1d6679f3243dab1a0ef

8 years agoPersist settings on a dedicated background thread
Svet Ganov [Mon, 9 May 2016 17:24:49 +0000 (10:24 -0700)]
Persist settings on a dedicated background thread

Settings were persisted on the system background thread but during
first boot the device is under heavy load and persisting settings
competes with other system components using the shared background
thread. As a result persisting settings can be delayed much longer
than the expected 200ms. This can cause issues with setup wizard
being skipped/went over and its component disaabled being persisted
but the setting whether the device is provisioned not being
persisted - now if the device boots it will have no SUW but also
the home button would be missing. Generally, we need a tansactional
abstraction in the system process to peform all delayed operations
atomically.

bug:25472484

Change-Id: Icf38e72403b190a8fa9d0554b8dd83ce78da3bc8

8 years agoMerge "Remove replaced window if we aren't animating its exit." into nyc-dev
TreeHugger Robot [Tue, 10 May 2016 03:31:32 +0000 (03:31 +0000)]
Merge "Remove replaced window if we aren't animating its exit." into nyc-dev

8 years agoMerge "Fixed a memory leak with notification children" into nyc-dev
Selim Cinek [Tue, 10 May 2016 03:03:08 +0000 (03:03 +0000)]
Merge "Fixed a memory leak with notification children" into nyc-dev

8 years agoMake sure preserved surface is removed when it's no longer needed
Chong Zhang [Tue, 10 May 2016 01:28:27 +0000 (18:28 -0700)]
Make sure preserved surface is removed when it's no longer needed

Preserved surface might be used for format change as well as surface
size change outside a drag resizing. We currently remove the preserved
surface in prepareSurfaceLocked() after the window is shown, but
sometimes app gets stopped before any animation pass is run.

bug: 28546172
Change-Id: I7f883f4b5c6da4dce70f94173b368a912056d062

8 years agoFixed a memory leak with notification children
Selim Cinek [Tue, 10 May 2016 02:22:33 +0000 (22:22 -0400)]
Fixed a memory leak with notification children

Children where not removed from the stackscrollstate as
their removal was blocked when removing a group.

Change-Id: I0a3bbb91d0df2693e1ec7e89276c8714636a34ad
Fixes: 28670320

8 years agoupdate the collections metadata for relocated studio pages. bug: 28632136 am: 8fb04c6...
smain@google.com [Tue, 10 May 2016 01:48:11 +0000 (01:48 +0000)]
update the collections metadata for relocated studio pages. bug: 28632136 am: 8fb04c66c8 am: 6d18d5dc1f
am: 78ac696e6b

* commit '78ac696e6b525b40d85c2699940da823198909ac':
  update the collections metadata for relocated studio pages. bug: 28632136

Change-Id: I70e4f37404e639b8afd579dbea8aefb6f983ce50

8 years agoupdate the collections metadata for relocated studio pages. bug: 28632136 am: 8fb04c66c8
smain@google.com [Tue, 10 May 2016 01:42:11 +0000 (01:42 +0000)]
update the collections metadata for relocated studio pages. bug: 28632136 am: 8fb04c66c8
am: 6d18d5dc1f

* commit '6d18d5dc1f457661d798aef252391b67b71171f6':
  update the collections metadata for relocated studio pages. bug: 28632136

Change-Id: I26feb5b6fc327378d32e878301fef95d32076902

8 years agoupdate the collections metadata for relocated studio pages. bug: 28632136
smain@google.com [Tue, 10 May 2016 01:36:08 +0000 (01:36 +0000)]
update the collections metadata for relocated studio pages. bug: 28632136
am: 8fb04c66c8

* commit '8fb04c66c8f51d39722a7b0be4f55812aac36270':
  update the collections metadata for relocated studio pages. bug: 28632136

Change-Id: I606539247da364cf02ae9645e0b4ee7b5c7fbd77

8 years agoMerge "TIF: Handle possible memory leaks" into nyc-dev
TreeHugger Robot [Tue, 10 May 2016 01:23:35 +0000 (01:23 +0000)]
Merge "TIF: Handle possible memory leaks" into nyc-dev

8 years agoupdate the collections metadata for relocated studio pages.
smain@google.com [Mon, 9 May 2016 22:04:53 +0000 (15:04 -0700)]
update the collections metadata for relocated studio pages.
bug: 28632136

Change-Id: I3c858523751c8a58b8ad90c15ffd5400925ad4df

8 years agoMerge "Fixed bug with pop-up window placement at the bottom in split-screen" into...
TreeHugger Robot [Tue, 10 May 2016 00:44:40 +0000 (00:44 +0000)]
Merge "Fixed bug with pop-up window placement at the bottom in split-screen" into nyc-dev

8 years agoMerge "[Security] Prevent malicious notifications from AMS." into nyc-dev
Carlos Valdivia [Tue, 10 May 2016 00:25:46 +0000 (00:25 +0000)]
Merge "[Security] Prevent malicious notifications from AMS." into nyc-dev

8 years agoMerge "Fix package cleanup when parsed APK missing." into nyc-dev
TreeHugger Robot [Tue, 10 May 2016 00:19:38 +0000 (00:19 +0000)]
Merge "Fix package cleanup when parsed APK missing." into nyc-dev

8 years agoMerge "Fixed an issue where clearing transient views could ANR" into nyc-dev
Selim Cinek [Mon, 9 May 2016 23:33:14 +0000 (23:33 +0000)]
Merge "Fixed an issue where clearing transient views could ANR" into nyc-dev

8 years agoSet notification listener defaults for system VrListeners.
Ruben Brunk [Mon, 9 May 2016 19:46:28 +0000 (12:46 -0700)]
Set notification listener defaults for system VrListeners.

- For a package that has been enabled as a VrListenerService
  and been preinstalled on the device's system image, enable
  NotificationListenerServices by default for that package as
  well.
- Use appops function instead of packagemanager for runtime
  permissions.

Bug: 28614768
Change-Id: If88d47b666656a6e9567118626c1d9fa00280ec4

8 years agoKeep RemoteInputView visible when focused
Adrian Roos [Thu, 5 May 2016 21:45:44 +0000 (17:45 -0400)]
Keep RemoteInputView visible when focused

Scrolls the NotificationStackScrollLayout in response to movement
to ensure that the focused view stays visible. Also makes sure that
the action list is always aligned at the bottom of the notification
to avoid jank during this scrolling when the height changes.

Fixes: 28193862
Fixes: 26919632
Change-Id: I911a873367fe26eafd9fae4bca4e693d0827eba7

8 years agoMerge "Fixed a crash with min-priority notifications in a group" into nyc-dev
Selim Cinek [Mon, 9 May 2016 23:19:27 +0000 (23:19 +0000)]
Merge "Fixed a crash with min-priority notifications in a group" into nyc-dev

8 years agoFixed an issue where clearing transient views could ANR
Selim Cinek [Mon, 9 May 2016 22:54:10 +0000 (18:54 -0400)]
Fixed an issue where clearing transient views could ANR

It could lead to an infinite loop because it was called on
the wrong view.

Change-Id: Ie8008114474eccf2c0a4b930a5299eb6be1247c1
Fixes: 28634521

8 years agoFix package cleanup when parsed APK missing.
Jeff Sharkey [Mon, 9 May 2016 22:51:08 +0000 (16:51 -0600)]
Fix package cleanup when parsed APK missing.

Recently the uninstall logic was changed to require a parsed APK to
succeed, but we need uninstall to succeed when the APK lives on an
ejected storage device.

To fix that case, create a fake parsed package with just enough
information for the delete to proceed.

Fix package movement bug that sent an invalid user ID to installd;
we need to explicitly ask for each user.

Bug: 28658206
Change-Id: Icf417661f07688c7523f0d082528adec2ac70cc6

8 years agoTIF: Handle possible memory leaks
Youngsang Cho [Mon, 9 May 2016 22:30:43 +0000 (15:30 -0700)]
TIF: Handle possible memory leaks

Bug: 28656236
Change-Id: I162bb8ebc59be90ac1b1eb824c1db5aa9169c247

8 years agoMerge "Fix a couple bad links in the javadoc for android.os.health." into nyc-dev
TreeHugger Robot [Mon, 9 May 2016 22:03:03 +0000 (22:03 +0000)]
Merge "Fix a couple bad links in the javadoc for android.os.health." into nyc-dev

8 years agoMerge "Fixing regression in call to showRecents()." into nyc-dev
Winson Chung [Mon, 9 May 2016 21:36:56 +0000 (21:36 +0000)]
Merge "Fixing regression in call to showRecents()." into nyc-dev

8 years agoMerge "Two phases to set the password for disk encryption" into nyc-dev
Paul Crowley [Mon, 9 May 2016 21:35:33 +0000 (21:35 +0000)]
Merge "Two phases to set the password for disk encryption" into nyc-dev

8 years agoMerge "Fix a flicker when opening app again quickly while it's exiting" into nyc-dev
Chong Zhang [Mon, 9 May 2016 21:16:48 +0000 (21:16 +0000)]
Merge "Fix a flicker when opening app again quickly while it's exiting" into nyc-dev

8 years agoMerge "Workaround for assist crash with multiwindow" into nyc-dev
TreeHugger Robot [Mon, 9 May 2016 21:03:59 +0000 (21:03 +0000)]
Merge "Workaround for assist crash with multiwindow" into nyc-dev

8 years agoFixed a crash with min-priority notifications in a group
Selim Cinek [Mon, 9 May 2016 20:36:10 +0000 (16:36 -0400)]
Fixed a crash with min-priority notifications in a group

Those notifications could get into a group with higher priority
because they were autobundled or if the app said so.
This could lead to invisible views on the lockscreen and a crash
when this happened in an animated fashion.
The bug was triggering old code that wasn't needed anymore that
removed the viewstate.

Change-Id: Ic86c2f03d55f2e98e352cdbfbb3ca80d8e676765
Fixes: 28611831

8 years agoMerge "Fixed a concurrent modification crash" into nyc-dev
Selim Cinek [Mon, 9 May 2016 20:42:52 +0000 (20:42 +0000)]
Merge "Fixed a concurrent modification crash" into nyc-dev

8 years agoFixing regression in call to showRecents().
Winson [Mon, 9 May 2016 20:34:07 +0000 (13:34 -0700)]
Fixing regression in call to showRecents().

- Previously, the call was made to showRecents() which took a single
  boolean to determine alt-tab state, and after the refactoring, it
  no longer made the same call.

Bug: 28663474
Change-Id: I75fb793e56c9a094a4372d7157dbd0dd7ecdbda7

8 years agoMerge "Fixed a bug where notifications could become orphaned" into nyc-dev
TreeHugger Robot [Mon, 9 May 2016 20:33:13 +0000 (20:33 +0000)]
Merge "Fixed a bug where notifications could become orphaned" into nyc-dev

8 years agoMerge "MediaBrowser: Make support lib v23.x available in N release" into nyc-dev
Jae Seo [Mon, 9 May 2016 20:32:45 +0000 (20:32 +0000)]
Merge "MediaBrowser: Make support lib v23.x available in N release" into nyc-dev

8 years agoFix a couple bad links in the javadoc for android.os.health.
Joe Onorato [Mon, 9 May 2016 20:31:00 +0000 (13:31 -0700)]
Fix a couple bad links in the javadoc for android.os.health.

Bug: 28295754
Change-Id: I3b21e204bec626e4d1c6fb8f07580c2854e364eb

8 years agoMerge changes I04301fbd,If6577602 into nyc-dev
TreeHugger Robot [Mon, 9 May 2016 20:05:12 +0000 (20:05 +0000)]
Merge changes I04301fbd,If6577602 into nyc-dev

* changes:
  Flesh out the docs for the android.os.health package.
  Properly blame the correct uid for wakeup alarms that don't have a WorkSource.

8 years agoMerge "Init MidiService once system user gets unlocked." into nyc-dev
Philip P. Moltmann [Mon, 9 May 2016 20:04:38 +0000 (20:04 +0000)]
Merge "Init MidiService once system user gets unlocked." into nyc-dev

8 years agoMerge "ContextHub: Avoid reference leaks" into nyc-dev
Greg Kaiser [Mon, 9 May 2016 19:54:41 +0000 (19:54 +0000)]
Merge "ContextHub: Avoid reference leaks" into nyc-dev

8 years agoInit MidiService once system user gets unlocked.
Philip P. Moltmann [Mon, 9 May 2016 19:40:19 +0000 (12:40 -0700)]
Init MidiService once system user gets unlocked.

Bug: 28621670
Change-Id: I358aa8db6d1408c317f4ca66b4e5c5cbbcfe0826

8 years agoWorkaround for assist crash with multiwindow
Amith Yamasani [Mon, 9 May 2016 19:46:23 +0000 (12:46 -0700)]
Workaround for assist crash with multiwindow

Temporarily disable multiwindow assist until
Bug: 28348867
is fixed correctly.

Change-Id: Ia9d0fb5d4412e87aada90e8dcffe829b61221c6c

8 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 9 May 2016 19:34:08 +0000 (12:34 -0700)]
Import translations. DO NOT MERGE

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

8 years agoMerge "Fixed a bug where the statusbar could become empty" into nyc-dev
Selim Cinek [Mon, 9 May 2016 19:02:55 +0000 (19:02 +0000)]
Merge "Fixed a bug where the statusbar could become empty" into nyc-dev

8 years agoMerge "Fixed a bug where Notifications could overlap" into nyc-dev
Selim Cinek [Mon, 9 May 2016 19:02:31 +0000 (19:02 +0000)]
Merge "Fixed a bug where Notifications could overlap" into nyc-dev

8 years agoUpdates training/camera/photobasics.jd with FileProvider details
Janis Danisevskis [Fri, 22 Apr 2016 12:34:20 +0000 (13:34 +0100)]
Updates training/camera/photobasics.jd with FileProvider details

As of Android N, passing file:// URIs across package boundaries
throws a FileUriExposedException. This has caused frustration among
app developers trying to use our example as boilerplate code. This
patch replaces the "take picture" example with one that uses
content:// URIs and FileProvider instead.

Bug: 27636012
Change-Id: I9f0b4d9bbcd6b4bfa770dd1e4ad37f321e22195f

8 years agoFix a flicker when opening app again quickly while it's exiting
Chong Zhang [Mon, 9 May 2016 17:59:59 +0000 (10:59 -0700)]
Fix a flicker when opening app again quickly while it's exiting

If the app is waiting for an opening animation with a dummy placeholder,
we need to skip the surface placement (in addition to the animateLocked).

Also, when animating is changing from exiting to entering, the mAnimating
flag needs to be cleared until the new animation starts. This prevents the
surface placement to place it wrong before the new animaition starts.

bug: 28599295
bug: 27742244
Change-Id: I26f0ead80ee9993a6c766ae8686ab11d1729519c

8 years agoMerge "Don't include IME in app screenshot while in multi-window mode" into nyc-dev
TreeHugger Robot [Mon, 9 May 2016 18:22:28 +0000 (18:22 +0000)]
Merge "Don't include IME in app screenshot while in multi-window mode" into nyc-dev

8 years agoMerge "Change ForcedResizableInfoActivity to handle config. changes" into nyc-dev
TreeHugger Robot [Mon, 9 May 2016 18:22:14 +0000 (18:22 +0000)]
Merge "Change ForcedResizableInfoActivity to handle config. changes" into nyc-dev

8 years agoContextHub: Avoid reference leaks
Greg Kaiser [Mon, 9 May 2016 17:23:56 +0000 (10:23 -0700)]
ContextHub: Avoid reference leaks

We were leaking references in each call to onMessageReceipt(),
leading us to eventually run out of references and crash.  We
now delete our local references prior to leaving the function.
Also, since especially our message size can be quite large,
we put in logic to gracefully fail if the system is out of
memory.

In addition, we fix up reference leaks within
constructJContextHubInfo().  These were one-time leaks at
initialization, so not the root cause of our crash, but still
unnecessary leaks which are easily fixed.

Bug: 28655628
Change-Id: I3a3dc8e069c6c1810f3152872d8d8410e8ad0683

8 years agoRemove replaced window if we aren't animating its exit.
Wale Ogunwale [Mon, 9 May 2016 18:18:18 +0000 (11:18 -0700)]
Remove replaced window if we aren't animating its exit.

Allow removal of replaced window if it isn't running an exit animation
and wasn't set to run an exit animation.

Bug: 28411852
Change-Id: I916d7c9461691bc58367d012113fefe9c6485127

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
TreeHugger Robot [Mon, 9 May 2016 18:18:05 +0000 (18:18 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Autobundle all notifications; don't leave the most recent one free." into...
TreeHugger Robot [Mon, 9 May 2016 18:04:21 +0000 (18:04 +0000)]
Merge "Autobundle all notifications; don't leave the most recent one free." into nyc-dev

8 years agoupdate the older redirects based on studio restructure (https://critique.corp.google...
smain@google.com [Mon, 9 May 2016 17:39:31 +0000 (17:39 +0000)]
update the older redirects based on studio restructure (https://critique.corp.google.com/#review/121836018) am: f2f8dff6eb am: d20d4c6cf3
am: 0d1bce5e5d

* commit '0d1bce5e5d3a0521466e8d12de792024325d8d91':
  update the older redirects based on studio restructure (https://critique.corp.google.com/#review/121836018)

Change-Id: Iae2be6e4c6428e46ff1317d35eb3e12f97c6a813

8 years agoupdate the older redirects based on studio restructure (https://critique.corp.google...
smain@google.com [Mon, 9 May 2016 17:34:45 +0000 (17:34 +0000)]
update the older redirects based on studio restructure (https://critique.corp.google.com/#review/121836018) am: f2f8dff6eb
am: d20d4c6cf3

* commit 'd20d4c6cf3bc5891d2a63024b1c5ba3abf5ed77d':
  update the older redirects based on studio restructure (https://critique.corp.google.com/#review/121836018)

Change-Id: Ib717a1f84f3c32ba6ccb762d0b3ffba6a1bd37e0

8 years agoFlesh out the docs for the android.os.health package.
Joe Onorato [Mon, 9 May 2016 17:31:41 +0000 (10:31 -0700)]
Flesh out the docs for the android.os.health package.

Bug: 28295754
Change-Id: I04301fbdbfb0708172adb4fd4b4a3658d5ea14eb

8 years agoProperly blame the correct uid for wakeup alarms that don't have a WorkSource.
Joe Onorato [Mon, 9 May 2016 17:10:29 +0000 (10:10 -0700)]
Properly blame the correct uid for wakeup alarms that don't have a WorkSource.

It was setting the uid to -1, but BatteryStats should be tracking the actual uid.

Bug: 28637246
Change-Id: If6577602e3fe59a95b5cece4fc99e704ba43c03e

8 years agoupdate the older redirects based on studio restructure (https://critique.corp.google...
smain@google.com [Mon, 9 May 2016 17:30:33 +0000 (17:30 +0000)]
update the older redirects based on studio restructure (https://critique.corp.google.com/#review/121836018)
am: f2f8dff6eb

* commit 'f2f8dff6eb50e673b32b8f6bb3c181267997aefd':
  update the older redirects based on studio restructure (https://critique.corp.google.com/#review/121836018)

Change-Id: Ib906d725e2de7012ebd305d64e12fc434c16a5ca

8 years agoupdate the older redirects based on studio restructure
smain@google.com [Mon, 9 May 2016 17:16:13 +0000 (10:16 -0700)]
update the older redirects based on studio restructure
(https://critique.corp.google.com/#review/121836018)

Change-Id: I5c7cb01da2afe18885444c9bd6a3fc09526a42a8

8 years agoFixed a concurrent modification crash
Selim Cinek [Mon, 9 May 2016 17:12:40 +0000 (13:12 -0400)]
Fixed a concurrent modification crash

Because notifications could become isolated when
the group is suppressed it could lead to concurrent
modifications while looping.

Change-Id: Ifd4fe0cc24110455de0d3edf2da0be0773eb8c67
Fixes: 28652038

8 years agoFixed a bug where notifications could become orphaned
Selim Cinek [Sat, 7 May 2016 22:29:32 +0000 (18:29 -0400)]
Fixed a bug where notifications could become orphaned

When a child got set not be a heads up after it was already
removed (When for example it was clicked on shortly after
it got posted) then it got orphaned leading to bad bugs
like the next notification not being visible. This
could happen often with WhatsApp who set the head up flags
on the summary instead of the children.

Change-Id: I52c8f5d9bc50080e4ece530255236d36f998372e
Fixes: 28565942

8 years agoMerge "Fix recents row blinking when PIP is focused" into nyc-dev
Jaewan Kim [Mon, 9 May 2016 17:05:52 +0000 (17:05 +0000)]
Merge "Fix recents row blinking when PIP is focused" into nyc-dev

8 years agoRevert "Enable profile merging for post-OTA package verification"
Calin Juravle [Mon, 9 May 2016 16:56:18 +0000 (17:56 +0100)]
Revert "Enable profile merging for post-OTA package verification"

This reverts commit 5da9dad2dd04586dbd665e6a73bfee1d0ed92a89.

Bug: 28612421

Change-Id: Idbbb24241362a70b697ae2d648ea47996f5239c6

8 years agoMerge "MediaRouter: Add more logs for debugging" into nyc-dev
Jae Seo [Mon, 9 May 2016 16:39:50 +0000 (16:39 +0000)]
Merge "MediaRouter: Add more logs for debugging" into nyc-dev

8 years agoMerge "Hold a ClassLoader reference in NativeAllocationRegistry." into nyc-dev
Richard Uhler [Mon, 9 May 2016 15:50:29 +0000 (15:50 +0000)]
Merge "Hold a ClassLoader reference in NativeAllocationRegistry." into nyc-dev

8 years agoMerge "Remove inconsistent 'cmd package compile' documentation." into nyc-dev
Richard Uhler [Mon, 9 May 2016 15:48:45 +0000 (15:48 +0000)]
Merge "Remove inconsistent 'cmd package compile' documentation." into nyc-dev

8 years agoupdate redirects for /studio files for the restructure from this CL: https://critique...
smain@google.com [Mon, 9 May 2016 15:32:36 +0000 (15:32 +0000)]
update redirects for /studio files for the restructure from this CL: https://critique.corp.google.com/#review/121726749 am: ab5bf95626 am: 1a8f9e3ca0
am: 5e42875297

* commit '5e428752971f2e3dfc3fda73633fc346f50f2763':
  update redirects for /studio files for the restructure from this CL: https://critique.corp.google.com/#review/121726749

Change-Id: I76513a274909a296589c1354dfc0551764390e72

8 years agoupdate redirects for /studio files for the restructure from this CL: https://critique...
smain@google.com [Mon, 9 May 2016 15:28:14 +0000 (15:28 +0000)]
update redirects for /studio files for the restructure from this CL: https://critique.corp.google.com/#review/121726749 am: ab5bf95626
am: 1a8f9e3ca0

* commit '1a8f9e3ca00fb4436710e34b1f7fb2259adc066f':
  update redirects for /studio files for the restructure from this CL: https://critique.corp.google.com/#review/121726749

Change-Id: Id0d7cf68025c8f6b082ebfdec6c9727e963d6b9a

8 years agoupdate redirects for /studio files for the restructure from this CL: https://critique...
smain@google.com [Mon, 9 May 2016 15:23:51 +0000 (15:23 +0000)]
update redirects for /studio files for the restructure from this CL: https://critique.corp.google.com/#review/121726749
am: ab5bf95626

* commit 'ab5bf95626850e97124b912ca2699fb164574186':
  update redirects for /studio files for the restructure from this CL: https://critique.corp.google.com/#review/121726749

Change-Id: I7524aa066efa4241c6a14d881b23dee0da8e2632

8 years agoupdate redirects for /studio files for the restructure
smain@google.com [Mon, 9 May 2016 15:08:57 +0000 (08:08 -0700)]
update redirects for /studio files for the restructure
from this CL: https://critique.corp.google.com/#review/121726749

Change-Id: I2c06eb12267f11d69a1dbd6f1c96a7bf1ef4a61c

8 years agoMerge "Always mutate child when added to drawable container" into nyc-dev
Alan Viverette [Mon, 9 May 2016 14:06:51 +0000 (14:06 +0000)]
Merge "Always mutate child when added to drawable container" into nyc-dev