OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Prevent NPE in dispatchUserSwitch" into nyc-mr1-dev
Fyodor Kupolov [Fri, 24 Jun 2016 20:49:09 +0000 (20:49 +0000)]
Merge "Prevent NPE in dispatchUserSwitch" into nyc-mr1-dev

8 years agoPrevent NPE in dispatchUserSwitch
Fyodor Kupolov [Fri, 24 Jun 2016 20:46:18 +0000 (13:46 -0700)]
Prevent NPE in dispatchUserSwitch

Access to mCurWaitingUserSwitchCallbacks should be synchronized and it's
safer to access the local variable curWaitingUserSwitchCallbacks

Bug: 29039588
Change-Id: Id91699670ca16467d385f476ba06da2cb29a984b

8 years agoMerge "Properly tint crash dialog." into nyc-mr1-dev
TreeHugger Robot [Fri, 24 Jun 2016 20:45:55 +0000 (20:45 +0000)]
Merge "Properly tint crash dialog." into nyc-mr1-dev

8 years agoMerge "Don't save the anonymous identity for EAP-SIM/AKA/AKA-Prime" into nyc-mr1-dev
Mitchell Wills [Fri, 24 Jun 2016 20:24:12 +0000 (20:24 +0000)]
Merge "Don't save the anonymous identity for EAP-SIM/AKA/AKA-Prime" into nyc-mr1-dev

8 years agoDon't save the anonymous identity for EAP-SIM/AKA/AKA-Prime
Mitchell Wills [Thu, 16 Jun 2016 23:51:26 +0000 (16:51 -0700)]
Don't save the anonymous identity for EAP-SIM/AKA/AKA-Prime

wpa_supplicant can update this value when authenticating so if the
framework writes it back the new value can be overwritten.

TEST: Patch was validated by original reporter
      Enterprise tests pass (b/29608435)
Change-Id: If359b4ca625371fbdb68177c7cdb6498c3a519a1
Fixes: 28161335

8 years agoReapply more strings for \"more settings\"
Min Yun [Fri, 24 Jun 2016 20:10:02 +0000 (20:10 +0000)]
Reapply more strings for \"more settings\"
am: de383c75eb

Change-Id: I4d31eb5dd262e68542af4360da062ecdb3ff822f

8 years agoProperly tint crash dialog.
Andrew Sapperstein [Fri, 24 Jun 2016 19:11:09 +0000 (12:11 -0700)]
Properly tint crash dialog.

Change-Id: I6a74b08acd5e13c750ce512e61518972cc55940b
FIXES: 29619712

8 years agoMerge "Do not load exit animation again if window is already animating" into nyc...
Chong Zhang [Fri, 24 Jun 2016 18:51:13 +0000 (18:51 +0000)]
Merge "Do not load exit animation again if window is already animating" into nyc-mr1-dev

8 years agoMerge "Add DeviceDefault style used by ringtone picker." into nyc-mr1-dev
Andrew Sapperstein [Fri, 24 Jun 2016 18:31:41 +0000 (18:31 +0000)]
Merge "Add DeviceDefault style used by ringtone picker." into nyc-mr1-dev

8 years agoDo not load exit animation again if window is already animating
Chong Zhang [Fri, 24 Jun 2016 18:23:06 +0000 (11:23 -0700)]
Do not load exit animation again if window is already animating

Transition can be started as soon as the entering app is drawn.
If the exiting app relayouts to invisible after transition started,
don't load the exit animation again.

bug: 29405575
Change-Id: I05ba4f733afb9426626db113be721a6bf888f093

8 years agoReapply more strings for "more settings"
Min Yun [Fri, 24 Jun 2016 18:05:03 +0000 (11:05 -0700)]
Reapply more strings for "more settings"

Fixes: 29620816

Change-Id: Iabfcb3b762e1d7d105d2b4c417fc0902d7e7ca16

8 years agoMerge "Update QS battery trendline to use theme color." into nyc-mr1-dev
Andrew Sapperstein [Fri, 24 Jun 2016 18:19:30 +0000 (18:19 +0000)]
Merge "Update QS battery trendline to use theme color." into nyc-mr1-dev

8 years agoMerge "Fix NPE for checking for whether animators should play together" into nyc...
Doris Liu [Fri, 24 Jun 2016 17:47:43 +0000 (17:47 +0000)]
Merge "Fix NPE for checking for whether animators should play together" into nyc-mr1-dev

8 years agoMerge "Make "cmd package set-home-activity" more CTS friendly" into nyc-mr1-dev
Makoto Onuki [Fri, 24 Jun 2016 17:37:06 +0000 (17:37 +0000)]
Merge "Make "cmd package set-home-activity" more CTS friendly" into nyc-mr1-dev

8 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 24 Jun 2016 17:28:18 +0000 (17:28 +0000)]
Import translations. DO NOT MERGE
am: 34f5924ca6  -s ours

Change-Id: Iddaaa1eb8c715a66a3d3fab95f0ac4eba2865877

8 years agoMerge "Resetting some settings on starting a new demo session" into nyc-mr1-dev
Amith Yamasani [Fri, 24 Jun 2016 16:08:02 +0000 (16:08 +0000)]
Merge "Resetting some settings on starting a new demo session" into nyc-mr1-dev

8 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 24 Jun 2016 15:33:56 +0000 (08:33 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 29578243
Change-Id: Ibfcaf1dcbb2cc51dcec359edb8525a2a56ab1231

8 years agoAlways reapply strings.
Julia Reynolds [Fri, 24 Jun 2016 15:16:35 +0000 (15:16 +0000)]
Always reapply strings.
am: 9c0c3d8d8b

Change-Id: I20ad505b3cb75319cc81a3dfb6ecfd0fae9ac24a

8 years agoMerge "Show volume row headers by default." into nyc-mr1-dev
TreeHugger Robot [Fri, 24 Jun 2016 14:52:39 +0000 (14:52 +0000)]
Merge "Show volume row headers by default." into nyc-mr1-dev

8 years agoShow volume row headers by default.
Julia Reynolds [Wed, 15 Jun 2016 16:53:31 +0000 (12:53 -0400)]
Show volume row headers by default.

Bug: 28269951
Change-Id: I26acfb26064e7f44e4b1897d940228247b45d7b1

8 years agoAlways reapply strings.
Julia Reynolds [Fri, 24 Jun 2016 12:44:57 +0000 (08:44 -0400)]
Always reapply strings.

Change-Id: Icc66d1e23048d2676b5776c3eec76345963228d0
Fixes: 29620816

8 years agoMerge \"Import translations. DO NOT MERGE\" into nyc-dev
Bill Yi [Fri, 24 Jun 2016 05:53:11 +0000 (05:53 +0000)]
Merge \"Import translations. DO NOT MERGE\" into nyc-dev
am: f1dc57ea63  -s ours

Change-Id: Ie112f5004629cdd2fd0216eaa9b94bf4e45c6928

8 years agoMerge \"Import translations. DO NOT MERGE\" into nyc-dev
Bill Yi [Fri, 24 Jun 2016 05:53:08 +0000 (05:53 +0000)]
Merge \"Import translations. DO NOT MERGE\" into nyc-dev
am: 2bc13bcdad  -s ours

Change-Id: Ibaab32fdbf118c13beec0ba8999404492ec9b2e8

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
TreeHugger Robot [Fri, 24 Jun 2016 05:44:41 +0000 (05:44 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Fri, 24 Jun 2016 05:44:25 +0000 (05:44 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
TreeHugger Robot [Fri, 24 Jun 2016 05:44:09 +0000 (05:44 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Fri, 24 Jun 2016 05:43:20 +0000 (05:43 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

8 years agoAdd DeviceDefault style used by ringtone picker.
Andrew Sapperstein [Fri, 24 Jun 2016 04:14:17 +0000 (21:14 -0700)]
Add DeviceDefault style used by ringtone picker.

Change-Id: I9f03903678451a198d1100bc1513d4371e7f1e61
FIXES: 29619195

8 years agoUpdate QS battery trendline to use theme color.
Andrew Sapperstein [Fri, 24 Jun 2016 00:53:01 +0000 (17:53 -0700)]
Update QS battery trendline to use theme color.

Color is the same, but it's now defined in colors_device_defaults.

Change-Id: I984179968943bb1930d8a7418e9c7f4b9c95482a
FIXES: 29614022

8 years agoMerge \"Improve ANR dropbox reports\" into nyc-dev
Adrian Roos [Fri, 24 Jun 2016 02:05:26 +0000 (02:05 +0000)]
Merge \"Improve ANR dropbox reports\" into nyc-dev
am: 594c9cb356

Change-Id: Ic3c8b1c5fc1c1b9c2c5e5d8df48d072269a92cc6

8 years agoMerge "Improve ANR dropbox reports" into nyc-dev
Adrian Roos [Fri, 24 Jun 2016 01:57:42 +0000 (01:57 +0000)]
Merge "Improve ANR dropbox reports" into nyc-dev

8 years agoImprove ANR dropbox reports
Adrian Roos [Thu, 23 Jun 2016 23:38:06 +0000 (16:38 -0700)]
Improve ANR dropbox reports

Work towards better diagnosing b/29501073. Adds logic to ensure that the dropbox
entry generated for ANRs fits at least some part of the logcat before the MAX_DROPBOX_SIZE
mark. Also reduces the MAX_DROPBOX_SIZE to be better match size restrictions.

Bug: 29501073
Change-Id: Ice5599582cbb536b7d81aa0c0340ff753ca86ebf

8 years agoMerge "Access internal ringer mode to properly vibrate in DND am: dcbdc0df43" into...
Android Build Merger (Role) [Fri, 24 Jun 2016 01:24:11 +0000 (01:24 +0000)]
Merge "Access internal ringer mode to properly vibrate in DND am: dcbdc0df43" into nyc-mr1-dev

8 years agoMerge "Fix WallpaperInfo API review" into nyc-mr1-dev
TreeHugger Robot [Fri, 24 Jun 2016 01:24:00 +0000 (01:24 +0000)]
Merge "Fix WallpaperInfo API review" into nyc-mr1-dev

8 years agoAccess internal ringer mode to properly vibrate in DND
Brad Ebinger [Fri, 24 Jun 2016 01:23:50 +0000 (01:23 +0000)]
Access internal ringer mode to properly vibrate in DND
am: dcbdc0df43

Change-Id: I70dded64d23290716de5fd7b01ff15b0731daa2f

8 years agoAccess internal ringer mode to properly vibrate in DND
Brad Ebinger [Fri, 24 Jun 2016 00:42:30 +0000 (17:42 -0700)]
Access internal ringer mode to properly vibrate in DND

Currently, an incoming call will not vibrate properly in certain cases
in DND mode. Specifically, if Priority Only mode is set, but Calls from
anyone are allowed. We now get the internal ringer mode to detect if the
incoming call is ringing while in DND mode.

Bug: 29184073
Change-Id: I1e0e7cf384a2bc1df1378043cd3f7e9dec57a94c

8 years agoResetting some settings on starting a new demo session
Suprabh Shukla [Wed, 15 Jun 2016 20:19:28 +0000 (13:19 -0700)]
Resetting some settings on starting a new demo session

Muting ringer and media volume and turning off the flashlight
before starting a new session. Also, resetting the configuration of any
new demo user to the configuration of user 0 on the device. Moved
RetailDemoModeService and RetailDemoModeServiceInternal to more
appropriate new packages

Bug: 29519612
Change-Id: Ib65f89ce61afab2d2f1b2dd0c761f5d35a466181

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

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

8 years agoMerge "Unhiding DEVICE_NAME" into nyc-mr1-dev
Dmitri Plotnikov [Fri, 24 Jun 2016 00:23:12 +0000 (00:23 +0000)]
Merge "Unhiding DEVICE_NAME" into nyc-mr1-dev

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

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

8 years agoFix NPE for checking for whether animators should play together
Doris Liu [Thu, 23 Jun 2016 17:34:17 +0000 (10:34 -0700)]
Fix NPE for checking for whether animators should play together

BUG: 29586505
Change-Id: Ic2a67d51d2ac8d5bfb11ed7773c7c7e413cc28c7

8 years agoMake "cmd package set-home-activity" more CTS friendly
Makoto Onuki [Thu, 23 Jun 2016 23:56:35 +0000 (16:56 -0700)]
Make "cmd package set-home-activity" more CTS friendly

- Print "Success" when it went well.
- Catch all exceptions and print error message, not just
RemoteExceptions

- Update the shortcut manger test utility to match the new behavior

Bug 29612099

Change-Id: If6a80241ea5e8ef0b2d3f961d1442e730b908764

8 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 23 Jun 2016 23:57:49 +0000 (16:57 -0700)]
Import translations. DO NOT MERGE

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

8 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 23 Jun 2016 23:34:21 +0000 (16:34 -0700)]
Import translations. DO NOT MERGE

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

8 years agoFix WallpaperInfo API review
Jorim Jaggi [Thu, 23 Jun 2016 23:25:52 +0000 (16:25 -0700)]
Fix WallpaperInfo API review

Change-Id: I395b9617038450e6fa7a2f25bb55d6ae5f761015
Fixes: 29514598

8 years agoMerge "Adding a warning dialog before restarting demo session" into nyc-mr1-dev
Suprabh Shukla [Thu, 23 Jun 2016 23:11:47 +0000 (23:11 +0000)]
Merge "Adding a warning dialog before restarting demo session" into nyc-mr1-dev

8 years agoDocs: Fixed wrong link text am: 9e9d2c7fba am: 1727bb369e
Hemal Patel [Thu, 23 Jun 2016 23:06:28 +0000 (23:06 +0000)]
Docs: Fixed wrong link text am: 9e9d2c7fba am: 1727bb369e
am: 391e0808d6

Change-Id: Ibf5bd96b2b2832b20fbf0d352aa3dc5602d40b9c

8 years agoMerge "fix last modified time" into nyc-mr1-dev
Todd Kennedy [Thu, 23 Jun 2016 23:02:34 +0000 (23:02 +0000)]
Merge "fix last modified time" into nyc-mr1-dev

8 years agoDocs: Fixed wrong link text am: 9e9d2c7fba
Hemal Patel [Thu, 23 Jun 2016 22:59:38 +0000 (22:59 +0000)]
Docs: Fixed wrong link text am: 9e9d2c7fba
am: 1727bb369e

Change-Id: I655d77ccdc8586b348bd61309cd8cfba012113b8

8 years agoDocs: Fixed wrong link text
Hemal Patel [Thu, 23 Jun 2016 22:54:30 +0000 (22:54 +0000)]
Docs: Fixed wrong link text
am: 9e9d2c7fba

Change-Id: I0d66075bb75a2f4cc809d2df698c4acec5234187

8 years agoMerge \"fix bad contrast in table links by switching to normal table cells instead...
smain@google.com [Thu, 23 Jun 2016 22:06:07 +0000 (22:06 +0000)]
Merge \"fix bad contrast in table links by switching to normal table cells instead of headings.\" into nyc-dev
am: fd0eeb0379

Change-Id: I68b578ac0bb343dff66bcbc5bd5c652c93e9864f

8 years agoMerge "Revert "Revert "Mark Serbian in Latin script as non-localized [DO NOT MERGE...
Roozbeh Pournader [Thu, 23 Jun 2016 21:58:56 +0000 (21:58 +0000)]
Merge "Revert "Revert "Mark Serbian in Latin script as non-localized [DO NOT MERGE]""" into nyc-mr1-dev

8 years agoMerge "fix bad contrast in table links by switching to normal table cells instead...
Scott Main [Thu, 23 Jun 2016 21:57:51 +0000 (21:57 +0000)]
Merge "fix bad contrast in table links by switching to normal table cells instead of headings." into nyc-dev

8 years agoAdding a warning dialog before restarting demo session
Suprabh Shukla [Tue, 14 Jun 2016 23:28:23 +0000 (16:28 -0700)]
Adding a warning dialog before restarting demo session

Instead of immediately restarting the demo after user inactivity timeout,
now the system shows a warning dialog that counts down for 6 seconds,
during which the user can choose to continue the current session or
restart the session immediately.

Bug: 29520255
Change-Id: I060f700dcbbb6f64ae5fe95e3f3027bc3c33b38d

8 years agoMerge "Merge \"Fix guts are not bound properly.\" into nyc-dev am: 9ea3916063" into...
Android Build Merger (Role) [Thu, 23 Jun 2016 21:50:14 +0000 (21:50 +0000)]
Merge "Merge \"Fix guts are not bound properly.\" into nyc-dev am: 9ea3916063" into nyc-mr1-dev

8 years agoMerge \"Fix guts are not bound properly.\" into nyc-dev
Min Yun [Thu, 23 Jun 2016 21:49:55 +0000 (21:49 +0000)]
Merge \"Fix guts are not bound properly.\" into nyc-dev
am: 9ea3916063

Change-Id: I3adc7f367792e30bdf61067ea367436a22ef5842

8 years agoMerge "Print names of observers causing timeout" into nyc-mr1-dev
Fyodor Kupolov [Thu, 23 Jun 2016 21:49:04 +0000 (21:49 +0000)]
Merge "Print names of observers causing timeout" into nyc-mr1-dev

8 years agoMerge "Fix guts are not bound properly." into nyc-dev
TreeHugger Robot [Thu, 23 Jun 2016 21:45:58 +0000 (21:45 +0000)]
Merge "Fix guts are not bound properly." into nyc-dev

8 years agoMerge "Merge \"HUN: Close RemoteInputView when Home is pressed\" into nyc-dev am...
Android Build Merger (Role) [Thu, 23 Jun 2016 21:34:38 +0000 (21:34 +0000)]
Merge "Merge \"HUN: Close RemoteInputView when Home is pressed\" into nyc-dev am: cdd43d7270" into nyc-mr1-dev

8 years agoMerge "Merge \"media: update getAchievableFrameRatesFor javadoc\" into nyc-dev am...
Android Build Merger (Role) [Thu, 23 Jun 2016 21:34:30 +0000 (21:34 +0000)]
Merge "Merge \"media: update getAchievableFrameRatesFor javadoc\" into nyc-dev am: 8fe82686ef" into nyc-mr1-dev

8 years agoMerge \"HUN: Close RemoteInputView when Home is pressed\" into nyc-dev
Adrian Roos [Thu, 23 Jun 2016 21:34:03 +0000 (21:34 +0000)]
Merge \"HUN: Close RemoteInputView when Home is pressed\" into nyc-dev
am: cdd43d7270

Change-Id: Id463ad12a2e302e869e504a95664d1dab89f793f

8 years agoMerge \"media: update getAchievableFrameRatesFor javadoc\" into nyc-dev
Lajos Molnar [Thu, 23 Jun 2016 21:34:00 +0000 (21:34 +0000)]
Merge \"media: update getAchievableFrameRatesFor javadoc\" into nyc-dev
am: 8fe82686ef

Change-Id: I5c30373ad5d6eed29e953a81e89d60a6c649089b

8 years agoMerge "Do not send unhandled system config changes to app" into nyc-mr1-dev
Chong Zhang [Thu, 23 Jun 2016 21:33:54 +0000 (21:33 +0000)]
Merge "Do not send unhandled system config changes to app" into nyc-mr1-dev

8 years agoMerge "HUN: Close RemoteInputView when Home is pressed" into nyc-dev
TreeHugger Robot [Thu, 23 Jun 2016 21:26:33 +0000 (21:26 +0000)]
Merge "HUN: Close RemoteInputView when Home is pressed" into nyc-dev

8 years agoMerge "media: update getAchievableFrameRatesFor javadoc" into nyc-dev
TreeHugger Robot [Thu, 23 Jun 2016 21:25:32 +0000 (21:25 +0000)]
Merge "media: update getAchievableFrameRatesFor javadoc" into nyc-dev

8 years agoMerge \"QS: Hacks to fix bigger problems in TileService binding\" into nyc-dev
Jason Monk [Thu, 23 Jun 2016 21:02:13 +0000 (21:02 +0000)]
Merge \"QS: Hacks to fix bigger problems in TileService binding\" into nyc-dev
am: 1427bb3dc0

Change-Id: I471055cbac21c09d23b60e6dab15bcc1cd1d6208

8 years agofix last modified time
Todd Kennedy [Thu, 23 Jun 2016 19:59:32 +0000 (12:59 -0700)]
fix last modified time

For cluster packages [i.e. packages that are split among multiple APKs]
the codePath is the directory containing the APKs. This normally works
well since the directory is created newly on update. However, it breaks
down during OTA when the directory modification time may or may not
change.

Specifically for cluster packages, we determine the packages "last
modified time" as the date of the newwest APK added to the package.

Bug: 29575840
Bug: 29610181

Change-Id: Ia0a40cf6aaf4102f35e9319ebdb95074b1740c90

8 years agoMerge "QS: Hacks to fix bigger problems in TileService binding" into nyc-dev
Jason Monk [Thu, 23 Jun 2016 20:52:49 +0000 (20:52 +0000)]
Merge "QS: Hacks to fix bigger problems in TileService binding" into nyc-dev

8 years agoDo not send unhandled system config changes to app
Chong Zhang [Thu, 23 Jun 2016 20:15:08 +0000 (13:15 -0700)]
Do not send unhandled system config changes to app

If the config change is system-level and the app doesn't handle
it, it will definitely get relaunched and we don't need to call
onConfigurationChanged.

bug: 29367672
Change-Id: I3193d4b63d316295c9e73d42d000ab4eb5c1a6ad

8 years agoDocs: Fixed wrong link text
Hemal Patel [Thu, 23 Jun 2016 19:08:52 +0000 (12:08 -0700)]
Docs: Fixed wrong link text

Fixed the link text of the
AnimatorInflater.loadStateListAnimator method to display the
correct name of the class.

Bug: 24599015
Change-Id: I914e4152a5999544ff167c54959276180a7a1003

8 years agoRevert "Revert "Mark Serbian in Latin script as non-localized [DO NOT MERGE]""
Roozbeh Pournader [Thu, 23 Jun 2016 20:01:01 +0000 (20:01 +0000)]
Revert "Revert "Mark Serbian in Latin script as non-localized [DO NOT MERGE]""

This reverts commit ad48dc18a55313095b7a777bef6d66faa40ef7dd. sr-Latn is no
longer planned for MR1.

Bug: 29455508
Bug: 29601930
Change-Id: I1922ef649aab36be6ba3b94e3fd79a71a14acdff

8 years agoFix guts are not bound properly.
Min Yun [Fri, 17 Jun 2016 18:59:24 +0000 (11:59 -0700)]
Fix guts are not bound properly.

When binding importance to guts, applying findViewById
to ExpandableNotificationRow of group's parents could
cause to return the reference of child notications's guts
which also has the same id. As a result guts are
not bound properly, and show weird guts.

Fixes: 29452827
Change-Id: Iaf8ee74b988bf41680857e9c3c3ae9e3bd8e4e1b

8 years agoHUN: Close RemoteInputView when Home is pressed
Adrian Roos [Thu, 23 Jun 2016 18:19:28 +0000 (11:19 -0700)]
HUN: Close RemoteInputView when Home is pressed

CLOSE_SYSTEM_DIALOGS usually dismisses the notification shade,
but that's not the case for HUNs because the shade is not actually
open. However, CLOSE_SYSTEM_DIALOGS will now close the Direct Reply
even with HUNs.

Change-Id: If8e5115e33f93db0f8b4e442331ea3d60fc0c63d
Fixes: 29583313

8 years agoAdd support for dropping fg video call on answer of audio call.
Tyler Gunn [Wed, 22 Jun 2016 17:35:13 +0000 (10:35 -0700)]
Add support for dropping fg video call on answer of audio call.

Adding two new carrier config options:
1. treat_downgraded_video_calls_as_video_calls_bool - when there is an ongoing
call which was previously a video call (or is currently video call), some
carriers require that this is treated as if it is a video call for
telephony logic such as in (2).
2. drop_video_call_when_answering_audio_call_bool - if the user is in an
active video call (see (1)) over wifi, and an incoming audio call comes in,
when this carrier config option is "TRUE", the video call will be dropped
when the audio call is answered.

Adding new connection extra to indicate to the dialer app that answering
a ringing call will cause the current active video call to drop.

Bug: 29275420
Change-Id: Ied5dbabc8ff09045ba41c5eba2136adad10db80e

8 years agoMerge \"QS: Fix hotspot refreshing state\" into nyc-dev
Jason Monk [Thu, 23 Jun 2016 19:41:53 +0000 (19:41 +0000)]
Merge \"QS: Fix hotspot refreshing state\" into nyc-dev
am: b3ad74eb46

Change-Id: Icda7b70f140101ff07ecad9c5fd661e98ac68230

8 years agoMerge "QS: Fix hotspot refreshing state" into nyc-dev
TreeHugger Robot [Thu, 23 Jun 2016 19:33:16 +0000 (19:33 +0000)]
Merge "QS: Fix hotspot refreshing state" into nyc-dev

8 years agofix bad contrast in table links by switching to normal table cells instead of headings.
smain@google.com [Thu, 23 Jun 2016 19:09:30 +0000 (12:09 -0700)]
fix bad contrast in table links by switching to normal table cells instead of headings.

Change-Id: I91139ac2f01a9e099ffb5f65f4579a0b33ced5ab

8 years agoQS: Hacks to fix bigger problems in TileService binding
Jason Monk [Thu, 23 Jun 2016 18:59:22 +0000 (14:59 -0400)]
QS: Hacks to fix bigger problems in TileService binding

Bug: 29121793
Change-Id: I9cb8d8ee36ce5cc77ba3c11decb1b3a797fd7999

8 years agomedia: update getAchievableFrameRatesFor javadoc
Lajos Molnar [Thu, 23 Jun 2016 16:21:27 +0000 (09:21 -0700)]
media: update getAchievableFrameRatesFor javadoc

Bug: 28752802
Change-Id: I1c04ae7c3f9f15f84ff185af8d8f3c89958f5595

8 years agoMerge "Add support for LTE CarrierAgregation" into nyc-mr1-dev
Robert Greenwalt [Thu, 23 Jun 2016 18:47:38 +0000 (18:47 +0000)]
Merge "Add support for LTE CarrierAgregation" into nyc-mr1-dev

8 years agoMerge "Merge \"Remove FD from the right Looper\" into nyc-dev am: db13dd41a9" into...
Android Build Merger (Role) [Thu, 23 Jun 2016 18:44:53 +0000 (18:44 +0000)]
Merge "Merge \"Remove FD from the right Looper\" into nyc-dev am: db13dd41a9" into nyc-mr1-dev

8 years agoMerge \"Remove FD from the right Looper\" into nyc-dev
John Reck [Thu, 23 Jun 2016 18:44:16 +0000 (18:44 +0000)]
Merge \"Remove FD from the right Looper\" into nyc-dev
am: db13dd41a9

Change-Id: I590fa2c47bcc90ee5b269fde5cdac9557206ed88

8 years agoMerge "Fix crash when tapping on cell icon in QS." into nyc-mr1-dev
TreeHugger Robot [Thu, 23 Jun 2016 18:43:41 +0000 (18:43 +0000)]
Merge "Fix crash when tapping on cell icon in QS." into nyc-mr1-dev

8 years agoMerge "Add colorSecondary theme attribute." into nyc-mr1-dev
Andrew Sapperstein [Thu, 23 Jun 2016 18:37:40 +0000 (18:37 +0000)]
Merge "Add colorSecondary theme attribute." into nyc-mr1-dev

8 years agoMerge "Remove FD from the right Looper" into nyc-dev
John Reck [Thu, 23 Jun 2016 18:32:08 +0000 (18:32 +0000)]
Merge "Remove FD from the right Looper" into nyc-dev

8 years agoAdd support for LTE CarrierAgregation
Ajay Nambi [Fri, 15 May 2015 01:48:33 +0000 (18:48 -0700)]
Add support for LTE CarrierAgregation

Note this may be redesigned in O to better handle the
various bitrate/channel combinations in a sane way.

bug:27360321
Change-Id: If6ffbd02e3a7f170cc041747e32bb624234c3e09

8 years agoMerge \"When uninstalling, only kill the requested user.\" into nyc-dev
Jeff Sharkey [Thu, 23 Jun 2016 18:15:27 +0000 (18:15 +0000)]
Merge \"When uninstalling, only kill the requested user.\" into nyc-dev
am: 060d5a0e0a

Change-Id: I3975462d7f027cc4fd449c56ba0c5f6442369a1b

8 years agoPrint names of observers causing timeout
Fyodor Kupolov [Tue, 21 Jun 2016 00:16:52 +0000 (17:16 -0700)]
Print names of observers causing timeout

Pass and store name in registerUserSwitchObserver and later print names of
observers causing timeout.

Bug: 29039588
Change-Id: I09c4bcc986168a07f5e20ad0f38667b783332288

8 years agoMerge "When uninstalling, only kill the requested user." into nyc-dev
TreeHugger Robot [Thu, 23 Jun 2016 18:03:13 +0000 (18:03 +0000)]
Merge "When uninstalling, only kill the requested user." into nyc-dev

8 years agoRemove FD from the right Looper
John Reck [Thu, 23 Jun 2016 17:21:45 +0000 (10:21 -0700)]
Remove FD from the right Looper

Bug: 29586513

Also gives BackdropFrameRenderer a direct-destroy
of Choreographer since it's hammering on new Threads
and we don't want to wait for the GC to release
FDs.

Change-Id: Id2ec0af2ee4d5304961c4ab87a104ccb92f35fc2

8 years agoDocs: Update Auth section of API Overview am: 480b523c8e am: 773ad4f422
Bert McMeen [Thu, 23 Jun 2016 17:39:29 +0000 (17:39 +0000)]
Docs: Update Auth section of API Overview am: 480b523c8e am: 773ad4f422
am: f829cb954a

Change-Id: I9e18132735cb047c57c7d3ddebfea061245f5dc7

8 years agoDocs: Update Auth section of API Overview am: 480b523c8e
Bert McMeen [Thu, 23 Jun 2016 17:31:45 +0000 (17:31 +0000)]
Docs: Update Auth section of API Overview am: 480b523c8e
am: 773ad4f422

Change-Id: Iad796f9112ee003559ccfab899be75b0ab1734f4

8 years agoDocs: Update Auth section of API Overview
Bert McMeen [Thu, 23 Jun 2016 17:26:46 +0000 (17:26 +0000)]
Docs: Update Auth section of API Overview
am: 480b523c8e

Change-Id: I847679daad0f69c196bc26661b49efd2548de87f

8 years agoQS: Fix hotspot refreshing state
Jason Monk [Thu, 23 Jun 2016 17:23:01 +0000 (13:23 -0400)]
QS: Fix hotspot refreshing state

Change-Id: I40e693d154d5481959f63d555191d2c88f3d1b97
Fixes: 29518006

8 years agoFix crash when tapping on cell icon in QS.
Andrew Sapperstein [Thu, 23 Jun 2016 17:09:27 +0000 (10:09 -0700)]
Fix crash when tapping on cell icon in QS.

During a refactoring, accidentally tried to use a color int
as a color resource int.

Change-Id: I4a96ffea9a997ad3cf19029b1101a283b7e88459
FIXES: 29575154

8 years agoDocs: Update Auth section of API Overview
Bert McMeen [Fri, 17 Jun 2016 23:31:01 +0000 (16:31 -0700)]
Docs: Update Auth section of API Overview

Bug: 28268899
Change-Id: I7e52ae0dd6ea189c28a177cd943b008dc75fda9c

8 years agoMerge "Add global settings for cell radio state" into nyc-mr1-dev
Chris Manton [Thu, 23 Jun 2016 16:42:15 +0000 (16:42 +0000)]
Merge "Add global settings for cell radio state" into nyc-mr1-dev

8 years agoMerge "On phones, don't show the avatar icon when it is the only user." into nyc...
Daniel Nishi [Thu, 23 Jun 2016 16:15:39 +0000 (16:15 +0000)]
Merge "On phones, don't show the avatar icon when it is the only user." into nyc-mr1-dev

8 years agoWhen uninstalling, only kill the requested user.
Jeff Sharkey [Thu, 23 Jun 2016 15:26:00 +0000 (09:26 -0600)]
When uninstalling, only kill the requested user.

When an app is being uninstalled for a specific user, only kill the
app under that user; leave the app running under other users.

Bug: 28875343
Change-Id: Ie60753cfd22df10a2b17d8c3732b6f19d2fe1fb9

8 years agoMerge \"Don\'t loop forever on 0-length options.\" into nyc-dev
Lorenzo Colitti [Thu, 23 Jun 2016 08:23:18 +0000 (08:23 +0000)]
Merge \"Don\'t loop forever on 0-length options.\" into nyc-dev
am: 7aac630f8e

Change-Id: Icd3c0265ffb30232642f581a7c0031ed55ee6d21