185730 Commits

Author SHA1 Message Date
Svetoslav
c6d1c345f4 Runtime permissions: per user permission tracking.
Before all permissions were granted at install time at once, so the user
was persented with an all or nothing choice. In the new runtime permissions
model all dangarous permissions (nomal are always granted and signature
one are granted if signatures match) are not granted at install time and
the app can request them as necessary at runtime.

Before, all granted permission to an app were identical for all users as
granting is performed at install time. However, the new runtime model
allows the same app running under two different users to have different
runtime permission grants. This change refactors the permissions book
keeping in the package manager to enable per user permission tracking.

The change also adds the app facing APIs for requesting runtime permissions.

Change-Id: Icbf2fc2ced15c42ca206c335996206bd1a4a4be5
2015-03-23 18:50:35 -07:00
Jeff Tinker
3910eb551c Merge "Note in docs that MediaDrm methods throw IllegalStateException" 2015-03-24 00:10:21 +00:00
Jeff Tinker
8873f848aa Merge "Report key request message type for unprefixed EME" 2015-03-24 00:05:34 +00:00
Dianne Hackborn
312035232b Merge "Add view ID, rework assist API." 2015-03-24 00:02:38 +00:00
Craig Mautner
93f724b04e Merge "Recalculate input method top edge." 2015-03-23 23:56:42 +00:00
Alan Viverette
8a9225eb94 am 12062c6e: am 19537c0a: am 38fcaf40: Merge "Move arrow_pointer hotspot to better match actual tip"
* commit '12062c6e99a8c17637177fe0e41ec95ea0fd977b':
  Move arrow_pointer hotspot to better match actual tip
2015-03-23 23:25:02 +00:00
Chad Brubaker
781df04511 am 6050eb54: am 5b11b3d6: am 31cee318: Merge "Specify public exponent for RSA"
* commit '6050eb5459a00b95bf135d40e9e37cd043c863e4':
  Specify public exponent for RSA
2015-03-23 23:24:51 +00:00
Jeff Tinker
4cdc2de0e4 Report key request message type for unprefixed EME
bug: 19771299
Change-Id: If76fa2988ca45632d0afff601c12f8f5f9908ed1
2015-03-23 16:23:12 -07:00
Dongwon Kang
55113971e2 Merge "TIF: fix NPE in the case a hardware TV input is not ready to use." 2015-03-23 23:18:29 +00:00
Alan Viverette
7b74a5cd7e Merge "Fix build" 2015-03-23 23:03:09 +00:00
Geoff Mendal
d5a914f52c am 7163a0a1: (-s ours) am 57d7b5f4: (-s ours) am 1f9bad3c: (-s ours) Import translations. DO NOT MERGE
* commit '7163a0a1a68e464b00273e71851b56769aecaeb3':
  Import translations. DO NOT MERGE
2015-03-23 22:56:40 +00:00
Alan Viverette
5c243723dd Fix build
Change-Id: Iaa8f3e7f4030b8eecc595cc1ab11e83c046714f1
2015-03-23 15:37:28 -07:00
Winson Chung
f21ef3d25a Merge "Adding null check for focused stack before trying to switch affiliated tasks." 2015-03-23 22:16:38 +00:00
Winson Chung
98127fb818 Adding null check for focused stack before trying to switch affiliated tasks.
Bug: 19870065
Change-Id: I674914b9d4a63cb9c73fa71bbc4b82c210e2001f
2015-03-23 15:12:53 -07:00
Craig Mautner
386b397b0b Merge "Add null check and call destroy from single point." 2015-03-23 22:12:17 +00:00
Alan Viverette
634ef35b96 Merge "Update date and time picker headers for dark theme" 2015-03-23 22:11:29 +00:00
Alan Viverette
fd6cd3b6f0 Update date and time picker headers for dark theme
Bug: 19849816
Change-Id: If8e15fccbea322e9349fddc02f9dcf7d387f881b
2015-03-23 15:09:53 -07:00
Wale Ogunwale
e7666f9e45 Merge "Default ActivityInfo.resizeable to false for all SDK versions." 2015-03-23 22:00:01 +00:00
Alan Viverette
835d798606 Docs nit
Change-Id: I390997826db6997f843cafc4136633937e185e82
2015-03-23 14:54:35 -07:00
Alan Viverette
167fa2fdb7 Merge "Clean up date picker" 2015-03-23 21:36:08 +00:00
Alan Viverette
452fe34984 Clean up date picker
Bug: 19758502
Change-Id: I11ed62245d15d155335f5652000b9dc81185e2f9
2015-03-23 14:26:09 -07:00
Geoff Mendal
bb522cb336 am d4f45766: (-s ours) Import translations. DO NOT MERGE
* commit 'd4f45766fabe3e305049dcd2f5b16b7e058a203a':
  Import translations. DO NOT MERGE
2015-03-23 21:11:37 +00:00
Wale Ogunwale
8ed9946a8b Merge "Changed recent multi-window UI to use persist.sys.debug.multi_window" 2015-03-23 21:10:43 +00:00
Jay Shrauner
a6baa77482 Merge "Check for empty lookup keys in getLookupUri" 2015-03-23 21:03:33 +00:00
Jeff Brown
04bf45a300 Merge "resolved conflicts for merge of 13d81b6d to master" 2015-03-23 21:02:30 +00:00
Julia Reynolds
151df5db5f Merge "DPM constants for specifying minimum version numbers for DO and DIA." 2015-03-23 21:01:30 +00:00
Craig Mautner
00a6675461 Add null check and call destroy from single point.
Ensure that calling destroy() on a DimLayer surface only happens
once.

Fixes bug 19660387.

Change-Id: Iee8ea20b5d7c3a8f81f14a3ecff66a1dc1a8d719
2015-03-23 14:00:47 -07:00
Dianne Hackborn
0b071a08d8 Add view ID, rework assist API.
Add view ID information to the assist structure.

Also rework the API to simplify how it works by removing
the ViewNode wrapper around ViewNodeImpl -- these are now
just the same thing.  And then add complexity by introducing
a formal WindowNode object that contains the top-level window
information (so I can add in some more window-specific info
in the future).

Change-Id: I5d525cf61ab6a73193e5cceb4c09d2d21cc27bae
2015-03-23 13:59:47 -07:00
Alan Viverette
53796737eb Merge "Fix default width and height for PopupWindow's decor view" 2015-03-23 20:54:43 +00:00
Jeff Brown
221a8277dc resolved conflicts for merge of 13d81b6d to master
Change-Id: Icb72123fcf4b74e97d9a62504caf8a17eb65c9e6
2015-03-23 13:53:09 -07:00
Alan Viverette
29abdb429c Merge "Correctly apply android:theme attribute from <include> tag" 2015-03-23 20:50:54 +00:00
Alan Viverette
150a59330b Merge "Update DatePicker and CalendarView to latest Material spec" 2015-03-23 20:45:56 +00:00
Alan Viverette
ab517ef4d8 Merge "Refactor theme colors, fix dialog background, accent in light Settings" 2015-03-23 20:45:33 +00:00
Wale Ogunwale
e0cc2f652b Changed recent multi-window UI to use persist.sys.debug.multi_window
Consistent with what is been set under developer options.

Change-Id: I871ba1b612e344846c33fae68ad3286f7bec1b4b
2015-03-23 13:44:36 -07:00
Alan Viverette
b0a2fbce16 Refactor theme colors, fix dialog background, accent in light Settings
Bug: 19706726
Change-Id: If81c0a4775c366ae1a278d79f6353670182f7d27
2015-03-23 13:42:06 -07:00
Alan Viverette
0ef59ac0e5 Update DatePicker and CalendarView to latest Material spec
Bug: 19431364
Change-Id: If364a051a5208d170495de4182e46b32c7560e08
2015-03-23 13:13:25 -07:00
Craig Mautner
4774f6a4e4 Recalculate input method top edge.
The bottom edge of an input method target window is set using the top
edge of the input method window. A switch from using the input
method's content frame's top edge to its display frame's top edge
(ag/634725) caused the underlying window to be obscured. This fix uses
the lower of the two frames to set the bottom edge of the target
window.

Fixes bug 19434816.

Change-Id: I5fe73fbe8a432b24a12c030f029cdfcd55e23274
2015-03-23 11:49:03 -07:00
Adam Lesinski
3561761776 Merge "Set the appliance (tv/watch) in the configuration earlier" 2015-03-23 18:33:10 +00:00
Alan Viverette
2a16460c7c Merge "Fix radial time picker for Explore by Touch and scroll actions" 2015-03-23 17:35:40 +00:00
Alan Viverette
4a6bd692d2 Fix radial time picker for Explore by Touch and scroll actions
Bug: 19889521
Change-Id: I4fa6b9e0459630ecdb4144f4640213415247735a
2015-03-23 10:34:23 -07:00
Zhijun He
709a4de485 Merge "media: fix build break" 2015-03-23 17:30:28 +00:00
Zhijun He
d1cbc68405 media: fix build break
clang/llvm complains the timestamp print formating.

Change-Id: Ie4bff9cbec90994709097d087d1c1f2a7d1465cf
2015-03-23 10:10:04 -07:00
Geoff Mendal
ecad2e2c34 Merge "Import translations. DO NOT MERGE" 2015-03-23 15:41:25 +00:00
Geoff Mendal
bd43ee44b2 Import translations. DO NOT MERGE
Change-Id: I61b935f025acf57c934bca1b3ed954838c26a122
Auto-generated-cl: translation import
2015-03-23 07:52:26 -07:00
Geoff Mendal
521c125d56 Import translations. DO NOT MERGE
Change-Id: I7298b94a7d28dc5e674054aa7204d5c652fb12a9
Auto-generated-cl: translation import
2015-03-23 06:15:29 -07:00
Dongwon Kang
731843e424 TIF: fix NPE in the case a hardware TV input is not ready to use.
Bug: 19805327
Change-Id: I0c96ab9274ea2404d75b02205ef40f56fb4552f6
2015-03-23 17:13:55 +09:00
Alan Viverette
259c284069 Fix default width and height for PopupWindow's decor view
Fixes a regression whereby failing to explicitly set a width and height
would cause the popup window's decor view to be 0 width and height.

Also deprecates unnecessary method for setting window width and
height spec and replaces with less-confusing setters.

Cleans up javadoc for modified methods.

Bug: 19538371
Change-Id: I20da3ff02ad12e99adf14c056edd1a890b5c322a
2015-03-22 17:39:39 -07:00
Jeff Sharkey
bf2673384c Merge "Bring MountService into the SystemService world." 2015-03-22 20:03:55 +00:00
Jeff Sharkey
56e629322f Bring MountService into the SystemService world.
Change-Id: I7f7db49ff373b199f7b81f184a7c62bee682af67
2015-03-21 20:41:00 -07:00
Alex Klyubin
afa10ad39a am 2110a28a: am a4c4c575: Merge "Add android.security.NetworkSecurityPolicy."
* commit '2110a28a6c7ef7d7802028d0a2dd9c14ceb432e1':
  Add android.security.NetworkSecurityPolicy.
2015-03-22 00:40:51 +00:00