OSDN Git Service

android-x86/frameworks-base.git
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 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

8 years agoMerge "Workaround for PathMeasure.getSegment() behavior change" into nyc-dev
Doris Liu [Wed, 16 Mar 2016 00:21:12 +0000 (00:21 +0000)]
Merge "Workaround for PathMeasure.getSegment() behavior change" into nyc-dev

8 years agoMerge "Fix for JobScheduler jobs not running" into nyc-dev
Shreyas Basarge [Wed, 16 Mar 2016 00:20:51 +0000 (00:20 +0000)]
Merge "Fix for JobScheduler jobs not running" into nyc-dev

8 years agoWorkaround for PathMeasure.getSegment() behavior change
Doris Liu [Wed, 16 Mar 2016 00:01:55 +0000 (17:01 -0700)]
Workaround for PathMeasure.getSegment() behavior change

SkPathMeasure::getSegment(SkScalar startD, SkScalar stopD, SkPath* dst,
bool startWithMoveTo) in SkPathMeasure used to ignore the case when
startD == stopD in MNC release. In NYC, the same paramaters would yield
a tiny segment, which leaves undesirable artifacts as shown in the bug
below.

Bug: 27665826
Change-Id: I8289dc32773fd55d686458183af44ff072866c6e

8 years agoAdd FLAG_PARTIAL. Partial files can't be copied.
Steve McKay [Mon, 14 Mar 2016 20:02:56 +0000 (13:02 -0700)]
Add FLAG_PARTIAL. Partial files can't be copied.

This allows us to exclude in-progress downloads from copy.
Will update Downloads in a followup CL to flag active downloads.

Bug: 27526321
Change-Id: I50d1db5cfb69bc6b47e10cc0f520a51e3d3cb43e

8 years agoMerge "Prevent Log.wtf crash in benign case" into nyc-dev
Adrian Roos [Tue, 15 Mar 2016 23:31:11 +0000 (23:31 +0000)]
Merge "Prevent Log.wtf crash in benign case" into nyc-dev

8 years agoMerge "ExifInterface: ignore exceptions when getting wrong images" into nyc-dev
Jaesung Chung [Tue, 15 Mar 2016 23:27:12 +0000 (23:27 +0000)]
Merge "ExifInterface: ignore exceptions when getting wrong images" into nyc-dev

8 years agoMerge "Add BluetoothProfile for PBAP PCE role." into nyc-dev
Joseph Pirozzo [Tue, 15 Mar 2016 23:21:10 +0000 (23:21 +0000)]
Merge "Add BluetoothProfile for PBAP PCE role." into nyc-dev

8 years agoAdd View#onVisibilityAggregated
Adam Powell [Tue, 15 Mar 2016 21:43:19 +0000 (14:43 -0700)]
Add View#onVisibilityAggregated

There's a common misconception (even across the framework) that
View#onVisibilityChanged determines and reports visibility on 'this'
up to the changed view and the total visibility within the
window. Knowing this is useful for things like starting/stopping
animations. onVisibilityChanged only reports the visibility for the
specific changed view, not the effects that would have down the tree.

Add onVisibilityAggregated to report what some code thought it was
getting already, and move ImageView and ProgressBar over to using it.

Bug 27461617

Change-Id: I433f41de453e27a53f907f1d9805350f30f31de9

8 years agoMerge "Updating javadoc for DPM apis" into nyc-dev
Suprabh Shukla [Tue, 15 Mar 2016 23:18:18 +0000 (23:18 +0000)]
Merge "Updating javadoc for DPM apis" into nyc-dev

8 years agoPrevent Log.wtf crash in benign case
Adrian Roos [Tue, 15 Mar 2016 03:21:02 +0000 (20:21 -0700)]
Prevent Log.wtf crash in benign case

Fixes a crash that happens when you turn of the screen
while moving the finger. Some touches still come in even
when the screen went to sleep. No need to get upset over
those.

Bug: 27595423
Change-Id: If75ae3b6c2c83a87f38daaf8777f89d8c74a9cd1

8 years agoMerge "Fix black frame when unlocking device via clicking on notification" into nyc-dev
Chong Zhang [Tue, 15 Mar 2016 22:31:16 +0000 (22:31 +0000)]
Merge "Fix black frame when unlocking device via clicking on notification" into nyc-dev

8 years agoFix for JobScheduler jobs not running
Shreyas Basarge [Tue, 15 Mar 2016 22:19:04 +0000 (22:19 +0000)]
Fix for JobScheduler jobs not running

If the device is powered off when a job is
supposed to run, its delay and deadline both
are set to 0 on boot. If the deadlineExpired alarm
runs first, the job is discarded from
TimeController's tracked jobs list. The delay
constraint is never set to true and the job
would never be executed. This behavior is fixed
here.

Dump modified to print jobId and uId instead of
hash to make it more meaningful.

Bug: 27619643
Change-Id: If03e3d6f194f15fe43b697dcb4198137fa7ed646

8 years ago[NAN] Removed NAN event registration - dispatch all callbacks. [DO NOT MERGE]
Etan Cohen [Tue, 15 Mar 2016 22:10:18 +0000 (22:10 +0000)]
[NAN] Removed NAN event registration - dispatch all callbacks. [DO NOT MERGE]
am: a5ed693788  -s ours

* commit 'a5ed693788ea64408ccf18850ee38905218ec4f4':
  [NAN] Removed NAN event registration - dispatch all callbacks. [DO NOT MERGE]

8 years ago[NAN] Consolidate publish/subscribe callback sets into single set [DO NOT MERGE]
Etan Cohen [Tue, 15 Mar 2016 22:10:17 +0000 (22:10 +0000)]
[NAN] Consolidate publish/subscribe callback sets into single set [DO NOT MERGE]
am: 8414f5cf2b  -s ours

* commit '8414f5cf2bd86dcbaea1976590e838e41af554b3':
  [NAN] Consolidate publish/subscribe callback sets into single set [DO NOT MERGE]

8 years ago[NAN] Replace session callback configuration control [DO NOT MERGE]
Etan Cohen [Tue, 15 Mar 2016 22:10:15 +0000 (22:10 +0000)]
[NAN] Replace session callback configuration control [DO NOT MERGE]
am: e393f57d0d  -s ours

* commit 'e393f57d0de5a27d1cfd04a8c83a61559430539c':
  [NAN] Replace session callback configuration control [DO NOT MERGE]

8 years ago[NAN] Expose match style configuration as public API. [DO NOT MERGE]
Etan Cohen [Tue, 15 Mar 2016 22:05:27 +0000 (22:05 +0000)]
[NAN] Expose match style configuration as public API. [DO NOT MERGE]
am: 8ef7453416  -s ours

* commit '8ef74534169bd3f3296e2ee42c0fda95c8518383':
  [NAN] Expose match style configuration as public API. [DO NOT MERGE]

8 years agoMerge "Don't reboot into recovery if block map file is missing." into nyc-dev
Tao Bao [Tue, 15 Mar 2016 22:02:06 +0000 (22:02 +0000)]
Merge "Don't reboot into recovery if block map file is missing." into nyc-dev

8 years agoMerge "Add null-checks to mStatusBar." into nyc-dev
Wei Liu [Tue, 15 Mar 2016 21:50:06 +0000 (21:50 +0000)]
Merge "Add null-checks to mStatusBar." into nyc-dev

8 years agoMerge "The startup of the system services should be conditional." into nyc-dev
Wei Liu [Tue, 15 Mar 2016 21:48:52 +0000 (21:48 +0000)]
Merge "The startup of the system services should be conditional." into nyc-dev

8 years agoUpdating javadoc for DPM apis
Suprabh Shukla [Mon, 14 Mar 2016 20:49:37 +0000 (13:49 -0700)]
Updating javadoc for DPM apis

Added @throws tag in the javadoc for many APIs which might throw a
SecurityException in cases when such information might be useful for the
caller. E.g. when the caller has to be a device owner or must request
certain policies before making the API call.

Bug: b/27532288
Change-Id: I18e1a49a5e86a0322c035996ed7e9c3217da78c8

8 years agoMerge "Fix device reboot when ranging empty params." into nyc-dev
Wei Wang [Tue, 15 Mar 2016 21:31:57 +0000 (21:31 +0000)]
Merge "Fix device reboot when ranging empty params." into nyc-dev

8 years agoMerge "fix NPE when dump wins the race against emit" into nyc-dev
Chris Wren [Tue, 15 Mar 2016 21:03:57 +0000 (21:03 +0000)]
Merge "fix NPE when dump wins the race against emit" into nyc-dev

8 years agoMerge "Fix launcher side callback" into nyc-dev
Makoto Onuki [Tue, 15 Mar 2016 21:02:47 +0000 (21:02 +0000)]
Merge "Fix launcher side callback" into nyc-dev

8 years agoMerge "Log received intent." into nyc-dev
Felipe Leme [Tue, 15 Mar 2016 20:53:11 +0000 (20:53 +0000)]
Merge "Log received intent." into nyc-dev

8 years agoLog received intent.
Felipe Leme [Tue, 15 Mar 2016 20:47:05 +0000 (13:47 -0700)]
Log received intent.

BUG: 27660862
Change-Id: Ibe49080c15448ac2672f5e1d5eeaf6d9ff8d282e

8 years agoThe startup of the system services should be conditional.
Wei Liu [Fri, 4 Mar 2016 22:50:16 +0000 (14:50 -0800)]
The startup of the system services should be conditional.

The system services not used by Wear is tracked in go/ncwss
b/26877020

Change-Id: I45f77aecbdf4d4a54fef592d543e928b6a8cd6b9

8 years agoHandle AccountManager failures so Shell doesn't crash.
Felipe Leme [Tue, 15 Mar 2016 17:41:49 +0000 (10:41 -0700)]
Handle AccountManager failures so Shell doesn't crash.

BUG: 27665208
Change-Id: Iccb6ce810c8e1c93bded58871d7ec220b7d14ba9

8 years agoFix black frame when unlocking device via clicking on notification
Chong Zhang [Tue, 15 Mar 2016 19:50:03 +0000 (12:50 -0700)]
Fix black frame when unlocking device via clicking on notification

- Make sure to tell the app to start drawing if it has been stopped, app
  could be stopped in visible state.

- When activity is started with NEW_TASK + CLEAR_TASK flags, skip
  resuming of the soon-to-be-removed activity, and run enter animation
  directly on the new activity. Resuming the old activity causes delay,
  and we also run extra enter-exit transition in short succession which
  cause glitches.

bug: 27391256
Change-Id: I390ef9fc9855d70a4a9642c06c87cbe548b8b466

8 years agoMerge "Update DPM.reboot with new restriction" into nyc-dev
Mahaver Chopra [Tue, 15 Mar 2016 19:48:32 +0000 (19:48 +0000)]
Merge "Update DPM.reboot with new restriction" into nyc-dev

8 years agoUpdate DPM.reboot with new restriction
Mahaver Chopra [Fri, 11 Mar 2016 15:39:48 +0000 (15:39 +0000)]
Update DPM.reboot with new restriction

DPM.reboot() should not be called when there is an ongoing call on the
device.

Bug:27531799
Change-Id: Idc1fa4c7aa79b20ec9c2afcccf855455ee316787

8 years agoFix launcher side callback
Makoto Onuki [Tue, 15 Mar 2016 00:31:49 +0000 (17:31 -0700)]
Fix launcher side callback

- Fix crash in work profile case
- Calculate shortcuts for each caller
- Add tests

Bug 27548047

Change-Id: I1a5b6a96956abac75d01eb5cc1cec9a9e8e379a3

8 years agoMerge "Fix crashes during density changes" into nyc-dev
Jason Monk [Tue, 15 Mar 2016 19:25:19 +0000 (19:25 +0000)]
Merge "Fix crashes during density changes" into nyc-dev

8 years agoMerge "media: don't expose private keys in MediaFormat" into nyc-dev
Lajos Molnar [Tue, 15 Mar 2016 19:22:27 +0000 (19:22 +0000)]
Merge "media: don't expose private keys in MediaFormat" into nyc-dev

8 years agoMerge "Show admin support dialog if app is suspended." into nyc-dev
Sudheer Shanka [Tue, 15 Mar 2016 18:50:00 +0000 (18:50 +0000)]
Merge "Show admin support dialog if app is suspended." into nyc-dev

8 years agoMerge "Add a "Do not ask again" checkbox." into nyc-dev
Felipe Leme [Tue, 15 Mar 2016 18:43:46 +0000 (18:43 +0000)]
Merge "Add a "Do not ask again" checkbox." into nyc-dev

8 years agoMerge "Restore fix for native activity without a java-code" into nyc-dev
Dimitry Ivanov [Tue, 15 Mar 2016 18:23:01 +0000 (18:23 +0000)]
Merge "Restore fix for native activity without a java-code" into nyc-dev

8 years agoMerge "Update ActivityOptions#setLaunchBounds() docs" into nyc-dev
Andrii Kulian [Tue, 15 Mar 2016 18:19:11 +0000 (18:19 +0000)]
Merge "Update ActivityOptions#setLaunchBounds() docs" into nyc-dev

8 years agoMerge "Don't stomp live wallpapers when tidying up imagery" into nyc-dev
Chris Tate [Tue, 15 Mar 2016 18:15:36 +0000 (18:15 +0000)]
Merge "Don't stomp live wallpapers when tidying up imagery" into nyc-dev

8 years agoAdd a "Do not ask again" checkbox.
Felipe Leme [Thu, 10 Mar 2016 01:40:49 +0000 (17:40 -0800)]
Add a "Do not ask again" checkbox.

When an app request access to a scoped directory which the user already
denied access, it will display a "Do not ask again" checkbox; if the
user checks that option, further requests will be automatically
rejected.

The history of denials is stored in the shared property file.

The UI is not polished yet, the style will be fixed in a future change.

BUG: 26750152

Change-Id: I181923adfb6a1c7c1c17e305d6838314280417fc

8 years agoAdd null-checks to mStatusBar.
Wei Liu [Fri, 4 Mar 2016 18:52:33 +0000 (10:52 -0800)]
Add null-checks to mStatusBar.

So that we can disable StatusBarManagerService on Wear.

b/26877020

Change-Id: I9e2a84f004ddf5a4aec50a84cad76d2a10c701b8

8 years agoMerge "core: add hdr capabilities to display" into nyc-dev
Ronghua Wu [Tue, 15 Mar 2016 17:40:13 +0000 (17:40 +0000)]
Merge "core: add hdr capabilities to display" into nyc-dev

8 years agoShow admin support dialog if app is suspended.
Sudheer Shanka [Fri, 11 Mar 2016 20:25:51 +0000 (12:25 -0800)]
Show admin support dialog if app is suspended.

Bug: 26922950
Change-Id: I21f048873244df52d14910cc01a658af476d9149

8 years agoDon't reboot into recovery if block map file is missing.
Tao Bao [Tue, 15 Mar 2016 00:11:05 +0000 (17:11 -0700)]
Don't reboot into recovery if block map file is missing.

We added a third parameter to RecoverySystem.installPackage() to let the
caller to indicate the package has been processed (uncrypt'd). We need
to ensure the caller's claim is true by checking the existence of the
block map. Otherwise the device will fail for sure when booting into
recovery.

Bug: 27620932
Change-Id: I6325455253480055f14eb0cf020689ac37328602

8 years agoMerge "Rename undefined inset constant" into nyc-dev
Alan Viverette [Tue, 15 Mar 2016 17:23:34 +0000 (17:23 +0000)]
Merge "Rename undefined inset constant" into nyc-dev

8 years agoUn-hide Connection#onReject(String) and its associated capability
Hall Liu [Mon, 14 Mar 2016 23:38:56 +0000 (16:38 -0700)]
Un-hide Connection#onReject(String) and its associated capability

The capability is CAPABILITY_CAN_SEND_RESPONSE_VIA_CONNECTION

Bug: 27501686
Change-Id: Id73bb99650ca8440a9f4e87bfe533a97c4d19778

8 years agoRestore fix for native activity without a java-code
Dimitry Ivanov [Tue, 15 Mar 2016 00:15:38 +0000 (17:15 -0700)]
Restore fix for native activity without a java-code

The regression was introduced by 39bfee5e3674faea992c32204abc1c03429b8cda
which undid the fix to classloader construction.

This commit reapplies the fix from b9c9026bdd0076014aeca62b088053d8fbce2326

Bug: http://b/27250344
Change-Id: I6c341d911ba0f311c63e380dd9dd064ba2faf391

8 years agoTrack libcore commit d41ca4a76ea570f9dd89a7ae56410cc75cc0a856
Yi Kong [Tue, 15 Mar 2016 16:59:59 +0000 (16:59 +0000)]
Track libcore commit d41ca4a76ea570f9dd89a7ae56410cc75cc0a856

Bug: 27538943
Change-Id: I91fc2e9738dcfb7be061041b5e000b21e7684184
(cherry picked from commit f45eca1d72a26feca68f74149afc4a8c6c91fde4)
(cherry picked from commit e72e604beae9a37834cbd1bff8eaeafd5810ed92)

8 years agoMerge "Revert "Permissions: Get rid of GET_ACCOUNTS"" into nyc-dev
Ian Pedowitz [Tue, 15 Mar 2016 17:09:51 +0000 (17:09 +0000)]
Merge "Revert "Permissions: Get rid of GET_ACCOUNTS"" into nyc-dev

8 years agoMerge "Logging of setting ro.device_owner property" into nyc-dev
Michal Karpinski [Tue, 15 Mar 2016 17:09:31 +0000 (17:09 +0000)]
Merge "Logging of setting ro.device_owner property" into nyc-dev

8 years agoRevert "Permissions: Get rid of GET_ACCOUNTS"
Ian Pedowitz [Tue, 15 Mar 2016 17:08:27 +0000 (17:08 +0000)]
Revert "Permissions: Get rid of GET_ACCOUNTS"

This reverts commit d39600585bcb720d739ef6f0091066e3d4f77765.

Bug: 27665091
Change-Id: I7d017ba7062ac594225229436d2877c7d21fb065

8 years agoLogging of setting ro.device_owner property
Michal Karpinski [Tue, 15 Mar 2016 17:04:59 +0000 (17:04 +0000)]
Logging of setting ro.device_owner property

Without logging of setting it's impossible to test the setup, unless
device is rooted.

Bug: 22860162
Change-Id: I0532654ef4e4b7272d2749b30590a1b47da9f645

8 years agoMerge "Remove the field of MediaDrm from inner class CryptoSession." into nyc-dev
Jeff Tinker [Tue, 15 Mar 2016 16:59:46 +0000 (16:59 +0000)]
Merge "Remove the field of MediaDrm from inner class CryptoSession." into nyc-dev

8 years agoMerge "Add media.log to Watchdog stacks" into nyc-dev
Eric Laurent [Tue, 15 Mar 2016 16:58:17 +0000 (16:58 +0000)]
Merge "Add media.log to Watchdog stacks" into nyc-dev

8 years agoMerge "Un-deprecate Activity#onRetainNonConfigurationInstance" into nyc-dev
Adam Powell [Tue, 15 Mar 2016 16:51:02 +0000 (16:51 +0000)]
Merge "Un-deprecate Activity#onRetainNonConfigurationInstance" into nyc-dev

8 years agofix NPE when dump wins the race against emit
Chris Wren [Tue, 15 Mar 2016 16:47:26 +0000 (12:47 -0400)]
fix NPE when dump wins the race against emit

Bug: 27673660
Change-Id: I4e00933ef38f2847f5f759cfed9dfaea20e04d73

8 years agoRename undefined inset constant
Alan Viverette [Tue, 15 Mar 2016 16:43:41 +0000 (12:43 -0400)]
Rename undefined inset constant

Bug: 27531289
Change-Id: I31c5cc295c7f36b934eccf46cdbe7a7b293af9e0

8 years agoFix crashes during density changes
Jason Monk [Tue, 15 Mar 2016 16:41:13 +0000 (12:41 -0400)]
Fix crashes during density changes

Bug: 27516933
Change-Id: Ibffa2f4d68c8c4aff09e74ee4dfb073d7d7bc8c5

8 years agoMerge "Removed an unnecessary log message" into nyc-dev
Amith Yamasani [Tue, 15 Mar 2016 16:26:45 +0000 (16:26 +0000)]
Merge "Removed an unnecessary log message" into nyc-dev

8 years agoMerge "Remove tracking of all drawables in ViewOverlay.clear()" into nyc-dev
Kirill Grouchnikov [Tue, 15 Mar 2016 16:25:48 +0000 (16:25 +0000)]
Merge "Remove tracking of all drawables in ViewOverlay.clear()" into nyc-dev

8 years agoRemoved an unnecessary log message
Amith Yamasani [Tue, 15 Mar 2016 16:24:26 +0000 (09:24 -0700)]
Removed an unnecessary log message

Change-Id: I381c46fd355fc5697531d0d6931a60def4ee1b89

8 years agoUpdate factory reset notification text
Sami Tolvanen [Thu, 10 Mar 2016 00:15:13 +0000 (16:15 -0800)]
Update factory reset notification text

Bug: 27308928
Bug: 26902605
Change-Id: I8bb9380541a4446c96665c6d5f348d1c62b617a7

8 years agoMerge "Add short codes for DCB to free UK and 44567 to standard US." into nyc-dev
Vasco Brito [Tue, 15 Mar 2016 14:56:45 +0000 (14:56 +0000)]
Merge "Add short codes for DCB to free UK and 44567 to standard US." into nyc-dev

8 years agoMerge "TIF: Add annotations for the system APIs which requires permissions" into...
Dongwon Kang [Tue, 15 Mar 2016 14:50:46 +0000 (14:50 +0000)]
Merge "TIF: Add annotations for the system APIs which requires permissions" into nyc-dev

8 years agoTIF: Add annotations for the system APIs which requires permissions
Dongwon Kang [Mon, 14 Mar 2016 18:10:38 +0000 (11:10 -0700)]
TIF: Add annotations for the system APIs which requires permissions

Bug: 25726241
Change-Id: I2c1c8fb04c7299f9010c7f3ed0aca2e4f1e8b7bd

8 years agoMerge "Push flags from top-level TypedValue into ComplexColor changing configs" into...
Alan Viverette [Tue, 15 Mar 2016 14:36:10 +0000 (14:36 +0000)]
Merge "Push flags from top-level TypedValue into ComplexColor changing configs" into nyc-dev

8 years agoMerge "Switch back to UI-driven AVD" into nyc-dev
John Reck [Tue, 15 Mar 2016 14:30:58 +0000 (14:30 +0000)]
Merge "Switch back to UI-driven AVD" into nyc-dev

8 years agoMerge "Addressing API council feedback for remote bugreports" into nyc-dev
Michal Karpinski [Tue, 15 Mar 2016 14:08:22 +0000 (14:08 +0000)]
Merge "Addressing API council feedback for remote bugreports" into nyc-dev

8 years agoTrack libcore change 471945701ad7895acf0dae73f90a5f18cd9ca23a
Przemyslaw Szczepaniak [Tue, 15 Mar 2016 13:24:45 +0000 (13:24 +0000)]
Track libcore change 471945701ad7895acf0dae73f90a5f18cd9ca23a

Bug: 27426684
Change-Id: I4b2a5840cb61aa379da0ca11292781ceac14f93d

8 years agoAddressing API council feedback for remote bugreports
Michal Karpinski [Fri, 11 Mar 2016 14:00:13 +0000 (14:00 +0000)]
Addressing API council feedback for remote bugreports

In DeviceAdminReceiver fixed a broken link in javadocs and improved
javadocs for bugreport error codes.

Bug: 27532425
Change-Id: I6cf90b4109065615778e69ea9d21b1869841593b

8 years agoTrack libcore commit e8b323c7cb7d55be9a4df579231e44f04f53d766
Przemyslaw Szczepaniak [Tue, 15 Mar 2016 11:11:21 +0000 (11:11 +0000)]
Track libcore commit e8b323c7cb7d55be9a4df579231e44f04f53d766

Bug: 27426599
Change-Id: Ie652b5fcf37b12e477ff2929df33d32b074262d4

8 years agoMerge "Optimize sorting performance by 7.64% in DocumentsUI." into nyc-dev
Tomasz Mikolajewski [Tue, 15 Mar 2016 09:32:06 +0000 (09:32 +0000)]
Merge "Optimize sorting performance by 7.64% in DocumentsUI." into nyc-dev

8 years agoMerge "ExifInterface: handle the invalid offsets and count numbers" into nyc-dev
Jaesung Chung [Tue, 15 Mar 2016 08:27:37 +0000 (08:27 +0000)]
Merge "ExifInterface: handle the invalid offsets and count numbers" into nyc-dev

8 years agoExifInterface: handle the invalid offsets and count numbers
Jaesung Chung [Mon, 14 Mar 2016 05:57:54 +0000 (14:57 +0900)]
ExifInterface: handle the invalid offsets and count numbers

Some JPEG images generated by various camera vendors have wrong offsets
and invalid numbers for indicating the size of components. Instead of
throwing exceptions, this CL makes Exifinterface ignore these cases to
read the information without losing contents already parsed.

Bug: 27583378
Change-Id: Ie8ee0bf49283ef519f4f31c5b8ba78ce3f82fe92

8 years agoMerge "Re-disable drag and drop in full screen extracted mode." into nyc-dev
Keisuke Kuroyanagi [Tue, 15 Mar 2016 08:21:09 +0000 (08:21 +0000)]
Merge "Re-disable drag and drop in full screen extracted mode." into nyc-dev

8 years agoMerge "Stop automatically creating selection action mode." into nyc-dev
Keisuke Kuroyanagi [Tue, 15 Mar 2016 07:41:06 +0000 (07:41 +0000)]
Merge "Stop automatically creating selection action mode." into nyc-dev

8 years agoOptimize sorting performance by 7.64% in DocumentsUI.
Tomasz Mikolajewski [Tue, 15 Mar 2016 04:23:52 +0000 (13:23 +0900)]
Optimize sorting performance by 7.64% in DocumentsUI.

This CL prevents allocating new strings just due to the prefix,
which also simplifies the code.

Bug: 27286016
Change-Id: I3d0ea9e4ede68814c78404bd9ac820b8900851f5

8 years agoUpdate ActivityOptions#setLaunchBounds() docs
Andrii Kulian [Fri, 11 Mar 2016 05:56:35 +0000 (21:56 -0800)]
Update ActivityOptions#setLaunchBounds() docs

Update docs to provide more info about parameter format.

Bug: 27364884
Change-Id: I04dd2e868d64d3f023fcaa4891b40b60a2f549d6

8 years agoMerge "Add a check for misspelled span change." into nyc-dev
Keisuke Kuroyanagi [Tue, 15 Mar 2016 06:47:09 +0000 (06:47 +0000)]
Merge "Add a check for misspelled span change." into nyc-dev

8 years agoAdd a check for misspelled span change.
Keisuke Kuroyanagi [Tue, 15 Mar 2016 06:40:43 +0000 (15:40 +0900)]
Add a check for misspelled span change.

Previously, misspelled span is directly used in AddToDicitonary's
OnClickListener. It can crash because misspelled span can have been
updated since SuggestiosPopup is shown.
Also, AddToDictionary didn't work correctly in full screen extracted
mode. Use findEquivalentSuggestionSpan to resolve it.

Bug: 27557526
Change-Id: I51d713dbdd0c44ea2c553164b81b1123a2325aa1

8 years agoStop automatically creating selection action mode.
Keisuke Kuroyanagi [Tue, 15 Mar 2016 06:38:40 +0000 (15:38 +0900)]
Stop automatically creating selection action mode.

With Ic025c109539c3b5963, selection action mode is created always
when selection is made. It causes distraction in some cases.
This CL fixes this issue. This CL stops starting selection action
mode when action mode is currently not active and not intended to
restart.

Bug: 27536744
Bug: 27551819
Change-Id: I94ee66864000934a21ef0d18c1d71429c67114fa

8 years agoRe-disable drag and drop in full screen extracted mode.
Keisuke Kuroyanagi [Tue, 15 Mar 2016 05:47:08 +0000 (14:47 +0900)]
Re-disable drag and drop in full screen extracted mode.

Drag and drop in full screen extracted mode was disabled by
Ifff4c30919bcb04f7d and re-enabled by I90d8e9f42f395b6b52.
However, related issues have not been fixed. This CL re-disables it.

Bug: 22440907
Change-Id: I753f69e170aa7e79478a5a4a3b89e4a7ef88c9e2

8 years agoMerge "Fix: onExtractedDeleteText deletes unintended region." into nyc-dev
Keisuke Kuroyanagi [Tue, 15 Mar 2016 05:38:05 +0000 (05:38 +0000)]
Merge "Fix: onExtractedDeleteText deletes unintended region." into nyc-dev

8 years agoMerge "Show SuggestionsPopup when there is a misspelled span." into nyc-dev
Keisuke Kuroyanagi [Tue, 15 Mar 2016 05:35:20 +0000 (05:35 +0000)]
Merge "Show SuggestionsPopup when there is a misspelled span." into nyc-dev

8 years agoMove to downloads root instead of home root.
Daichi Hirono [Tue, 15 Mar 2016 03:47:57 +0000 (12:47 +0900)]
Move to downloads root instead of home root.

Previously we assume the home root exists always, but while migrating
internal storage, the home root is temporary removed from Android. Since
we open donwnloads root by default now, the CL lets Files app move to
the downloads directory instead of home root when the current directory
is removed.

BUG=27570929

Change-Id: I89efb1ae32ba8ae7269b3242035d5b67114fcb54

8 years agoMerge "Don't show wallpaper when backdrop is visible" into nyc-dev
Adrian Roos [Tue, 15 Mar 2016 03:26:00 +0000 (03:26 +0000)]
Merge "Don't show wallpaper when backdrop is visible" into nyc-dev

8 years agoMerge "Regard timeout as an error in the MtpDocumentsProvider test." into nyc-dev
Daichi Hirono [Tue, 15 Mar 2016 02:36:44 +0000 (02:36 +0000)]
Merge "Regard timeout as an error in the MtpDocumentsProvider test." into nyc-dev

8 years agoRegard timeout as an error in the MtpDocumentsProvider test.
Daichi Hirono [Mon, 14 Mar 2016 12:49:14 +0000 (21:49 +0900)]
Regard timeout as an error in the MtpDocumentsProvider test.

Previously if DocumentsProvider found timeout when terminatnig
RootScanner's background thread, it just output it in error log. Thus
the timeout is not regarded as an error in MtpDocumentsProviderTest, and
it makes flaky PipeManagerTest which runs just after
MtpDocumentsProviderTest.

The CL

 * lets MtpDocumentsProvider throw TimeoutException for timeout.
 * removes redundant resumeRootScanner calls to avoid timeout of
   RootScanner#pause.

Also the CL did cleanup the logic that pauses RootScanner when we don't
find any devices. Previously the logic was in
MtpDocumentsProvider#closeInternal but it is not efficient because we
invokes RootScanner#resume just after
MtpDocumentsProvider#closeInternal. Now the CL moves the logic to
RootScanner so that it can pause itself automatically.

BUG=27638500

Change-Id: Ic11bca67c099cbb0f46679db2f035988045d67d6

8 years agoMerge "Add API support for multi-endpoint." into nyc-dev
Tyler Gunn [Tue, 15 Mar 2016 01:59:41 +0000 (01:59 +0000)]
Merge "Add API support for multi-endpoint." into nyc-dev

8 years agoDon't show wallpaper when backdrop is visible
Adrian Roos [Wed, 9 Mar 2016 00:11:31 +0000 (16:11 -0800)]
Don't show wallpaper when backdrop is visible

Hides the wallpaper when it's not needed and fixes
the unlock animation to not unnecessairly show the
wallpaper if neither the Keyguard nor the underlying
app need it.

Also fixes a bug where the enter animation had a background
set, which led to uglyness when no wallpaper is involved.

Bug: 27533740
Change-Id: I667c6f7ca6c0e1ff7e9f793c6ddc13f6da8387b1

8 years agoAdd media.log to Watchdog stacks
Eric Laurent [Tue, 15 Mar 2016 01:49:08 +0000 (18:49 -0700)]
Add media.log to Watchdog stacks

Needed for debugging after mediaserver split.

Bug: 27408518
Change-Id: I412575264e813688396835f4f3501f6132432960

8 years agoMerge "Permissions: Get rid of GET_ACCOUNTS" into nyc-dev
Carlos Valdivia [Tue, 15 Mar 2016 01:36:24 +0000 (01:36 +0000)]
Merge "Permissions: Get rid of GET_ACCOUNTS" into nyc-dev

8 years agoMerge "Attempt to fix problem where keyguard isn't locking" into nyc-dev
Jim Miller [Tue, 15 Mar 2016 01:26:16 +0000 (01:26 +0000)]
Merge "Attempt to fix problem where keyguard isn't locking" into nyc-dev