OSDN Git Service
Dianne Hackborn [Tue, 12 May 2015 20:17:18 +0000 (20:17 +0000)]
Merge "Always use REGISTERED_ONLY when appropriate." into mnc-dev
Santos Cordon [Tue, 12 May 2015 20:10:52 +0000 (20:10 +0000)]
Merge "Add RemoteConference javadocs." into mnc-dev
Chien-Yu Chen [Tue, 12 May 2015 20:09:14 +0000 (20:09 +0000)]
Merge "Camera2: stream configs for reprocessible session" into mnc-dev
Wale Ogunwale [Tue, 12 May 2015 20:03:55 +0000 (20:03 +0000)]
Merge "Determine if TaskRecord is privilaged from creating ActivityInfo." into mnc-dev
John Spurlock [Tue, 12 May 2015 19:58:48 +0000 (19:58 +0000)]
Merge "DNDTile: Notify of value changes." into mnc-dev
Santos Cordon [Tue, 12 May 2015 19:09:47 +0000 (12:09 -0700)]
Add RemoteConference javadocs.
Bug:
21066411
Change-Id: Ie4cdfef58e6442531c3377cec4a708d67b790945
Alex Klyubin [Tue, 12 May 2015 19:57:09 +0000 (19:57 +0000)]
Merge "Flatten KeyStoreKeyProperties constants." into mnc-dev
John Spurlock [Tue, 12 May 2015 19:54:47 +0000 (19:54 +0000)]
Merge "Zen: Ringer mode integration fixes." into mnc-dev
Alex Klyubin [Tue, 12 May 2015 19:53:23 +0000 (12:53 -0700)]
Flatten KeyStoreKeyProperties constants.
This moves constants/flags declared in inner classes of
KeyStoreKeyProperties into KeyStoreKeyProperties, as requested by API
Council.
Bug:
21039983
Change-Id: I84a3c983e13644a027bed9f605ab8044220a352c
John Spurlock [Tue, 12 May 2015 19:52:38 +0000 (15:52 -0400)]
DNDTile: Notify of value changes.
Bug:
21055789
Change-Id: If9008b13a6a5583832fc4dfaa8ec3e21b61cb25c
Chris Craik [Tue, 12 May 2015 19:40:25 +0000 (19:40 +0000)]
Merge "Revert "Fix build - Revert "Revert "Use default constructor to get anti-aliasing"""" into mnc-dev
Yohei Yukawa [Tue, 12 May 2015 19:16:30 +0000 (19:16 +0000)]
Merge "Remove obsolete fields from InputMethodManager." into mnc-dev
Wale Ogunwale [Sat, 2 May 2015 03:39:18 +0000 (20:39 -0700)]
Determine if TaskRecord is privilaged from creating ActivityInfo.
It is not reliable to try to get it from the process since it might
not be running yet.
Bug:
20016740
Change-Id: If3e748a97015c6623741d9374ab4ed1ed5f4b11f
Dan Sandler [Tue, 12 May 2015 18:51:02 +0000 (18:51 +0000)]
Merge "Tests for Notification object construction and parceling." into mnc-dev
John Spurlock [Mon, 11 May 2015 20:00:09 +0000 (16:00 -0400)]
Zen: Ringer mode integration fixes.
- Properly mute media + alarm streams in total silence.
- Allow system components to update the "ringer mode affected"
streams dynamically.
- Improve dumpsys output for ringer mode streams (include names).
- Remember last ringer mode properly when entering dnd via a
volume down (so we can restore it properly when exiting).
Bug:
20854925
Bug:
20950463
Bug:
20756527
Change-Id: I80afc1f639ff802c541020e25ade1b23e9997ef9
Jason Monk [Tue, 12 May 2015 18:37:23 +0000 (18:37 +0000)]
Merge "Fix crash in setup wizard" into mnc-dev
Jason Monk [Tue, 12 May 2015 18:20:25 +0000 (14:20 -0400)]
Fix crash in setup wizard
Clear out any unhandled worker messages before stopping tracking.
Bug:
21048197
Change-Id: I3792215a1e7799bdb93587cd7158c4d5d86de348
Yohei Yukawa [Tue, 12 May 2015 18:11:27 +0000 (11:11 -0700)]
Remove obsolete fields from InputMethodManager.
IMM#mViewTopLeft and IMM#mViewToScreenMatrix are no longer used.
They should have not been removed in
I4a577bfd02b37b9e56c80b8b41bb25afa95dd8ef.
Change-Id: Ia685956c8f7dda1143135345ee9a3873705975ef
Dianne Hackborn [Tue, 12 May 2015 00:59:19 +0000 (17:59 -0700)]
Always use REGISTERED_ONLY when appropriate.
Previously we would only check mProcessesReady when going
through the public calls to send broadcasts; now handle it
even if the activity manager is calling its internal
implementation.
Change-Id: I702b4cb85b35a7a051ef05c9875a39f5fa03f0f1
Rich Slogar [Tue, 12 May 2015 17:48:30 +0000 (17:48 +0000)]
am
353232ec: am
b97afd41: am
a27dd186: am
e78f136b: Merge "docs: renderscript using gradle settings" into lmp-docs
* commit '
353232ecee06d1828d8628c4e3917e3b428485aa':
docs: renderscript using gradle settings
Chris Craik [Tue, 12 May 2015 17:28:14 +0000 (10:28 -0700)]
Revert "Fix build - Revert "Revert "Use default constructor to get anti-aliasing"""
Fix import
This reverts commit
7ed1431c83286abc83b9e5afc45fbd21ecb777b1.
Change-Id: Id93eba3ed1d47a90384ba20dea6f74d78755792b
Wei Jia [Tue, 12 May 2015 17:43:46 +0000 (17:43 +0000)]
Merge "MediaSync: rename bufferIndex to bufferId." into mnc-dev
Olawale Ogunwale [Tue, 12 May 2015 17:43:02 +0000 (17:43 +0000)]
Merge "Change attribute values per API council." into mnc-dev
Wale Ogunwale [Tue, 12 May 2015 17:39:58 +0000 (17:39 +0000)]
Merge "Move visibleBehind activities into stop state when sleeping/powerDown" into mnc-dev
P.Y. Laligand [Tue, 12 May 2015 17:39:55 +0000 (17:39 +0000)]
Merge "DO NOT MERGE - Display mode switches." into mnc-dev
Wei Jia [Tue, 12 May 2015 00:34:46 +0000 (17:34 -0700)]
MediaSync: rename bufferIndex to bufferId.
Bug:
20887706
Change-Id: I98887832bc2211614a19a3718b46d6da100f6c9b
Rich Slogar [Tue, 12 May 2015 17:36:17 +0000 (17:36 +0000)]
am
b97afd41: am
a27dd186: am
e78f136b: Merge "docs: renderscript using gradle settings" into lmp-docs
* commit '
b97afd418558fbe5cf37a17302a84a9d907490e6':
docs: renderscript using gradle settings
Doris Liu [Tue, 12 May 2015 17:32:21 +0000 (17:32 +0000)]
Merge "Avoid setting mCurFrame to -1" into mnc-dev
Alex Klyubin [Tue, 12 May 2015 17:32:29 +0000 (17:32 +0000)]
Merge "Link to magic constants used by AndroidKeyStore API." into mnc-dev
Christopher Tate [Tue, 12 May 2015 17:28:12 +0000 (17:28 +0000)]
Merge "Deprecate Context.MODE_MULTI_PROCESS" into mnc-dev
Craig Mautner [Tue, 28 Apr 2015 23:21:06 +0000 (16:21 -0700)]
Change attribute values per API council.
lockTaskModeDefault => default
lockTaskModeNever => never
lockTaskModeIfWhitelisted => if_whitelisted
lockTaskModeAlways => always
Fixes bug
20642190.
Change-Id: I29cc546e12c330df9ec9af3cc91faf0d0f3df3b4
Chris Craik [Tue, 12 May 2015 17:22:33 +0000 (17:22 +0000)]
Merge "Fix build - Revert "Revert "Use default constructor to get anti-aliasing""" into mnc-dev
Chris Craik [Tue, 12 May 2015 17:22:22 +0000 (17:22 +0000)]
Fix build - Revert "Revert "Use default constructor to get anti-aliasing""
This reverts commit
dfe0a66ceca530e0777ebfab20f81103baa18f14.
Change-Id: I58a1bae649a284f3d3b6213064d903ea7fcf185a
Rich Slogar [Tue, 12 May 2015 17:20:10 +0000 (17:20 +0000)]
am
a27dd186: am
e78f136b: Merge "docs: renderscript using gradle settings" into lmp-docs
* commit '
a27dd186b265b58eae490d4e19ec11268ea54f12':
docs: renderscript using gradle settings
Alex Klyubin [Tue, 12 May 2015 17:12:18 +0000 (17:12 +0000)]
Merge "Move PointFormat constants into parent class." into mnc-dev
Alex Klyubin [Tue, 12 May 2015 17:05:53 +0000 (10:05 -0700)]
Move PointFormat constants into parent class.
This gets rid of EcIesParameterSpec.PointFormat by moving the
constants into EcIesParameterSpec, prefixed with POINT_FORMAT_.
Bug:
21039983
Change-Id: I7a76bb84e0394db9c7f5b0d53526915d5bbdd511
Doris Liu [Mon, 11 May 2015 22:18:45 +0000 (15:18 -0700)]
Avoid setting mCurFrame to -1
Use the dedicated flag mRunning to check whether the DrawableAnimation
is running, rather than comparing mCurFrame with -1. This CL aims to
simplify the use of mCurFrame.
Bug:
17112962
Change-Id: I15f9e4c102f504b8c806f029949fe9ec872479a5
Chris Craik [Tue, 12 May 2015 17:07:24 +0000 (17:07 +0000)]
Merge "Revert "Use default constructor to get anti-aliasing"" into mnc-dev
Rich Slogar [Tue, 12 May 2015 17:05:40 +0000 (17:05 +0000)]
am
e78f136b: Merge "docs: renderscript using gradle settings" into lmp-docs
* commit '
e78f136b1dbe11dc98c5699da24df49fd9dae795':
docs: renderscript using gradle settings
Alex Klyubin [Tue, 12 May 2015 16:56:10 +0000 (16:56 +0000)]
Merge "Hide @IntDef and @StringDef annotations from AnroidKeyStore API." into mnc-dev
Rich Slogar [Tue, 12 May 2015 16:54:37 +0000 (16:54 +0000)]
Merge "docs: renderscript using gradle settings" into lmp-docs
Olawale Ogunwale [Tue, 12 May 2015 16:51:02 +0000 (16:51 +0000)]
Merge "Don't apply animation clip to dialog activities" into mnc-dev
Chris Craik [Tue, 12 May 2015 16:39:33 +0000 (16:39 +0000)]
Merge "Shrink default path cache size" into mnc-dev
Chris Craik [Tue, 12 May 2015 16:36:28 +0000 (16:36 +0000)]
Revert "Use default constructor to get anti-aliasing"
bug:
20948129
This reverts commit
58fc522a69e8ddf9ac8530ce88e9c2c92da1dd14.
Change-Id: Iddeccb4ad15b843bb3e610bd3673a0c7abc1bf46
Paul Jensen [Tue, 12 May 2015 16:32:28 +0000 (16:32 +0000)]
Merge "Deprecate ConnectivityManager.isNetworkTypeValid as it's unneeded." into mnc-dev
Alex Klyubin [Mon, 11 May 2015 19:48:27 +0000 (12:48 -0700)]
Hide @IntDef and @StringDef annotations from AnroidKeyStore API.
By convention, these annotation classes should remain hidden API.
Bug:
18088752
Bug:
21039983
Change-Id: Ifb5d2910c7dae4e0fd809876eb641f1aaf7a00a6
Christopher Tate [Tue, 12 May 2015 16:17:47 +0000 (16:17 +0000)]
am
7a4cfa58: am
960cb481: am
613626b7: am
afd883f8: During early boot, send LOCALE_CHANGED only to registered receivers
* commit '
7a4cfa58b1421f95266acc4f6a1683804726a0e0':
During early boot, send LOCALE_CHANGED only to registered receivers
Christopher Tate [Tue, 12 May 2015 16:06:43 +0000 (16:06 +0000)]
am
960cb481: am
613626b7: am
afd883f8: During early boot, send LOCALE_CHANGED only to registered receivers
* commit '
960cb4816c082eee52a221052a8e4232f0c0fb14':
During early boot, send LOCALE_CHANGED only to registered receivers
Andre Eisenbach [Fri, 5 Dec 2014 17:31:30 +0000 (09:31 -0800)]
Bluetooth native dumpsys logging support (3/5)
Bug:
18508263
Change-Id: I88f9c90dab8b0c825010c8617709449a3dd704b2
Christopher Tate [Tue, 12 May 2015 15:53:04 +0000 (15:53 +0000)]
am
613626b7: am
afd883f8: During early boot, send LOCALE_CHANGED only to registered receivers
* commit '
613626b7488c5c35a4816804fbe8f837a7e30440':
During early boot, send LOCALE_CHANGED only to registered receivers
Chris Craik [Tue, 12 May 2015 15:48:54 +0000 (15:48 +0000)]
Merge "Remove usage of Texture::cleanup in PathCache" into mnc-dev
Christopher Tate [Tue, 12 May 2015 15:39:12 +0000 (15:39 +0000)]
am
afd883f8: During early boot, send LOCALE_CHANGED only to registered receivers
* commit '
afd883f8a3ee260a5505f83d628c0b789871c837':
During early boot, send LOCALE_CHANGED only to registered receivers
Jason Monk [Tue, 12 May 2015 15:03:40 +0000 (15:03 +0000)]
Merge "Add SysUI Tuner" into mnc-dev
Jason Monk [Mon, 11 May 2015 20:57:15 +0000 (16:57 -0400)]
Add SysUI Tuner
Change-Id: I9b0fabbe913b8297d8c668b6416a7be856adb9d5
Paul Jensen [Wed, 6 May 2015 14:42:25 +0000 (10:42 -0400)]
Deprecate ConnectivityManager.isNetworkTypeValid as it's unneeded.
All ConnectivityManager APIs taking a network type have been
deprecated so there should be no need to validate a network type.
bug:
20647016
Change-Id: I2dcf24f58016e94aa814dda38cfc848366cc461c
Jason Monk [Tue, 12 May 2015 14:35:12 +0000 (14:35 +0000)]
Merge "Add control for double tap to wake setting" into mnc-dev
John Reck [Tue, 12 May 2015 14:21:38 +0000 (14:21 +0000)]
Merge "Increase HISTORY_SIZE for GraphicsStatsService" into mnc-dev
Jason Monk [Tue, 31 Mar 2015 20:46:39 +0000 (16:46 -0400)]
Add control for double tap to wake setting
Bug:
16875464
Change-Id: Ic1ad910dd38acbc68ef040b2acdf3696ec2c2e4e
Amith Yamasani [Tue, 12 May 2015 13:04:29 +0000 (13:04 +0000)]
Merge "Idle timebase" into mnc-dev
Michael Wright [Tue, 12 May 2015 12:12:47 +0000 (12:12 +0000)]
Merge "Remove SLEEP and POWER from wake key list." into mnc-dev
Narayan Kamath [Mon, 11 May 2015 14:45:36 +0000 (15:45 +0100)]
Fix file descriptor leak when opening invalid archives.
I've inspected all other callers of OpenArchive and this seems
to be the only broken one. The easiest way to reproduce this is
by using getPackageArchiveInfo or by adding an asset path that
isn't a valid APK.
bug: https://code.google.com/p/android/issues/detail?id=171099
Change-Id: I41cd85d20f26ad47968e2a6f1384cc03330b558b
Ricky Wai [Tue, 12 May 2015 09:35:59 +0000 (09:35 +0000)]
Merge "Fix LauncherActivityInfo.getBadgedIcon() cannot get high density icon" into mnc-dev
Rubin Xu [Tue, 12 May 2015 09:06:09 +0000 (09:06 +0000)]
Merge "Tweak SystemUpdatePolicy according to API review." into mnc-dev
Clara Bayarri [Tue, 12 May 2015 09:06:04 +0000 (09:06 +0000)]
Merge "Fix Floating toolbar is not refreshed when dragging insertion handle" into mnc-dev
Jae Seo [Tue, 12 May 2015 05:21:26 +0000 (05:21 +0000)]
Merge "TIF: Rename requestUnblockContent to unblockContent" into mnc-dev
Jae Seo [Thu, 12 Mar 2015 02:29:46 +0000 (19:29 -0700)]
TIF: Rename requestUnblockContent to unblockContent
The method TvView.requestUnblockContent doesn't match the name of the
corresponding method in TvInputService, onUnblockContent, hence changed
the name to make it consistent with the current naming scheme.
This change deprecated the requestUnblockContent method as the first
step.
Bug:
19337627
Change-Id: I530209c4dca66305da90ffded7199fa3c1c1780c
Dongwon Kang [Tue, 12 May 2015 04:51:07 +0000 (04:51 +0000)]
Merge "TIF: add more documentation on Session.setOverlayViewEnabled()." into mnc-dev
Jae Seo [Tue, 12 May 2015 04:43:06 +0000 (04:43 +0000)]
Merge "TIF: Unhide the surface layout API" into mnc-dev
Jae Seo [Thu, 23 Apr 2015 20:19:15 +0000 (13:19 -0700)]
TIF: Unhide the surface layout API
Also fixed some comments to make them more consistent with now public
API.
Bug:
20254168
Change-Id: I62fcdace742603ffd3756c5188c8cf37ccf964ba
Joe Fernandez [Tue, 12 May 2015 04:24:53 +0000 (04:24 +0000)]
am
f3c04204: am
13e39e3f: am
c1e97347: Merge "docs: studio 1.2.1.1 updates" into lmp-mr1-ub-docs
* commit '
f3c042045f70b74d700c3d96429f45b93606e56b':
docs: studio 1.2.1.1 updates
Jeff Hao [Tue, 12 May 2015 04:24:46 +0000 (04:24 +0000)]
am
3da32f77: am
b1e9430a: am
c5ced5d3: Fix prototype for startMethodTracingSampling in profiling docs.
* commit '
3da32f77fb99a21c35cfc914641e34b949c2d623':
Fix prototype for startMethodTracingSampling in profiling docs.
Joe Fernandez [Tue, 12 May 2015 04:09:42 +0000 (04:09 +0000)]
am
13e39e3f: am
c1e97347: Merge "docs: studio 1.2.1.1 updates" into lmp-mr1-ub-docs
* commit '
13e39e3fd28544ff13639938455a8b7d593b835b':
docs: studio 1.2.1.1 updates
Jeff Hao [Tue, 12 May 2015 04:09:38 +0000 (04:09 +0000)]
am
b1e9430a: am
c5ced5d3: Fix prototype for startMethodTracingSampling in profiling docs.
* commit '
b1e9430a9d653937ae9ee2ae9c3e60860b30ba4d':
Fix prototype for startMethodTracingSampling in profiling docs.
Joe Fernandez [Tue, 12 May 2015 04:00:31 +0000 (04:00 +0000)]
am
c1e97347: Merge "docs: studio 1.2.1.1 updates" into lmp-mr1-ub-docs
* commit '
c1e973477d635e08ab656bba3dbaf73927feaae8':
docs: studio 1.2.1.1 updates
Jeff Hao [Tue, 12 May 2015 04:00:24 +0000 (04:00 +0000)]
am
c5ced5d3: Fix prototype for startMethodTracingSampling in profiling docs.
* commit '
c5ced5d354678c6eaefbfab11035b4f05361264a':
Fix prototype for startMethodTracingSampling in profiling docs.
Joe Fernandez [Tue, 12 May 2015 03:51:23 +0000 (03:51 +0000)]
Merge "docs: studio 1.2.1.1 updates" into lmp-mr1-ub-docs
Dan Sandler [Mon, 6 Apr 2015 20:49:28 +0000 (16:49 -0400)]
Tests for Notification object construction and parceling.
The tests use the new hidden Parcel APIs (if available on
the running platform) to emit statistics about ashmem usage.
Bug:
20153922
Bug:
20079551
Change-Id: I400d2a932f297e582c335389570f93c0d4a19fc9
Christopher Tate [Sat, 9 May 2015 01:14:01 +0000 (18:14 -0700)]
Deprecate Context.MODE_MULTI_PROCESS
It has never worked the way people expect.
Change-Id: I0633aacc5ed171495d9c3b51201b7ba86b666dc5
Chris Craik [Tue, 12 May 2015 02:18:11 +0000 (19:18 -0700)]
Shrink default path cache size
Change-Id: Id9139945837d41cc1822b796cb9837591686fcbf
Chris Craik [Tue, 12 May 2015 01:23:09 +0000 (18:23 -0700)]
Remove usage of Texture::cleanup in PathCache
bug:
21039605
Was causing double-deletes, is unneeded.
Change-Id: I5c0a21d076fae7039d777ca09b21492f97fea98b
Jim Miller [Tue, 12 May 2015 01:22:13 +0000 (01:22 +0000)]
Merge "Fingerprint: Add Set Active Group" into mnc-dev
Chris Craik [Tue, 12 May 2015 01:18:31 +0000 (01:18 +0000)]
Merge "Fix ViewGroup caching defaults" into mnc-dev
Christopher Tate [Tue, 12 May 2015 01:00:45 +0000 (18:00 -0700)]
During early boot, send LOCALE_CHANGED only to registered receivers
Bug
20855725
Bug
19060618
Change-Id: I368660ecc6ee97a0c2a2f627fa1b09288bc92bd1
Fabrice Di Meglio [Tue, 12 May 2015 00:52:57 +0000 (00:52 +0000)]
Merge "Add user selectable Default Browser feature - part 6" into mnc-dev
Fabrice Di Meglio [Tue, 12 May 2015 00:46:23 +0000 (17:46 -0700)]
Add user selectable Default Browser feature - part 6
- if a default Browser is not defined and if a Browser App
is selected into the disambiguation dialog, then make it as
the default Browser
- clear default Browser saved data (package name) when
the default Browser App is removed
See bug #
20144393
Change-Id: Ia8621d7a61ec2cb60deded9d70f75f1e1d88d123
Amith Yamasani [Fri, 8 May 2015 23:36:21 +0000 (16:36 -0700)]
Idle timebase
Use screen on time as timebase for idling out apps
that have been inactive.
Store the time when an app was last active as an additional
package state in UsageStats. Compare it to screenOnTime to decide
if it's inactive.
Exclude device idle whitelist from apps that can go inactive.
Bug:
20066058
Change-Id: I709f9f31a9affa7ca6e1ae3e4c5729c5fb221669
Selim Cinek [Tue, 12 May 2015 00:36:57 +0000 (17:36 -0700)]
Gave more context on an accesibility string
Bug:
21024091
Change-Id: I298786cc71a7368298df620d699a49ef29adec06
Jeff Hao [Tue, 12 May 2015 00:33:49 +0000 (17:33 -0700)]
Fix prototype for startMethodTracingSampling in profiling docs.
Change-Id: I1bb48be7d154ef2d513c8f611c52a7c89414737c
(cherry picked from commit
3755c3d8bcc3d0f22eb7a775ec7a689feb7e1725)
Selim Cinek [Tue, 12 May 2015 00:00:39 +0000 (17:00 -0700)]
Fixed a bug that the user could not drag down on the heads up
Change-Id: I4a806c88d9b2bf4d176dab32ed793c1105ffd237
(cherry picked from commit
dcc3138db295c513aeda322a447f9dd1295e180e)
Jeff Hao [Tue, 12 May 2015 00:42:09 +0000 (00:42 +0000)]
Merge "Fix prototype for startMethodTracingSampling in profiling docs." into mnc-dev
Selim Cinek [Mon, 11 May 2015 23:28:42 +0000 (16:28 -0700)]
Fixed a crash with the voice interaction service
Bug:
20925281
Change-Id: I136014ebc12c3afcb154722a8fec44b1d5f003e9
(cherry picked from commit
64904d39f8062b026c2d4c09c9a5a26532e60bb6)
Selim Cinek [Fri, 8 May 2015 23:08:35 +0000 (16:08 -0700)]
Fixed a bug where the HUN would interfere with the normal touches
When a hun came in or went away, the touchable regions were not
enforced correctly due to a race condition. This lead to the user
grabing the notification panel unintentionally and ripping him
out of the normal touch state.
Also fixed a small bug where the alpha was not correctly animating
sometimes and the HUN shadow would still draw.
Bug:
20956211
Change-Id: Iae1fef5825b3d2b8b4128cc8c3272019194cd819
(cherry picked from commit
8b4a06e9e269140c93c1a9ef5add008f7610d1a4)
Jeff Hao [Tue, 12 May 2015 00:33:49 +0000 (17:33 -0700)]
Fix prototype for startMethodTracingSampling in profiling docs.
Change-Id: I1bb48be7d154ef2d513c8f611c52a7c89414737c
Svet Ganov [Tue, 12 May 2015 00:15:36 +0000 (00:15 +0000)]
Merge "Add permission meta-state flags to support grant/revoke permission policy." into mnc-dev
Svet Ganov [Thu, 7 May 2015 17:48:44 +0000 (10:48 -0700)]
Add permission meta-state flags to support grant/revoke permission policy.
We now maintain a mata-state with each permission in the form of flags
specyfying the policy for this permission. This enables support of the
following use cases:
1. The user denies a permission with prejudice in which case an app cannot
request the permission at runtime. If an app requests such a permssion
it gets a denial unless the user grants the permission from settings.
2. A legacy app with disabled app-ops being upgraded to support runtime
permissions. The disabled app ops are converted to permission revocations.
The app ops manager is a part of the activity manger which sits on top
of the package manager, hence the latter cannot have a dependency on the
former. To avoid this the package installer which is the global
permission managment authority marks the permission as revoked on
upgrade and the package manager revokes it on upgrade.
3. A device policy fixing a permission in a granted or revoked state. This
additional information is folded in the meta-state flags and neither
apps can request such permissions if revoked not the user can change
the permission state in the UI.
Change-Id: I443e8a7bb94bfcb4ff6003d158e1408c26149811
Jeff Hao [Tue, 12 May 2015 00:06:55 +0000 (00:06 +0000)]
am
70159dfe: am
55c4816f: am
cf6a3b91: Update ddms and profiling docs to include sample profiling.
* commit '
70159dfeb6bde35cb001e25240c7e676bf87932f':
Update ddms and profiling docs to include sample profiling.
Jeff Hao [Mon, 11 May 2015 23:57:32 +0000 (23:57 +0000)]
am
55c4816f: am
cf6a3b91: Update ddms and profiling docs to include sample profiling.
* commit '
55c4816fb2aa8ea54231de6dbcb4fa22642bb75e':
Update ddms and profiling docs to include sample profiling.
Rich Slogar [Mon, 11 May 2015 23:54:55 +0000 (16:54 -0700)]
docs: studio 1.2.1.1 updates
Change-Id: I0e0f25873b06a135e6fd68f1a2aad463d204c4e5
Jeff Hao [Mon, 11 May 2015 23:44:15 +0000 (23:44 +0000)]
am
cf6a3b91: Update ddms and profiling docs to include sample profiling.
* commit '
cf6a3b915c2984ae573b27a46dd732811d642427':
Update ddms and profiling docs to include sample profiling.
Jean-Michel Trivi [Mon, 11 May 2015 22:57:02 +0000 (22:57 +0000)]
Merge "Prevent NPE in MediaSessionService" into mnc-dev