OSDN Git Service

android-x86/frameworks-base.git
9 years agoMerge "AAPT: Continuation of public/private attribute fix" into lmp-dev
Adam Lesinski [Mon, 22 Sep 2014 18:00:30 +0000 (18:00 +0000)]
Merge "AAPT: Continuation of public/private attribute fix" into lmp-dev

9 years agoAAPT: Continuation of public/private attribute fix
Adam Lesinski [Fri, 19 Sep 2014 22:10:04 +0000 (15:10 -0700)]
AAPT: Continuation of public/private attribute fix

XML files like layouts are now scanned and checked
for v21 attributes. If those kinds of attributes
are found, then we remove them in the original
version and synthesize a new xml file under the
v21 configuration.

Bug:17520380
Change-Id: Icf984cb96134180a2e35349c1dbf2cef9a8f0bda

9 years agoFix issues with new TTS API
Przemyslaw Szczepaniak [Mon, 22 Sep 2014 16:39:16 +0000 (17:39 +0100)]
Fix issues with new TTS API

Bug: 17389935
Change-Id: I59234b3222f59dc89be7e40f7d4706b1f8c610ce

9 years agoMerge "Announce title of QS detail views" into lmp-dev
Jason Monk [Mon, 22 Sep 2014 15:33:05 +0000 (15:33 +0000)]
Merge "Announce title of QS detail views" into lmp-dev

9 years agoFix status bar cast icon not updating
Jason Monk [Fri, 19 Sep 2014 20:14:32 +0000 (16:14 -0400)]
Fix status bar cast icon not updating

Change the listening in CastControllerImpl so that it will always
at least passive discovery when callbacks are added.  When discovering
is set this will switch to request discovery.  This allows the
status bar to catch disconnect callbacks when QS is not discovering.

Bug: 17555869
Change-Id: Id2a80b98f6c7ca7e6a4d0ff00315d10a109e8259

9 years agoAnnounce title of QS detail views
Jason Monk [Mon, 22 Sep 2014 14:21:01 +0000 (10:21 -0400)]
Announce title of QS detail views

When entering a QS detail view announce the title of the view for
accessibility.

Bug: 17578404
Change-Id: I4cfd1bc85604af822b4f5fce852b39687f71cbae

9 years agoMerge changes Iccd4d53d,Id449bc7a into lmp-dev
Ruben Brunk [Mon, 22 Sep 2014 02:54:21 +0000 (02:54 +0000)]
Merge changes Iccd4d53d,Id449bc7a into lmp-dev

* changes:
  camera2: Avoid setting null metering regions in LEGACY.
  camera2: Fix JPEG orientation set by LEGACY request.

9 years agoMerge "Doze: Ensure a doze reset happens after leaving keyguard." into lmp-dev
John Spurlock [Mon, 22 Sep 2014 02:00:36 +0000 (02:00 +0000)]
Merge "Doze: Ensure a doze reset happens after leaving keyguard." into lmp-dev

9 years agoMerge "Allow fallback to Toolbar's default Navigation Icon" into lmp-dev
Yigit Boyar [Mon, 22 Sep 2014 01:14:39 +0000 (01:14 +0000)]
Merge "Allow fallback to Toolbar's default Navigation Icon" into lmp-dev

9 years agocamera2: Avoid setting null metering regions in LEGACY.
Ruben Brunk [Sun, 21 Sep 2014 22:04:30 +0000 (15:04 -0700)]
camera2: Avoid setting null metering regions in LEGACY.

Bug: 17587491

- If a single region with zero weight is set, revert to default
  metering region rather than attempting to set a null to
  avoid setParameters failure.

Change-Id: Iccd4d53d5a2134a9d744eafb731f464b653a154d

9 years agocamera2: Fix JPEG orientation set by LEGACY request.
Ruben Brunk [Sun, 21 Sep 2014 20:17:02 +0000 (13:17 -0700)]
camera2: Fix JPEG orientation set by LEGACY request.

Bug: 17589231
Change-Id: Id449bc7a39a6550413e6c441b6dc204e11eacda9

9 years agoDoze: Ensure a doze reset happens after leaving keyguard.
John Spurlock [Sun, 21 Sep 2014 21:55:01 +0000 (17:55 -0400)]
Doze: Ensure a doze reset happens after leaving keyguard.

Bug:17536133
Change-Id: Ibc88a7f2c1a51656676fe62d4de8ab3ec4dd4081

9 years agoMerge "Pass disconnect reason for failed remote connections" into lmp-dev
Sailesh Nepal [Sun, 21 Sep 2014 21:35:21 +0000 (21:35 +0000)]
Merge "Pass disconnect reason for failed remote connections" into lmp-dev

9 years agoMerge "camera2: refactor LEGACY mode error handling." into lmp-dev
Ruben Brunk [Sun, 21 Sep 2014 19:16:55 +0000 (19:16 +0000)]
Merge "camera2: refactor LEGACY mode error handling." into lmp-dev

9 years agocamera2: refactor LEGACY mode error handling.
Ruben Brunk [Tue, 16 Sep 2014 20:18:31 +0000 (13:18 -0700)]
camera2: refactor LEGACY mode error handling.

Bug: 17431462
Bug: 17407537

- Add Surface format/size validation during configure.
- Update exception error codes used in binder calls.
- Report dropped requests, frames, captures, and device
  errors in binder callback properly.
- Fixes CameraDeviceTest errors for incorrect metering
  rectangle weight in template tests.
- Fixes CameraDeviceTest errors for missing
  noiseReductionMode field in template tests.
- Implement flush call.

Change-Id: I0da803bccf2bfb9b4c0cf61208e160a86c577497

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Sun, 21 Sep 2014 18:07:49 +0000 (18:07 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

9 years agoMerge "Fix memory leak in accessibility cache." into lmp-dev
Svetoslav [Sun, 21 Sep 2014 17:53:39 +0000 (17:53 +0000)]
Merge "Fix memory leak in accessibility cache." into lmp-dev

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Sun, 21 Sep 2014 17:52:16 +0000 (17:52 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Sun, 21 Sep 2014 17:51:55 +0000 (17:51 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Sun, 21 Sep 2014 17:51:33 +0000 (17:51 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

9 years agoMerge "Mark sysui config resource as untranslatable." into lmp-dev
John Spurlock [Sun, 21 Sep 2014 16:57:53 +0000 (16:57 +0000)]
Merge "Mark sysui config resource as untranslatable." into lmp-dev

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sun, 21 Sep 2014 06:10:32 +0000 (23:10 -0700)]
Import translations. DO NOT MERGE

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

9 years agoPass disconnect reason for failed remote connections
Sailesh Nepal [Sun, 21 Sep 2014 01:23:05 +0000 (18:23 -0700)]
Pass disconnect reason for failed remote connections

If a remote connection fails to create call setDisconnected
instead of setState. This allows us to pass the disconnect
reason.

Note, this CL is very low risk since it only impacts remote
connections.

Bug: 17594857
Change-Id: Id296f3f5a4bb9168b358d3bfda94e04623a6b99c

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sat, 20 Sep 2014 23:09:28 +0000 (16:09 -0700)]
Import translations. DO NOT MERGE

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

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sat, 20 Sep 2014 20:28:25 +0000 (13:28 -0700)]
Import translations. DO NOT MERGE

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

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sat, 20 Sep 2014 19:56:55 +0000 (12:56 -0700)]
Import translations. DO NOT MERGE

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

9 years agoFix memory leak in accessibility cache.
Svetoslav [Sat, 20 Sep 2014 01:18:04 +0000 (18:18 -0700)]
Fix memory leak in accessibility cache.

We were not clearing the cache if window state change event
is fired which was the behavior before adding the window
inspection APIs. As a result if no accessibility service
cares about windows we get a leek. Also when the accessibiilty
service cares about windows we were not clearing all windows
nodes from the cache. Now if a windows change or a window
state change event is recived we clear the cache.

bug:17589257

Change-Id: I8c416fbcab623160c6f505128b9fca713fcc6623

9 years agoMerge "Find activity from context in menu inflator for click events" into lmp-dev
Yigit Boyar [Sat, 20 Sep 2014 01:29:59 +0000 (01:29 +0000)]
Merge "Find activity from context in menu inflator for click events" into lmp-dev

9 years agoAllow fallback to Toolbar's default Navigation Icon
Yigit Boyar [Fri, 19 Sep 2014 21:26:23 +0000 (14:26 -0700)]
Allow fallback to Toolbar's default Navigation Icon

Bug: 17554486
Change-Id: Id9f2197820df42d81351540be5baa852f49bdf0a

9 years agoMerge "Decouple turning screen on from waking up in policy." into lmp-dev
Jeff Brown [Sat, 20 Sep 2014 01:09:36 +0000 (01:09 +0000)]
Merge "Decouple turning screen on from waking up in policy." into lmp-dev

9 years agoMerge "Fix order of operations while pulsing the ambient display." into lmp-dev
Jeff Brown [Sat, 20 Sep 2014 01:09:07 +0000 (01:09 +0000)]
Merge "Fix order of operations while pulsing the ambient display." into lmp-dev

9 years agoMerge "Ensure that the screen on blocker is applied while dozing." into lmp-dev
Jeff Brown [Sat, 20 Sep 2014 01:08:51 +0000 (01:08 +0000)]
Merge "Ensure that the screen on blocker is applied while dozing." into lmp-dev

9 years agoMark sysui config resource as untranslatable.
John Spurlock [Sat, 20 Sep 2014 00:48:24 +0000 (20:48 -0400)]
Mark sysui config resource as untranslatable.

Bug:17523754
Change-Id: I8917c110acc02c501e4dc011de4e6e7f8a0545c5

9 years agoMerge "Always give wifi a chance to quiet down during restore" into lmp-dev
Christopher Tate [Sat, 20 Sep 2014 00:25:11 +0000 (00:25 +0000)]
Merge "Always give wifi a chance to quiet down during restore" into lmp-dev

9 years agoMerge "Fix issue #17492300: NavUtils.shouldUpRecreateTask returns different..." into...
Dianne Hackborn [Sat, 20 Sep 2014 00:22:51 +0000 (00:22 +0000)]
Merge "Fix issue #17492300: NavUtils.shouldUpRecreateTask returns different..." into lmp-dev

9 years agoFix issue #17492300: NavUtils.shouldUpRecreateTask returns different...
Dianne Hackborn [Sat, 20 Sep 2014 00:21:46 +0000 (17:21 -0700)]
Fix issue #17492300: NavUtils.shouldUpRecreateTask returns different...

...value in L

Only do the new logic when the task is a document.

Change-Id: I4664b94a3fe86ea266c2feb4e889c14c06751a15

9 years agoAlways give wifi a chance to quiet down during restore
Christopher Tate [Sat, 20 Sep 2014 00:03:59 +0000 (17:03 -0700)]
Always give wifi a chance to quiet down during restore

Not just when the current scan-always setting is on.

Bug 17571997

Change-Id: Idc56c9682c18f5e23c0bde98736522a79583af5e

9 years agoMerge "TouchExploer computes incorectly the click location." into lmp-dev
Svetoslav [Sat, 20 Sep 2014 00:02:45 +0000 (00:02 +0000)]
Merge "TouchExploer computes incorectly the click location." into lmp-dev

9 years agoTouchExploer computes incorectly the click location.
Svetoslav [Fri, 19 Sep 2014 22:37:02 +0000 (15:37 -0700)]
TouchExploer computes incorectly the click location.

If there is accessibilty focus and the user touch explores
location that does not change accessibility focus that is
not in the app window, e.g. system bar, double tap does not
click on the system UI affordance. This is due to obsolete
logic from the time where accessibility focus was only in
the active window at the time of double clicking.

bug:17588024

Change-Id: Ib780103e873d8a2afd3b35de3227d54116f1a1b0

9 years agoMerge "Account for alpha in hasShadow()" into lmp-dev
Chris Craik [Fri, 19 Sep 2014 23:36:20 +0000 (23:36 +0000)]
Merge "Account for alpha in hasShadow()" into lmp-dev

9 years agoMerge "Fix issue #17574819: Chrome browser process is killed in background..." into...
Dianne Hackborn [Fri, 19 Sep 2014 23:26:16 +0000 (23:26 +0000)]
Merge "Fix issue #17574819: Chrome browser process is killed in background..." into lmp-dev

9 years agoMerge "Work on issue #17381033: Program icon and shortcut disappear after..." into...
Dianne Hackborn [Fri, 19 Sep 2014 23:24:18 +0000 (23:24 +0000)]
Merge "Work on issue #17381033: Program icon and shortcut disappear after..." into lmp-dev

9 years agoWork on issue #17381033: Program icon and shortcut disappear after...
Dianne Hackborn [Fri, 19 Sep 2014 23:16:04 +0000 (16:16 -0700)]
Work on issue #17381033: Program icon and shortcut disappear after...

...running monkey test overnight [FACTORY ROM BLOCKER]

Add surface tracing to debug output.

Change-Id: I65f7fc90c51b0805f7e0090141c33d6b60ccb3b4

9 years agoMerge "Control radio restart on PDP_FAIL_REGULAR_DEACTIVATION by a config variable...
Amit Mahajan [Fri, 19 Sep 2014 23:12:57 +0000 (23:12 +0000)]
Merge "Control radio restart on PDP_FAIL_REGULAR_DEACTIVATION by a config variable" into lmp-dev

9 years agoControl radio restart on PDP_FAIL_REGULAR_DEACTIVATION by a config variable
Hui Wang [Fri, 19 Sep 2014 21:20:44 +0000 (16:20 -0500)]
Control radio restart on PDP_FAIL_REGULAR_DEACTIVATION by a config variable

Bug: 1756765116308209
Change-Id: Ie164b16b70429d5815e9bef5f8c5489f6e49de36

9 years agoAccount for alpha in hasShadow()
Chris Craik [Fri, 19 Sep 2014 23:04:45 +0000 (16:04 -0700)]
Account for alpha in hasShadow()

bug:17587220
Change-Id: Ic7f2dea95302b713dc93edb4a0193a7be77fb2eb

9 years agoLogspam is spam
Christopher Tate [Fri, 19 Sep 2014 22:44:13 +0000 (15:44 -0700)]
Logspam is spam

This turns out to happen a lot in normal usage, but we're logging
copiously about it each time.  It's reporting "oh hey we're already
in this state" -- and so the log is not useful anyway.

Logspam is spam.

Bug 15169507

Change-Id: Ie2d01ff1b0b3600dd9c15ccf83d60875558f1dc2

9 years agoMerge "Update theme colors for better contrast and de-blueing" into lmp-dev
Alan Viverette [Fri, 19 Sep 2014 22:28:07 +0000 (22:28 +0000)]
Merge "Update theme colors for better contrast and de-blueing" into lmp-dev

9 years agoMerge "Correctly apply max width/height to preference icons" into lmp-dev
Alan Viverette [Fri, 19 Sep 2014 22:19:01 +0000 (22:19 +0000)]
Merge "Correctly apply max width/height to preference icons" into lmp-dev

9 years agoUpdate theme colors for better contrast and de-blueing
Alan Viverette [Fri, 19 Sep 2014 20:28:14 +0000 (13:28 -0700)]
Update theme colors for better contrast and de-blueing

BUG: 17520824
Change-Id: Id9f90136cea169ba9e58db957034c539ef25121f

9 years agoFix issue #17574819: Chrome browser process is killed in background...
Dianne Hackborn [Fri, 19 Sep 2014 22:09:39 +0000 (15:09 -0700)]
Fix issue #17574819: Chrome browser process is killed in background...

...due to dying renderer process

Don't kill processes if they are bound to a service but not impacting
oom adjustment.

Change-Id: I1cc44e633feaeaad6e996b79a6cfd7b386c04095

9 years agoMerge "Keep existing API behavior that regressed." into lmp-dev
Svetoslav [Fri, 19 Sep 2014 21:41:38 +0000 (21:41 +0000)]
Merge "Keep existing API behavior that regressed." into lmp-dev

9 years agoMerge "Add new activity dumpsys command to persist all data." into lmp-dev
Dianne Hackborn [Fri, 19 Sep 2014 21:41:38 +0000 (21:41 +0000)]
Merge "Add new activity dumpsys command to persist all data." into lmp-dev

9 years agoMerge "Fix a print spooler crash when printing." into lmp-dev
Svetoslav [Fri, 19 Sep 2014 21:41:11 +0000 (21:41 +0000)]
Merge "Fix a print spooler crash when printing." into lmp-dev

9 years agoFix a print spooler crash when printing.
Svetoslav [Fri, 19 Sep 2014 21:24:30 +0000 (14:24 -0700)]
Fix a print spooler crash when printing.

The spooler communicates with he remote PDF renderer asynchronously.
When print is confirmed we close the renderer, destroy it, and unbind
from its service. If we unbind from the service after the print activiy
is finished we get a crash. The bug was that we did not wait until we
disconnect from the remote renderer before finishing the print activity.

bug:17583115

Change-Id: I55b0135f9c5658b3a4fda2901b8b3bdef044e211

9 years agoMerge "Target only shared elements with shared element Transition" into lmp-dev
George Mount [Fri, 19 Sep 2014 21:01:14 +0000 (21:01 +0000)]
Merge "Target only shared elements with shared element Transition" into lmp-dev

9 years agoKeep existing API behavior that regressed.
Svetoslav [Fri, 19 Sep 2014 20:21:55 +0000 (13:21 -0700)]
Keep existing API behavior that regressed.

If RemoteViews get a null package in the constructor we are
using the context in which they are applied to obtain resources
during inflation. In such a case if we call the getPackage()
method we were getting null, i.e. the package passed in the
contructor, but now we are returning the package if the app
that created the remote views.

bug:17513823
Change-Id: I0c4a8953c8320469a9160dbaae46ce31465b313b

9 years agoMerge "Fix bugs when system apps reclaim permissions." into lmp-dev
Jeff Sharkey [Fri, 19 Sep 2014 20:58:43 +0000 (20:58 +0000)]
Merge "Fix bugs when system apps reclaim permissions." into lmp-dev

9 years agoMerge "Fix action bar title size consistency" into lmp-dev
Alan Viverette [Fri, 19 Sep 2014 20:51:13 +0000 (20:51 +0000)]
Merge "Fix action bar title size consistency" into lmp-dev

9 years agoCorrectly apply max width/height to preference icons
Alan Viverette [Fri, 19 Sep 2014 20:36:29 +0000 (13:36 -0700)]
Correctly apply max width/height to preference icons

BUG: 17581750
Change-Id: I8ad21a321c80f0a657670ba4d175d0ebecea49ef

9 years agoMerge "Add colorEdgeEffect to themes, default it to colorPrimary" into lmp-dev
Adam Powell [Fri, 19 Sep 2014 20:31:12 +0000 (20:31 +0000)]
Merge "Add colorEdgeEffect to themes, default it to colorPrimary" into lmp-dev

9 years agoDecouple turning screen on from waking up in policy.
Jeff Brown [Fri, 19 Sep 2014 19:05:31 +0000 (12:05 -0700)]
Decouple turning screen on from waking up in policy.

This allows us to ensure windows are fully drawn before unblocking
screen on while dozing.

Bug: 17516245
Change-Id: Ibe63c212b8db855ce26a34a8169f33764b266ee6

9 years agoFix order of operations while pulsing the ambient display.
Jeff Brown [Thu, 18 Sep 2014 22:27:50 +0000 (15:27 -0700)]
Fix order of operations while pulsing the ambient display.

This change fixes several issues in how the display's power state
was coordinated to ensure that the display is not turned on until
the pulse is ready to be shown.  It also greatly simplifies the
wakelock logic and makes it completely deterministic instead of
relying on timed delays.

Bug: 17516245
Change-Id: If2b96845a010f2d05c610970257d898f32ccacb7

9 years agoEnsure that the screen on blocker is applied while dozing.
Jeff Brown [Thu, 18 Sep 2014 22:22:26 +0000 (15:22 -0700)]
Ensure that the screen on blocker is applied while dozing.

The screen on blocker is used to keep the screen blank while the
system is drawing new content to prevent the user from seeing a
flash of stale content while the screen is being turned on.
This patch ensures that the screen on blocker functionality
is also applied while dozing.

Bug: 17516245
Change-Id: I77c2d0f2b99476a59ad212099f44c63aa2ef9c34

9 years agoAdd new activity dumpsys command to persist all data.
Dianne Hackborn [Fri, 19 Sep 2014 19:58:15 +0000 (12:58 -0700)]
Add new activity dumpsys command to persist all data.

Very useful for testing persisting/restoring, to make sure
that all pending changes have been written.

Change-Id: I0e3b7cd3af8afb0b6e751e086081566ab00b76c9

9 years agoTarget only shared elements with shared element Transition
George Mount [Fri, 19 Sep 2014 17:02:02 +0000 (10:02 -0700)]
Target only shared elements with shared element Transition

Bug 17549213
Bug 17553253

Change-Id: If54aebb4e37d2012aa8d1c5354d5ec03f92b81a3

9 years agoMerge "Respect intent-filter priority for system keyboard layouts." into lmp-dev
Michael Wright [Fri, 19 Sep 2014 19:52:53 +0000 (19:52 +0000)]
Merge "Respect intent-filter priority for system keyboard layouts." into lmp-dev

9 years agoAdd colorEdgeEffect to themes, default it to colorPrimary
Adam Powell [Fri, 19 Sep 2014 19:50:31 +0000 (12:50 -0700)]
Add colorEdgeEffect to themes, default it to colorPrimary

Allow edgeeffect colors to be changed independently of the primary
color for the current theme.

Bug 16512225

Change-Id: Ibc13ad755f489fe1f6d16af0c61a1d12dd1a61f7

9 years agoMerge "Fix crash in PacManager" into lmp-dev
Jason Monk [Fri, 19 Sep 2014 19:25:46 +0000 (19:25 +0000)]
Merge "Fix crash in PacManager" into lmp-dev

9 years agoMerge "Fix radial time picker inner circle (1-12) selections" into lmp-dev
Alan Viverette [Fri, 19 Sep 2014 19:11:46 +0000 (19:11 +0000)]
Merge "Fix radial time picker inner circle (1-12) selections" into lmp-dev

9 years agoFixes typo in Intent documentation
Paul Soulos [Fri, 19 Sep 2014 18:00:52 +0000 (11:00 -0700)]
Fixes typo in Intent documentation

bug: 17583712
Change-Id: I37c77644213417751f8261098af44096aef51b14

9 years agoMerge "Add constructor for DisconnectCause that does not require a tone." into lmp-dev
Nancy Chen [Fri, 19 Sep 2014 19:08:28 +0000 (19:08 +0000)]
Merge "Add constructor for DisconnectCause that does not require a tone." into lmp-dev

9 years agoFix crash in PacManager
Jason Monk [Fri, 19 Sep 2014 16:46:19 +0000 (12:46 -0400)]
Fix crash in PacManager

The PacManager would clear the pac url by setting it to null, however
everywhere else, pac url is cleared to Uri.EMPTY.  This sometimes leads
to an NPE when PAC is set and cleared rapidly and take down the whole
framework.

Bug: 17581527
Change-Id: I84ce215f4f6a8a7e804372fc0a1e20ac609a21f1

9 years agoOptimized and improved the status bar performance a lot
Selim Cinek [Fri, 19 Sep 2014 15:20:05 +0000 (17:20 +0200)]
Optimized and improved the status bar performance a lot

Instead of clearing the Statusbarwindow buffer in the beginning
we now draw the scrim with mode SRC and therefore a whole screen
of overdraw is saved!

Bug: 17287256
Change-Id: I29f14a2c3d4cb087c422ae6f486d23d7f8ec173b

9 years agoMerge "Fix backwards compat problem with AAPT public attrs" into lmp-dev
Adam Lesinski [Fri, 19 Sep 2014 18:19:56 +0000 (18:19 +0000)]
Merge "Fix backwards compat problem with AAPT public attrs" into lmp-dev

9 years agoFix bugs when system apps reclaim permissions.
Jeff Sharkey [Fri, 19 Sep 2014 18:08:45 +0000 (11:08 -0700)]
Fix bugs when system apps reclaim permissions.

Recently we started letting system apps always take precedence over
third-party apps when defining permissions.  This change fixes that
logic to claim the permission immediately, instead of delaying until
after the next reboot.  (Permissions are always reevaluated after
each install.)

We also tighten the constraints slightly to prevent two system
apps from fighting over a permission definition; the first system
app to claim the permission wins.

Bug: 17526617
Change-Id: I49686407f5e99322bc511795c653c5d702becd9d

9 years agoAdd constructor for DisconnectCause that does not require a tone.
Nancy Chen [Fri, 19 Sep 2014 17:53:21 +0000 (10:53 -0700)]
Add constructor for DisconnectCause that does not require a tone.

In order to create a DisconnectCause with a label/description that does
not require specifying a tone.

Bug: 17486242
Change-Id: If82605ff20fc9f53ed41b49e12575424c6efc2b6

9 years agoMerge "Hide other color filter mutability" into lmp-dev
Chris Craik [Fri, 19 Sep 2014 17:42:21 +0000 (17:42 +0000)]
Merge "Hide other color filter mutability" into lmp-dev

9 years agoMerge "Make panel menu windows respect elevation" into lmp-dev
Adam Powell [Fri, 19 Sep 2014 17:25:33 +0000 (17:25 +0000)]
Merge "Make panel menu windows respect elevation" into lmp-dev

9 years agoFix action bar title size consistency
Alan Viverette [Fri, 19 Sep 2014 17:23:34 +0000 (10:23 -0700)]
Fix action bar title size consistency

BUG: 17582193
Change-Id: I7dfe9229361dcd52893fd96e1e8f9a006d7ffad3

9 years agoMerge "glFinish to flush deletes" into lmp-dev
John Reck [Fri, 19 Sep 2014 17:22:16 +0000 (17:22 +0000)]
Merge "glFinish to flush deletes" into lmp-dev

9 years agoFix radial time picker inner circle (1-12) selections
Alan Viverette [Fri, 19 Sep 2014 17:20:45 +0000 (10:20 -0700)]
Fix radial time picker inner circle (1-12) selections

Result of a poorly collapsed set of if block conditionals.

BUG: 17580782
Change-Id: I7f7e5038f943d1f49e1541acfa282479cb2505ea

9 years agoMerge "QS: Fix accessibility announce for dual tiles" into lmp-dev
Jason Monk [Fri, 19 Sep 2014 17:19:39 +0000 (17:19 +0000)]
Merge "QS: Fix accessibility announce for dual tiles" into lmp-dev

9 years agoMerge "Handling service number convert while roaming." into lmp-dev
Amit Mahajan [Fri, 19 Sep 2014 17:12:32 +0000 (17:12 +0000)]
Merge "Handling service number convert while roaming." into lmp-dev

9 years agoglFinish to flush deletes
John Reck [Fri, 19 Sep 2014 17:10:19 +0000 (10:10 -0700)]
glFinish to flush deletes

Bug: 17479800
Change-Id: I4d4a3eeda510e037f806052025184f3cde18c847

9 years agoMerge "Remove FLAG_FOREGROUND_SERVICE on Service.stopForeground()" into lmp-dev
Christoph Studer [Fri, 19 Sep 2014 16:43:45 +0000 (16:43 +0000)]
Merge "Remove FLAG_FOREGROUND_SERVICE on Service.stopForeground()" into lmp-dev

9 years agoMerge "Only revoke ownerless grants when unprivileged." into lmp-dev
Jeff Sharkey [Fri, 19 Sep 2014 16:32:51 +0000 (16:32 +0000)]
Merge "Only revoke ownerless grants when unprivileged." into lmp-dev

9 years agoMerge "Delete file containing removed attributes and styles" into lmp-dev
Alan Viverette [Fri, 19 Sep 2014 16:21:00 +0000 (16:21 +0000)]
Merge "Delete file containing removed attributes and styles" into lmp-dev

9 years agoOnly revoke ownerless grants when unprivileged.
Jeff Sharkey [Fri, 19 Sep 2014 16:14:34 +0000 (09:14 -0700)]
Only revoke ownerless grants when unprivileged.

Recently we relaxed revokeUriPermission() to allow apps to revoke
Uri permissions that had been granted to them, but this uncovered
bugs in apps that had been relying on the previous no-op behavior.

To mitigate this, only revoke ownerless Uri permissions when in the
unprivileged state; an active owner indicates that another component
of the calling app still needs the permission.

Bug: 17554268
Change-Id: Icc412933b29041ffb699d20136a623440ecc71ec

9 years agoMerge "When dozing, re-enable falsing threshold and log events." into lmp-dev
John Spurlock [Fri, 19 Sep 2014 16:04:35 +0000 (16:04 +0000)]
Merge "When dozing, re-enable falsing threshold and log events." into lmp-dev

9 years agoHide other color filter mutability
Chris Craik [Tue, 16 Sep 2014 17:51:45 +0000 (10:51 -0700)]
Hide other color filter mutability

bug:17262092
Change-Id: Ia6c0e1a684365c372803d1a6be41a478a05e0dd0

9 years agoMerge "Allow primary user profile owner to set device restrictions" into lmp-dev
Amith Yamasani [Fri, 19 Sep 2014 15:51:38 +0000 (15:51 +0000)]
Merge "Allow primary user profile owner to set device restrictions" into lmp-dev

9 years agoWhen dozing, re-enable falsing threshold and log events.
John Spurlock [Fri, 19 Sep 2014 12:30:21 +0000 (08:30 -0400)]
When dozing, re-enable falsing threshold and log events.

- Reactivate our configured keyguard falsing swipe threshold
  for secure keyguards, but only when dozing.
- Add DozeLog helper to capture/maintain interesting events
  about the doze + unlock process, enabled by default, but
  only on devices that start dozing at least once.
- Dump summary counts + logged events to dumpsys output.
- Pass notification pulse "instance" as an extra to the scheduled
  intent, so we can log accordingly.

Bug:17496795
Change-Id: I7e88f93bfc967bdc06550cf1fe5e74d535edd774

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Fri, 19 Sep 2014 15:42:00 +0000 (15:42 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

9 years agoMerge "Fix exception when fragment container has no View." into lmp-dev
George Mount [Fri, 19 Sep 2014 15:39:44 +0000 (15:39 +0000)]
Merge "Fix exception when fragment container has no View." into lmp-dev

9 years agoMerge "Fix NPE when shared element listener is null." into lmp-dev
George Mount [Fri, 19 Sep 2014 15:39:02 +0000 (15:39 +0000)]
Merge "Fix NPE when shared element listener is null." into lmp-dev

9 years agoMerge "Fix garbage showing up beneath dialogs" into lmp-dev
Chris Craik [Fri, 19 Sep 2014 15:31:17 +0000 (15:31 +0000)]
Merge "Fix garbage showing up beneath dialogs" into lmp-dev

9 years agoDelete file containing removed attributes and styles
Alan Viverette [Fri, 19 Sep 2014 15:21:51 +0000 (08:21 -0700)]
Delete file containing removed attributes and styles

These were already removed from public.xml, so this change does
not affect current.txt or public resource IDs.

BUG: 17577849
Change-Id: I3a754e968732705e5facfbc96e6e14c901d08596

9 years agoMerge "bug fix: Allow enableSystemApps to be called by profile and device owner....
Jessica Hummel [Fri, 19 Sep 2014 14:22:42 +0000 (14:22 +0000)]
Merge "bug fix: Allow enableSystemApps to be called by profile and device owner." into lmp-dev

9 years agoQS: Fix accessibility announce for dual tiles
Jason Monk [Thu, 18 Sep 2014 20:11:09 +0000 (16:11 -0400)]
QS: Fix accessibility announce for dual tiles

Bug: 17512411
Change-Id: I3515804fce2742e9553d65dab9693ccc0b9f39cf