OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge \\\\"Add pm operation to set user restrictions.\\\\" into mnc-dev am: 144b3a42c...
Sudheer Shanka [Tue, 21 Jun 2016 22:42:23 +0000 (22:42 +0000)]
Merge \\\\"Add pm operation to set user restrictions.\\\\" into mnc-dev am: 144b3a42cc am: f43aa2e837 am: 916728bb35
am: 4e8aa0f35f  -s ours

Change-Id: Id82e4921ebc46dcf802acad895410ed79026d9ce

8 years agoMerge \\\\"Reduce shell power over user management.\\\\" into mnc-dev am: 964500fd43...
Sudheer Shanka [Tue, 21 Jun 2016 22:38:39 +0000 (22:38 +0000)]
Merge \\\\"Reduce shell power over user management.\\\\" into mnc-dev am: 964500fd43 am: 9bfa0ad22f am: fb87ae59b0
am: 63e8198685  -s ours

Change-Id: Id8035a1dde1a4ec04779e68ae14df5d2d4e2530f

8 years agoMerge \\\"Add pm operation to set user restrictions.\\\" into mnc-dev am: 144b3a42cc...
Sudheer Shanka [Tue, 21 Jun 2016 22:25:31 +0000 (22:25 +0000)]
Merge \\\"Add pm operation to set user restrictions.\\\" into mnc-dev am: 144b3a42cc am: f43aa2e837
am: 916728bb35

Change-Id: Id7990003b3a5a6db9f9d16eb57ec37d47505165a

8 years agoMerge \\\"Reduce shell power over user management.\\\" into mnc-dev am: 964500fd43...
Sudheer Shanka [Tue, 21 Jun 2016 22:25:19 +0000 (22:25 +0000)]
Merge \\\"Reduce shell power over user management.\\\" into mnc-dev am: 964500fd43 am: 9bfa0ad22f
am: fb87ae59b0

Change-Id: I4e517e522896242fb9b23b21c217c6fd876ef8b7

8 years agoMerge "Do animations correctly in systemUI" into nyc-dev
TreeHugger Robot [Tue, 21 Jun 2016 22:20:43 +0000 (22:20 +0000)]
Merge "Do animations correctly in systemUI" into nyc-dev

8 years agoMerge \\"Add pm operation to set user restrictions.\\" into mnc-dev am: 144b3a42cc
Sudheer Shanka [Tue, 21 Jun 2016 22:19:09 +0000 (22:19 +0000)]
Merge \\"Add pm operation to set user restrictions.\\" into mnc-dev am: 144b3a42cc
am: f43aa2e837

Change-Id: Ic6c3cf2871105e5f81bbd30ee30311b5d5a535a6

8 years agoMerge \\"Reduce shell power over user management.\\" into mnc-dev am: 964500fd43
Sudheer Shanka [Tue, 21 Jun 2016 22:19:05 +0000 (22:19 +0000)]
Merge \\"Reduce shell power over user management.\\" into mnc-dev am: 964500fd43
am: 9bfa0ad22f

Change-Id: I952f6a12be0c1edc6027ccce785d47d7f84757ef

8 years agoMerge \"Add pm operation to set user restrictions.\" into mnc-dev
Sudheer Shanka [Tue, 21 Jun 2016 22:11:47 +0000 (22:11 +0000)]
Merge \"Add pm operation to set user restrictions.\" into mnc-dev
am: 144b3a42cc

Change-Id: I1de4650ef53751654145a3ad1c40390711414341

8 years agoMerge \"Reduce shell power over user management.\" into mnc-dev
Sudheer Shanka [Tue, 21 Jun 2016 22:11:44 +0000 (22:11 +0000)]
Merge \"Reduce shell power over user management.\" into mnc-dev
am: 964500fd43

Change-Id: I3531a208b4e2bd603bde2afcbee9589bf2f712d9

8 years agoMerge \\"docs: Noted that orderId is blank for all test purchases.\\" into mnc-io...
Kevin Hufnagle [Tue, 21 Jun 2016 22:04:45 +0000 (22:04 +0000)]
Merge \\"docs: Noted that orderId is blank for all test purchases.\\" into mnc-io-docs am: b47e5dc798
am: 1b0751e097

Change-Id: Ib7fd5bb44a40b721b7893ff3bdd51bbf0e9a278b

8 years agoMerge "Add pm operation to set user restrictions." into mnc-dev
Sudheer Shanka [Tue, 21 Jun 2016 22:03:09 +0000 (22:03 +0000)]
Merge "Add pm operation to set user restrictions." into mnc-dev

8 years agoMerge "Reduce shell power over user management." into mnc-dev
Sudheer Shanka [Tue, 21 Jun 2016 22:03:04 +0000 (22:03 +0000)]
Merge "Reduce shell power over user management." into mnc-dev

8 years agoMerge \"docs: Noted that orderId is blank for all test purchases.\" into mnc-io-docs
Kevin Hufnagle [Tue, 21 Jun 2016 21:58:30 +0000 (21:58 +0000)]
Merge \"docs: Noted that orderId is blank for all test purchases.\" into mnc-io-docs
am: b47e5dc798

Change-Id: I3aece10845f33bf2867f2450a9657e9d55152ba1

8 years agoMerge "docs: Noted that orderId is blank for all test purchases." into mnc-io-docs
Kevin Hufnagle [Tue, 21 Jun 2016 21:53:50 +0000 (21:53 +0000)]
Merge "docs: Noted that orderId is blank for all test purchases." into mnc-io-docs

8 years agoMerge "Prevent startNavigating() call when GPS is off" into nyc-dev
TreeHugger Robot [Tue, 21 Jun 2016 21:47:25 +0000 (21:47 +0000)]
Merge "Prevent startNavigating() call when GPS is off" into nyc-dev

8 years agoMerge "registerUpdatedByApp should be synchronized" into nyc-dev
Chris Wren [Tue, 21 Jun 2016 21:46:33 +0000 (21:46 +0000)]
Merge "registerUpdatedByApp should be synchronized" into nyc-dev

8 years agoMerge "Don't try and resolve WRAP_CONTENT too early." into nyc-dev
TreeHugger Robot [Tue, 21 Jun 2016 21:23:57 +0000 (21:23 +0000)]
Merge "Don't try and resolve WRAP_CONTENT too early." into nyc-dev

8 years agoMerge "Tweaks to DragAndDropPermissions behavior" into nyc-dev
Yorke Lee [Tue, 21 Jun 2016 21:10:52 +0000 (21:10 +0000)]
Merge "Tweaks to DragAndDropPermissions behavior" into nyc-dev

8 years agoDo animations correctly in systemUI
Selim Cinek [Tue, 21 Jun 2016 20:05:09 +0000 (13:05 -0700)]
Do animations correctly in systemUI

When properties weren't changing, animators were not cancelled.
In addition did we still apply the delay even though animators
were running before.

Change-Id: I05fdd15d770900ac901eb95b616bed4cf311cd23
Fixes: 29540362

8 years agoMerge "Fixed notificaiton Stress Test" into nyc-dev
Bennie Ouyang [Tue, 21 Jun 2016 20:42:01 +0000 (20:42 +0000)]
Merge "Fixed notificaiton Stress Test" into nyc-dev

8 years agoTweaks to DragAndDropPermissions behavior
Yorke Lee [Mon, 20 Jun 2016 22:41:35 +0000 (15:41 -0700)]
Tweaks to DragAndDropPermissions behavior

No longer release permissions in finalize(), so that
apps do not have to maintain a reference to the
DragAndDropPermissions object.

Also make it parcelable, so that permission instances can be
retained across activity instances so that they can be
manually released.

Bug: 29162822

Change-Id: Ie604dd3e83ee45a8665d743449b91857dd54e896

8 years agoMerge "Always report window move to client" into nyc-dev
TreeHugger Robot [Tue, 21 Jun 2016 19:55:54 +0000 (19:55 +0000)]
Merge "Always report window move to client" into nyc-dev

8 years agoMerge "Add getApplicationConfigForPackage" into nyc-dev
TreeHugger Robot [Tue, 21 Jun 2016 19:51:19 +0000 (19:51 +0000)]
Merge "Add getApplicationConfigForPackage" into nyc-dev

8 years agoMerge "Ignore system apps on enforceMeteredApnPolicy()." into nyc-dev
TreeHugger Robot [Tue, 21 Jun 2016 19:50:59 +0000 (19:50 +0000)]
Merge "Ignore system apps on enforceMeteredApnPolicy()." into nyc-dev

8 years agodocs: Noted that orderId is blank for all test purchases.
Kevin Hufnagle [Mon, 20 Jun 2016 23:44:08 +0000 (16:44 -0700)]
docs: Noted that orderId is blank for all test purchases.

All test purchases associated with Google Play apps---both one-time
and subscription---now contain a blank "orderId" field. Updated the
documentation accordingly. Also removed the explanation about
canceling test purchases using the merchant center; a lack of an
"orderId" value prevents this workflow from being possible anymore.

Bug: 29068371
Change-Id: I748989c404549769eefd44afa3a7cc125f2e7073

8 years agoMerge "Reduce race when connecting to an existing content provider." into nyc-dev
Dianne Hackborn [Tue, 21 Jun 2016 19:18:36 +0000 (19:18 +0000)]
Merge "Reduce race when connecting to an existing content provider." into nyc-dev

8 years agoregisterUpdatedByApp should be synchronized
Chris Wren [Tue, 21 Jun 2016 18:38:04 +0000 (14:38 -0400)]
registerUpdatedByApp should be synchronized

Bug: 29524139
Change-Id: I226b5f32fdab6b369451d0c64310f788944495d0

8 years agoMerge "Fixed an issue where the deleteintent of children wasn't sent" into nyc-dev
Selim Cinek [Tue, 21 Jun 2016 18:07:41 +0000 (18:07 +0000)]
Merge "Fixed an issue where the deleteintent of children wasn't sent" into nyc-dev

8 years agoMerge "Allow trust agents to run during provisioning" into nyc-dev
TreeHugger Robot [Tue, 21 Jun 2016 18:04:05 +0000 (18:04 +0000)]
Merge "Allow trust agents to run during provisioning" into nyc-dev

8 years agoReduce race when connecting to an existing content provider.
Dianne Hackborn [Mon, 20 Jun 2016 22:20:15 +0000 (15:20 -0700)]
Reduce race when connecting to an existing content provider.

We lost the code that checks to see if the target process still
exists and aborts trying to use it if so.  To reduce the race
there, we have a new explicit check of the state of the process.

Hopefully fixes some of issue #28737082.

Change-Id: I37a7a6e9767516d564168ef5e110c4adafe3fb76

8 years agoFixed notificaiton Stress Test
Bennie Ouyang [Mon, 20 Jun 2016 18:01:54 +0000 (11:01 -0700)]
Fixed notificaiton Stress Test

Bug: 29506953
Change-Id: I8f8e7b2f0b03b48665b524472a8e81aef6a7a708

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
TreeHugger Robot [Tue, 21 Jun 2016 16:52:05 +0000 (16:52 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
TreeHugger Robot [Tue, 21 Jun 2016 16:51:50 +0000 (16:51 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoPrevent startNavigating() call when GPS is off
Dante Russo [Mon, 20 Jun 2016 18:11:59 +0000 (11:11 -0700)]
Prevent startNavigating() call when GPS is off

When system comes back from idle state,
GnssLocationProvider invokes startNavigating()
even when GPS is turned off in settings.

Bug: 29512509
Change-Id: Ifcc6a06d698f65f868d18244f7166663ab57f57e
CRs-Fixed: 1022372

8 years agoMerge "Only block invalidation in DrawableContainer initialization" into nyc-dev
Alan Viverette [Tue, 21 Jun 2016 13:47:19 +0000 (13:47 +0000)]
Merge "Only block invalidation in DrawableContainer initialization" into nyc-dev

8 years agoMerge \\"Documented how to handle advertisements during audio playback.\\" into mnc...
Sreevani Sreejith [Tue, 21 Jun 2016 11:55:54 +0000 (11:55 +0000)]
Merge \\"Documented how to handle advertisements during audio playback.\\" into mnc-io-docs am: 07340a654a
am: 5fef4a7d44

Change-Id: Ica1016e018fe5e278babd490b631414ad220f290

8 years agoMerge \"Documented how to handle advertisements during audio playback.\" into mnc...
sreevanis [Tue, 21 Jun 2016 11:50:22 +0000 (11:50 +0000)]
Merge \"Documented how to handle advertisements during audio playback.\" into mnc-io-docs
am: 07340a654a

Change-Id: I58c4cb8ec6d86a1bb1464a4fedd14ff21ab3a863

8 years agoMerge "Documented how to handle advertisements during audio playback." into mnc-io...
Sreevani Sreejith [Tue, 21 Jun 2016 11:44:19 +0000 (11:44 +0000)]
Merge "Documented how to handle advertisements during audio playback." into mnc-io-docs

8 years agoDocumented how to handle advertisements during audio playback.
sreevanis [Tue, 14 Jun 2016 17:39:57 +0000 (10:39 -0700)]
Documented how to handle advertisements during audio playback.

Bug:24986554
Change-Id: I02cc0500492661ae7cde6cdae30490c00f8e4b97

8 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 21 Jun 2016 07:53:23 +0000 (00:53 -0700)]
Import translations. DO NOT MERGE

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

8 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 21 Jun 2016 07:24:26 +0000 (00:24 -0700)]
Import translations. DO NOT MERGE

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

8 years agoMerge "Compare intent filter when launching adjacent" into nyc-dev
Andrii Kulian [Tue, 21 Jun 2016 05:17:58 +0000 (05:17 +0000)]
Merge "Compare intent filter when launching adjacent" into nyc-dev

8 years agoMerge "Parse "vendor/priv-app" to find privileged applications" into nyc-dev
TreeHugger Robot [Tue, 21 Jun 2016 02:56:36 +0000 (02:56 +0000)]
Merge "Parse "vendor/priv-app" to find privileged applications" into nyc-dev

8 years agoIgnore system apps on enforceMeteredApnPolicy().
Felipe Leme [Mon, 20 Jun 2016 23:36:29 +0000 (16:36 -0700)]
Ignore system apps on enforceMeteredApnPolicy().

BUG: 29514913
Fixes: 29448383
Change-Id: I19eb004c937e1c872bbf82caa7a919e43d48a259

8 years agoParse "vendor/priv-app" to find privileged applications
Jeremie GARCIA [Thu, 5 Nov 2015 17:27:59 +0000 (18:27 +0100)]
Parse "vendor/priv-app" to find privileged applications

Change-Id: Icbbafba96b7880f51ca3afcee53d5f3dd5b86a45
Signed-off-by: Jeremie GARCIA <jeremie.garcia@intel.com>
Signed-off-by: Zhiquan Liu <zhiquan.liu@intel.com>
Bug: 29488499

8 years agoMerge "Don't re-launch stopped activities while the device is sleeping" into nyc-dev
TreeHugger Robot [Mon, 20 Jun 2016 23:03:45 +0000 (23:03 +0000)]
Merge "Don't re-launch stopped activities while the device is sleeping" into nyc-dev

8 years agoMerge "MediaPlayer: fix java doc for setPlaybackParams." into nyc-dev
Wei Jia [Mon, 20 Jun 2016 22:58:32 +0000 (22:58 +0000)]
Merge "MediaPlayer: fix java doc for setPlaybackParams." into nyc-dev

8 years agoMediaPlayer: fix java doc for setPlaybackParams.
Wei Jia [Thu, 16 Jun 2016 22:18:20 +0000 (15:18 -0700)]
MediaPlayer: fix java doc for setPlaybackParams.

Bug: 29032949
Change-Id: I75a59e2a4c75b5e84e2257f8e386d7b05faf9c1b

8 years agoDon't try and resolve WRAP_CONTENT too early.
Robert Carr [Mon, 20 Jun 2016 22:48:42 +0000 (15:48 -0700)]
Don't try and resolve WRAP_CONTENT too early.

At the point of showDropDownPosition measure
may have not yet been called and we can't try
and resolve WRAP_CONTENT. ViewRoot will do it for us
and set requestedWidth/Height at an appropriate point.

Bug: 29496188
Change-Id: I99f26612bec800f3e321495b3df3e37b5ffb3152

8 years agoFixed an issue where the deleteintent of children wasn't sent
Selim Cinek [Mon, 20 Jun 2016 22:40:07 +0000 (15:40 -0700)]
Fixed an issue where the deleteintent of children wasn't sent

Especially in context of autobundling this could lead to bad bugs

Change-Id: Idf722f9675f6f6e49d49c08798e38e09b1c5c01e
Fixes: 29515621

8 years agoMerge "Allow call addSharedAccountsFromParentUser with CREATE_USERS permission."...
Sudheer Shanka [Mon, 20 Jun 2016 22:38:48 +0000 (22:38 +0000)]
Merge "Allow call addSharedAccountsFromParentUser with CREATE_USERS permission." into nyc-dev

8 years agoMerge "just a reorg of some links to put all Android Studio help button redirects...
Scott Main [Mon, 20 Jun 2016 22:28:54 +0000 (22:28 +0000)]
Merge "just a reorg of some links to put all Android Studio help button redirects together" into nyc-dev

8 years agojust a reorg of some links to put all Android Studio help button redirects together
smain@google.com [Mon, 20 Jun 2016 22:25:56 +0000 (15:25 -0700)]
just a reorg of some links to put all Android Studio help button redirects together

Change-Id: If928756a87b18a12caa21effa15c5005d74f15c6

8 years agoMerge "Fix infinite loop when registering data usage callback." into nyc-dev
Antonio Cansado [Mon, 20 Jun 2016 22:23:34 +0000 (22:23 +0000)]
Merge "Fix infinite loop when registering data usage callback." into nyc-dev

8 years agoMerge "Fix issue #29438842: Enter the "am broadcast -a..." into nyc-dev
Dianne Hackborn [Mon, 20 Jun 2016 22:09:27 +0000 (22:09 +0000)]
Merge "Fix issue #29438842: Enter the "am broadcast -a..." into nyc-dev

8 years agoFix infinite loop when registering data usage callback.
Antonio Cansado [Mon, 20 Jun 2016 22:03:03 +0000 (15:03 -0700)]
Fix infinite loop when registering data usage callback.

Trivial fix is to call the method that takes the handler as a param.

Bug: 29508547
Change-Id: I75ba30a1663be265eed56b24deda82e83fd47a43

8 years agoDocs: Changed sample link under Related Samples am: ab5de09e7e
Hemal Patel [Mon, 20 Jun 2016 22:01:02 +0000 (22:01 +0000)]
Docs: Changed sample link under Related Samples am: ab5de09e7e
am: d5af0a1214

Change-Id: I70c520f7ee4141b3c7c193aef6e4559ea5b35cc9

8 years agoAllow trust agents to run during provisioning
Adrian Roos [Mon, 20 Jun 2016 21:58:59 +0000 (14:58 -0700)]
Allow trust agents to run during provisioning

Fixes a bug where trust agents weren't able to run during
provisioning, because user presence is only acknowledged after
provisioning completed.

Change-Id: Ib9ed235e8372555fdc40eefd0fc6b1192613abda
Fixes: 29231515

8 years agoDocs: Changed sample link under Related Samples
Hemal Patel [Mon, 20 Jun 2016 21:53:54 +0000 (21:53 +0000)]
Docs: Changed sample link under Related Samples
am: ab5de09e7e

Change-Id: Ic7423b2c59cb70ff8a13c8b67e51e5d6e572f278

8 years agoMerge "Mark Serbian in Latin script as non-localized [DO NOT MERGE]" into nyc-dev
Roozbeh Pournader [Mon, 20 Jun 2016 21:39:20 +0000 (21:39 +0000)]
Merge "Mark Serbian in Latin script as non-localized [DO NOT MERGE]" into nyc-dev

8 years agoMerge \\\\"DO NOT MERGE Disable app pinning when emergency call button pressed\\...
Hall Liu [Mon, 20 Jun 2016 21:31:36 +0000 (21:31 +0000)]
Merge \\\\"DO NOT MERGE Disable app pinning when emergency call button pressed\\\\" into mnc-dev am: fc32ec1aef am: aeba34533c am: 317d0cb169
am: edace5e820  -s ours

Change-Id: Iab755e613521b81b0c8df57269e4c7752ae6011e

8 years agoMerge \\\"DO NOT MERGE Disable app pinning when emergency call button pressed\\\...
Hall Liu [Mon, 20 Jun 2016 21:28:09 +0000 (21:28 +0000)]
Merge \\\"DO NOT MERGE Disable app pinning when emergency call button pressed\\\" into mnc-dev am: fc32ec1aef am: aeba34533c
am: 317d0cb169

Change-Id: I9fb47597393f5b1267ec37a05cd9aa34eebebd23

8 years agoMerge \\"DO NOT MERGE Disable app pinning when emergency call button pressed\\" into...
Hall Liu [Mon, 20 Jun 2016 21:21:25 +0000 (21:21 +0000)]
Merge \\"DO NOT MERGE Disable app pinning when emergency call button pressed\\" into mnc-dev am: fc32ec1aef
am: aeba34533c

Change-Id: Id2da5c1dcf1477c5ee71e1ecb25ccfbc92aed7bc

8 years agoDon't re-launch stopped activities while the device is sleeping
Wale Ogunwale [Mon, 20 Jun 2016 21:16:22 +0000 (14:16 -0700)]
Don't re-launch stopped activities while the device is sleeping

Don't ensure configuration for stopped activities while the device
is sleeping as we don't want to relaunch activities in this state.
Note that the right configuration will be applied to the activity
the next time we try to make it visible. The re-launch will happen
then.

Bug: 28518380

Change-Id: Id79d7817ba8f213d89cae6964de09cafe17481f9

8 years agoMerge \"DO NOT MERGE Disable app pinning when emergency call button pressed\" into...
Hall Liu [Mon, 20 Jun 2016 21:15:42 +0000 (21:15 +0000)]
Merge \"DO NOT MERGE Disable app pinning when emergency call button pressed\" into mnc-dev
am: fc32ec1aef

Change-Id: I04ff0004a9112cfbe7e61b2fa6cb3fd4f037bbd0

8 years agoMerge "Revert "Don't re-launch activities while the device is sleeping"" into nyc-dev
TreeHugger Robot [Mon, 20 Jun 2016 21:11:04 +0000 (21:11 +0000)]
Merge "Revert "Don't re-launch activities while the device is sleeping"" into nyc-dev

8 years agoMerge "DO NOT MERGE Disable app pinning when emergency call button pressed" into...
Hall Liu [Mon, 20 Jun 2016 21:04:41 +0000 (21:04 +0000)]
Merge "DO NOT MERGE Disable app pinning when emergency call button pressed" into mnc-dev

8 years agoMerge "Make advanced storage option sticky..." into nyc-dev
TreeHugger Robot [Mon, 20 Jun 2016 20:45:03 +0000 (20:45 +0000)]
Merge "Make advanced storage option sticky..." into nyc-dev

8 years agoMerge "docs: Narnia 2 advertising language update" into nyc-dev
Joe Fernandez [Mon, 20 Jun 2016 20:13:08 +0000 (20:13 +0000)]
Merge "docs: Narnia 2 advertising language update" into nyc-dev

8 years agoMerge "BatteryStats: record best estimated battery capacity" into nyc-dev
TreeHugger Robot [Mon, 20 Jun 2016 19:49:44 +0000 (19:49 +0000)]
Merge "BatteryStats: record best estimated battery capacity" into nyc-dev

8 years agoAdd getApplicationConfigForPackage
Chad Brubaker [Mon, 20 Jun 2016 19:40:20 +0000 (12:40 -0700)]
Add getApplicationConfigForPackage

getApplicationConfigForPackage will be used by system components that
need to make connections for apps, e.g. DownloadManager, so that their
secure connections have the same configuration as those from the app
itself.

Bug: 29505888
Change-Id: Idf1cac6307431911eda34529d3fd50f9ca0da314

8 years agoMerge changes I29ce7659,I2d6310a2,Ic4b29409,I6c5c970f into nyc-dev
Selim Cinek [Mon, 20 Jun 2016 19:11:48 +0000 (19:11 +0000)]
Merge changes I29ce7659,I2d6310a2,Ic4b29409,I6c5c970f into nyc-dev

* changes:
  Fixed a stackoverflow in notifications
  Fixed a bug where a notification was incorrectly marked as removed
  Fixed a potential issue where a notification could be empty
  Fixed a bug where the expanded layout would flash

8 years agoMake advanced storage option sticky...
Steve McKay [Mon, 20 Jun 2016 18:46:56 +0000 (11:46 -0700)]
Make advanced storage option sticky...

...when used from one of the picker modes.

Bug: 29454465
Change-Id: I5f7db04a51023b59121289afd300a13ea071146d

8 years agoMerge "Fix NPE in reading package-usage.list file" into nyc-dev
TreeHugger Robot [Mon, 20 Jun 2016 18:38:45 +0000 (18:38 +0000)]
Merge "Fix NPE in reading package-usage.list file" into nyc-dev

8 years agoMerge "QS: Don't disable hotspot animation when leaving airplane mode" into nyc-dev
Jason Monk [Mon, 20 Jun 2016 18:34:15 +0000 (18:34 +0000)]
Merge "QS: Don't disable hotspot animation when leaving airplane mode" into nyc-dev

8 years agoFix issue #29438842: Enter the "am broadcast -a...
Dianne Hackborn [Mon, 20 Jun 2016 18:22:40 +0000 (11:22 -0700)]
Fix issue #29438842: Enter the "am broadcast -a...

...'android.hardware.action.NEW_PICTURE'" to terminal, but does not have a response.

Change-Id: I264f386810237a7abc767f68363afeccda557b9c

8 years agoMerge "Use newly fetched PackageInfo for loading WebView code." into nyc-dev
Gustav Sennton [Mon, 20 Jun 2016 18:17:05 +0000 (18:17 +0000)]
Merge "Use newly fetched PackageInfo for loading WebView code." into nyc-dev

8 years agoRevert "Don't re-launch activities while the device is sleeping"
Wale Ogunwale [Mon, 20 Jun 2016 17:45:13 +0000 (10:45 -0700)]
Revert "Don't re-launch activities while the device is sleeping"

This reverts commit 0619545be9adca4458cb627c18c211faad6b6275.

Bug: 29497152
Bug: 28518380
Change-Id: I8684b731b1e9973ead7066dc650eff720f70ac91

8 years agoAllow call addSharedAccountsFromParentUser with CREATE_USERS permission.
Sudheer Shanka [Mon, 20 Jun 2016 17:44:30 +0000 (10:44 -0700)]
Allow call addSharedAccountsFromParentUser with CREATE_USERS permission.

Bug: 29189712
Bug: 29500492
Change-Id: I0fca4951d41c14aa1739e01ca15d674b86a15d7c

8 years agoMerge "Make sure fontScale in configuration sent to app is equal to global" into...
Chong Zhang [Mon, 20 Jun 2016 18:02:48 +0000 (18:02 +0000)]
Merge "Make sure fontScale in configuration sent to app is equal to global" into nyc-dev

8 years agoMerge "SystemUI: Override notification app name" into nyc-dev
Adrian Roos [Mon, 20 Jun 2016 18:00:01 +0000 (18:00 +0000)]
Merge "SystemUI: Override notification app name" into nyc-dev

8 years agoBatteryStats: record best estimated battery capacity
Adam Lesinski [Sat, 18 Jun 2016 00:30:01 +0000 (17:30 -0700)]
BatteryStats: record best estimated battery capacity

Using the coulomb counter, record the estimated max battery
capacity.

Bug:28743761
Change-Id: I1270b062cf4a1e6fd69ea1da3de11a85a81b3663

8 years agoMake sure fontScale in configuration sent to app is equal to global
Chong Zhang [Fri, 17 Jun 2016 23:24:21 +0000 (16:24 -0700)]
Make sure fontScale in configuration sent to app is equal to global

We don't want the default value 1.0 from empty config to be applied
as an override.

bug: 29367672
Change-Id: Ia9947c24fa9435ba5b208eb9bd05e0b07b574015

8 years agoMerge "Let bmgr inspect the set of whitelisted transports" into nyc-dev
Chris Tate [Mon, 20 Jun 2016 17:19:50 +0000 (17:19 +0000)]
Merge "Let bmgr inspect the set of whitelisted transports" into nyc-dev

8 years agoFix NPE in reading package-usage.list file
David Brazdil [Mon, 20 Jun 2016 13:06:42 +0000 (14:06 +0100)]
Fix NPE in reading package-usage.list file

A zero-length file is a valid package usage file of version 0 but
checking against the version 1 magic would throw a NPE.

Bug: 29491065
Change-Id: Ie54b1dd3218e4b1251c29db0c784a5ddf605394f

8 years agoMerge "Fix runtime restart when using aggregated net observers." into nyc-dev
Jeff Davidson [Mon, 20 Jun 2016 16:56:13 +0000 (16:56 +0000)]
Merge "Fix runtime restart when using aggregated net observers." into nyc-dev

8 years agoQS: Don't disable hotspot animation when leaving airplane mode
Jason Monk [Mon, 20 Jun 2016 16:39:38 +0000 (12:39 -0400)]
QS: Don't disable hotspot animation when leaving airplane mode

Change-Id: I80750e3c4d63e4d590b43e3ed595100e054e5b1e
Fixes: 29374561

8 years agoMerge "Don't reference variables before they are assigned." into nyc-dev
Julia Reynolds [Mon, 20 Jun 2016 16:40:29 +0000 (16:40 +0000)]
Merge "Don't reference variables before they are assigned." into nyc-dev

8 years agodocs: Narnia 2 advertising language update
Joe Fernandez [Mon, 20 Jun 2016 16:08:46 +0000 (09:08 -0700)]
docs: Narnia 2 advertising language update

b/29009702

Change-Id: Icd060074413c53d6ad24e2919dc80be949a2260c

8 years agoMerge "PackageManager: Don't fail app installs if dexopt fails." into nyc-dev
Narayan Kamath [Mon, 20 Jun 2016 15:19:29 +0000 (15:19 +0000)]
Merge "PackageManager: Don't fail app installs if dexopt fails." into nyc-dev

8 years agoRemove @return from void API javadoc
Robin Lee [Fri, 17 Jun 2016 11:54:21 +0000 (12:54 +0100)]
Remove @return from void API javadoc

Fix: 29500429
Change-Id: Ieddf211ad881e2e48bf593dcde6d262dd5be6c5c
(cherry picked from commit b3d6b13ad5fffaad82da4c060ba1a064a445456a)

8 years agoDon't reference variables before they are assigned.
Julia Reynolds [Mon, 20 Jun 2016 13:39:37 +0000 (09:39 -0400)]
Don't reference variables before they are assigned.

Rare but technically possible.

Change-Id: I375cd1ac0bef5b6c7295618bef087554114c3cdd
Fixes: 29394773

8 years agoUse newly fetched PackageInfo for loading WebView code.
Gustav Sennton [Fri, 17 Jun 2016 13:02:52 +0000 (14:02 +0100)]
Use newly fetched PackageInfo for loading WebView code.

During a time window between the point at which a webview package
becomes updated and the WebViewUpdateService receiving an intent
declaring this action the WebViewUpdateService APIs will return a
PackageInfo pointing to an old and possibly removed WebView package.
This means that any paths that PackageInfo is referring to could have
been removed.

Currently, we set WebViewFactory.sPackageInfo using one of these APIs
and we might thus try to use deleted paths to to load WebView. This can
cause crashes, so instead fetch a fresh PackageInfo and assign
WebViewFactory.sPackageInfo to that.

Also early-out in loadWebViewNativeLibraryFromPackage if the current
package version doesn't match that of the one fetched from the
WebViewUpdateService.

Bug: 29381682
Change-Id: I2713ce2338a4a96c5317dcdbb363b424513088d5

8 years agoMerge "QS: Fix missing tiles" into nyc-dev
Jason Monk [Mon, 20 Jun 2016 13:26:02 +0000 (13:26 +0000)]
Merge "QS: Fix missing tiles" into nyc-dev

8 years agoPackageManager: Don't fail app installs if dexopt fails.
Narayan Kamath [Mon, 20 Jun 2016 12:33:50 +0000 (13:33 +0100)]
PackageManager: Don't fail app installs if dexopt fails.

bug: 29493857
Change-Id: I953de204319b943d9389bb4c787f859e169e8d21

8 years agoMerge "Fix for the missing sync bug" into nyc-dev
Shreyas Basarge [Mon, 20 Jun 2016 09:17:20 +0000 (09:17 +0000)]
Merge "Fix for the missing sync bug" into nyc-dev

8 years agoMerge "assume a generous prior in the rate estimator" into nyc-dev
Chris Wren [Sat, 18 Jun 2016 19:28:16 +0000 (19:28 +0000)]
Merge "assume a generous prior in the rate estimator" into nyc-dev

8 years agoFixed a stackoverflow in notifications
Selim Cinek [Sat, 18 Jun 2016 04:01:32 +0000 (21:01 -0700)]
Fixed a stackoverflow in notifications

Change-Id: I29ce76593af81ad6e326d2e273fd872a4d9d4a89
Fixes: 29464060

8 years agoFixed a bug where a notification was incorrectly marked as removed
Selim Cinek [Sat, 18 Jun 2016 03:04:16 +0000 (20:04 -0700)]
Fixed a bug where a notification was incorrectly marked as removed

When unauto-bundled, it could lead to serious bugs on the lockscreen
and the header not being restored.

Change-Id: I2d6310a2bcb2f3a60402db5f1e522954f8bd0389
Fixes: 29463339

8 years agoMerge "DO NOT MERGE Move SurfaceView offscreen if the app stops drawing it" into...
TreeHugger Robot [Sat, 18 Jun 2016 02:07:04 +0000 (02:07 +0000)]
Merge "DO NOT MERGE Move SurfaceView offscreen if the app stops drawing it" into nyc-dev