196720 Commits

Author SHA1 Message Date
Dianne Hackborn
a90c8def2c 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
2015-07-07 17:25:25 -07:00
Dianne Hackborn
f2474d336a Merge "Implement better handling of text in assist." into mnc-dev 2015-07-07 23:51:06 +00:00
Dianne Hackborn
6f0fdc4167 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
2015-07-07 16:47:37 -07:00
Andrew Solovay
b2f9c284cd am 40122447: am d73098bc: docs: Added new NORMAL permissions
* commit '401224472311ecd23734eb6fe730456dcb4349de':
  docs: Added new NORMAL permissions
2015-07-07 23:47:17 +00:00
Svetoslav
3e07ee078d Merge "Grant installer and verifier install permissions robustly" into mnc-dev 2015-07-07 23:44:34 +00:00
Jeff Sharkey
15369c6c3b Merge "Fix volume naming when surfaced over MTP." into mnc-dev 2015-07-07 23:42:44 +00:00
Christopher Tate
15bb16fb48 Merge "App linking: permit overlapping link handling" into mnc-dev 2015-07-07 23:35:51 +00:00
Jim Miller
e86f175229 Merge "Use custom theme for keyguard presentation" into mnc-dev 2015-07-07 23:33:22 +00:00
Andrew Solovay
4012244723 am d73098bc: docs: Added new NORMAL permissions
* commit 'd73098bcf540480cb1f298bb1b775e64fe4b2567':
  docs: Added new NORMAL permissions
2015-07-07 23:31:26 +00:00
Alan Viverette
f12c91f5e6 Merge "Remember focused child during layout when adapter has stable IDs" into mnc-dev 2015-07-07 23:26:36 +00:00
Adrian Roos
38586bfff9 Merge "Fix bug that prevented waking from dream" into mnc-dev 2015-07-07 23:22:23 +00:00
Robin Lee
846362fa06 Merge "Use 'dp' paddings instead of 'mm' for VPN dialogs" into mnc-dev 2015-07-07 23:07:33 +00:00
Jim Miller
c90d64583c 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
2015-07-07 15:49:05 -07:00
Jim Miller
b5e3eba166 Merge "SystemUI/Keyguard: try authenticate finger after authentication failure" into mnc-dev 2015-07-07 22:39:03 +00:00
Jim Miller
f2d9ad2e90 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
2015-07-07 15:32:00 -07:00
Ian Pedowitz
1c677b1e40 Merge "Set default SMS application to Messenger" into mnc-dev 2015-07-07 22:20:30 +00:00
Andrew Solovay
700b54aba3 am c9c15793: am 8b9d55e4: docs: Removed extraneous "system components" info
* commit 'c9c157937b3424a3a5d9eaf0c786706192943b3f':
  docs: Removed extraneous "system components" info
2015-07-07 22:19:18 +00:00
Chien-Yu Chen
3054f59514 Merge "Camera2: implement Key.toString()" into mnc-dev 2015-07-07 22:17:08 +00:00
Selim Cinek
cffb98c8d7 Merge "Fixed a bug where notification where invisible on the lockscreen" into mnc-dev 2015-07-07 22:16:44 +00:00
Chien-Yu Chen
69421363c6 Merge "ImageWriter: Exception when Surface is abandoned" into mnc-dev 2015-07-07 22:16:10 +00:00
Andrew Solovay
d73098bcf5 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
2015-07-07 15:15:46 -07:00
Dongwon Kang
7a64e9769f Merge "MediaSessionManager: make the binder implementation static" into mnc-dev 2015-07-07 22:10:23 +00:00
Andrew Solovay
c9c157937b am 8b9d55e4: docs: Removed extraneous "system components" info
* commit '8b9d55e47daad329e0eb174e38080aedf197db0d':
  docs: Removed extraneous "system components" info
2015-07-07 22:09:12 +00:00
Adrian Roos
bee63000ed 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
2015-07-07 14:55:52 -07:00
Adam Powell
e9cbf41561 Merge "Sort and limit ChooserActivity targets from ChooserTargetServices" into mnc-dev 2015-07-07 21:55:45 +00:00
Selim Cinek
acf52ba54d Fixed a bug where notification where invisible on the lockscreen
Bug: 22328974
Change-Id: I4e7b813c400b85b71b61cb415f529872c75fcca6
2015-07-07 14:54:10 -07:00
Jeff Sharkey
7a788a865e Fix volume naming when surfaced over MTP.
Otherwise we show everything as "Unknown."

Bug: 22256092
Change-Id: I19fe8a25aff02db8ca9aff288e6715d469f65327
2015-07-07 14:40:28 -07:00
Eino-Ville Talvala
384a04d936 Merge "Camera: Add ZERO_SHUTTER_LAG modes to noise reduction and edge enhancement" into mnc-dev 2015-07-07 21:36:47 +00:00
Andrew Solovay
8b9d55e47d 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
2015-07-07 14:36:03 -07:00
Jeff Tinker
6826b25c22 Merge "Report specific exception type on decrypt with invalid session" into mnc-dev 2015-07-07 21:19:13 +00:00
Alan Viverette
8830db0a6a Merge "Never fully detach header or footer views in AbsListView" into mnc-dev 2015-07-07 21:08:32 +00:00
Christopher Tate
050aee2365 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
2015-07-07 14:07:00 -07:00
Svetoslav
3e7d977ff7 Grant installer and verifier install permissions robustly
bug:22248271

Change-Id: I3a47ae9a112ba7d88b421fcb5f9651d1168ba7a5
2015-07-07 14:02:51 -07:00
Wale Ogunwale
880a54f6d8 Merge "Cleaned-up logic for determining clip rect for transitions animations." into mnc-dev 2015-07-07 21:00:43 +00:00
Jeff Sharkey
dafaa45c0e Merge "Split app move into separate copy/delete steps." into mnc-dev 2015-07-07 20:46:36 +00:00
Eino-Ville Talvala
0dd17509a9 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
2015-07-07 13:39:55 -07:00
Jeff Sharkey
6b7bb60457 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
2015-07-07 13:32:14 -07:00
Makoto Onuki
53d17aeee0 Merge "Give fixed READ_PHONE_STATE permission to calllog provider" into mnc-dev 2015-07-07 20:23:26 +00:00
Dongwon Kang
0c58229306 Merge "Revert "Use AlertDialog for MediaRouteControllerDialog"" into mnc-dev 2015-07-07 20:22:40 +00:00
Vineeta Srivastava
9d918db350 Merge "UsbDeviceManager: Add back support for persistent property" into mnc-dev 2015-07-07 20:13:46 +00:00
Christopher Tate
7bc8f51aa6 Merge "Clean up obsolete pending timeout after restoring package metadata" into mnc-dev 2015-07-07 19:54:20 +00:00
Aravind Akella
c5889757cb Merge "Clean up get sensorList." into mnc-dev 2015-07-07 19:53:46 +00:00
Jorim Jaggi
588932a53e 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
2015-07-07 19:27:29 +00:00
Selim Cinek
7e675645a9 Merge "Fixed keyguard affordances" into mnc-dev 2015-07-07 19:19:05 +00:00
Chien-Yu Chen
12a8385b7e Camera2: implement Key.toString()
Implement toString() for CameraCharacteristics.Key,
CaptureResult.Key, and CaptureRequest.Key.

Bug: 22279124
Change-Id: Ib1076e3f6d7bcbffbb148a7a01f72133daccebb8
2015-07-07 12:17:22 -07:00
Chris Craik
54d1f0439e Merge "Simplify matrix copy constructor/load" into mnc-dev 2015-07-07 19:09:43 +00:00
Alex Klyubin
024bce8229 Merge "Support loading AES keys with authorized digests." into mnc-dev 2015-07-07 18:54:33 +00:00
Ajay Dudani
84dce3c9a8 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
2015-07-07 11:51:15 -07:00
Andrew Solovay
a5c82a6b2a am 4357181d: am e44b86b2: docs: Removed READ_EXTERNAL_STORAGE from \'normal\' permissions
* commit '4357181d236bf189ea7855755803275160447423':
  docs: Removed READ_EXTERNAL_STORAGE from 'normal' permissions
2015-07-07 18:46:05 +00:00
Chris Craik
6ef57e9741 Merge "Don't update DisplayLists when dumping" into mnc-dev 2015-07-07 18:42:15 +00:00