OSDN Git Service

android-x86/frameworks-base.git
9 years agoFix getChildVisibleRect to clip correctly.
George Mount [Tue, 11 Nov 2014 20:54:43 +0000 (12:54 -0800)]
Fix getChildVisibleRect to clip correctly.

Bug 18292516

getClipVisibleRect now takes into account clipChildren,
clipBounds, and clipToPadding.

Change-Id: I181cd68354e70767868e9edd56bf82a58357391d

9 years agoam 4c0f0e6c: Merge "Fix setting styles in custom views." into lmp-dev automerge:...
Deepanshu Gupta [Mon, 10 Nov 2014 22:05:27 +0000 (22:05 +0000)]
am 4c0f0e6c: Merge "Fix setting styles in custom views." into lmp-dev automerge: 5c22a79

* commit '4c0f0e6c852dd933bcfaf95380cca49a46fa3912':
  Fix setting styles in custom views.

9 years agoam 3cf0640d: Merge "Add primitive shadows support to LayoutLib" into lmp-dev automerg...
Deepanshu Gupta [Mon, 10 Nov 2014 22:05:23 +0000 (22:05 +0000)]
am 3cf0640d: Merge "Add primitive shadows support to LayoutLib" into lmp-dev automerge: 97c04ac

* commit '3cf0640d944a0718b9e29a2134a577e72a9432b4':
  Add primitive shadows support to LayoutLib

9 years agoam 0e3925df: Merge "Remove needlessly thrown IOException." into lmp-dev automerge...
Deepanshu Gupta [Mon, 10 Nov 2014 22:05:16 +0000 (22:05 +0000)]
am 0e3925df: Merge "Remove needlessly thrown IOException." into lmp-dev automerge: f305d2c

* commit '0e3925dfb3ea4e9185202dd963f03f5ca1df17d0':
  Remove needlessly thrown IOException.

9 years agoMerge "Fix setting styles in custom views." into lmp-dev
Deepanshu Gupta [Mon, 10 Nov 2014 21:00:43 +0000 (21:00 +0000)]
Merge "Fix setting styles in custom views." into lmp-dev
automerge: 5c22a79

* commit '5c22a79baf81727b56a85a194d678c18449b5150':
  Fix setting styles in custom views.

9 years agoMerge "Add primitive shadows support to LayoutLib" into lmp-dev
Deepanshu Gupta [Mon, 10 Nov 2014 20:58:58 +0000 (20:58 +0000)]
Merge "Add primitive shadows support to LayoutLib" into lmp-dev
automerge: 97c04ac

* commit '97c04ac7ed4f34ca0cfb75646cc00687fb0954d4':
  Add primitive shadows support to LayoutLib

9 years agoMerge "Remove needlessly thrown IOException." into lmp-dev
Deepanshu Gupta [Mon, 10 Nov 2014 20:56:36 +0000 (20:56 +0000)]
Merge "Remove needlessly thrown IOException." into lmp-dev
automerge: f305d2c

* commit 'f305d2c4a80af9e2011824349adc6f133cd8822c':
  Remove needlessly thrown IOException.

9 years agoMerge "Add caching to LockSettingsStorage" into lmp-mr1-dev
Adrian Roos [Mon, 10 Nov 2014 20:33:08 +0000 (20:33 +0000)]
Merge "Add caching to LockSettingsStorage" into lmp-mr1-dev

9 years agoMerge "Fix setting styles in custom views." into lmp-dev
Deepanshu Gupta [Mon, 10 Nov 2014 20:28:40 +0000 (20:28 +0000)]
Merge "Fix setting styles in custom views." into lmp-dev

9 years agoAdd caching to LockSettingsStorage
Adrian Roos [Wed, 29 Oct 2014 13:43:56 +0000 (14:43 +0100)]
Add caching to LockSettingsStorage

Bug: 18163444
Change-Id: I4caa80ca55efec761e965807ae793db41864321f

9 years agoFix setting styles in custom views.
Deepanshu Gupta [Mon, 10 Nov 2014 20:10:55 +0000 (20:10 +0000)]
Fix setting styles in custom views.

Bug: http://b.android.com/78842
Change-Id: I5d4571d94d96b00419acc258c9e2b519367b689d

9 years agoMerge "Apply @hide / @SystemApi to android.telecom.*" into lmp-mr1-dev
Evan Charlton [Mon, 10 Nov 2014 19:54:34 +0000 (19:54 +0000)]
Merge "Apply @hide / @SystemApi to android.telecom.*" into lmp-mr1-dev

9 years agoApply @hide / @SystemApi to android.telecom.*
Evan Charlton [Sat, 8 Nov 2014 23:49:16 +0000 (15:49 -0800)]
Apply @hide / @SystemApi to android.telecom.*

Move the android.telecom.* namespace back to @hide, and also mark it
with @SystemApi so that system-privileged apps can use them.

Bug: 18302450
Change-Id: I33ae1b9b0dfdb1c5eff51ca3c829196bcfc9411c

9 years agoMerge "split-select: Fix rules generated for anydpi density" into lmp-mr1-dev
Adam Lesinski [Mon, 10 Nov 2014 19:45:26 +0000 (19:45 +0000)]
Merge "split-select: Fix rules generated for anydpi density" into lmp-mr1-dev

9 years agoMerge "Zen: Pull next-alarm tracking out into separate helper." into lmp-mr1-dev
John Spurlock [Mon, 10 Nov 2014 19:24:14 +0000 (19:24 +0000)]
Merge "Zen: Pull next-alarm tracking out into separate helper." into lmp-mr1-dev

9 years agoMake add-call a global property of telecom. (1/4)
Santos Cordon [Sat, 8 Nov 2014 00:05:09 +0000 (16:05 -0800)]
Make add-call a global property of telecom. (1/4)

ADD_CALL didn't make sense as a property of Connection or Call.
This changes it to be a global property instead.

Bug: 18285352
Change-Id: I658e7a6977a848600272cde2914612c8691bb801

9 years agoZen: Pull next-alarm tracking out into separate helper.
John Spurlock [Mon, 10 Nov 2014 19:05:13 +0000 (14:05 -0500)]
Zen: Pull next-alarm tracking out into separate helper.

In preparation for sharing with DowntimeConditionProvider.

Bug: 16373455
Change-Id: If8d90187fa399935137c7ba6152925a9106a4596

9 years agoMerge "Add primitive shadows support to LayoutLib" into lmp-dev
Deepanshu Gupta [Mon, 10 Nov 2014 18:58:27 +0000 (18:58 +0000)]
Merge "Add primitive shadows support to LayoutLib" into lmp-dev

9 years agoMerge "Remove needlessly thrown IOException." into lmp-dev
Deepanshu Gupta [Mon, 10 Nov 2014 18:54:19 +0000 (18:54 +0000)]
Merge "Remove needlessly thrown IOException." into lmp-dev

9 years agoMerge "Disable LockPatternUtilsCache" into lmp-mr1-dev
Adrian Roos [Mon, 10 Nov 2014 18:35:56 +0000 (18:35 +0000)]
Merge "Disable LockPatternUtilsCache" into lmp-mr1-dev

9 years agoMerge "Fix Keyguard affordances for RTL" into lmp-mr1-dev
Jorim Jaggi [Mon, 10 Nov 2014 18:31:54 +0000 (18:31 +0000)]
Merge "Fix Keyguard affordances for RTL" into lmp-mr1-dev

9 years agoFix Keyguard affordances for RTL
Jorim Jaggi [Mon, 10 Nov 2014 18:04:34 +0000 (19:04 +0100)]
Fix Keyguard affordances for RTL

Bug: 17328362
Change-Id: Ic7d7a5a0d721390064493cf753348b89b7bac7e1

9 years agoMerge "Clean up encapsulation in date picker classes" into lmp-mr1-dev
Alan Viverette [Mon, 10 Nov 2014 18:29:27 +0000 (18:29 +0000)]
Merge "Clean up encapsulation in date picker classes" into lmp-mr1-dev

9 years agoDisable LockPatternUtilsCache
Adrian Roos [Wed, 29 Oct 2014 13:30:37 +0000 (14:30 +0100)]
Disable LockPatternUtilsCache

Also fix a bug where hasPattern and hasPassword were
not invalidated properly.

Bug: 18163444
Change-Id: I5bd8cc4e7c0d00497ee7a42f3c34449aa3f95a6c

9 years agoMerge "Fix inset hinting when adding window" into lmp-mr1-dev
Dan Sandler [Mon, 10 Nov 2014 18:10:34 +0000 (18:10 +0000)]
Merge "Fix inset hinting when adding window" into lmp-mr1-dev

9 years agoMerge "Fix build" into lmp-mr1-dev
Andres Morales [Mon, 10 Nov 2014 17:31:26 +0000 (17:31 +0000)]
Merge "Fix build" into lmp-mr1-dev

9 years agoam d53436a9: (-s ours) Merge "Import translations. DO NOT MERGE" into lmp-sprout-dev
Geoff Mendal [Mon, 10 Nov 2014 17:27:42 +0000 (17:27 +0000)]
am d53436a9: (-s ours) Merge "Import translations. DO NOT MERGE" into lmp-sprout-dev

* commit 'd53436a9d96100883e55e09ca3e0d5b6eae4fc35':
  Import translations. DO NOT MERGE

9 years agoMerge "Fix NetworkMonitor logging to include NetID." into lmp-mr1-dev
Paul Jensen [Mon, 10 Nov 2014 17:27:10 +0000 (17:27 +0000)]
Merge "Fix NetworkMonitor logging to include NetID." into lmp-mr1-dev

9 years agoFix build
Andres Morales [Mon, 10 Nov 2014 17:26:18 +0000 (09:26 -0800)]
Fix build

Forgot to run make update-api in
https://googleplex-android-review.git.corp.google.com/#/c/582630/

Change-Id: I3c4dd253d0f1ffea8ae1b72835aee91541ed7d6f

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-sprout-dev
Geoff Mendal [Mon, 10 Nov 2014 17:23:37 +0000 (17:23 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-sprout-dev

9 years agoMerge "Update above/below backgrounds in PopupWindow.setBackground()" into lmp-mr1-dev
Alan Viverette [Mon, 10 Nov 2014 17:18:48 +0000 (17:18 +0000)]
Merge "Update above/below backgrounds in PopupWindow.setBackground()" into lmp-mr1-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 10 Nov 2014 17:13:39 +0000 (09:13 -0800)]
Import translations. DO NOT MERGE

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

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-mr1-dev
Geoff Mendal [Mon, 10 Nov 2014 17:12:13 +0000 (17:12 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-mr1-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 10 Nov 2014 17:07:55 +0000 (09:07 -0800)]
Import translations. DO NOT MERGE

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

9 years agoam abf58f98: am 43f46ab9: am e627b94c: Merge "docs: Material design shadow fixes...
Ricardo Cervera [Mon, 10 Nov 2014 16:51:51 +0000 (16:51 +0000)]
am abf58f98: am 43f46ab9: am e627b94c: Merge "docs: Material design shadow fixes." into lmp-docs

* commit 'abf58f9865e21f95356f2c32c4e2029d38a3a6a4':
  docs: Material design shadow fixes.

9 years agoMerge "Unhide DISALLOW_OUTGOING_BEAM" into lmp-mr1-dev
Andres Morales [Mon, 10 Nov 2014 16:48:42 +0000 (16:48 +0000)]
Merge "Unhide DISALLOW_OUTGOING_BEAM" into lmp-mr1-dev

9 years agoFix inset hinting when adding window
Adrian Roos [Thu, 6 Nov 2014 17:15:16 +0000 (18:15 +0100)]
Fix inset hinting when adding window

Windows with FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS were
getting an incorrect content inset hint, because the
hinting didn't see the adjusted systemUiVisibility.

Also adds hinting for the stable insets.

Bug: 17508238
Change-Id: If9647277feb6811b15665b801accd896c51dbd12

9 years agoam 43f46ab9: am e627b94c: Merge "docs: Material design shadow fixes." into lmp-docs
Ricardo Cervera [Mon, 10 Nov 2014 16:46:47 +0000 (16:46 +0000)]
am 43f46ab9: am e627b94c: Merge "docs: Material design shadow fixes." into lmp-docs

* commit '43f46ab99de710f9b39106e1ac4733f06188e74c':
  docs: Material design shadow fixes.

9 years agoam e627b94c: Merge "docs: Material design shadow fixes." into lmp-docs
Ricardo Cervera [Mon, 10 Nov 2014 16:42:20 +0000 (16:42 +0000)]
am e627b94c: Merge "docs: Material design shadow fixes." into lmp-docs

* commit 'e627b94c76ad144abb0207efcdc6b1cb3855bc14':
  docs: Material design shadow fixes.

9 years agoMerge "docs: Material design shadow fixes." into lmp-docs
Ricardo Cervera [Mon, 10 Nov 2014 16:36:20 +0000 (16:36 +0000)]
Merge "docs: Material design shadow fixes." into lmp-docs

9 years agoMerge "Expand WearableExtender to customize labels." into lmp-mr1-dev
Pete Gast [Mon, 10 Nov 2014 16:35:55 +0000 (16:35 +0000)]
Merge "Expand WearableExtender to customize labels." into lmp-mr1-dev

9 years agoMerge "Adjust owner info to spec" into lmp-mr1-dev
Jorim Jaggi [Mon, 10 Nov 2014 15:39:20 +0000 (15:39 +0000)]
Merge "Adjust owner info to spec" into lmp-mr1-dev

9 years agoMerge "Allow PathMotion to affect translations in ChangeTransform." into lmp-mr1-dev
George Mount [Mon, 10 Nov 2014 15:25:09 +0000 (15:25 +0000)]
Merge "Allow PathMotion to affect translations in ChangeTransform." into lmp-mr1-dev

9 years agoam 547b9ba1: (-s ours) Import translations. DO NOT MERGE
Geoff Mendal [Mon, 10 Nov 2014 15:10:05 +0000 (15:10 +0000)]
am 547b9ba1: (-s ours) Import translations. DO NOT MERGE

* commit '547b9ba1ec11d364d92e4dfea0f29aa24488ef7c':
  Import translations. DO NOT MERGE

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 10 Nov 2014 15:03:14 +0000 (07:03 -0800)]
Import translations. DO NOT MERGE

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

9 years agoMerge "Doze: Fix trigger sensor re-registration." into lmp-mr1-dev
John Spurlock [Mon, 10 Nov 2014 14:52:35 +0000 (14:52 +0000)]
Merge "Doze: Fix trigger sensor re-registration." into lmp-mr1-dev

9 years agoFix NetworkMonitor logging to include NetID.
Paul Jensen [Mon, 10 Nov 2014 14:50:02 +0000 (09:50 -0500)]
Fix NetworkMonitor logging to include NetID.

This was broken when NetID selection was moved to after
NetworkAgentInfo construction time.  NetworkMonitor inherits
from StateMachine whose log tag is immutable after construction
making it impossible to include the NetID.  Instead define a
simple log function in NetworkMonitor that includes correct
NetID.  This makes debugging via logs much easier and avoids
ambiguities that can make logs useless.

Change-Id: Ie72fc210b92bd425184d288b35ed476669e2e073

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-mr1-dev
Geoff Mendal [Mon, 10 Nov 2014 14:49:41 +0000 (14:49 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-mr1-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 10 Nov 2014 14:48:15 +0000 (06:48 -0800)]
Import translations. DO NOT MERGE

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

9 years agoDoze: Fix trigger sensor re-registration.
John Spurlock [Mon, 10 Nov 2014 14:41:41 +0000 (09:41 -0500)]
Doze: Fix trigger sensor re-registration.

Bug: 17541271
Change-Id: I3f19f86165dd4e3677af5ed354e4fc120f9bb407

9 years agoMerge "Clarify documentation for DevicePolicyManager" into lmp-mr1-dev
Alexandra Gherghina [Mon, 10 Nov 2014 14:19:31 +0000 (14:19 +0000)]
Merge "Clarify documentation for DevicePolicyManager" into lmp-mr1-dev

9 years agoMerge "QS: Icon animation update for existing animations." into lmp-mr1-dev
John Spurlock [Mon, 10 Nov 2014 14:09:21 +0000 (14:09 +0000)]
Merge "QS: Icon animation update for existing animations." into lmp-mr1-dev

9 years agoMerge "QS: Animated hotspot tile icon." into lmp-mr1-dev
John Spurlock [Mon, 10 Nov 2014 14:09:00 +0000 (14:09 +0000)]
Merge "QS: Animated hotspot tile icon." into lmp-mr1-dev

9 years agoMerge "Volume dialog: Add zen mode icons and notification access." into lmp-mr1-dev
John Spurlock [Mon, 10 Nov 2014 14:08:51 +0000 (14:08 +0000)]
Merge "Volume dialog: Add zen mode icons and notification access." into lmp-mr1-dev

9 years agoVolume dialog: Add zen mode icons and notification access.
John Spurlock [Sat, 8 Nov 2014 17:40:19 +0000 (12:40 -0500)]
Volume dialog: Add zen mode icons and notification access.

- Add icon above text to all three zen mode states, update text style.
- Remove zentoast.
- Update shared borderless rect background, masks now support shapes.
- Update size of volume stream icons.
- Ensure all volume icons are expressions of white.
- Make volume icons testable via new demo mode command.
- Add a divider + secondary icon to access the notification slider.
- Animate the transition when accessing notification slider.

Bug: 18206097
Bug: 16303068
Bug: 18102850
Change-Id: I5eb6f820dc317e89be272cc78f6c80ed969ad5e9

9 years agoClarify documentation for DevicePolicyManager
Alexandra Gherghina [Fri, 7 Nov 2014 11:18:12 +0000 (11:18 +0000)]
Clarify documentation for DevicePolicyManager

Bug: 17634106
Change-Id: I93e4c10cb942bc8452043f81f460a5db6c3bd0a4

9 years agoMerge "CEC: Send <Give System Audio Mode> regardless of TV's setting." into lmp-mr1-dev
Jungshik Jang [Mon, 10 Nov 2014 00:54:30 +0000 (00:54 +0000)]
Merge "CEC: Send <Give System Audio Mode> regardless of TV's setting." into lmp-mr1-dev

9 years agoQS: Animated hotspot tile icon.
John Spurlock [Sun, 9 Nov 2014 23:37:19 +0000 (18:37 -0500)]
QS: Animated hotspot tile icon.

Bug: 17426910
Change-Id: Ic7d0219b0a5d749223c35fcbedca78d4adf585c5

9 years agoQS: Icon animation update for existing animations.
John Spurlock [Sun, 9 Nov 2014 23:24:16 +0000 (18:24 -0500)]
QS: Icon animation update for existing animations.

- Remove starting delay.
- Remove alpha on <group>s.

Bug:17426910
Change-Id: I497cb1ca07df865e693c24e9726fd7e80dffa03c

9 years agoMerge "Don't register more receivers and observers for every DateTimeView" into lmp...
Adam Powell [Sun, 9 Nov 2014 19:18:51 +0000 (19:18 +0000)]
Merge "Don't register more receivers and observers for every DateTimeView" into lmp-mr1-dev

9 years agoFrameworks/base: Clockwork preloaded-classes list DO NOT MERGE
Andreas Gampe [Sun, 9 Nov 2014 16:28:10 +0000 (16:28 +0000)]
Frameworks/base: Clockwork preloaded-classes list DO NOT MERGE
automerge: 88d12e5  -s ours

* commit '88d12e5f7bdd85323aacacffb6950a336132df67':
  Frameworks/base: Clockwork preloaded-classes list DO NOT MERGE

9 years agoFrameworks/base: Clockwork preloaded-classes list DO NOT MERGE
Andreas Gampe [Fri, 7 Nov 2014 23:43:00 +0000 (15:43 -0800)]
Frameworks/base: Clockwork preloaded-classes list DO NOT MERGE

Tighter list derived from usage.

Bug: 18248625
Change-Id: I3796fc13f880b1219579103c81bc2d1d727eb4df

9 years agoMerge "Change Configure structure to List<PersistableBundle>" into lmp-mr1-dev
Jim Miller [Sat, 8 Nov 2014 02:37:16 +0000 (02:37 +0000)]
Merge "Change Configure structure to List<PersistableBundle>" into lmp-mr1-dev

9 years agoMerge "Add dumpsys support for bluetooth" into lmp-mr1-dev
Mike Lockwood [Sat, 8 Nov 2014 02:15:25 +0000 (02:15 +0000)]
Merge "Add dumpsys support for bluetooth" into lmp-mr1-dev

9 years agoMerge "UsageStatsService: Update file index to prevent double checkin" into lmp-mr1-dev
Adam Lesinski [Sat, 8 Nov 2014 02:07:44 +0000 (02:07 +0000)]
Merge "UsageStatsService: Update file index to prevent double checkin" into lmp-mr1-dev

9 years agoMerge "Resurrect dusty PackageManagerTests." into lmp-mr1-dev
Jeff Sharkey [Sat, 8 Nov 2014 01:56:59 +0000 (01:56 +0000)]
Merge "Resurrect dusty PackageManagerTests." into lmp-mr1-dev

9 years agoMerge "Inform PendingIntent sender if broadcast was not queued." into lmp-mr1-dev
Amith Yamasani [Sat, 8 Nov 2014 01:39:11 +0000 (01:39 +0000)]
Merge "Inform PendingIntent sender if broadcast was not queued." into lmp-mr1-dev

9 years agoUsageStatsService: Update file index to prevent double checkin
Adam Lesinski [Fri, 7 Nov 2014 23:55:33 +0000 (15:55 -0800)]
UsageStatsService: Update file index to prevent double checkin

We seem to have renamed a file as checked-in twice, which means
we checked it in twice and created a malformed name with the suffix
"-c-c" instead of the correct suffix "-c".

Bug:18280677
Change-Id: Ie3164010898a333e5d9b97151d285ea376de799e

9 years agoChange Configure structure to List<PersistableBundle>
Jim Miller [Fri, 7 Nov 2014 02:40:15 +0000 (18:40 -0800)]
Change Configure structure to List<PersistableBundle>

Adding the new structure was making it difficult for
LMP devices to have common source with upcoming API version.

Fixes bug 17008504

Change-Id: I704503cf0ebff113874c87ab11e37735dbe7b8d7

9 years agodocs: Material design shadow fixes.
Ricardo Cervera [Fri, 7 Nov 2014 23:40:06 +0000 (15:40 -0800)]
docs: Material design shadow fixes.

Bug: 18294964

Change-Id: I7abb298c3de71b8d8905cbe476c40223234f2c2f

9 years agoResurrect dusty PackageManagerTests.
Jeff Sharkey [Sat, 8 Nov 2014 00:24:48 +0000 (16:24 -0800)]
Resurrect dusty PackageManagerTests.

Mostly just getting them running again, still a few failures related
to native library symlinks that need more investigation.

Bug: 18048725
Change-Id: I4642adab9fb2b9ec1488b700edcee48c09e36005

9 years agoMerge "SubInfoRecord provides a tinted icon with the initial embossed." into lmp...
Stuart Scott [Sat, 8 Nov 2014 00:09:15 +0000 (00:09 +0000)]
Merge "SubInfoRecord provides a tinted icon with the initial embossed." into lmp-mr1-dev

9 years agoSubInfoRecord provides a tinted icon with the initial embossed.
Stuart Scott [Tue, 28 Oct 2014 16:29:01 +0000 (09:29 -0700)]
SubInfoRecord provides a tinted icon with the initial embossed.

bug: 17575308
Change-Id: I895975dfe8d1c4db8381ef9322bd72c8fcb3e22c

9 years agoInform PendingIntent sender if broadcast was not queued.
Amith Yamasani [Fri, 7 Nov 2014 23:34:04 +0000 (15:34 -0800)]
Inform PendingIntent sender if broadcast was not queued.

If the broadcast could not be queued due to a stopped user, the
party trying to send a PendingIntent should be notified right away.
Otherwise, for instance, AlarmManager could be waiting forever to
be called back after the broadcast is delivered.

This is a potential fix for:
Bug: 18290018

Change-Id: I07c0751e80f11e69dfa2be5c96a033aecb298b81

9 years agoMerge "ProcessCpuTracker touching proc is fine." into lmp-mr1-dev
Jeff Sharkey [Fri, 7 Nov 2014 23:03:10 +0000 (23:03 +0000)]
Merge "ProcessCpuTracker touching proc is fine." into lmp-mr1-dev

9 years agoMerge "Enable runtime turndown of backup/restore services" into lmp-mr1-dev
Christopher Tate [Fri, 7 Nov 2014 23:00:22 +0000 (23:00 +0000)]
Merge "Enable runtime turndown of backup/restore services" into lmp-mr1-dev

9 years agoDon't register more receivers and observers for every DateTimeView
Adam Powell [Fri, 7 Nov 2014 22:51:16 +0000 (14:51 -0800)]
Don't register more receivers and observers for every DateTimeView

SystemUI uses several of these per notification, so be a little more
conservative and track individual views to update per process instead.

Bug 16902706

Change-Id: Ib77a8e7727d027cae39d5e6f431cac1d1ff8a121

9 years agoProcessCpuTracker touching proc is fine.
Jeff Sharkey [Fri, 7 Nov 2014 22:54:55 +0000 (14:54 -0800)]
ProcessCpuTracker touching proc is fine.

Otherwise we spew hundreds of StrictMode violations.

Bug: 18261125
Change-Id: I2e5ff697b99f55bb73e806f04dba8384e6f1b935

9 years agoMerge "Have an actual fallback if the surface is lost" into lmp-mr1-dev
John Reck [Fri, 7 Nov 2014 22:40:57 +0000 (22:40 +0000)]
Merge "Have an actual fallback if the surface is lost" into lmp-mr1-dev

9 years agoAdd primitive shadows support to LayoutLib
Deepanshu Gupta [Wed, 5 Nov 2014 02:19:55 +0000 (18:19 -0800)]
Add primitive shadows support to LayoutLib

The shadows rendered are not the same as rendered by the framework. The
main purpose of the shadows here is let the user know when shadows will
be cast.

Currently rectangular shadows are available in only two intensities. Any
elevation below 10dp uses one shadow and any elevation over 10 dp uses
the other.

Also, even though the code for arbitrary shapes exist, it doesn't quite
work yet. No shadows are visible when that code is run.

Change-Id: Ie8235ffccf1d3809713f5d8f82afde434817d6b2

9 years agoMerge "Added the restrictions pending application restrictions key." into lmp-mr1-dev
Sander Alewijnse [Fri, 7 Nov 2014 22:24:58 +0000 (22:24 +0000)]
Merge "Added the restrictions pending application restrictions key." into lmp-mr1-dev

9 years agoAdded the restrictions pending application restrictions key.
Sander Alewijnse [Fri, 7 Nov 2014 21:43:00 +0000 (21:43 +0000)]
Added the restrictions pending application restrictions key.

Bug:17632522
Change-Id: If5a0d0ea1f479b0584fc0b1cff2a179d296d2904

9 years agoMerge "Support theme attributes in StateListDrawable <item> element" into lmp-mr1-dev
Alan Viverette [Fri, 7 Nov 2014 22:09:42 +0000 (22:09 +0000)]
Merge "Support theme attributes in StateListDrawable <item> element" into lmp-mr1-dev

9 years agoam 050a8a05: DO NOT MERGE Fix finalizer ordering/double-free issue
John Reck [Fri, 7 Nov 2014 21:47:42 +0000 (21:47 +0000)]
am 050a8a05: DO NOT MERGE Fix finalizer ordering/double-free issue

* commit '050a8a050de04bd0098cde8fdf665a7202929ee0':
  DO NOT MERGE Fix finalizer ordering/double-free issue

9 years agoDO NOT MERGE Fix finalizer ordering/double-free issue
John Reck [Fri, 7 Nov 2014 18:33:36 +0000 (10:33 -0800)]
DO NOT MERGE Fix finalizer ordering/double-free issue

Bug: 18289984

If Surface:finalize() happens after HwuiContext:finalize()
it would try to manipulate a destroyed object. However, as
Surface:finalize() always calls HwuiContext:destroy() this
can be fixed by simply getting rid of HwuiContext's finalizer

Change-Id: I7c912214417ab32891b1c58d045c9721e5f01965
(cherry picked from commit c298f9c9170b9e8721cfb616f784ec22734f22f4)

9 years agoMerge "Prepare for testing the NetworkControllerImpl" into lmp-mr1-dev
Jason Monk [Fri, 7 Nov 2014 21:26:38 +0000 (21:26 +0000)]
Merge "Prepare for testing the NetworkControllerImpl" into lmp-mr1-dev

9 years agoUpdate above/below backgrounds in PopupWindow.setBackground()
Alan Viverette [Fri, 7 Nov 2014 21:19:38 +0000 (13:19 -0800)]
Update above/below backgrounds in PopupWindow.setBackground()

BUG: 17718714
Change-Id: I936dfede60bc006a59cd3eb1b18548c7702ae0ee

9 years agoMerge "Conference event package performance improvement." into lmp-mr1-dev
Tyler Gunn [Fri, 7 Nov 2014 20:42:20 +0000 (20:42 +0000)]
Merge "Conference event package performance improvement." into lmp-mr1-dev

9 years agoMerge "QS: Long-press on usage-based tiles to hide." into lmp-mr1-dev
John Spurlock [Fri, 7 Nov 2014 20:31:10 +0000 (20:31 +0000)]
Merge "QS: Long-press on usage-based tiles to hide." into lmp-mr1-dev

9 years agoQS: Long-press on usage-based tiles to hide.
John Spurlock [Fri, 7 Nov 2014 04:06:25 +0000 (23:06 -0500)]
QS: Long-press on usage-based tiles to hide.

Bug: 18284167
Change-Id: Ia03ea34af5733b801be6a14645c76754b73c6165

9 years agoMerge "Reset rotation-lock-for-accessibility setting on upgrade." into lmp-mr1-dev
John Spurlock [Fri, 7 Nov 2014 20:26:34 +0000 (20:26 +0000)]
Merge "Reset rotation-lock-for-accessibility setting on upgrade." into lmp-mr1-dev

9 years agoReset rotation-lock-for-accessibility setting on upgrade.
John Spurlock [Fri, 7 Nov 2014 20:14:21 +0000 (15:14 -0500)]
Reset rotation-lock-for-accessibility setting on upgrade.

Since it now hides the display setting, force the user to opt-in
again.

Bug: 18104538
Change-Id: I4cac947f7a35ba0f578d059542401dcc5d169307

9 years agoPrepare for testing the NetworkControllerImpl
Jason Monk [Wed, 5 Nov 2014 17:39:45 +0000 (12:39 -0500)]
Prepare for testing the NetworkControllerImpl

This will allow us to add some test cases to verify that under
certain phone/signal conditions we get out the icons we expect.
This will let us break less things when refactoring for MSIM.

Bug: 18222975
Change-Id: I7bd3e66e7de6b30fede72e40fb6aa37dd523336c

9 years agoMerge "API changes to add carrier name to subinforecord" into lmp-mr1-dev
Sanket Padawe [Fri, 7 Nov 2014 19:47:47 +0000 (19:47 +0000)]
Merge "API changes to add carrier name to subinforecord" into lmp-mr1-dev

9 years agoMerge "Add a BufferItem parameter to onFrameAvailable" into lmp-mr1-dev
Dan Stoza [Fri, 7 Nov 2014 19:44:32 +0000 (19:44 +0000)]
Merge "Add a BufferItem parameter to onFrameAvailable" into lmp-mr1-dev

9 years agoAPI changes to add carrier name to subinforecord
Sanket Padawe [Fri, 7 Nov 2014 19:37:29 +0000 (11:37 -0800)]
API changes to add carrier name to subinforecord

API changes required to add carrier name of sim as a member of subinforecord.

Change-Id: I08a7f53dc012967005f7b5abd1fbc08f2947da67

9 years agoMerge "Fix Build" into lmp-mr1-dev
Jason Monk [Fri, 7 Nov 2014 19:32:45 +0000 (19:32 +0000)]
Merge "Fix Build" into lmp-mr1-dev

9 years agoMerge "Fix finalizer ordering/double-free issue" into lmp-mr1-dev
John Reck [Fri, 7 Nov 2014 19:29:45 +0000 (19:29 +0000)]
Merge "Fix finalizer ordering/double-free issue" into lmp-mr1-dev

9 years agoFix Build
Jason Monk [Fri, 7 Nov 2014 19:25:17 +0000 (14:25 -0500)]
Fix Build

Change-Id: I0f4094718435b219b6e6b1d98435377a42319adb

9 years agoHave an actual fallback if the surface is lost
John Reck [Fri, 7 Nov 2014 19:02:07 +0000 (11:02 -0800)]
Have an actual fallback if the surface is lost

Bug: 17516789

This will force a relayout/reinitialize pass if the Surface
is lost mid-render instead of crashing on the next frame

Change-Id: If08bfa16f740728fa7c05904fa11e26f07b81e2e