OSDN Git Service

android-x86/frameworks-base.git
9 years agoMerge "Add ACCESS_IMS_CALL_SERVICE hidden permission." into mnc-dev
Etan Cohen [Wed, 8 Jul 2015 04:01:59 +0000 (04:01 +0000)]
Merge "Add ACCESS_IMS_CALL_SERVICE hidden permission." into mnc-dev

9 years agoam 3f83aa3f: am 4da25c2e: Docs: L10N of remaining M Preview docs (ko).
David Friedman [Wed, 8 Jul 2015 03:43:58 +0000 (03:43 +0000)]
am 3f83aa3f: am 4da25c2e: Docs: L10N of remaining M Preview docs (ko).

* commit '3f83aa3f7b6a96619b5bdd31a30d8b7937e0894f':
  Docs: L10N of remaining M Preview docs (ko).

9 years agoMerge "Set AppErrorDialog result during dismissal if it isn't already set" into mnc-dev
Wale Ogunwale [Wed, 8 Jul 2015 03:32:30 +0000 (03:32 +0000)]
Merge "Set AppErrorDialog result during dismissal if it isn't already set" into mnc-dev

9 years agoam 4da25c2e: Docs: L10N of remaining M Preview docs (ko).
David Friedman [Wed, 8 Jul 2015 03:31:15 +0000 (03:31 +0000)]
am 4da25c2e: Docs: L10N of remaining M Preview docs (ko).

* commit '4da25c2e040f58ae8fc3361a5e0f974ab528e44e':
  Docs: L10N of remaining M Preview docs (ko).

9 years agoMerge "Add libhidcommand_jni.so to required module." into mnc-dev
Seigo Nonaka [Wed, 8 Jul 2015 03:25:29 +0000 (03:25 +0000)]
Merge "Add libhidcommand_jni.so to required module." into mnc-dev

9 years agoDocs: L10N of remaining M Preview docs (ko).
David Friedman [Wed, 8 Jul 2015 02:41:33 +0000 (19:41 -0700)]
Docs: L10N of remaining M Preview docs (ko).

Change-Id: I56baa833adc527e4ca624034d613811172f14f91

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Wed, 8 Jul 2015 01:57:58 +0000 (01:57 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 8 Jul 2015 01:56:12 +0000 (18:56 -0700)]
Import translations. DO NOT MERGE

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

9 years agoMerge "Remove all usage of fmin and fmax" into mnc-dev
Chris Craik [Wed, 8 Jul 2015 01:53:56 +0000 (01:53 +0000)]
Merge "Remove all usage of fmin and fmax" into mnc-dev

9 years agoRemove all usage of fmin and fmax
Chris Craik [Wed, 8 Jul 2015 01:42:17 +0000 (18:42 -0700)]
Remove all usage of fmin and fmax

bug:22208220

Removes needless call, and upconversion to doubles in multiple places.

Change-Id: I1b949fa5f206446ac34de800154c0147d6bd8034

9 years agoam 6fa1ee64: am 41a722ab: Merge "Docs: L10N of remaining M-Preview pages (Ja) Bug...
David Friedman [Wed, 8 Jul 2015 01:17:41 +0000 (01:17 +0000)]
am 6fa1ee64: am 41a722ab: Merge "Docs: L10N of remaining M-Preview pages (Ja) Bug: 21789313" into mnc-preview-docs

* commit '6fa1ee64fcd783294afa6ca99109b6351da7b6a1':
  Docs: L10N of remaining M-Preview pages (Ja) Bug: 21789313

9 years agoMerge "Add new "preinstalled" permission flag." into mnc-dev
Dianne Hackborn [Wed, 8 Jul 2015 01:03:44 +0000 (01:03 +0000)]
Merge "Add new "preinstalled" permission flag." into mnc-dev

9 years agoam 41a722ab: Merge "Docs: L10N of remaining M-Preview pages (Ja) Bug: 21789313" into...
David Friedman [Wed, 8 Jul 2015 01:00:38 +0000 (01:00 +0000)]
am 41a722ab: Merge "Docs: L10N of remaining M-Preview pages (Ja) Bug: 21789313" into mnc-preview-docs

* commit '41a722ab49e8b6dfed1de317e58867afd5bb5077':
  Docs: L10N of remaining M-Preview pages (Ja) Bug: 21789313

9 years agoam 3d0d02e6: am dafcaf72: Merge "docs: Preview 2 - Update downloads page" into mnc...
David Friedman [Wed, 8 Jul 2015 00:56:53 +0000 (00:56 +0000)]
am 3d0d02e6: am dafcaf72: Merge "docs: Preview 2 - Update downloads page" into mnc-preview-docs

* commit '3d0d02e66864db3085fba75777f675d5e5cae200':
  docs: Preview 2 - Update downloads page

9 years agoMerge "Docs: L10N of remaining M-Preview pages (Ja) Bug: 21789313" into mnc-preview...
David Friedman [Wed, 8 Jul 2015 00:49:10 +0000 (00:49 +0000)]
Merge "Docs: L10N of remaining M-Preview pages (Ja) Bug: 21789313" into mnc-preview-docs

9 years agoMerge "Revert "Set default SMS application to Messenger"" into mnc-dev
Ian Pedowitz [Wed, 8 Jul 2015 00:47:26 +0000 (00:47 +0000)]
Merge "Revert "Set default SMS application to Messenger"" into mnc-dev

9 years agoRevert "Set default SMS application to Messenger"
Ian Pedowitz [Wed, 8 Jul 2015 00:40:15 +0000 (00:40 +0000)]
Revert "Set default SMS application to Messenger"

This reverts commit a21d249e45abf99c2f4acbbb47bf00e9803db1aa.

Bug: 22261909
Change-Id: I064b8fe98eeec96a534c0f2ea3ec63057a5a1a1d

9 years agoam dafcaf72: Merge "docs: Preview 2 - Update downloads page" into mnc-preview-docs
David Friedman [Wed, 8 Jul 2015 00:44:37 +0000 (00:44 +0000)]
am dafcaf72: Merge "docs: Preview 2 - Update downloads page" into mnc-preview-docs

* commit 'dafcaf72c6479af0efc4b7194e07a05039b66942':
  docs: Preview 2 - Update downloads page

9 years agoDocs: L10N of remaining M-Preview pages (Ja)
David Friedman [Wed, 8 Jul 2015 00:35:45 +0000 (17:35 -0700)]
Docs: L10N of remaining M-Preview pages (Ja)
Bug: 21789313

Change-Id: I1e70749c29dc24d7242bf78da76136f184649626

9 years agoMerge "docs: Preview 2 - Update downloads page" into mnc-preview-docs
David Friedman [Wed, 8 Jul 2015 00:31:47 +0000 (00:31 +0000)]
Merge "docs: Preview 2 - Update downloads page" into mnc-preview-docs

9 years agoMerge "Enforce camera shutter sound for India" into mnc-dev
Vineeta Srivastava [Wed, 8 Jul 2015 00:29:58 +0000 (00:29 +0000)]
Merge "Enforce camera shutter sound for India" into mnc-dev

9 years agoAdd new "preinstalled" permission flag.
Dianne Hackborn [Wed, 8 Jul 2015 00:25:25 +0000 (17:25 -0700)]
Add new "preinstalled" permission flag.

This allows you to specify that a permission can be granted to
any pre-installed system app (not just privileged ones).

And as long as I am doing this, clean up the old "system" permission
flag, renaming it to "privileged" which is what it really is today,
deprecating the old names.  And switch the platform's permission
declarations to use the new name.

Change-Id: Iabf484746af232144786851ec7fe90e3de9dddb2

9 years agoSet AppErrorDialog result during dismissal if it isn't already set
Wale Ogunwale [Wed, 8 Jul 2015 00:13:13 +0000 (17:13 -0700)]
Set AppErrorDialog result during dismissal if it isn't already set

The system watch dog was triggering because all binder threads were
waiting for AppErrorResult#set() to be called which never happened.
One situation where this can occur is if a process continues to crash
and the activity manager marks the process as bad there by causing it
to kill the process immediately which causes a binder death
notification that automatically dismisses the app error dialog before
the user ACKs it.
We now set the result during dialog dismissal if it isn't already set.

Bug: 22141958
Change-Id: If3ac116df5e29c6fba43ee556a859ad3c84c66f3

9 years agoEnforce camera shutter sound for India
Sungmin Choi [Tue, 30 Jun 2015 11:44:01 +0000 (20:44 +0900)]
Enforce camera shutter sound for India

Bug: 22187754
Change-Id: I422bd3654f7cb6382db5101b0d7c8fd5bdce8dac

9 years agoMerge "Implement better handling of text in assist." into mnc-dev
Dianne Hackborn [Tue, 7 Jul 2015 23:51:04 +0000 (23:51 +0000)]
Merge "Implement better handling of text in assist." into mnc-dev

9 years agoImplement better handling of text in assist.
Dianne Hackborn [Tue, 7 Jul 2015 21:29:36 +0000 (14:29 -0700)]
Implement better handling of text in assist.

TextView is now much smarter about the text it reports, limiting it
to what is visible (plus a bit more).  Also add a facility for it to
report where the lines of text are, both as offsets in the text string
and their baselines on screen.

Part of fixing issue #22328792: Fix scalability issues in AssistStructure

Change-Id: Idddb8c3a3331355f381e2d4af06d520fe7c7ce8e

9 years agoam 40122447: am d73098bc: docs: Added new NORMAL permissions
Andrew Solovay [Tue, 7 Jul 2015 23:47:17 +0000 (23:47 +0000)]
am 40122447: am d73098bc: docs: Added new NORMAL permissions

* commit '401224472311ecd23734eb6fe730456dcb4349de':
  docs: Added new NORMAL permissions

9 years agoMerge "Grant installer and verifier install permissions robustly" into mnc-dev
Svetoslav [Tue, 7 Jul 2015 23:44:24 +0000 (23:44 +0000)]
Merge "Grant installer and verifier install permissions robustly" into mnc-dev

9 years agoMerge "Fix volume naming when surfaced over MTP." into mnc-dev
Jeff Sharkey [Tue, 7 Jul 2015 23:42:41 +0000 (23:42 +0000)]
Merge "Fix volume naming when surfaced over MTP." into mnc-dev

9 years agoMerge "App linking: permit overlapping link handling" into mnc-dev
Christopher Tate [Tue, 7 Jul 2015 23:35:48 +0000 (23:35 +0000)]
Merge "App linking: permit overlapping link handling" into mnc-dev

9 years agoMerge "Use custom theme for keyguard presentation" into mnc-dev
Jim Miller [Tue, 7 Jul 2015 23:33:20 +0000 (23:33 +0000)]
Merge "Use custom theme for keyguard presentation" into mnc-dev

9 years agoam d73098bc: docs: Added new NORMAL permissions
Andrew Solovay [Tue, 7 Jul 2015 23:31:26 +0000 (23:31 +0000)]
am d73098bc: docs: Added new NORMAL permissions

* commit 'd73098bcf540480cb1f298bb1b775e64fe4b2567':
  docs: Added new NORMAL permissions

9 years agoMerge "Remember focused child during layout when adapter has stable IDs" into mnc-dev
Alan Viverette [Tue, 7 Jul 2015 23:26:34 +0000 (23:26 +0000)]
Merge "Remember focused child during layout when adapter has stable IDs" into mnc-dev

9 years agoMerge "Fix bug that prevented waking from dream" into mnc-dev
Adrian Roos [Tue, 7 Jul 2015 23:22:20 +0000 (23:22 +0000)]
Merge "Fix bug that prevented waking from dream" into mnc-dev

9 years agoMerge "Use 'dp' paddings instead of 'mm' for VPN dialogs" into mnc-dev
Robin Lee [Tue, 7 Jul 2015 23:07:30 +0000 (23:07 +0000)]
Merge "Use 'dp' paddings instead of 'mm' for VPN dialogs" into mnc-dev

9 years agoUse custom theme for keyguard presentation
Jim Miller [Tue, 7 Jul 2015 01:17:34 +0000 (18:17 -0700)]
Use custom theme for keyguard presentation

The default Material theme for presentations on external displays
has a white background.  This changes keyguard to use a custom theme
since we want white lettering on black.

Fixes bug 22305037

Change-Id: Idc6aca2398be34c4603446983e5d276abcace001

9 years agoMerge "SystemUI/Keyguard: try authenticate finger after authentication failure" into...
Jim Miller [Tue, 7 Jul 2015 22:39:02 +0000 (22:39 +0000)]
Merge "SystemUI/Keyguard: try authenticate finger after authentication failure" into mnc-dev

9 years agoSystemUI/Keyguard: try authenticate finger after authentication failure
Jim Miller [Tue, 7 Jul 2015 04:07:47 +0000 (13:07 +0900)]
SystemUI/Keyguard: try authenticate finger after authentication failure

When first authentication is failed, keyguard does not try authenticate again.
This modification makes to try again authentication
when it receives callback of authentication failure.

Bug: 22131472
Change-Id: I5bdfc8b120595bf3252ad6e7353ace7ff7fbbae0

9 years agoMerge "Set default SMS application to Messenger" into mnc-dev
Ian Pedowitz [Tue, 7 Jul 2015 22:20:28 +0000 (22:20 +0000)]
Merge "Set default SMS application to Messenger" into mnc-dev

9 years agoam c9c15793: am 8b9d55e4: docs: Removed extraneous "system components" info
Andrew Solovay [Tue, 7 Jul 2015 22:19:18 +0000 (22:19 +0000)]
am c9c15793: am 8b9d55e4: docs: Removed extraneous "system components" info

* commit 'c9c157937b3424a3a5d9eaf0c786706192943b3f':
  docs: Removed extraneous "system components" info

9 years agoMerge "Camera2: implement Key.toString()" into mnc-dev
Chien-Yu Chen [Tue, 7 Jul 2015 22:16:47 +0000 (22:16 +0000)]
Merge "Camera2: implement Key.toString()" into mnc-dev

9 years agoMerge "Fixed a bug where notification where invisible on the lockscreen" into mnc-dev
Selim Cinek [Tue, 7 Jul 2015 22:16:30 +0000 (22:16 +0000)]
Merge "Fixed a bug where notification where invisible on the lockscreen" into mnc-dev

9 years agoMerge "ImageWriter: Exception when Surface is abandoned" into mnc-dev
Chien-Yu Chen [Tue, 7 Jul 2015 22:16:08 +0000 (22:16 +0000)]
Merge "ImageWriter: Exception when Surface is abandoned" into mnc-dev

9 years agodocs: Added new NORMAL permissions
Andrew Solovay [Tue, 7 Jul 2015 22:01:15 +0000 (15:01 -0700)]
docs: Added new NORMAL permissions

Added some new NORMAL permissions spotted in AndroidManifest.xml.
Also sorted the list of NORMAL permissions alphabetically.

See first comment for doc stage location.

Change-Id: I3263a9b5eca1b28dfc03254fafd3a9f3c3a9ec05

9 years agoMerge "MediaSessionManager: make the binder implementation static" into mnc-dev
Dongwon Kang [Tue, 7 Jul 2015 22:10:22 +0000 (22:10 +0000)]
Merge "MediaSessionManager: make the binder implementation static" into mnc-dev

9 years agoam 8b9d55e4: docs: Removed extraneous "system components" info
Andrew Solovay [Tue, 7 Jul 2015 22:09:12 +0000 (22:09 +0000)]
am 8b9d55e4: docs: Removed extraneous "system components" info

* commit '8b9d55e47daad329e0eb174e38080aedf197db0d':
  docs: Removed extraneous "system components" info

9 years agoFix bug that prevented waking from dream
Adrian Roos [Tue, 7 Jul 2015 21:55:50 +0000 (14:55 -0700)]
Fix bug that prevented waking from dream

If a device was securely locked, FLAG_TURN_SCREEN_ON failed to
wake the device from dreaming even if FLAG_SHOW_WHEN_LOCKED
was set. The fix allows SHOW_WHEN_LOCKED activities that are about
to turn the screen on to show even if they're not currently the top
most window with SHOW_WHEN_LOCKED set (which in this case would always
be the dream)

Bug: 21719374
Change-Id: I8d7bce05d95ed9de50b5a52b0973562b070aca5a

9 years agoMerge "Sort and limit ChooserActivity targets from ChooserTargetServices" into mnc-dev
Adam Powell [Tue, 7 Jul 2015 21:55:43 +0000 (21:55 +0000)]
Merge "Sort and limit ChooserActivity targets from ChooserTargetServices" into mnc-dev

9 years agoFixed a bug where notification where invisible on the lockscreen
Selim Cinek [Tue, 7 Jul 2015 21:54:10 +0000 (14:54 -0700)]
Fixed a bug where notification where invisible on the lockscreen

Bug: 22328974
Change-Id: I4e7b813c400b85b71b61cb415f529872c75fcca6

9 years agoFix volume naming when surfaced over MTP.
Jeff Sharkey [Tue, 7 Jul 2015 21:33:55 +0000 (14:33 -0700)]
Fix volume naming when surfaced over MTP.

Otherwise we show everything as "Unknown."

Bug: 22256092
Change-Id: I19fe8a25aff02db8ca9aff288e6715d469f65327

9 years agoMerge "Camera: Add ZERO_SHUTTER_LAG modes to noise reduction and edge enhancement...
Eino-Ville Talvala [Tue, 7 Jul 2015 21:36:45 +0000 (21:36 +0000)]
Merge "Camera: Add ZERO_SHUTTER_LAG modes to noise reduction and edge enhancement" into mnc-dev

9 years agodocs: Removed extraneous "system components" info
Andrew Solovay [Tue, 7 Jul 2015 20:28:07 +0000 (13:28 -0700)]
docs: Removed extraneous "system components" info

The "system components" section contained some info left over from
Preview 1's "system apps" section. Per clarification from Ben, I've
removed it.

Also added link to Ben's I/O video.

See first comment for doc stage location.

Change-Id: I1efb11ffe69880893209a64b282f2616fe7d9f22

9 years agoMerge "Report specific exception type on decrypt with invalid session" into mnc-dev
Jeff Tinker [Tue, 7 Jul 2015 21:19:08 +0000 (21:19 +0000)]
Merge "Report specific exception type on decrypt with invalid session" into mnc-dev

9 years agoMerge "Never fully detach header or footer views in AbsListView" into mnc-dev
Alan Viverette [Tue, 7 Jul 2015 21:08:25 +0000 (21:08 +0000)]
Merge "Never fully detach header or footer views in AbsListView" into mnc-dev

9 years agoApp linking: permit overlapping link handling
Christopher Tate [Wed, 1 Jul 2015 23:50:43 +0000 (16:50 -0700)]
App linking: permit overlapping link handling

Allow multiple apps to be enabled as link handlers even their set of
accepted domains overlaps.  Also, allow app linking to be turned on
even for unverified apps if the user wishes.

Bug 21817604

Change-Id: I8bc7f1764318e5d4bb6ce93c66483fe07e922b1d

9 years agoGrant installer and verifier install permissions robustly
Svetoslav [Tue, 7 Jul 2015 01:31:23 +0000 (18:31 -0700)]
Grant installer and verifier install permissions robustly

bug:22248271

Change-Id: I3a47ae9a112ba7d88b421fcb5f9651d1168ba7a5

9 years agoMerge "Cleaned-up logic for determining clip rect for transitions animations." into...
Wale Ogunwale [Tue, 7 Jul 2015 21:00:41 +0000 (21:00 +0000)]
Merge "Cleaned-up logic for determining clip rect for transitions animations." into mnc-dev

9 years agoMerge "Split app move into separate copy/delete steps." into mnc-dev
Jeff Sharkey [Tue, 7 Jul 2015 20:46:32 +0000 (20:46 +0000)]
Merge "Split app move into separate copy/delete steps." into mnc-dev

9 years agoCamera: Add ZERO_SHUTTER_LAG modes to noise reduction and edge enhancement
Eino-Ville Talvala [Tue, 7 Jul 2015 17:43:07 +0000 (10:43 -0700)]
Camera: Add ZERO_SHUTTER_LAG modes to noise reduction and edge enhancement

This mode splits processing quality based on stream resolution, to
enable ZSL operation where low-resolution (preview/recording) streams
require more processing since they are immediately user-visible, while
the high-resolution intermediate ZSL stream should have minimal/no
processing since it will be reprocessed into final quality when
necessary

Bug: 22266686

Change-Id: Ib41102b66b07d61a099f021f8c6251f28c62686f

9 years agoSplit app move into separate copy/delete steps.
Jeff Sharkey [Tue, 7 Jul 2015 20:32:09 +0000 (13:32 -0700)]
Split app move into separate copy/delete steps.

App movement now has three distinct stages: copying, scanning, and
cleanup.  Previously, a battery pull late in the move process would
end up with packages.xml pointing at the old location which had been
torn down.  Now, we update packages.xml to point at the new location
as the "source of truth" before we start deleting the old location.

Bug: 21831336
Change-Id: I6f57f37a8cb335127db9ebb7c6b6cfe5755ada99

9 years agoMerge "Give fixed READ_PHONE_STATE permission to calllog provider" into mnc-dev
Makoto Onuki [Tue, 7 Jul 2015 20:23:21 +0000 (20:23 +0000)]
Merge "Give fixed READ_PHONE_STATE permission to calllog provider" into mnc-dev

9 years agoMerge "Revert "Use AlertDialog for MediaRouteControllerDialog"" into mnc-dev
Dongwon Kang [Tue, 7 Jul 2015 20:22:39 +0000 (20:22 +0000)]
Merge "Revert "Use AlertDialog for MediaRouteControllerDialog"" into mnc-dev

9 years agoMerge "UsbDeviceManager: Add back support for persistent property" into mnc-dev
Vineeta Srivastava [Tue, 7 Jul 2015 20:13:44 +0000 (20:13 +0000)]
Merge "UsbDeviceManager: Add back support for persistent property" into mnc-dev

9 years agoMerge "Clean up obsolete pending timeout after restoring package metadata" into mnc-dev
Christopher Tate [Tue, 7 Jul 2015 19:54:19 +0000 (19:54 +0000)]
Merge "Clean up obsolete pending timeout after restoring package metadata" into mnc-dev

9 years agoMerge "Clean up get sensorList." into mnc-dev
Aravind Akella [Tue, 7 Jul 2015 19:53:45 +0000 (19:53 +0000)]
Merge "Clean up get sensorList." into mnc-dev

9 years agoAlways wait for the main app window before starting a transition
Jorim Jaggi [Wed, 1 Jul 2015 23:02:15 +0000 (16:02 -0700)]
Always wait for the main app window before starting a transition

When waiting for all the windows that belong to an activity, we
skipped the main window, in case it didn't had a surface yet. This
was a problem because with SurfaceViews: They set it's visibility
extremely early in the app visibility change cycle. Then, they use
another thread to draw content. Thus, they have drawn their first
frame pretty fast, where the main thread might still be in the
activity lifecycle phases. Then, we don't even have a surface for the
main window yet, but we start the app transition already because we
think the only interesting window for this app token is the
SurfaceView, which has already drawn.

Bug: 22207948
Change-Id: I708add3aab00575ae1707b25622b9b4614472892

9 years agoMerge "Fixed keyguard affordances" into mnc-dev
Selim Cinek [Tue, 7 Jul 2015 19:19:03 +0000 (19:19 +0000)]
Merge "Fixed keyguard affordances" into mnc-dev

9 years agoCamera2: implement Key.toString()
Chien-Yu Chen [Tue, 7 Jul 2015 19:17:22 +0000 (12:17 -0700)]
Camera2: implement Key.toString()

Implement toString() for CameraCharacteristics.Key,
CaptureResult.Key, and CaptureRequest.Key.

Bug: 22279124
Change-Id: Ib1076e3f6d7bcbffbb148a7a01f72133daccebb8

9 years agoMerge "Simplify matrix copy constructor/load" into mnc-dev
Chris Craik [Tue, 7 Jul 2015 19:09:41 +0000 (19:09 +0000)]
Merge "Simplify matrix copy constructor/load" into mnc-dev

9 years agoMerge "Support loading AES keys with authorized digests." into mnc-dev
Alex Klyubin [Tue, 7 Jul 2015 18:54:32 +0000 (18:54 +0000)]
Merge "Support loading AES keys with authorized digests." into mnc-dev

9 years agoUsbDeviceManager: Add back support for persistent property
Ajay Dudani [Mon, 22 Jun 2015 22:46:41 +0000 (15:46 -0700)]
UsbDeviceManager: Add back support for persistent property

Take into account the value of persist.sys.usb.config when updating
sys.usb.config. The persistent prop can hold information regarding
additional enumerations required for the device.

Bug: 21929369
Change-Id: Ic11ebf62ce114f2d0a097ad4405de71173b23139

9 years agoam 4357181d: am e44b86b2: docs: Removed READ_EXTERNAL_STORAGE from \'normal\' permissions
Andrew Solovay [Tue, 7 Jul 2015 18:46:05 +0000 (18:46 +0000)]
am 4357181d: am e44b86b2: docs: Removed READ_EXTERNAL_STORAGE from \'normal\' permissions

* commit '4357181d236bf189ea7855755803275160447423':
  docs: Removed READ_EXTERNAL_STORAGE from 'normal' permissions

9 years agoMerge "Don't update DisplayLists when dumping" into mnc-dev
Chris Craik [Tue, 7 Jul 2015 18:42:13 +0000 (18:42 +0000)]
Merge "Don't update DisplayLists when dumping" into mnc-dev

9 years agoMediaSessionManager: make the binder implementation static
Dongwon Kang [Tue, 7 Jul 2015 18:04:32 +0000 (11:04 -0700)]
MediaSessionManager: make the binder implementation static

Removing references to application resources on unregistering so that they
can be GCed as ealry as possible.

Bug: https://code.google.com/p/android/issues/detail?id=161398
Change-Id: Icc083f4a58bb5e738aa662247dc83d021a9dc5c3

9 years agoam e44b86b2: docs: Removed READ_EXTERNAL_STORAGE from \'normal\' permissions
Andrew Solovay [Tue, 7 Jul 2015 18:29:08 +0000 (18:29 +0000)]
am e44b86b2: docs: Removed READ_EXTERNAL_STORAGE from \'normal\' permissions

* commit 'e44b86b23bc15ccf2016e044bfa5d23c177a1d3b':
  docs: Removed READ_EXTERNAL_STORAGE from 'normal' permissions

9 years agoMerge "wifi: Fix softAP turn-ON issue in statically loaded driver" into mnc-dev
xin He [Tue, 7 Jul 2015 18:13:54 +0000 (18:13 +0000)]
Merge "wifi: Fix softAP turn-ON issue in statically loaded driver" into mnc-dev

9 years agoNever fully detach header or footer views in AbsListView
Alan Viverette [Tue, 7 Jul 2015 18:04:32 +0000 (11:04 -0700)]
Never fully detach header or footer views in AbsListView

AbsListView has special handling of header and footer views that avoids
full attachment; however, we still need to fully detach and reattach
non-header/footer views that cannot be recycled.

Bug: 22239425
Bug: 22238597
Bug: 22214485
Change-Id: Iae5f954fc76522c0a52d0c25e19985ae0196efa2

9 years agodocs: Removed READ_EXTERNAL_STORAGE from 'normal' permissions
Andrew Solovay [Tue, 7 Jul 2015 17:57:55 +0000 (10:57 -0700)]
docs: Removed READ_EXTERNAL_STORAGE from 'normal' permissions

Per communication from Ben, READ_EXTERNAL_STORAGE was incorrectly
marked as a 'normal' permission in preview 1, and is properly
changed to 'dangerous' for preview 2. Updating the docs accordingly.

See first comment for doc stage location.

Change-Id: I0f824fb9689d2e7323e505b0200fda23eaa71eed

9 years agoClean up obsolete pending timeout after restoring package metadata
Christopher Tate [Tue, 7 Jul 2015 17:46:10 +0000 (10:46 -0700)]
Clean up obsolete pending timeout after restoring package metadata

Bug 22040047

Change-Id: I460dbcc50a45d794392beb9ff4a4358c05c87e07

9 years agoDon't update DisplayLists when dumping
Chris Craik [Tue, 7 Jul 2015 17:39:36 +0000 (10:39 -0700)]
Don't update DisplayLists when dumping

bug:22234438

Updating the displaylist is invalid since this debug method isn't
called on the UI thread, and it defeats the purpose of seeing what
the hierarchy is currently rendering.

Change-Id: I10c5cc6dbae8d304559dfc6e863b0ede158d554f

9 years agoSimplify matrix copy constructor/load
Chris Craik [Tue, 7 Jul 2015 16:59:23 +0000 (09:59 -0700)]
Simplify matrix copy constructor/load

bug:22208220

Change-Id: Id096eb8de8da0dd1687d6af9456b16ce2a1a589b

9 years agoUse 'dp' paddings instead of 'mm' for VPN dialogs
Robin Lee [Tue, 7 Jul 2015 16:22:15 +0000 (09:22 -0700)]
Use 'dp' paddings instead of 'mm' for VPN dialogs

The values had gradually shifted away from what they need to be to
line up with other UI elements (ie. title bar)

Bug: 22314161
Change-Id: I03fd15632db02b723348e42066f9e45158eae148

9 years agoAdd ACCESS_IMS_CALL_SERVICE hidden permission.
Etan Cohen [Wed, 1 Jul 2015 19:28:20 +0000 (12:28 -0700)]
Add ACCESS_IMS_CALL_SERVICE hidden permission.

Bug: 17361897
Change-Id: I2b3ef57c647204d981ada9c8bd4f92fbbd3fc748

9 years agoCleaned-up logic for determining clip rect for transitions animations.
Wale Ogunwale [Wed, 1 Jul 2015 22:07:36 +0000 (15:07 -0700)]
Cleaned-up logic for determining clip rect for transitions animations.

Previous logic led to several edge cases which fixes sometimes broke
other edge cases. New logic uses the clip rect provided by the
transformation as-is and doesn't try to adjust it based on window
flags. Correct clip rect is set in
WindowManagerService#applyAnimationLock using the content insets
before the animation is loaded.

Bug: 21727851
Bug: 20652683
Bug: 19523205
Bug: 15046646
https://code.google.com/p/android/issues/detail?id=161362
Change-Id: I2d4ed6196edb8ee8c401fe9a242aec70d3494574

9 years agoRevert "Bug: 21589105 Rescope WRITE_SETTINGS and SYSTEM_ALERT_WINDOW permission"
Ian Pedowitz [Tue, 7 Jul 2015 15:32:44 +0000 (08:32 -0700)]
Revert "Bug: 21589105 Rescope WRITE_SETTINGS and SYSTEM_ALERT_WINDOW permission"

This reverts commit d6b404c72da7e2475508c7d5948494b2e9b1a262.

This CL seems to have broken the build, causing GMSCore to continuously
crash.

Bug: 22313634
Bug: 22312938
Bug: 22314605
Bug: 22308392
Bug: 22307889

9 years agoMerge "Don't dismiss volume during animation" into mnc-dev
Jason Monk [Tue, 7 Jul 2015 14:34:58 +0000 (14:34 +0000)]
Merge "Don't dismiss volume during animation" into mnc-dev

9 years agoMerge "Fix to work statusbar configs as mcc/mnc" into mnc-dev
Jason Monk [Tue, 7 Jul 2015 14:34:45 +0000 (14:34 +0000)]
Merge "Fix to work statusbar configs as mcc/mnc" into mnc-dev

9 years agoMerge "Adjust for pipeline stalls" into mnc-dev
John Reck [Tue, 7 Jul 2015 14:08:47 +0000 (14:08 +0000)]
Merge "Adjust for pipeline stalls" into mnc-dev

9 years agoFix to work statusbar configs as mcc/mnc
Sungmin Choi [Tue, 7 Jul 2015 04:06:59 +0000 (13:06 +0900)]
Fix to work statusbar configs as mcc/mnc

Call handleConfigurationChanged() at the end of
PhoneStatusBar#onConfigurationChanged to update statusbar configs.

BUG: 22215928
Change-Id: I7329d4949a8a47717ea037cf007ef0baa63507bd

9 years agoMerge "Update javadoc on DPM.setGlobalSetting" into mnc-dev
Zoltan Szatmary-Ban [Tue, 7 Jul 2015 10:17:03 +0000 (10:17 +0000)]
Merge "Update javadoc on DPM.setGlobalSetting" into mnc-dev

9 years agoMerge "Add WebView permission MIDI sysex" into mnc-dev
Richard Coles [Tue, 7 Jul 2015 10:15:13 +0000 (10:15 +0000)]
Merge "Add WebView permission MIDI sysex" into mnc-dev

9 years agoMerge "Notify the profile when cloned settings are changed." into mnc-dev
Esteban Talavera [Tue, 7 Jul 2015 09:27:22 +0000 (09:27 +0000)]
Merge "Notify the profile when cloned settings are changed." into mnc-dev

9 years agoMerge "Drag handles persist after lost focus in extracted mode" into mnc-dev
Andrei Stingaceanu [Tue, 7 Jul 2015 09:14:32 +0000 (09:14 +0000)]
Merge "Drag handles persist after lost focus in extracted mode" into mnc-dev

9 years agoMerge "Final resource IDs." into mnc-dev
Ian Pedowitz [Tue, 7 Jul 2015 06:13:12 +0000 (06:13 +0000)]
Merge "Final resource IDs." into mnc-dev

9 years agoMerge "FloatingToolbar: Offset visible rect by the rootview's offset" into mnc-dev
Abodunrinwa Toki [Tue, 7 Jul 2015 03:59:42 +0000 (03:59 +0000)]
Merge "FloatingToolbar: Offset visible rect by the rootview's offset" into mnc-dev

9 years agoRevert "Use AlertDialog for MediaRouteControllerDialog"
Dongwon Kang [Tue, 7 Jul 2015 02:54:02 +0000 (19:54 -0700)]
Revert "Use AlertDialog for MediaRouteControllerDialog"

This reverts commit 001d51496d062789355a91ce9365cd0cfeac6925.

Background: To just inherit AlertDialog, the content view should include
a title as we do in support library (AlertDialog uses NO_TITLE feature),
but up-streaming support library implementation to the framework at this
point might cause more issues. Verified that the narrow dialog issue
(b/22044600) does not happen in the framework implementation regardless of
whether it uses AlertDialog or not.

Bug: 22286869
Change-Id: Ic2554cc9e683beff29d1deee91945c1dace83ab1

9 years agoMerge "Changed config_wifi_hotspot2_enabled to false." into mnc-dev
Jan Nordqvist [Tue, 7 Jul 2015 01:41:11 +0000 (01:41 +0000)]
Merge "Changed config_wifi_hotspot2_enabled to false." into mnc-dev

9 years agoSort and limit ChooserActivity targets from ChooserTargetServices
Adam Powell [Mon, 6 Jul 2015 23:57:56 +0000 (16:57 -0700)]
Sort and limit ChooserActivity targets from ChooserTargetServices

Apply an automated decay factor if apps decide to claim all of their
targets are SUPER IMPORTANT. Apply the multiplier from the apps
themselves as well as a penalty for apps that come in late - let's see
how fast developers get their ChooserTargetServices to start!

Also fix a bug with ResolverDrawerLayout where dragging from the title
area wouldn't always work properly.

Bug 22302285

Change-Id: Ib6eb2b6fb92608790b2267c0f671c9ae59b2907e

9 years agoFixed keyguard affordances
Selim Cinek [Tue, 7 Jul 2015 01:39:28 +0000 (18:39 -0700)]
Fixed keyguard affordances

In certain cases, the keyguard affordances could not be launched
due to a bug. This was because the targetedView was not properly
reset sometimes.

Bug: 22013726
Change-Id: I4525dc5adf07f4d023ef8553d3db0b16c8f754c4

9 years agoMerge "Fixed a bug where redacted notifications had the wrong height" into mnc-dev
Selim Cinek [Tue, 7 Jul 2015 01:37:05 +0000 (01:37 +0000)]
Merge "Fixed a bug where redacted notifications had the wrong height" into mnc-dev