OSDN Git Service

android-x86/frameworks-base.git
9 years agoPrepare some ConnectivityService logic for fallback to Cellular change
Paul Jensen [Thu, 25 Jun 2015 17:25:07 +0000 (13:25 -0400)]
Prepare some ConnectivityService logic for fallback to Cellular change

Reduce the duplication of some logic so when falling back to Cellular
when WiFi fails to validate is enabled, there's less chance for bugs
and failures:
1. De-duplicate several Network vs NetworkRequest matching functions
2. Remove the very tricky nascent logic by adding a simple "lingering" bit.

Bug:20896761
Change-Id: I21da9e827eec9cfd6835fcaa650192b9186ed053

9 years agoMerge "Log DNS results for network validation attempts" into mnc-dev
Paul Jensen [Wed, 1 Jul 2015 12:43:13 +0000 (12:43 +0000)]
Merge "Log DNS results for network validation attempts" into mnc-dev

9 years agoMerge "Reducing logging in NetworkMonitor to avoid getting muted" into mnc-dev
Paul Jensen [Wed, 1 Jul 2015 12:42:04 +0000 (12:42 +0000)]
Merge "Reducing logging in NetworkMonitor to avoid getting muted" into mnc-dev

9 years agoMerge "Fix memory leak in setActionProvider() - framework edition" into mnc-dev
Chris Banes [Wed, 1 Jul 2015 07:58:00 +0000 (07:58 +0000)]
Merge "Fix memory leak in setActionProvider() - framework edition" into mnc-dev

9 years agoMerge "[RenderScript] update the type of offsets for BLAS.BNNM" into mnc-dev
Miao Wang [Wed, 1 Jul 2015 05:12:05 +0000 (05:12 +0000)]
Merge "[RenderScript] update the type of offsets for BLAS.BNNM" into mnc-dev

9 years agoMerge "media: clean up the usage of max-supported-instances." into mnc-dev
Ronghua Wu [Wed, 1 Jul 2015 04:00:20 +0000 (04:00 +0000)]
Merge "media: clean up the usage of max-supported-instances." into mnc-dev

9 years agoMerge "Remove the empty accounts group and not needed storage resources." into mnc-dev
Svet Ganov [Wed, 1 Jul 2015 02:32:47 +0000 (02:32 +0000)]
Merge "Remove the empty accounts group and not needed storage resources." into mnc-dev

9 years agoMerge "Fix dispatch of onRestoreFinished()" into mnc-dev
Christopher Tate [Wed, 1 Jul 2015 01:25:52 +0000 (01:25 +0000)]
Merge "Fix dispatch of onRestoreFinished()" into mnc-dev

9 years agoFix dispatch of onRestoreFinished()
Christopher Tate [Wed, 1 Jul 2015 00:48:46 +0000 (17:48 -0700)]
Fix dispatch of onRestoreFinished()

The agent instance wasn't properly being conveyed from the generic
restore engine implementation to the state machine handling the
lifecycles.  On top of that, the lifecycle wasn't advancing to the
restore-finished callback phase properly in the full-data restore
case.

Bug 22194736

Change-Id: Ic649d6a196adbd21a4a0f3083c7eed2fff383e52

9 years agoMerge "Rename uses-permission-m to uses-permission-23" into mnc-dev
Svet Ganov [Wed, 1 Jul 2015 00:55:40 +0000 (00:55 +0000)]
Merge "Rename uses-permission-m to uses-permission-23" into mnc-dev

9 years agoMerge "Reland "Fixed constant window switching on lock screen..."" into mnc-dev
Yohei Yukawa [Wed, 1 Jul 2015 00:51:33 +0000 (00:51 +0000)]
Merge "Reland "Fixed constant window switching on lock screen..."" into mnc-dev

9 years agoMerge "Hand out storage to more system apps." into mnc-dev
Jeff Sharkey [Wed, 1 Jul 2015 00:42:40 +0000 (00:42 +0000)]
Merge "Hand out storage to more system apps." into mnc-dev

9 years agoMerge "Fix issue #22124996: VI: Command Request not Active" into mnc-dev
Dianne Hackborn [Wed, 1 Jul 2015 00:41:44 +0000 (00:41 +0000)]
Merge "Fix issue #22124996: VI: Command Request not Active" into mnc-dev

9 years agoMerge "BatteryStats: Record cpu power usage from /proc/uid_cputime" into mnc-dev
Adam Lesinski [Wed, 1 Jul 2015 00:40:00 +0000 (00:40 +0000)]
Merge "BatteryStats: Record cpu power usage from /proc/uid_cputime" into mnc-dev

9 years agoHand out storage to more system apps.
Jeff Sharkey [Wed, 1 Jul 2015 00:32:45 +0000 (17:32 -0700)]
Hand out storage to more system apps.

Grant storage access to the Storage Access Framework provider that
offers to delegate access to storage devices.  Also grant to the
default music app.

Bug: 22104872
Change-Id: I8cf7dceec8b4c1e31f8ddd40b094ccd4ecb1caf8

9 years agoMerge "Fully unmount existing storage in Zygote." into mnc-dev
Jeff Sharkey [Tue, 30 Jun 2015 23:59:40 +0000 (23:59 +0000)]
Merge "Fully unmount existing storage in Zygote." into mnc-dev

9 years agoFix issue #22124996: VI: Command Request not Active
Dianne Hackborn [Tue, 30 Jun 2015 21:38:17 +0000 (14:38 -0700)]
Fix issue #22124996: VI: Command Request not Active

Just forgot to add the request to the active set.

Also eradicate a bunch of old cruft that has been replaced
by the final APIs, and improve voice interaction test to
sit fully on top of the final APIs and have a test for
command request.

Change-Id: Ieff7a6165ebf2a4c5fb80c1ebd020511a2ae63ee

9 years agoFix overexpand panel motion
Jorim Jaggi [Tue, 30 Jun 2015 23:19:17 +0000 (16:19 -0700)]
Fix overexpand panel motion

Expanding was already set to false when we decided which QS
overscroll animation to run. We can't change the order of expanding
finished/tracking finished because of another bug. Instead, let the
stack scroller know about tracking state and combine both of them.

Bug: 21705230
Change-Id: I041ff1fabc6c939c233528f9d08d804ead64bbab

9 years agoFix Keyguard header animation from SHADE_LOCKED -> Keyguard
Jorim Jaggi [Tue, 30 Jun 2015 20:35:11 +0000 (13:35 -0700)]
Fix Keyguard header animation from SHADE_LOCKED -> Keyguard

Bug: 22128249
Change-Id: I36dbecc41e66922987c1b753d62bde27cb3b17be

9 years agoReland "Fixed constant window switching on lock screen..."
Yohei Yukawa [Tue, 30 Jun 2015 23:22:05 +0000 (16:22 -0700)]
Reland "Fixed constant window switching on lock screen..."

This is a manual reland of I3680256d41793f62def42fda00e26db1dcc9,
which was certainly merged into lmp-mr1-dev then auto-merged into
master but silently lost there for unknown reasons when
I8c42a1e6091b0fe1253e90265ac248087e was auto-merged into master.

Changes in WindowAnimator.java was already covered by
I2933eaf0ab55fe31cb382c46c411033e33a756e0 so this CL does not
include that change.

Bug: 18021493
Bug: 22158649
Change-Id: Ib1bf9f5bef44d0400230afc32231f7d1f3a1c98b

9 years agoMerge "Update the doc for VectorDrawable's Tint support" into mnc-dev
ztenghui [Tue, 30 Jun 2015 23:20:29 +0000 (23:20 +0000)]
Merge "Update the doc for VectorDrawable's Tint support" into mnc-dev

9 years agoMerge "Add helper function to extract app ID from shared app gid." into mnc-dev
Adam Lesinski [Tue, 30 Jun 2015 23:16:18 +0000 (23:16 +0000)]
Merge "Add helper function to extract app ID from shared app gid." into mnc-dev

9 years agoRename uses-permission-m to uses-permission-23
Svet Ganov [Tue, 30 Jun 2015 01:27:20 +0000 (18:27 -0700)]
Rename uses-permission-m to uses-permission-23

bug:20072113

Change-Id: Ia872853274c604a6fee1c1d84f82a98334523bac

9 years agoMerge "Don't allow non-admins to adopt sd card for internal storage" into mnc-dev
Amith Yamasani [Tue, 30 Jun 2015 23:00:06 +0000 (23:00 +0000)]
Merge "Don't allow non-admins to adopt sd card for internal storage" into mnc-dev

9 years agoUpdate the doc for VectorDrawable's Tint support
ztenghui [Tue, 30 Jun 2015 22:58:55 +0000 (15:58 -0700)]
Update the doc for VectorDrawable's Tint support

b/21726146

Change-Id: I262f77b980afa81407b008276190062974cdc4fa

9 years agoFully unmount existing storage in Zygote.
Jeff Sharkey [Tue, 30 Jun 2015 22:56:33 +0000 (15:56 -0700)]
Fully unmount existing storage in Zygote.

Before mounting the requested storage into place, fully unmount all
existing mounts inherited from the root namespace.

Bug: 22192518
Change-Id: I6f7f12c1219d25ee487a031d37c60fb4051d24ad

9 years agoMerge "Invalidate parent when scrolling child view back onto screen" into mnc-dev
Chet Haase [Tue, 30 Jun 2015 22:46:42 +0000 (22:46 +0000)]
Merge "Invalidate parent when scrolling child view back onto screen" into mnc-dev

9 years agoMerge "Use non-greedy view to draw background in landscape time picker" into mnc-dev
Alan Viverette [Tue, 30 Jun 2015 22:44:57 +0000 (22:44 +0000)]
Merge "Use non-greedy view to draw background in landscape time picker" into mnc-dev

9 years agoMerge "Replace infinite loop with foreach." into mnc-dev
Deepanshu Gupta [Tue, 30 Jun 2015 22:41:46 +0000 (22:41 +0000)]
Merge "Replace infinite loop with foreach." into mnc-dev

9 years agoMerge "Add missing resolveResValue call." into mnc-dev
Deepanshu Gupta [Tue, 30 Jun 2015 22:41:34 +0000 (22:41 +0000)]
Merge "Add missing resolveResValue call." into mnc-dev

9 years agoReplace infinite loop with foreach.
Deepanshu Gupta [Tue, 30 Jun 2015 21:30:55 +0000 (14:30 -0700)]
Replace infinite loop with foreach.

A method call exists to find all inner classes. Use it instead of
manually enumerating the possibilities and checking.

Also fix a typo.

Change-Id: I2af678e92ea0c11b53617b247d8cda324391c185

9 years agoInvalidate parent when scrolling child view back onto screen
Chet Haase [Tue, 30 Jun 2015 22:31:10 +0000 (15:31 -0700)]
Invalidate parent when scrolling child view back onto screen

This bug caused views which used to be quick-rejected to continue to not
be drawn because the parent's DisplayList no longer contained them. The
fix is to notice when offsetting a view puts it back on screen and invalidates
the parent appropriately.

Issue #21413554  offsetTopAndBottom requires invalidating parent when view becomes visible again

Change-Id: I0f5d2cc48e3da912a41635712d9c37fb30e70c86

9 years agoDon't show orb when voice session is already running
Jorim Jaggi [Tue, 30 Jun 2015 18:41:32 +0000 (11:41 -0700)]
Don't show orb when voice session is already running

Bug: 22195186
Change-Id: I7839536d2f6362889a924b65011d80556f0176b8

9 years agoMake sure endClosing doesn't get called too early
Jorim Jaggi [Tue, 30 Jun 2015 18:31:10 +0000 (11:31 -0700)]
Make sure endClosing doesn't get called too early

Bug: 22196478
Bug: 22184101
Change-Id: I3488c40b74a080efbba9b1544f9709f7e509988b

9 years agoUse non-greedy view to draw background in landscape time picker
Alan Viverette [Tue, 30 Jun 2015 21:06:13 +0000 (14:06 -0700)]
Use non-greedy view to draw background in landscape time picker

Bug: 21933765
Change-Id: I95d608e9be166308e3a9b013a2c4c17cd4345046

9 years agoAdd helper function to extract app ID from shared app gid.
Adam Lesinski [Fri, 26 Jun 2015 23:33:24 +0000 (16:33 -0700)]
Add helper function to extract app ID from shared app gid.

Bug:22008744
Change-Id: Ifadc7df3777dd74932833f4d22a0e285d7bdaf95

9 years agoMerge "Do not hold a lock when calling API to grant default permissions" into mnc-dev
Svet Ganov [Tue, 30 Jun 2015 21:44:32 +0000 (21:44 +0000)]
Merge "Do not hold a lock when calling API to grant default permissions" into mnc-dev

9 years agoMerge "Resolve CompoundButton's foreground drawable for layout direction change"...
Doris Liu [Tue, 30 Jun 2015 21:42:41 +0000 (21:42 +0000)]
Merge "Resolve CompoundButton's foreground drawable for layout direction change" into mnc-dev

9 years agoMerge "Allow null child view when checking whether divider should draw" into mnc-dev
Doris Liu [Tue, 30 Jun 2015 21:34:58 +0000 (21:34 +0000)]
Merge "Allow null child view when checking whether divider should draw" into mnc-dev

9 years agoAdd missing resolveResValue call.
Deepanshu Gupta [Tue, 30 Jun 2015 21:28:58 +0000 (14:28 -0700)]
Add missing resolveResValue call.

Bug: http://b.android.com/178504
Change-Id: I7dde8094cf762893e4f7ea0d3de87a281c9602cd

9 years agoMerge "Don't display layout bounds of GONE views" into mnc-dev
Chris Craik [Tue, 30 Jun 2015 21:22:24 +0000 (21:22 +0000)]
Merge "Don't display layout bounds of GONE views" into mnc-dev

9 years agoDon't allow non-admins to adopt sd card for internal storage
Amith Yamasani [Tue, 30 Jun 2015 21:21:01 +0000 (14:21 -0700)]
Don't allow non-admins to adopt sd card for internal storage

Bug: 21883016
Change-Id: I9af3eeffd860b076e69bb02a3dc06edba5f95898

9 years agoAllow null child view when checking whether divider should draw
Doris Liu [Tue, 30 Jun 2015 20:42:22 +0000 (13:42 -0700)]
Allow null child view when checking whether divider should draw

The beginning divider should draw before the first child that is not
set to GONE. Incidentally, there needs to be a check for such a child,
which involves checking the visibility of all the children with lower
indices. This CL takes into account the scenarios where children with
lower indices could be null, in which case we'll treat them as if they
were GONE.

Bug: 22199594
Change-Id: Iefc73ef87beec219898c967b9a3ccebd1e3b5b4c

9 years agoMerge "Handle null argument in ImageView.setImageIcon()" into mnc-dev
Alan Viverette [Tue, 30 Jun 2015 20:53:28 +0000 (20:53 +0000)]
Merge "Handle null argument in ImageView.setImageIcon()" into mnc-dev

9 years agoMerge "Saturate alpha values when overlaying glyphs" into mnc-dev
Chris Craik [Tue, 30 Jun 2015 20:52:24 +0000 (20:52 +0000)]
Merge "Saturate alpha values when overlaying glyphs" into mnc-dev

9 years agoDon't display layout bounds of GONE views
Chris Craik [Tue, 30 Jun 2015 20:51:25 +0000 (13:51 -0700)]
Don't display layout bounds of GONE views

bug:22126532

Change-Id: Ib7816346e0f6ff54fcf7b180bf4042ce113728b9

9 years agoMerge "Enforce IND-CPA requirement when generating asymmetric keys." into mnc-dev
Alex Klyubin [Tue, 30 Jun 2015 20:48:16 +0000 (20:48 +0000)]
Merge "Enforce IND-CPA requirement when generating asymmetric keys." into mnc-dev

9 years agoHandle null argument in ImageView.setImageIcon()
Alan Viverette [Tue, 30 Jun 2015 20:32:27 +0000 (13:32 -0700)]
Handle null argument in ImageView.setImageIcon()

Provides consistency with setImageDrawable(). Also updates docs and
annotations for setImageZzz() methods that can take null.

Bug: 21664964
Change-Id: Ia9b7f8ee9edb23eeea457520bea4dd261decc794

9 years agoMerge "Add round/notround qualifier to docs" into mnc-dev
Adam Lesinski [Tue, 30 Jun 2015 20:31:18 +0000 (20:31 +0000)]
Merge "Add round/notround qualifier to docs" into mnc-dev

9 years agoMerge "BatteryStats: Account for remaining OS wakelock time at the end of processing...
Adam Lesinski [Tue, 30 Jun 2015 20:30:44 +0000 (20:30 +0000)]
Merge "BatteryStats: Account for remaining OS wakelock time at the end of processing all apps" into mnc-dev

9 years agoSaturate alpha values when overlaying glyphs
Chris Craik [Tue, 30 Jun 2015 20:12:24 +0000 (13:12 -0700)]
Saturate alpha values when overlaying glyphs

bug:19062769

Glyphs were stored to the output buffer with the assumption of
non-overlap, which is incorrect for certain fonts/strings. Instead,
blend src into dst, so new glyphs don't clobber existing content.

Change-Id: I6e22037500e67d5348ee2a43d939416c23c4d1ea

9 years agoMerge "Merge commit '91d2cbf4' into manualmerge" into mnc-dev
Bryce Lee [Tue, 30 Jun 2015 20:15:31 +0000 (20:15 +0000)]
Merge "Merge commit '91d2cbf4' into manualmerge" into mnc-dev

9 years agoMerge "Don't allow do not disturb when volume restricted" into mnc-dev
Jason Monk [Tue, 30 Jun 2015 20:08:13 +0000 (20:08 +0000)]
Merge "Don't allow do not disturb when volume restricted" into mnc-dev

9 years agoBatteryStats: Account for remaining OS wakelock time at the end of processing all...
Adam Lesinski [Tue, 30 Jun 2015 19:54:41 +0000 (12:54 -0700)]
BatteryStats: Account for remaining OS wakelock time at the end of processing all apps

Bug:18724932
Change-Id: I01cfd18acb3332ad35fd0d48d9c50bc37e5ccd08

9 years agoAdd round/notround qualifier to docs
Adam Lesinski [Tue, 30 Jun 2015 18:49:41 +0000 (11:49 -0700)]
Add round/notround qualifier to docs

Bug:22203014
Change-Id: Icc05b93f0c1beddce3bd26ae169c2e8c0e3cb898

9 years agoMerge commit '91d2cbf4' into manualmerge
Bryce Lee [Tue, 30 Jun 2015 19:31:41 +0000 (12:31 -0700)]
Merge commit '91d2cbf4' into manualmerge

Change-Id: Id018e65bdbd67f040af13a07207cac33a4a2a158

9 years agoMerge "Installer is a part of the system with unrevocable permissions" into mnc-dev
Svet Ganov [Tue, 30 Jun 2015 19:24:02 +0000 (19:24 +0000)]
Merge "Installer is a part of the system with unrevocable permissions" into mnc-dev

9 years agoMerge "Volume: Defend against monkeys pulling tags too early." into mnc-dev
John Spurlock [Tue, 30 Jun 2015 19:22:15 +0000 (19:22 +0000)]
Merge "Volume: Defend against monkeys pulling tags too early." into mnc-dev

9 years agoVolume: Defend against monkeys pulling tags too early.
John Spurlock [Tue, 30 Jun 2015 19:14:27 +0000 (15:14 -0400)]
Volume: Defend against monkeys pulling tags too early.

Bug: 22197117
Change-Id: I0f944fbc7fd6dd5176300c4fd0fd7b79234efe2d

9 years agoMerge "Let TextView clear accessibility selection index" into mnc-dev
Maxim Bogatov [Tue, 30 Jun 2015 18:45:46 +0000 (18:45 +0000)]
Merge "Let TextView clear accessibility selection index" into mnc-dev

9 years agoam cc2ba220: Merge "Only enable theater mode by button press after setup." into cw...
Bryce Lee [Tue, 30 Jun 2015 18:34:47 +0000 (18:34 +0000)]
am cc2ba220: Merge "Only enable theater mode by button press after setup." into cw-d-mr1-dev

* commit 'cc2ba2200ddc9d95753fa930aa245540fac880e8':
  Only enable theater mode by button press after setup.

9 years agoResolve CompoundButton's foreground drawable for layout direction change
Doris Liu [Tue, 30 Jun 2015 18:26:47 +0000 (11:26 -0700)]
Resolve CompoundButton's foreground drawable for layout direction change

This CL adds a step to resolve CompoundButton's foreground drawable when
layout direction has been changed. Prior this CL, only background drawable
of the button resolves its layout direciton in respond to system wide
layout direction change. This CL makes the foreground and background
drawables consistent in layout direciton.

Bug: 16376848
Change-Id: I9a4eb1e010e6ab61ef8684005508bd36486ec1f3

9 years agoam eb7f1a94: am 9f2e92ee: Merge "Docs: Localized M-Preview pages Bug: 21789313" into...
David Friedman [Tue, 30 Jun 2015 17:57:45 +0000 (17:57 +0000)]
am eb7f1a94: am 9f2e92ee: Merge "Docs: Localized M-Preview pages Bug: 21789313" into mnc-preview-docs

* commit 'eb7f1a948a202cec51c0c09c3fbc1c557674380b':
  Docs: Localized M-Preview pages Bug: 21789313

9 years agoam 4653cdec: am 350286e6: Merge "docs: Clarified when you can put the fragments in...
Andrew Solovay [Tue, 30 Jun 2015 17:57:36 +0000 (17:57 +0000)]
am 4653cdec: am 350286e6: Merge "docs: Clarified when you can put the fragments in the root view." into mnc-preview-docs

* commit '4653cdecab5eb6b08f23183f83034ccf50e93451':
  docs: Clarified when you can put the fragments in the root view.

9 years agoMerge "Fix TelecomManager.isVoicemailNumber" into mnc-dev
Yorke Lee [Tue, 30 Jun 2015 17:47:08 +0000 (17:47 +0000)]
Merge "Fix TelecomManager.isVoicemailNumber" into mnc-dev

9 years agoMerge "add more power manager metrics" into mnc-dev
Chris Wren [Tue, 30 Jun 2015 17:20:27 +0000 (17:20 +0000)]
Merge "add more power manager metrics" into mnc-dev

9 years agoInstaller is a part of the system with unrevocable permissions
Svet Ganov [Tue, 30 Jun 2015 17:15:44 +0000 (10:15 -0700)]
Installer is a part of the system with unrevocable permissions

1. Mark the installer permissions as not revocable.

2. Make the permission result dispatch more robust to handle installer death.

bug:22012614

Change-Id: Idee30ca884b87ccf97ba1bb878d4c49912e474b8

9 years agoFix TelecomManager.isVoicemailNumber
Yorke Lee [Tue, 30 Jun 2015 17:07:40 +0000 (10:07 -0700)]
Fix TelecomManager.isVoicemailNumber

Provide an overload of PhoneNumberUtil.isVoiceMailNumber that
takes a context to prevent an NPE.

This does not fix PhoneNumberUtil.isVoicemailNumber(String number),
that will require a follow up CL.

Bug: 22184528
Change-Id: I300b70948e5ff7230989bb887ad17e222c61685d

9 years agoMerge "Only enable theater mode by button press after setup." into cw-d-mr1-dev
Bryce Lee [Tue, 30 Jun 2015 17:13:02 +0000 (17:13 +0000)]
Merge "Only enable theater mode by button press after setup." into cw-d-mr1-dev

9 years ago[RenderScript] update the type of offsets for BLAS.BNNM
Miao Wang [Tue, 30 Jun 2015 00:43:03 +0000 (17:43 -0700)]
[RenderScript] update the type of offsets for BLAS.BNNM

bug: 22184114

Change-Id: I7e7132aa3563f32de32640567b381f8f5bddf491

9 years agoMerge "Fix Floating toolbar overflow width." into mnc-dev
Abodunrinwa Toki [Tue, 30 Jun 2015 16:56:20 +0000 (16:56 +0000)]
Merge "Fix Floating toolbar overflow width." into mnc-dev

9 years agoMerge "Fix floating toolbar flicker in ExtractEditText mode." into mnc-dev
Abodunrinwa Toki [Tue, 30 Jun 2015 16:53:23 +0000 (16:53 +0000)]
Merge "Fix floating toolbar flicker in ExtractEditText mode." into mnc-dev

9 years agoMerge "Update the stroage icon." into mnc-dev
Svet Ganov [Tue, 30 Jun 2015 16:50:51 +0000 (16:50 +0000)]
Merge "Update the stroage icon." into mnc-dev

9 years agoMerge "Add read/write external storage app ops" into mnc-dev
Svet Ganov [Tue, 30 Jun 2015 16:50:15 +0000 (16:50 +0000)]
Merge "Add read/write external storage app ops" into mnc-dev

9 years agoDo not hold a lock when calling API to grant default permissions
Svet Ganov [Tue, 30 Jun 2015 16:16:23 +0000 (09:16 -0700)]
Do not hold a lock when calling API to grant default permissions

bug:22186491

Change-Id: Id0a468423048938a91598629c4921090ec082853

9 years agoMerge "resolved conflicts for merge of e89d821e to mnc-dev" into mnc-dev
Filip Gruszczynski [Tue, 30 Jun 2015 15:19:32 +0000 (15:19 +0000)]
Merge "resolved conflicts for merge of e89d821e to mnc-dev" into mnc-dev

9 years agoMerge "[LockSettings] adjust legacy patterns to base 0 for unlocking keystore" into...
Andres Morales [Tue, 30 Jun 2015 15:19:26 +0000 (15:19 +0000)]
Merge "[LockSettings] adjust legacy patterns to base 0 for unlocking keystore" into mnc-dev

9 years agoDon't allow do not disturb when volume restricted
Jason Monk [Tue, 30 Jun 2015 14:54:48 +0000 (10:54 -0400)]
Don't allow do not disturb when volume restricted

Bug: 21642285
Change-Id: I8e31f809506b48855eb90c67727c026deb120af5

9 years agoMerge "Volume: Mark inactive sliders as focusable." into mnc-dev
John Spurlock [Tue, 30 Jun 2015 14:22:21 +0000 (14:22 +0000)]
Merge "Volume: Mark inactive sliders as focusable." into mnc-dev

9 years agoMerge "Fix FragmentTransaction replace() behavior" into mnc-dev
George Mount [Tue, 30 Jun 2015 14:21:45 +0000 (14:21 +0000)]
Merge "Fix FragmentTransaction replace() behavior" into mnc-dev

9 years agoVolume: Mark inactive sliders as focusable.
John Spurlock [Tue, 30 Jun 2015 14:17:37 +0000 (10:17 -0400)]
Volume: Mark inactive sliders as focusable.

Enabled but inactive sliders ought to be focusable, just not
focused.

Bug: 22096089
Change-Id: I95cdfc1b1258ca0e4562761031f4ee59bd35e7e3

9 years agoadd more power manager metrics
Chris Wren [Mon, 29 Jun 2015 16:02:13 +0000 (12:02 -0400)]
add more power manager metrics

dream start/stop
dream duration
screen timeout setting

Bug: 21893298
Change-Id: I783f72953fc40c0d276a7845daa048e2fe0db78c

9 years agoonly count clicks on zen mode selector
Chris Wren [Mon, 29 Jun 2015 15:27:18 +0000 (11:27 -0400)]
only count clicks on zen mode selector

We were counting all changes of mode while the panel was visible, including the
first initialization of the selector.

Bug: 21196323
Change-Id: Icf2165056f03507b0b8c6a21ec1f07830c29173a

9 years agoMerge "Deprecate APIs for admin to create users." into mnc-dev
Kenny Guy [Tue, 30 Jun 2015 13:03:29 +0000 (13:03 +0000)]
Merge "Deprecate APIs for admin to create users." into mnc-dev

9 years agoLog DNS results for network validation attempts
Paul Jensen [Thu, 25 Jun 2015 14:07:14 +0000 (10:07 -0400)]
Log DNS results for network validation attempts

This should help aid debugging network validation failures.

Bug:19417093
Change-Id: Idb06f7334d7c14e69fd721a81a00ce3f8d529364

9 years agoReducing logging in NetworkMonitor to avoid getting muted
Paul Jensen [Thu, 25 Jun 2015 13:17:53 +0000 (09:17 -0400)]
Reducing logging in NetworkMonitor to avoid getting muted

NetworkMonitor's logs are critical for tracking down bugs.
If NetworkMonitor is too chatty it gets muted making it
very hard to track down connectivity failures, so reduce
the logging.

Bug:21480101
Change-Id: Ife63455ec60e4ca6bfb061f23cde09e8e9877601

9 years agoMerge "Don't reevaluate disconnected networks" into mnc-dev
Paul Jensen [Tue, 30 Jun 2015 11:11:12 +0000 (11:11 +0000)]
Merge "Don't reevaluate disconnected networks" into mnc-dev

9 years agoFix memory leak in setActionProvider() - framework edition
Chris Banes [Tue, 30 Jun 2015 10:16:37 +0000 (11:16 +0100)]
Fix memory leak in setActionProvider() - framework edition

Caused by ActionMenuItem's SubUiVisibilityListener
not being nulled when it is replaced via setActionProvider().

BUG: 22189734
Change-Id: Id4deaa05cd5554ca7bdf969a592e4812e39dcb75

9 years agoMerge "Bug: 21589105 Rescoping the SYSTEM_ALERT_WINDOW permission to an explicit...
Billy Lau [Tue, 30 Jun 2015 09:05:31 +0000 (09:05 +0000)]
Merge "Bug: 21589105 Rescoping the SYSTEM_ALERT_WINDOW permission to an explicit toggle to be manually enabled in Settings." into mnc-dev

9 years agoMerge "Marking some globals from setGlobalSetting as not supported" into mnc-dev
Esteban Talavera [Tue, 30 Jun 2015 08:55:35 +0000 (08:55 +0000)]
Merge "Marking some globals from setGlobalSetting as not supported" into mnc-dev

9 years agoMerge "Make ContentObservers work across profiles" into mnc-dev
Benjamin Franz [Tue, 30 Jun 2015 07:45:47 +0000 (07:45 +0000)]
Merge "Make ContentObservers work across profiles" into mnc-dev

9 years agoMerge "Fix issue #22185268: apps crash with missing permissions and NPE on AppOpsMana...
Dianne Hackborn [Tue, 30 Jun 2015 07:41:15 +0000 (07:41 +0000)]
Merge "Fix issue #22185268: apps crash with missing permissions and NPE on AppOpsManager" into mnc-dev

9 years agoFix issue #22185268: apps crash with missing permissions and NPE on AppOpsManager
Dianne Hackborn [Tue, 30 Jun 2015 06:45:45 +0000 (23:45 -0700)]
Fix issue #22185268: apps crash with missing permissions and NPE on AppOpsManager

Turn off GET_ACCOUNTS permission assigning for now.

Change-Id: I576117b26a43ca2da10db8bb2b1e4e176109ae39

9 years agoMerge "Fix use of reachable DNS server logic" into mnc-dev
Erik Kline [Tue, 30 Jun 2015 06:32:19 +0000 (06:32 +0000)]
Merge "Fix use of reachable DNS server logic" into mnc-dev

9 years agoMerge "Frameworks/base: Remove UsageEvents finalizer" into mnc-dev
Andreas Gampe [Tue, 30 Jun 2015 05:40:06 +0000 (05:40 +0000)]
Merge "Frameworks/base: Remove UsageEvents finalizer" into mnc-dev

9 years agoUpdate the stroage icon.
Svet Ganov [Tue, 30 Jun 2015 05:15:55 +0000 (22:15 -0700)]
Update the stroage icon.

bug:22172919

Change-Id: Ie3ff2a7ceb76123462e3f2dcbd44028d976de19b

9 years agoFrameworks/base: Remove UsageEvents finalizer
Andreas Gampe [Tue, 30 Jun 2015 05:07:30 +0000 (22:07 -0700)]
Frameworks/base: Remove UsageEvents finalizer

The order of finalization between the parcel and the UsageEvents
objects is not defined. In the bad case, the parcel will be
finalized first and destroy its native pointer, after which the
UsageEvents object will recycle it, putting it back into one of
the Parcel pools. This will violate the pool invariant.

Bug: 22088355
Change-Id: Ifbe7822990cdfc31855d6742dcdea9d9dd0daf1b

9 years agoAdd read/write external storage app ops
Svet Ganov [Tue, 30 Jun 2015 04:51:41 +0000 (21:51 -0700)]
Add read/write external storage app ops

bug:22104418

Change-Id: Ic9088f95bc02622c1163c1393e44382df6597707

9 years agoFix Floating toolbar overflow width.
Abodunrinwa Toki [Tue, 30 Jun 2015 04:17:22 +0000 (21:17 -0700)]
Fix Floating toolbar overflow width.

Also clean out unused methods.

Bug: 22186458
Change-Id: I5ef03cd7938630c0d607b6fecd540f2bd83bbb65

9 years agoFix floating toolbar flicker in ExtractEditText mode.
Abodunrinwa Toki [Tue, 30 Jun 2015 03:43:14 +0000 (20:43 -0700)]
Fix floating toolbar flicker in ExtractEditText mode.

Fixed by making sure to update visibility immediately after setting a
hide flag on the FloatingToolbarVisibilityHelper.

Bug: 22101632
Change-Id: Iea2d9786c14f6451da836e55f0d880025aa00ed2