OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Avoid throwing when 0 size layer requested" into nyc-mr1-dev
Chris Craik [Mon, 11 Jul 2016 21:18:20 +0000 (21:18 +0000)]
Merge "Avoid throwing when 0 size layer requested" into nyc-mr1-dev

8 years agoMerge changes from topic 'stune' into nyc-mr1-dev
Tim Murray [Mon, 11 Jul 2016 20:29:38 +0000 (20:29 +0000)]
Merge changes from topic 'stune' into nyc-mr1-dev

* changes:
  Put bootanimation in top-app stune group.
  Sets android.ui to be in the fg stune group.

8 years agoMerge \"docs: fixed broken link in UsbManager javadocs\" into nyc-dev
Mark Lu [Mon, 11 Jul 2016 20:20:31 +0000 (20:20 +0000)]
Merge \"docs: fixed broken link in UsbManager javadocs\" into nyc-dev
am: 162a6fad72

Change-Id: If11947a089756b7ca72f6a579d4b1cbe54535185

8 years agoMerge \"docs: Fixed logic for determining image sample size\" into nyc-dev
Mark Lu [Mon, 11 Jul 2016 20:20:26 +0000 (20:20 +0000)]
Merge \"docs: Fixed logic for determining image sample size\" into nyc-dev
am: 025ad10a9b

Change-Id: Ief4a9e36190f2906b4e98ceb3805b6053e7ae7e8

8 years agoMerge \"docs: fix syntax error in \"Saving Files\" document\" into nyc-dev
Mark Lu [Mon, 11 Jul 2016 20:20:23 +0000 (20:20 +0000)]
Merge \"docs: fix syntax error in \"Saving Files\" document\" into nyc-dev
am: 58be01168a

Change-Id: I450ec7534140e604e7e3b76402a85a338437f582

8 years agoMerge \"docs: Updated link to UI Automator reference in \"Testing UI\" doc\" into...
Mark Lu [Mon, 11 Jul 2016 20:20:20 +0000 (20:20 +0000)]
Merge \"docs: Updated link to UI Automator reference in \"Testing UI\" doc\" into nyc-dev
am: 9c0b602beb

Change-Id: Ia7d5019e9b291fe7202c862daaa91983e36cd6ec

8 years agoMerge \"docs: remove out-of-date performance info\" into nyc-dev
Mark Lu [Mon, 11 Jul 2016 20:20:18 +0000 (20:20 +0000)]
Merge \"docs: remove out-of-date performance info\" into nyc-dev
am: 62f199ed9f

Change-Id: I9f84d877c40c0dfa2bd63cb3548f9439988129a4

8 years agoMerge "docs: fixed broken link in UsbManager javadocs" into nyc-dev
Mark Lu [Mon, 11 Jul 2016 20:13:46 +0000 (20:13 +0000)]
Merge "docs: fixed broken link in UsbManager javadocs" into nyc-dev

8 years agoMerge "docs: Fixed logic for determining image sample size" into nyc-dev
Mark Lu [Mon, 11 Jul 2016 20:13:34 +0000 (20:13 +0000)]
Merge "docs: Fixed logic for determining image sample size" into nyc-dev

8 years agoMerge "docs: fix syntax error in "Saving Files" document" into nyc-dev
Mark Lu [Mon, 11 Jul 2016 20:13:02 +0000 (20:13 +0000)]
Merge "docs: fix syntax error in "Saving Files" document" into nyc-dev

8 years agoMerge "docs: Updated link to UI Automator reference in "Testing UI" doc" into nyc-dev
Mark Lu [Mon, 11 Jul 2016 20:12:59 +0000 (20:12 +0000)]
Merge "docs: Updated link to UI Automator reference in "Testing UI" doc" into nyc-dev

8 years agoMerge "BootAnimation: Use npot textures" into nyc-mr1-dev
Geoffrey Pitsch [Mon, 11 Jul 2016 20:12:38 +0000 (20:12 +0000)]
Merge "BootAnimation: Use npot textures" into nyc-mr1-dev

8 years agoMerge "docs: remove out-of-date performance info" into nyc-dev
Mark Lu [Mon, 11 Jul 2016 20:12:32 +0000 (20:12 +0000)]
Merge "docs: remove out-of-date performance info" into nyc-dev

8 years agoMerge "Wait until end of BootAnimation to free looping textures" into nyc-mr1-dev
Geoffrey Pitsch [Mon, 11 Jul 2016 20:11:17 +0000 (20:11 +0000)]
Merge "Wait until end of BootAnimation to free looping textures" into nyc-mr1-dev

8 years agoMerge \\\"docs: work - fix app restriction string values\\\" into mnc-io-docs am...
Billy Lamberta [Mon, 11 Jul 2016 19:53:30 +0000 (19:53 +0000)]
Merge \\\"docs: work - fix app restriction string values\\\" into mnc-io-docs am: de37b1b270 am: 4b353b2a78
am: 0e6f2097d3

Change-Id: Iffdc8793dac1d6d803cc27e6b6fe04344b96b9a9

8 years agoMerge \\"docs: work - fix app restriction string values\\" into mnc-io-docs am: de37b...
Billy Lamberta [Mon, 11 Jul 2016 19:43:56 +0000 (19:43 +0000)]
Merge \\"docs: work - fix app restriction string values\\" into mnc-io-docs am: de37b1b270
am: 4b353b2a78

Change-Id: I003422f613a5fe459c1ddf8f9453663f3145a8db

8 years agoAdded new partner logos to Auto index page. am: 94b61a29f5 am: 9c513f47c8
sreevanis [Mon, 11 Jul 2016 19:43:55 +0000 (19:43 +0000)]
Added new partner logos to Auto index page. am: 94b61a29f5 am: 9c513f47c8
am: b222c3127d

Change-Id: I905659b9223dab2717832c14ad17e62429d486b1

8 years agoAvoid throwing when 0 size layer requested
Chris Craik [Mon, 11 Jul 2016 19:20:51 +0000 (12:20 -0700)]
Avoid throwing when 0 size layer requested

bug:30032790

Change-Id: I8553af0d0b0d59fea6535d03479c4e7134a9f4f9

8 years agoMerge "Stop listening for WiFi interface status changes" into nyc-mr1-dev
TreeHugger Robot [Mon, 11 Jul 2016 19:20:47 +0000 (19:20 +0000)]
Merge "Stop listening for WiFi interface status changes" into nyc-mr1-dev

8 years agoMerge \"docs: work - fix app restriction string values\" into mnc-io-docs
Billy Lamberta [Mon, 11 Jul 2016 19:12:42 +0000 (19:12 +0000)]
Merge \"docs: work - fix app restriction string values\" into mnc-io-docs
am: de37b1b270

Change-Id: Ib99f87a7e4226462a936f87610e968562e3b0da6

8 years agoAdded new partner logos to Auto index page. am: 94b61a29f5
sreevanis [Mon, 11 Jul 2016 19:06:51 +0000 (19:06 +0000)]
Added new partner logos to Auto index page. am: 94b61a29f5
am: 9c513f47c8

Change-Id: I3b218a0b80fb426ac3d567e7c87a6186529c4986

8 years agoPut bootanimation in top-app stune group.
Tim Murray [Mon, 11 Jul 2016 18:41:52 +0000 (11:41 -0700)]
Put bootanimation in top-app stune group.

bug 29512132

Change-Id: Id39650177b1f3b1ca24edb72b2809ee4ded396a1

8 years agoMerge "docs: work - fix app restriction string values" into mnc-io-docs
Billy Lamberta [Mon, 11 Jul 2016 18:21:25 +0000 (18:21 +0000)]
Merge "docs: work - fix app restriction string values" into mnc-io-docs

8 years agoAdded new partner logos to Auto index page.
sreevanis [Mon, 11 Jul 2016 18:18:48 +0000 (18:18 +0000)]
Added new partner logos to Auto index page.
am: 94b61a29f5

Change-Id: Ifc650de7ba4e5871b2fb7d38e9a7f4a0b2cc4e2c

8 years agoMerge "Add WearWifiMediatorService to SystemServer." into nyc-mr1-dev
Nancy Zheng [Mon, 11 Jul 2016 18:14:26 +0000 (18:14 +0000)]
Merge "Add WearWifiMediatorService to SystemServer." into nyc-mr1-dev

8 years agoMerge "ShortcutManager javadoc" into nyc-mr1-dev
Makoto Onuki [Mon, 11 Jul 2016 17:48:49 +0000 (17:48 +0000)]
Merge "ShortcutManager javadoc" into nyc-mr1-dev

8 years agoMerge "Fix potential loophole where ime adjust notification is not sent" into nyc...
Chong Zhang [Mon, 11 Jul 2016 17:17:02 +0000 (17:17 +0000)]
Merge "Fix potential loophole where ime adjust notification is not sent" into nyc-mr1-dev

8 years agoWait until end of BootAnimation to free looping textures
Geoffrey Pitsch [Wed, 6 Jul 2016 20:16:20 +0000 (16:16 -0400)]
Wait until end of BootAnimation to free looping textures

glDeleteTextures causes a noticeable framerate hitch when switching to
the outro.  By the time looping is finished, the system has finished
booting, so freeing the textures immediately is less beneficial.

Bug: 29878551
Bug: 30040263
Change-Id: I5a404a6e18cd2cf64d6c94343f82fa5db8dfbab3

8 years agoBootAnimation: Use npot textures
Sai Kiran Korwar [Tue, 7 Jul 2015 14:30:06 +0000 (20:00 +0530)]
BootAnimation: Use npot textures

If non power of two textures are supported, then use
npot texture for specifying the images supplied by vendor.
This will reduce the memory footprint of the app by a considerable
amount.

Bug: 28865582
Bug: 30040263
Change-Id: I5cef98fb013318d60d8a648041c9665da68c0ff3

8 years agoShortcutManager javadoc
Makoto Onuki [Thu, 7 Jul 2016 20:57:34 +0000 (13:57 -0700)]
ShortcutManager javadoc

Bug 29515722

Change-Id: If4805a7f28a2ee602094fca06eb1ff30f258dc1e

8 years agoStop listening for WiFi interface status changes
Christopher Wiley [Fri, 8 Jul 2016 16:33:50 +0000 (09:33 -0700)]
Stop listening for WiFi interface status changes

Bug: 29931437
Test: Can toggle tethering on and off repeated on shamu and an
      upcoming device, both devices without a SIM.
Test: Can toggle tethering on and off repeated on an
      upcoming device with a T-Mobile SIM.

Change-Id: I4986b1a5f6ae9b45010bd30639806f7ed63a605c

8 years agoMerge "Add carrier config for WFC promo mode." into nyc-mr1-dev
Tyler Gunn [Mon, 11 Jul 2016 15:04:29 +0000 (15:04 +0000)]
Merge "Add carrier config for WFC promo mode." into nyc-mr1-dev

8 years agoMerge "Add bound checks to utf16_to_utf8" into nyc-mr1-dev
Sergio Giro [Mon, 11 Jul 2016 12:11:30 +0000 (12:11 +0000)]
Merge "Add bound checks to utf16_to_utf8" into nyc-mr1-dev

8 years agoSupport requesting async LinkProperties/NetworkCapabilities updates
Erik Kline [Thu, 7 Jul 2016 07:50:58 +0000 (16:50 +0900)]
Support requesting async LinkProperties/NetworkCapabilities updates

Bug: 9580643
Change-Id: I1d7ba7645c20d7d53f6eef777dfce43727940f13

8 years agoBasic IPv6 Router Advertisement daemon
Erik Kline [Tue, 24 May 2016 11:12:08 +0000 (20:12 +0900)]
Basic IPv6 Router Advertisement daemon

Bug: 9580643
Change-Id: Iebd4d1f694699ffd4daf7d71e9b9d8f49e9b632f

8 years agoAdded new partner logos to Auto index page.
sreevanis [Thu, 26 May 2016 21:34:12 +0000 (14:34 -0700)]
Added new partner logos to Auto index page.

lincoln.png, renault.png, rsm.png, tata.png, mbenz.png, opel.png

Bug:28123362
Change-Id: I87c5a3fd5a614dbce79c889cf4e4e14e25e54dae

8 years agoMerge \"Fix simple typo in System Permissions guide\" into nyc-dev
Wonil Kim [Mon, 11 Jul 2016 00:36:14 +0000 (00:36 +0000)]
Merge \"Fix simple typo in System Permissions guide\" into nyc-dev
am: a2f3c8fb0b

Change-Id: I6aa06a7df365546bec88c65ba58b58869591f187

8 years agoMerge "Fix simple typo in System Permissions guide" into nyc-dev
Wonil Kim [Mon, 11 Jul 2016 00:20:44 +0000 (00:20 +0000)]
Merge "Fix simple typo in System Permissions guide" into nyc-dev

8 years agoMerge "Rename disable add call extra" into nyc-mr1-dev
Hall Liu [Sat, 9 Jul 2016 01:03:19 +0000 (01:03 +0000)]
Merge "Rename disable add call extra" into nyc-mr1-dev

8 years agoMerge "Fix UiBench MainActivity fragment" into nyc-mr1-dev
Chris Craik [Sat, 9 Jul 2016 00:31:58 +0000 (00:31 +0000)]
Merge "Fix UiBench MainActivity fragment" into nyc-mr1-dev

8 years agoMerge "Add a secure setting for double twist gesture for camera flip." into nyc-mr1-dev
Doris Ling [Fri, 8 Jul 2016 23:58:45 +0000 (23:58 +0000)]
Merge "Add a secure setting for double twist gesture for camera flip." into nyc-mr1-dev

8 years agoMerge "Add Dolby TrueHD audio format" into nyc-mr1-dev
Eric Laurent [Fri, 8 Jul 2016 23:08:00 +0000 (23:08 +0000)]
Merge "Add Dolby TrueHD audio format" into nyc-mr1-dev

8 years agoSets android.ui to be in the fg stune group.
Tim Murray [Fri, 8 Jul 2016 22:45:45 +0000 (15:45 -0700)]
Sets android.ui to be in the fg stune group.

setThreadGroup(TOP_APP) will place a thread in the fg stune group but
not the top_app cpuset. This allows android.ui to get more runtime to
render transitions between activities without impacting its CPU
placement.

bug 29512132

Change-Id: I95e031975f83290f88ac6e538abf1062aea27ed4

8 years agoRename disable add call extra
Hall Liu [Wed, 6 Jul 2016 23:32:43 +0000 (16:32 -0700)]
Rename disable add call extra

Used to be DISABLE_ADD_CALL_DURING_VIDEO_CALL, now just
DISABLE_ADD_CALL. The meaning has also changed -- having the extra set
means that adding calls should be disabled no matter what.

Bug: 29047863
Change-Id: Icd8966492b264a9c64dc4880080a706032f0759c

8 years agoMerge "Preparations for different scrim depending on wallpaper" into nyc-mr1-dev
TreeHugger Robot [Fri, 8 Jul 2016 22:13:50 +0000 (22:13 +0000)]
Merge "Preparations for different scrim depending on wallpaper" into nyc-mr1-dev

8 years agoMerge "Improve initial unlock delay (1/2)" into nyc-mr1-dev
TreeHugger Robot [Fri, 8 Jul 2016 22:03:48 +0000 (22:03 +0000)]
Merge "Improve initial unlock delay (1/2)" into nyc-mr1-dev

8 years agoAdd a secure setting for double twist gesture for camera flip.
Doris Ling [Wed, 6 Jul 2016 20:39:05 +0000 (13:39 -0700)]
Add a secure setting for double twist gesture for camera flip.

Add Secure.CAMERA_DOUBLE_TWIST_TO_FLIP_ENABLED to control whether the
double twist gesture should flip the camera between front and back mode
is enabled or not. Also move SYSTEM_NAVIGATION_KEYS_ENABLED from
Global to Secure.

Bug: 29869445
Change-Id: I614289e6de7b1ee4221de7047a5e0dd784607bed

8 years agoMerge "Add Night display feature" into nyc-mr1-dev
Justin Klaassen [Fri, 8 Jul 2016 21:07:47 +0000 (21:07 +0000)]
Merge "Add Night display feature" into nyc-mr1-dev

8 years agoMerge "Camera2: Add @hide variant for openCamera for UID forwarding" into nyc-mr1-dev
TreeHugger Robot [Fri, 8 Jul 2016 21:02:49 +0000 (21:02 +0000)]
Merge "Camera2: Add @hide variant for openCamera for UID forwarding" into nyc-mr1-dev

8 years agoMerge "Updated margins and spacing of preferences for watch type devices." into nyc...
Michael Kwan [Fri, 8 Jul 2016 20:44:24 +0000 (20:44 +0000)]
Merge "Updated margins and spacing of preferences for watch type devices." into nyc-mr1-dev

8 years agoMerge "Remove "Night mode" from tuner" into nyc-mr1-dev
TreeHugger Robot [Fri, 8 Jul 2016 20:14:42 +0000 (20:14 +0000)]
Merge "Remove "Night mode" from tuner" into nyc-mr1-dev

8 years agoAdd WearWifiMediatorService to SystemServer.
Nancy Zheng [Fri, 8 Jul 2016 19:55:48 +0000 (12:55 -0700)]
Add WearWifiMediatorService to SystemServer.

Bug: 28347905
Change-Id: I4218f908f83eb3a9fe3f75e5d6eaf312c652ba67

8 years agoMerge \"More javadoc for audio recording activity API\" into nyc-dev
Jean-Michel Trivi [Fri, 8 Jul 2016 19:49:09 +0000 (19:49 +0000)]
Merge \"More javadoc for audio recording activity API\" into nyc-dev
am: 8d5fd92314

Change-Id: If513added909df2135fb57a2f86804edec821177

8 years agoMerge "More javadoc for audio recording activity API" into nyc-dev
Jean-Michel Trivi [Fri, 8 Jul 2016 19:36:32 +0000 (19:36 +0000)]
Merge "More javadoc for audio recording activity API" into nyc-dev

8 years agoCamera2: Add @hide variant for openCamera for UID forwarding
Eino-Ville Talvala [Fri, 8 Jul 2016 19:11:11 +0000 (12:11 -0700)]
Camera2: Add @hide variant for openCamera for UID forwarding

Trusted services may open a camera device on behalf of some client
of theirs; such services need to forward the UID of their client to
the camera service for validation of permissions, etc.

Add a variant of openCamera that makes this simple, only accessible
to unbundled services for now.  Only services explicitly trusted
by the camera service can pass an argument other than USE_CALLING_UID
to this method.

Bug: 27616192
Change-Id: Idb06112201b805a8b5c979b5f0761fec1c6994a3

8 years agoMerge "Use visible paths when cleaning up MediaStore." into nyc-mr1-dev
TreeHugger Robot [Fri, 8 Jul 2016 19:01:08 +0000 (19:01 +0000)]
Merge "Use visible paths when cleaning up MediaStore." into nyc-mr1-dev

8 years agoImprove initial unlock delay (1/2)
Jorim Jaggi [Fri, 1 Jul 2016 06:41:37 +0000 (23:41 -0700)]
Improve initial unlock delay (1/2)

When checking for the credentials, we add a new callback
onEarlyVerified which gets called as soon as we know that the
credential was correct.

In KeyguardUpdateMonitor, we track the unlocked state of the user,
and if it's still locked, we slow down all the transitions to allow
for a more gradual unlock experience.

Bug: 29007436

Change-Id: I406d228f9f3e41e07fe3292a61df175a7f579e4d

8 years agoAdd Night display feature
Justin Klaassen [Wed, 22 Jun 2016 01:24:24 +0000 (18:24 -0700)]
Add Night display feature

Bug: 28615069

Tints the display at night automatically according to your schedule or
using the sunrise/sunset corresponding to your current location.

Change-Id: Ie56b4eed88cc2fcbae88002492b1edad5820b6b1

8 years agoRemove "Night mode" from tuner
Justin Klaassen [Tue, 21 Jun 2016 15:55:55 +0000 (08:55 -0700)]
Remove "Night mode" from tuner

Bug: 28887927
Change-Id: Ic1c217152e56db63a87a1f1e772696d97b4b58b3

8 years agoMerge "Revert "Frameworks/base: Refactor UserHandle and Environment a bit"" into...
Andreas Gampe [Fri, 8 Jul 2016 18:09:52 +0000 (18:09 +0000)]
Merge "Revert "Frameworks/base: Refactor UserHandle and Environment a bit"" into nyc-mr1-dev

8 years agoMerge "Updates to the sound trigger test app" into nyc-mr1-dev
Chris Thornton [Fri, 8 Jul 2016 17:47:51 +0000 (17:47 +0000)]
Merge "Updates to the sound trigger test app" into nyc-mr1-dev

8 years agoUse visible paths when cleaning up MediaStore.
Jeff Sharkey [Fri, 8 Jul 2016 17:06:58 +0000 (11:06 -0600)]
Use visible paths when cleaning up MediaStore.

The media scanner always records visible paths, so we need to use
visible paths when cleaning up deleted records.

Bug: 28581384
Change-Id: I8a2c65001216e4a96b2375579363a771de782bcc

8 years agoMerge "Making timeouts configurable through Settings" into nyc-mr1-dev
TreeHugger Robot [Fri, 8 Jul 2016 14:36:33 +0000 (14:36 +0000)]
Merge "Making timeouts configurable through Settings" into nyc-mr1-dev

8 years agoRevert "Frameworks/base: Refactor UserHandle and Environment a bit"
Andreas Gampe [Fri, 8 Jul 2016 03:50:27 +0000 (03:50 +0000)]
Revert "Frameworks/base: Refactor UserHandle and Environment a bit"

Breaks monkey in root mode.

This reverts commit 6e16714c688ed9c52763696f5a5e7b90802a471b.

Bug: 29338430
Change-Id: I238f89dad77d7dcae6d02eccbda52eb9c6c6466c

8 years agoAdd Dolby TrueHD audio format
Eric Laurent [Fri, 8 Jul 2016 01:58:11 +0000 (18:58 -0700)]
Add Dolby TrueHD audio format

Format is not public for now.
Unhide at next API bump.

Bug: 30024357
Change-Id: Ic307214d8ac8b7bb57609bf609366968efafd7cc

8 years agoUpdated margins and spacing of preferences for watch type devices.
Michael Kwan [Thu, 7 Jul 2016 23:12:23 +0000 (16:12 -0700)]
Updated margins and spacing of preferences for watch type devices.

Bug: 27962897
Change-Id: I2625925bd972a574d40d22593dfdf35f80529a7c

8 years agoMerge "Add values to ApplicationInfoFlags" into nyc-mr1-dev
TreeHugger Robot [Thu, 7 Jul 2016 23:15:25 +0000 (23:15 +0000)]
Merge "Add values to ApplicationInfoFlags" into nyc-mr1-dev

8 years agoMerge "Fix bug with launching home activity from LockSettingsService" into nyc-mr1-dev
TreeHugger Robot [Thu, 7 Jul 2016 22:32:09 +0000 (22:32 +0000)]
Merge "Fix bug with launching home activity from LockSettingsService" into nyc-mr1-dev

8 years agoUpdates to the sound trigger test app
Chris Thornton [Fri, 1 Jul 2016 05:05:51 +0000 (22:05 -0700)]
Updates to the sound trigger test app

Moved the logic for talking to the system service into a service in the
app - this now lets you close the activity and still be able to receive
events. Additionally, we get CLI support using commands with the intent
com.android.intent.action.MANAGE_SOUND_TRIGGER.

Bug: 29073629

Change-Id: Ie904b73b4414f2c9fded013aeb5e6c6c3a67f5d3

8 years agoAdd values to ApplicationInfoFlags
Todd Kennedy [Thu, 7 Jul 2016 21:29:06 +0000 (14:29 -0700)]
Add values to ApplicationInfoFlags

Need to add MATCH_DISABLED_UNTIL_USED_COMPONENTS [and the deprecated
GET_DISABLED_UNTIL_USED_COMPONENTS] since those are used when building
the ApplicationInfo object.

Bug: 29824931
Change-Id: I09b24427222fed082f0946717826d2e0db857c7a

8 years agoMaking timeouts configurable through Settings
Suprabh Shukla [Wed, 6 Jul 2016 23:32:56 +0000 (16:32 -0700)]
Making timeouts configurable through Settings

Adding a global setting for timeouts used in retail demo mode.
Also renaming the protected intent ACTION_RESET_DEMO to reflect proper
owner package.

Bug: 29917613
Change-Id: I9a174503626ab28cceb5024a8e63d27612439b92

8 years agoMerge "Hide more shortcut APIs" into nyc-mr1-dev
Makoto Onuki [Thu, 7 Jul 2016 20:52:21 +0000 (20:52 +0000)]
Merge "Hide more shortcut APIs" into nyc-mr1-dev

8 years agoMerge \"SoundPool: fix enforced camera shutter sound\" into nyc-dev
Eric Laurent [Thu, 7 Jul 2016 20:49:13 +0000 (20:49 +0000)]
Merge \"SoundPool: fix enforced camera shutter sound\" into nyc-dev
am: a2266f7a0f

Change-Id: Ibb406207b55a532fdb42a68d0787b851deec8d05

8 years agoMerge "API 25 is frozen, so we can't change API." into nyc-mr1-dev
Jeff Sharkey [Thu, 7 Jul 2016 20:41:37 +0000 (20:41 +0000)]
Merge "API 25 is frozen, so we can't change API." into nyc-mr1-dev

8 years agoMerge "Adding debugging for last active time." into nyc-mr1-dev
TreeHugger Robot [Thu, 7 Jul 2016 20:40:36 +0000 (20:40 +0000)]
Merge "Adding debugging for last active time." into nyc-mr1-dev

8 years agoMerge "SoundPool: fix enforced camera shutter sound" into nyc-dev
Eric Laurent [Thu, 7 Jul 2016 20:36:59 +0000 (20:36 +0000)]
Merge "SoundPool: fix enforced camera shutter sound" into nyc-dev

8 years agoMerge "Suppress PRE_BOOT notifications for some profiles." into nyc-mr1-dev
TreeHugger Robot [Thu, 7 Jul 2016 20:31:35 +0000 (20:31 +0000)]
Merge "Suppress PRE_BOOT notifications for some profiles." into nyc-mr1-dev

8 years agoMerge changes from topic 'fifo' into nyc-mr1-dev
Tim Murray [Thu, 7 Jul 2016 20:29:22 +0000 (20:29 +0000)]
Merge changes from topic 'fifo' into nyc-mr1-dev

* changes:
  Add new mode for SCHED_FIFO on UI and RenderThreads.
  Add isThreadInProcess.

8 years agoMerge "Treat everyone the same." into nyc-mr1-dev
TreeHugger Robot [Thu, 7 Jul 2016 20:20:00 +0000 (20:20 +0000)]
Merge "Treat everyone the same." into nyc-mr1-dev

8 years agoAdd new mode for SCHED_FIFO on UI and RenderThreads.
Tim Murray [Fri, 10 Jun 2016 17:03:20 +0000 (10:03 -0700)]
Add new mode for SCHED_FIFO on UI and RenderThreads.

Add a new mode, controlled by sys.use_fifo_ui property, that enables the
top app's UI and RenderThread to be SCHED_FIFO. This eliminates almost
all jank due to scheduling competition with non-UI critical
threads. This mode may not be suitable for all devices.

bug 24503801

Change-Id: I7b8a31830ad80f7efa00236928d5476998ed4e00

8 years agoMerge "Fix comment. The color is cyan 500 not teal." into nyc-mr1-dev
TreeHugger Robot [Thu, 7 Jul 2016 19:52:57 +0000 (19:52 +0000)]
Merge "Fix comment. The color is cyan 500 not teal." into nyc-mr1-dev

8 years agoFix UiBench MainActivity fragment
Chris Craik [Thu, 30 Jun 2016 22:49:51 +0000 (15:49 -0700)]
Fix UiBench MainActivity fragment

fixes: 30015965

Changes ListFragment to no longer be anonymous (so it can be properly
recreated from instance state).

Change-Id: I521fb9bf7306a07d5179ad945d64e8977640cc5b
(cherry picked from commit 0ede07d4bd59b4a2108fda1cd4ab767cc0058fb8)

8 years agoMerge "Remove "starting apps" boot message." into nyc-mr1-dev
TreeHugger Robot [Thu, 7 Jul 2016 19:37:23 +0000 (19:37 +0000)]
Merge "Remove "starting apps" boot message." into nyc-mr1-dev

8 years agoMerge "Make pinning files async in a background thread" into nyc-mr1-dev
TreeHugger Robot [Thu, 7 Jul 2016 19:35:26 +0000 (19:35 +0000)]
Merge "Make pinning files async in a background thread" into nyc-mr1-dev

8 years agoMerge "Move voice interaction callback list to VoiceInteractionManagerService" into...
Annie Chin [Thu, 7 Jul 2016 19:30:41 +0000 (19:30 +0000)]
Merge "Move voice interaction callback list to VoiceInteractionManagerService" into nyc-mr1-dev

8 years agoadd redirect for URL hard-coded into the default proguard config file, and update...
smain@google.com [Thu, 7 Jul 2016 19:26:10 +0000 (19:26 +0000)]
add redirect for URL hard-coded into the default proguard config file, and update related redirects for the entire /guide/developing/ path.
am: 3bd0cec491

Change-Id: I4b6f7200c2ff403b74f1305b9779950bf98d3a67

8 years agoAPI 25 is frozen, so we can't change API.
Jeff Sharkey [Thu, 7 Jul 2016 19:18:06 +0000 (13:18 -0600)]
API 25 is frozen, so we can't change API.

Bug: 29239768
Change-Id: Ib7777bcc299a3c1d33e51f3b72374b94842136cb

8 years agoadd redirect for URL hard-coded into the default proguard config file,
smain@google.com [Thu, 7 Jul 2016 19:13:36 +0000 (12:13 -0700)]
add redirect for URL hard-coded into the default proguard config file,
and update related redirects for the entire /guide/developing/ path.

Change-Id: Ie23791e3765ff821d9abba220ebdde782d6439ed

8 years agoMove voice interaction callback list to VoiceInteractionManagerService
Annie Chin [Thu, 7 Jul 2016 18:57:33 +0000 (11:57 -0700)]
Move voice interaction callback list to VoiceInteractionManagerService

Bug: 30005941

Change-Id: I23b3bba8b4525068b0f032d5ca908c0f1d181558

8 years agoHide more shortcut APIs
Makoto Onuki [Thu, 7 Jul 2016 18:51:52 +0000 (11:51 -0700)]
Hide more shortcut APIs

Change-Id: I911b4963b878e67ad2084190ac080e8555ba63c0

8 years agoSuppress PRE_BOOT notifications for some profiles.
Jeff Sharkey [Thu, 7 Jul 2016 18:33:48 +0000 (12:33 -0600)]
Suppress PRE_BOOT notifications for some profiles.

When a profile is unlocked as a side effect of it's parent user being
unlocked, it's confusing to see two sets of identical notifications,
so suppress the set belonging to the profile.

Profile notifications are still shown when the profile has a separate
authentication challenge.

Bug: 29931646
Change-Id: Id8d621451996c9e2f159560894596292ceb00f8d

8 years agoAdding debugging for last active time.
Winson [Thu, 7 Jul 2016 18:48:34 +0000 (11:48 -0700)]
Adding debugging for last active time.

Bug: 29947804
Change-Id: I4ab1dc3c380d3552aaaff4f811171cdc66e05474

8 years agoSoundPool: fix enforced camera shutter sound
Eric Laurent [Thu, 7 Jul 2016 18:35:13 +0000 (11:35 -0700)]
SoundPool: fix enforced camera shutter sound

Make sure that camera shutter sound is played in
total silence DND mode when enforced by country
regulation.

Bug: 29973005
Change-Id: I208f7ae5b07777eac48597f68feae6358999b2c3

8 years agoMerge \\\"docs: Edited \\\"Promote with Ads\\\" page; created \\\"Nearby\\\" feature...
Kevin Hufnagle [Thu, 7 Jul 2016 18:32:09 +0000 (18:32 +0000)]
Merge \\\"docs: Edited \\\"Promote with Ads\\\" page; created \\\"Nearby\\\" feature page.\\\" into mnc-io-docs am: 31302819c1 am: 5301f68827
am: 557b747fb4

Change-Id: Id6f969efd5f636d3c20e8e8fe073b033f02210ab

8 years agoMerge \\\"docs: Updated \\\"payments\\\" page; created new \\\"drive conversions...
Kevin Hufnagle [Thu, 7 Jul 2016 18:32:04 +0000 (18:32 +0000)]
Merge \\\"docs: Updated \\\"payments\\\" page; created new \\\"drive conversions\\\" page.\\\" into mnc-io-docs am: a021c2d3e6 am: 11935fbcc9
am: 02fcab7f43

Change-Id: Ie3448b4dbf85afa36b9a39e07683fe5386d83156

8 years agoMerge \\"docs: Edited \\"Promote with Ads\\" page; created \\"Nearby\\" feature page...
Joe Fernandez [Thu, 7 Jul 2016 18:21:05 +0000 (18:21 +0000)]
Merge \\"docs: Edited \\"Promote with Ads\\" page; created \\"Nearby\\" feature page.\\" into mnc-io-docs am: 31302819c1
am: 5301f68827

Change-Id: Ic59d70a5ce5693ed0facdc07e37dd23a7cfae061

8 years agoMerge \\"docs: Updated \\"payments\\" page; created new \\"drive conversions\\" page...
Joe Fernandez [Thu, 7 Jul 2016 18:20:58 +0000 (18:20 +0000)]
Merge \\"docs: Updated \\"payments\\" page; created new \\"drive conversions\\" page.\\" into mnc-io-docs am: a021c2d3e6
am: 11935fbcc9

Change-Id: I44cac66629a2c642ab86331bdda1bb1943df56a0

8 years agoMerge \"docs: Edited \"Promote with Ads\" page; created \"Nearby\" feature page....
Kevin Hufnagle [Thu, 7 Jul 2016 18:14:09 +0000 (18:14 +0000)]
Merge \"docs: Edited \"Promote with Ads\" page; created \"Nearby\" feature page.\" into mnc-io-docs
am: 31302819c1

Change-Id: I971086d0b8bb3268fdd62f41567654857b92dba8

8 years agoMerge \"docs: Updated \"payments\" page; created new \"drive conversions\" page....
Kevin Hufnagle [Thu, 7 Jul 2016 18:14:06 +0000 (18:14 +0000)]
Merge \"docs: Updated \"payments\" page; created new \"drive conversions\" page.\" into mnc-io-docs
am: a021c2d3e6

Change-Id: Idaed3f61c560217b31cc8a0e81d7a7ed761ee977

8 years agoRemove "starting apps" boot message.
Jeff Sharkey [Mon, 27 Jun 2016 23:08:23 +0000 (17:08 -0600)]
Remove "starting apps" boot message.

The "starting apps" message is only shown for a short period of time
before we show the lock screen.  Recent boot animations now have a
spin down phase which is just long enough to result in us flashing
this message for a very short period of time, which looks janky.

To avoid the janky behavior, remove this message altogether.  Other
boot messages for dexopt'ing after an OTA remain intact.

Also fix security bug that would allow any app to show a message.

Bug: 29367890
Change-Id: I77bb65acbe0e5afb4033dc6b83e533e665dce690