OSDN Git Service

android-x86/frameworks-base.git
9 years agoOnly send EXTRA_STACK for private intent.
Jeff Sharkey [Wed, 15 Jul 2015 16:13:14 +0000 (09:13 -0700)]
Only send EXTRA_STACK for private intent.

Since it's a private Parcelable class, we can't send it to other
third-party apps, since they won't know how to unpack it.

Bug: 22255387
Change-Id: Ie2ea6cf72b733bd122eb3581a5df295cec608425

9 years agoBetter handling of storage paths.
Jeff Sharkey [Mon, 13 Jul 2015 17:25:31 +0000 (10:25 -0700)]
Better handling of storage paths.

Give more details about why we failed to create storage paths, and
search for underlying volumes using canonical paths.

Bug: 22135060
Change-Id: I75d3584403ece310438b05f5b9fe72d94c9096c6

9 years agoMerge "Clear binder id when determining external storage state" into mnc-dev
Svetoslav [Tue, 14 Jul 2015 19:39:13 +0000 (19:39 +0000)]
Merge "Clear binder id when determining external storage state" into mnc-dev

9 years agoMerge "Allow notification strings to be unredacted in dump output." into mnc-dev
Dan Sandler [Tue, 14 Jul 2015 19:37:53 +0000 (19:37 +0000)]
Merge "Allow notification strings to be unredacted in dump output." into mnc-dev

9 years agoMerge "Make get_accounts a runtime permissions again" into mnc-dev
Svetoslav [Tue, 14 Jul 2015 18:42:05 +0000 (18:42 +0000)]
Merge "Make get_accounts a runtime permissions again" into mnc-dev

9 years agoClear binder id when determining external storage state
Svetoslav [Tue, 14 Jul 2015 18:27:06 +0000 (11:27 -0700)]
Clear binder id when determining external storage state

bug:22472435

Change-Id: I5badd51cb9fb2244395880eb1bbff8f4aa0abb8c

9 years agoMerge "Removed logging for the empty keyguard" into mnc-dev
Selim Cinek [Tue, 14 Jul 2015 18:27:54 +0000 (18:27 +0000)]
Merge "Removed logging for the empty keyguard" into mnc-dev

9 years agoMerge "Add checks for READ_PRIVILEGED_PHONE_STATE." into mnc-dev
Amit Mahajan [Tue, 14 Jul 2015 17:59:17 +0000 (17:59 +0000)]
Merge "Add checks for READ_PRIVILEGED_PHONE_STATE." into mnc-dev

9 years agoMerge "Fix QS labels on language change" into mnc-dev
Jason Monk [Tue, 14 Jul 2015 17:40:21 +0000 (17:40 +0000)]
Merge "Fix QS labels on language change" into mnc-dev

9 years agoMerge "Use original path if translated path doesn't exist" into mnc-dev
Marco Nelissen [Tue, 14 Jul 2015 17:30:03 +0000 (17:30 +0000)]
Merge "Use original path if translated path doesn't exist" into mnc-dev

9 years agoAdd checks for READ_PRIVILEGED_PHONE_STATE.
Amit Mahajan [Tue, 14 Jul 2015 17:26:00 +0000 (10:26 -0700)]
Add checks for READ_PRIVILEGED_PHONE_STATE.

Callers will have either PRIVILEGED or regular READ_PHONE_STATE.

Bug: 22468536
Change-Id: I60251f61250a975f4147b027d2539824a728e3b5

9 years agoMerge "Prevent null allowableAccounts from crashing" into mnc-dev
Craig Lafayette [Tue, 14 Jul 2015 17:25:37 +0000 (17:25 +0000)]
Merge "Prevent null allowableAccounts from crashing" into mnc-dev

9 years agoMerge "Fix unsafety in SkiaShader storage, and texture unit accounting" into mnc-dev
Chris Craik [Tue, 14 Jul 2015 16:57:58 +0000 (16:57 +0000)]
Merge "Fix unsafety in SkiaShader storage, and texture unit accounting" into mnc-dev

9 years agoFix QS labels on language change
Jason Monk [Tue, 14 Jul 2015 16:29:28 +0000 (12:29 -0400)]
Fix QS labels on language change

Some tiles now won't do updates if the state hasn't changed (rotation) to avoid
breaking the animation state. To handle this, state is cleared when the
configuration changes.

Bug: 22206214
Change-Id: I029fb4c75cc920a6c9907b65e8c48d28c21d529a

9 years agoMerge "Fix Android Keystore key factories to obey JCA contract." into mnc-dev
Alex Klyubin [Tue, 14 Jul 2015 16:15:58 +0000 (16:15 +0000)]
Merge "Fix Android Keystore key factories to obey JCA contract." into mnc-dev

9 years agoMerge "Allow FloatingToolbar to be outside of the attached window." into mnc-dev
Yohei Yukawa [Tue, 14 Jul 2015 15:34:29 +0000 (15:34 +0000)]
Merge "Allow FloatingToolbar to be outside of the attached window." into mnc-dev

9 years agoUse original path if translated path doesn't exist
Marco Nelissen [Tue, 14 Jul 2015 15:22:47 +0000 (08:22 -0700)]
Use original path if translated path doesn't exist

Bug: 22376538
Change-Id: I2f6af4fa31c097e2e2d619a068cf83721091c450

9 years agoMerge "media: Implement getAchievableFrameRatesFor with measured frame rate." into...
Ronghua Wu [Tue, 14 Jul 2015 15:21:30 +0000 (15:21 +0000)]
Merge "media: Implement getAchievableFrameRatesFor with measured frame rate." into mnc-dev

9 years agoPrevent null allowableAccounts from crashing
Craig Lafayette [Tue, 14 Jul 2015 14:48:46 +0000 (10:48 -0400)]
Prevent null allowableAccounts from crashing

The javadoc for newChooseAccountIntent says that a null
value for the allowableAccounts parameter is valid and
an acceptable default. This CL makes sure that when this
parameter is null, a NullPointerException is not thrown.

Bug: 22475546
Change-Id: Ieb0d67dd02628e1ae5629499b3be3c6382efc9aa

9 years agoMerge "Fix "Select All" in extracted mode" into mnc-dev
Andrei Stingaceanu [Tue, 14 Jul 2015 14:03:18 +0000 (14:03 +0000)]
Merge "Fix "Select All" in extracted mode" into mnc-dev

9 years agoMerge "Retrieve resources for apps, even if not installed for current user." into...
Julia Reynolds [Tue, 14 Jul 2015 13:47:42 +0000 (13:47 +0000)]
Merge "Retrieve resources for apps, even if not installed for current user." into mnc-dev

9 years agoRetrieve resources for apps, even if not installed for current user.
Julia Reynolds [Tue, 14 Jul 2015 13:24:22 +0000 (09:24 -0400)]
Retrieve resources for apps, even if not installed for current user.

Bug: 21448052
Change-Id: Id5db428a6faca4a905684088c47e070752ac2899

9 years agoAllow FloatingToolbar to be outside of the attached window.
Yohei Yukawa [Tue, 14 Jul 2015 12:59:05 +0000 (05:59 -0700)]
Allow FloatingToolbar to be outside of the attached window.

Currently PopupWindow used for the floating toolbar specifies
neither FLAG_LAYOUT_NO_LIMITS nor FLAG_LAYOUT_IN_SCREEN.
As a result, the floating toolbar can overlap the selected
text when the attached window does not have enough height.

Here is the repro code.

    final TextView textView = new TextView(this);
    textView.setLayoutParams(
            new ViewGroup.LayoutParams(
                    ViewGroup.LayoutParams.MATCH_PARENT,
                    ViewGroup.LayoutParams.WRAP_CONTENT));
    textView.setText("A test sentence.");
    textView.setTextIsSelectable(true);
    final AlertDialog dialog = new AlertDialog.Builder(this)
            .setView(textView)
            .create();
    dialog.getWindow().setGravity(Gravity.BOTTOM)
    dialog.show();

If you tap a word in the dialog, the floating toolbar
unintentionally overlaps the selected text due to the limited
height of the AlertDialog.

It also turns out that just calling
  PopupWindow.setClippingEnabled(false)
to specify FLAG_LAYOUT_NO_LIMITS is not sufficient and ends up
showing the toolbar on the NavBar because we have mistakenly
compared bounds in window-local coordinates
(e.g. FloatingActionModemContentRectOnWindow) with bounds in
screen coordinates (e.g. FloatingActionMode#mScreenRect).
Hence the confusion of window-local coordinates and screen
coordinates in FloatingToolbar and FloatingToolbar also needs
to be addresses.

To summarize here are the notable changes in this CL:
  - Specify FLAG_LAYOUT_NO_LIMITS so that the floating
    toolbar can be placed outside of the attached window.
    (We do this with PopupWindow#setClippingEnabled)
  - Switch to use screen coordinates from window-local
    coordiantes in FloatingToolbar and FloatingActionMode
    because some system components such as WindowManager
    prefer screen coordinates.
  - Put -OnScreen suffix for Rect and Point variables
    as long as they are in screen coordinates.

Bug: 22335001
Change-Id: I71a8d356e868dc7715b030ca1078da4ec39368c3

9 years agoFix "Select All" in extracted mode
Andrei Stingaceanu [Tue, 30 Jun 2015 14:48:11 +0000 (15:48 +0100)]
Fix "Select All" in extracted mode

Stop calling onExtractTextContextMenuItem if "Select All"
is selected (the action does not modify text thus does
not need batch editing). Editor#finishBatchEdit reports
that text changed which in turn can stop the action mode
and the selection after it was started by onPreDraw.

Bug: 22059417
Change-Id: I5354cbe4bae374e0d5f3de39616336170ee33b92

9 years agoMerge "Fix insertion handle disappearing in extract mode" into mnc-dev
Andrei Stingaceanu [Tue, 14 Jul 2015 09:57:20 +0000 (09:57 +0000)]
Merge "Fix insertion handle disappearing in extract mode" into mnc-dev

9 years agoMerge "Log NetworkRequestInfo to get more detailed history" into mnc-dev
Erik Kline [Tue, 14 Jul 2015 04:09:25 +0000 (04:09 +0000)]
Merge "Log NetworkRequestInfo to get more detailed history" into mnc-dev

9 years agoFix BluetoothSocket file descriptor leak
Zach Johnson [Tue, 14 Jul 2015 01:00:35 +0000 (18:00 -0700)]
Fix BluetoothSocket file descriptor leak

Sockets accepted on a server socket didn't populate
the mPfd field, which is used to close out the java
end of the native-and-java communication socket when
the overall rfcomm socket is closed. #badnewsbears

b/21398841

Change-Id: I3adb0a9965f83d0f3006fa4f79ea4abeab5c9a17

9 years agoLog NetworkRequestInfo to get more detailed history
Erik Kline [Thu, 9 Jul 2015 09:24:03 +0000 (18:24 +0900)]
Log NetworkRequestInfo to get more detailed history

Bug: 21641983
Bug: 22235775
Bug: 22299819
Bug: 22358164
Change-Id: I48a2d162dd499a3590f06d805267a63822856969

9 years agoFix build
Svet Ganov [Tue, 14 Jul 2015 02:34:19 +0000 (19:34 -0700)]
Fix build

Change-Id: I2c97e405eaec7ee1569fcddc872ff2a98c829efe

9 years agoMake get_accounts a runtime permissions again
Svetoslav [Tue, 14 Jul 2015 01:28:09 +0000 (18:28 -0700)]
Make get_accounts a runtime permissions again

The permission was lowered in protection level to normal
allowing apps to assess migration strategy. This change
makes the permission dangerous again allowing apps to
implement this strategy.

bug:22385299

Change-Id: I3694c06236a33b97f63761b48745b1df654a2bf4

9 years agoMerge "Teach storage appops." into mnc-dev
Svet Ganov [Tue, 14 Jul 2015 01:24:34 +0000 (01:24 +0000)]
Merge "Teach storage appops." into mnc-dev

9 years agoTeach storage appops.
Svet Ganov [Fri, 10 Jul 2015 21:29:33 +0000 (14:29 -0700)]
Teach storage appops.

For modern apps targeting M SDK and up the external storage state
is deterined by granted permissions. For apps targeting older SDK
the storage access is determined by app ops correspning to the
storage permissions as the latter are always granted.

When app ops change we do not remount as we kill the app process
in both cases enabling and disabling an app op since legacy code
is not prepared for dynamic behavior where an operation that failed
may next succeed. Hence, we remount when we start the app.

For modern apps we don't kill the app process on a permission
grant, therefore we synchronously remount the app storage.

bug:22104923

Change-Id: I601c19c764a74c2d15bea6630d0f5fdc52bf6a5a

9 years agoMerge "Default browser should not supersede intent filter priorities" into mnc-dev
Christopher Tate [Tue, 14 Jul 2015 01:08:26 +0000 (01:08 +0000)]
Merge "Default browser should not supersede intent filter priorities" into mnc-dev

9 years agoDefault browser should not supersede intent filter priorities
Christopher Tate [Tue, 14 Jul 2015 00:31:45 +0000 (17:31 -0700)]
Default browser should not supersede intent filter priorities

Bug 22304850

Change-Id: Ie4deffea2621fdc03a9bfe35690ecd109eed1a04

9 years agoMerge "Check signatures of privileged persistent apps for granting defailt permissio...
Svet Ganov [Tue, 14 Jul 2015 00:58:32 +0000 (00:58 +0000)]
Merge "Check signatures of privileged persistent apps for granting defailt  permissions" into mnc-dev

9 years agoMerge "Prioritize most-recently-enabled link-handling app" into mnc-dev
Christopher Tate [Tue, 14 Jul 2015 00:56:55 +0000 (00:56 +0000)]
Merge "Prioritize most-recently-enabled link-handling app" into mnc-dev

9 years agoMerge "Fix two grant default permissions edge cases." into mnc-dev
Svetoslav [Tue, 14 Jul 2015 00:54:34 +0000 (00:54 +0000)]
Merge "Fix two grant default permissions edge cases." into mnc-dev

9 years agoFix two grant default permissions edge cases.
Svetoslav [Tue, 14 Jul 2015 00:37:32 +0000 (17:37 -0700)]
Fix two grant default permissions edge cases.

1. When querying for components to which to grant default
   permissions we are now getting disabled components as
   well as we want such packages to get default pemrissions
   on upgrade as disabled components may get reenabled.

2. When resolving activities to whose packages to grant default
   permissions we skip the corss-profile and skip-profile filters
   as they are set by device policy which should not affect
   implicitly default permission grants. Policy has explicit
   APIs for permission management.

bug:22405963

Change-Id: Idf56d35e567a6fd6e097cd45988d1561422ee6fc

9 years agoam 70d39c28: am 2b856100: Merge "docs: Removed references to lockscreen widgets,...
Robert Schaub [Tue, 14 Jul 2015 00:44:21 +0000 (00:44 +0000)]
am 70d39c28: am 2b856100: Merge "docs: Removed references to lockscreen widgets, added note to Android 5.0 changes page" into mnc-preview-docs

* commit '70d39c2836f3c05a93035439df0082b5c471c010':
  docs: Removed references to lockscreen widgets, added note to Android 5.0 changes page

9 years agoam 2b856100: Merge "docs: Removed references to lockscreen widgets, added note to...
Robert Schaub [Tue, 14 Jul 2015 00:26:21 +0000 (00:26 +0000)]
am 2b856100: Merge "docs: Removed references to lockscreen widgets, added note to Android 5.0 changes page" into mnc-preview-docs

* commit '2b856100f67da1505eac30e2d989b84a2d68f20a':
  docs: Removed references to lockscreen widgets, added note to Android 5.0 changes page

9 years agoMerge "Add a dumpsys for KeyguardUpdateMonitor" into mnc-dev
Jason Monk [Tue, 14 Jul 2015 00:10:09 +0000 (00:10 +0000)]
Merge "Add a dumpsys for KeyguardUpdateMonitor" into mnc-dev

9 years agoPrioritize most-recently-enabled link-handling app
Christopher Tate [Sat, 11 Jul 2015 00:44:53 +0000 (17:44 -0700)]
Prioritize most-recently-enabled link-handling app

In the case when multiple apps handle a given web-link action,
all of which have been marked as "launch the app instead of a
browser" and so are otherwise ambiguous, always prefer the app
that was most recently placed into the always-handle-links state.

Bug 22051035

Change-Id: I3f43c19b0d7b74e9843445e41971bb5433affb1c

9 years agoam 28006a3b: am 7182f075: Merge "docs: Changed text as requested in Android TV advert...
Robert Schaub [Mon, 13 Jul 2015 23:58:09 +0000 (23:58 +0000)]
am 28006a3b: am 7182f075: Merge "docs: Changed text as requested in Android TV advertising bug, with minor cleanup" into mnc-preview-docs

* commit '28006a3b31d1cd3765568ceed211f8bc8de9c50c':
  docs: Changed text as requested in Android TV advertising bug, with minor cleanup

9 years agoam 1962b730: am 3430bec7: Merge "docs: Removed parenthetic phrase that made explanati...
Robert Schaub [Mon, 13 Jul 2015 23:58:03 +0000 (23:58 +0000)]
am 1962b730: am 3430bec7: Merge "docs: Removed parenthetic phrase that made explanation unnecessarily confusing" into mnc-preview-docs

* commit '1962b730067d5b9ad9666ee3a7d1e3f90004c7d7':
  docs: Removed parenthetic phrase that made explanation unnecessarily confusing

9 years agoam 5c3bf584: am e0f0fabb: am ccb8a9af: am b510225e: Merge "docs: replacing command...
David Friedman [Mon, 13 Jul 2015 23:57:52 +0000 (23:57 +0000)]
am 5c3bf584: am e0f0fabb: am ccb8a9af: am b510225e: Merge "docs: replacing command line tool instructions with Studio and Monitor steps" into lmp-docs

* commit '5c3bf5847c98b23a525288ed04f77b2a68ec6870':
  docs: replacing command line tool instructions with Studio and Monitor steps

9 years agoam f13e914d: am 8cce3984: Merge "Adding a link to what is currently our most popular...
Eric Gilmore [Mon, 13 Jul 2015 23:57:43 +0000 (23:57 +0000)]
am f13e914d: am 8cce3984: Merge "Adding a link to what is currently our most popular "100 Days" video." into mnc-preview-docs

* commit 'f13e914d23a47809d978183a8e6b6ab3a5d51098':
  Adding a link to what is currently our most popular "100 Days" video.

9 years agoMerge "Perform One touch play upon pressing home key" into mnc-dev
Jinsuk Kim [Mon, 13 Jul 2015 23:44:58 +0000 (23:44 +0000)]
Merge "Perform One touch play upon pressing home key" into mnc-dev

9 years agoMerge "docs: Removed references to lockscreen widgets, added note to Android 5.0...
Robert Schaub [Mon, 13 Jul 2015 23:41:11 +0000 (23:41 +0000)]
Merge "docs: Removed references to lockscreen widgets, added note to Android 5.0 changes page" into mnc-preview-docs

9 years agoRemoved logging for the empty keyguard
Selim Cinek [Mon, 13 Jul 2015 23:22:48 +0000 (16:22 -0700)]
Removed logging for the empty keyguard

Only logging the states in the bugreport now.

Bug: 21701756
Change-Id: I8252583300d0162b878dd217c8098c1d6b970ea4

9 years agoam 7182f075: Merge "docs: Changed text as requested in Android TV advertising bug...
Robert Schaub [Mon, 13 Jul 2015 23:23:48 +0000 (23:23 +0000)]
am 7182f075: Merge "docs: Changed text as requested in Android TV advertising bug, with minor cleanup" into mnc-preview-docs

* commit '7182f075fad7865eb8c1ce58d90327addabc7c4b':
  docs: Changed text as requested in Android TV advertising bug, with minor cleanup

9 years agoam 3430bec7: Merge "docs: Removed parenthetic phrase that made explanation unnecessar...
Robert Schaub [Mon, 13 Jul 2015 23:23:43 +0000 (23:23 +0000)]
am 3430bec7: Merge "docs: Removed parenthetic phrase that made explanation unnecessarily confusing" into mnc-preview-docs

* commit '3430bec7e0b2f7a0552a66a523e478cd2ecd9043':
  docs: Removed parenthetic phrase that made explanation unnecessarily confusing

9 years agodocs: Removed references to lockscreen widgets, added note to Android 5.0
Robert Schaub [Mon, 29 Jun 2015 19:37:10 +0000 (12:37 -0700)]
docs: Removed references to lockscreen widgets, added note to Android 5.0
changes page

Removed one line from source code sample as well.

Bug: 20826638
Change-Id: I3c27353db0f0092c21962f9beec1bf1da52ee9d5

9 years agoMerge "Catch & log security exception in telephonymanager" into mnc-dev
Roshan Pius [Mon, 13 Jul 2015 23:17:02 +0000 (23:17 +0000)]
Merge "Catch & log security exception in telephonymanager" into mnc-dev

9 years agoMerge "docs: Changed text as requested in Android TV advertising bug, with minor...
Robert Schaub [Mon, 13 Jul 2015 23:12:22 +0000 (23:12 +0000)]
Merge "docs: Changed text as requested in Android TV advertising bug, with minor cleanup" into mnc-preview-docs

9 years agoMerge "docs: Removed parenthetic phrase that made explanation unnecessarily confusing...
Robert Schaub [Mon, 13 Jul 2015 23:06:44 +0000 (23:06 +0000)]
Merge "docs: Removed parenthetic phrase that made explanation unnecessarily confusing" into mnc-preview-docs

9 years agoFix Android Keystore key factories to obey JCA contract.
Alex Klyubin [Mon, 13 Jul 2015 22:26:17 +0000 (15:26 -0700)]
Fix Android Keystore key factories to obey JCA contract.

Android Keystore provider's KeyFactory and SecretKeyFactory
implementations were throwing UnsupportedOperationException instead of
InvalidKeyException/InvalidKeySpecException from their
translateKey/generateKey methods.

Bug: 22459811
Change-Id: I6d5a5dc1bed724e858ad324d558b7480b9b848da

9 years agoMerge "Do not check runtime READ_PHONE_STATE if caller has the privileged one." into...
Amit Mahajan [Mon, 13 Jul 2015 22:06:03 +0000 (22:06 +0000)]
Merge "Do not check runtime READ_PHONE_STATE if caller has the privileged one." into mnc-dev

9 years agoMerge "Improve resource loading by ~3x" into mnc-dev
John Reck [Mon, 13 Jul 2015 21:50:26 +0000 (21:50 +0000)]
Merge "Improve resource loading by ~3x" into mnc-dev

9 years agoImprove resource loading by ~3x
John Reck [Mon, 13 Jul 2015 21:42:43 +0000 (14:42 -0700)]
Improve resource loading by ~3x

Bug: 22392651

ColorStateLists were never cached because the lazy-create
of the constant state had a typo.

Resource caching in general was broken because ThemeKey did not
clone the hash code, so all keys in the cache had a hashCode
of 0 which did not match the real, uncloned ThemeKeys hash code
so the binary search in ArrayMap based off of hash code was failing.

Change-Id: I9df1628b226bfa797bed97875354c19bf64f41ad

9 years agoAdd a dumpsys for KeyguardUpdateMonitor
Jason Monk [Mon, 13 Jul 2015 21:02:49 +0000 (17:02 -0400)]
Add a dumpsys for KeyguardUpdateMonitor

Include the info used when determining carrier text display.

Bug: 22212693
Change-Id: I12f01683c259ff11c7f27eec5d03d53f0b290d0b

9 years agoMerge "Finish already paused activity if it should be finished after pausing" into...
Wale Ogunwale [Mon, 13 Jul 2015 20:49:05 +0000 (20:49 +0000)]
Merge "Finish already paused activity if it should be finished after pausing" into mnc-dev

9 years agoFix unsafety in SkiaShader storage, and texture unit accounting
Chris Craik [Mon, 13 Jul 2015 20:34:07 +0000 (13:34 -0700)]
Fix unsafety in SkiaShader storage, and texture unit accounting

bug:22390304

Fixes two issues:

1) The max texture unit wasn't large enough to handle the most complex
ComposeShader case (1 for draw primitive, 2 for gradient shader, 1 for
bitmap shader).

2) If a shader isn't supported by SkiaShader::store, the shader data
needs to be explicitly disabled, so we won't read uninitilized data
from it when trying to read shader information out.

Change-Id: I29ee7b7c1e07f67db88c1707bdc857daa305e713

9 years agoCatch & log security exception in telephonymanager
Roshan Pius [Thu, 9 Jul 2015 21:15:25 +0000 (14:15 -0700)]
Catch & log security exception in telephonymanager

BUG: 22225068
Change-Id: I9b0053cf1041c81f409ace556b810ef79de88599

9 years agoMerge "Fix multiple SSIDs for same Passpoint issues" into mnc-dev
Vinit Deshpande [Mon, 13 Jul 2015 19:46:25 +0000 (19:46 +0000)]
Merge "Fix multiple SSIDs for same Passpoint issues" into mnc-dev

9 years agoMerge "Change MANAGE_FINGERPRINT permission to system|signature" into mnc-dev
Jim Miller [Mon, 13 Jul 2015 18:41:29 +0000 (18:41 +0000)]
Merge "Change MANAGE_FINGERPRINT permission to system|signature" into mnc-dev

9 years agoMerge "Log full class name of the client activating sensors for better debugging...
Aravind Akella [Mon, 13 Jul 2015 18:21:34 +0000 (18:21 +0000)]
Merge "Log full class name of the client activating sensors for better debugging." into mnc-dev

9 years agoMerge "Fix filter on CONNECTIVITY_ACTION updates" into mnc-dev
Etan Cohen [Mon, 13 Jul 2015 18:04:38 +0000 (18:04 +0000)]
Merge "Fix filter on CONNECTIVITY_ACTION updates" into mnc-dev

9 years agoMerge "Check user state after clearing identity." into mnc-dev
Amith Yamasani [Mon, 13 Jul 2015 18:03:18 +0000 (18:03 +0000)]
Merge "Check user state after clearing identity." into mnc-dev

9 years agoMerge "fix build by restoring deleted enum" into mnc-dev
Chris Wren [Mon, 13 Jul 2015 17:41:48 +0000 (17:41 +0000)]
Merge "fix build by restoring deleted enum" into mnc-dev

9 years agoMerge "Remove personal/device group from sideloading screen." into mnc-dev
Julia Reynolds [Mon, 13 Jul 2015 17:34:10 +0000 (17:34 +0000)]
Merge "Remove personal/device group from sideloading screen." into mnc-dev

9 years agofix build by restoring deleted enum
Chris Wren [Mon, 13 Jul 2015 16:59:01 +0000 (12:59 -0400)]
fix build by restoring deleted enum

Bug: 21114836
Change-Id: Ied4a6e48c66f882f43343a21bce0b3ccccd81713

9 years agoMerge "Fix demo mode issues" into mnc-dev
Jason Monk [Mon, 13 Jul 2015 16:22:35 +0000 (16:22 +0000)]
Merge "Fix demo mode issues" into mnc-dev

9 years agoMerge "add new enums to MetricsConstans" into mnc-dev
Chris Wren [Mon, 13 Jul 2015 16:21:21 +0000 (16:21 +0000)]
Merge "add new enums to MetricsConstans" into mnc-dev

9 years agoMerge "Show volume restriction toast on all users" into mnc-dev
Jason Monk [Mon, 13 Jul 2015 16:21:00 +0000 (16:21 +0000)]
Merge "Show volume restriction toast on all users" into mnc-dev

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Mon, 13 Jul 2015 15:37:09 +0000 (15:37 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 13 Jul 2015 15:34:33 +0000 (10:34 -0500)]
Import translations. DO NOT MERGE

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

9 years agoShow volume restriction toast on all users
Jason Monk [Mon, 13 Jul 2015 15:02:13 +0000 (11:02 -0400)]
Show volume restriction toast on all users

Bug: 21642285
Change-Id: I18ed4036543e1f13cd3010b9e1d790b16aa8e7a0

9 years agoFix demo mode issues
Jason Monk [Mon, 13 Jul 2015 14:42:23 +0000 (10:42 -0400)]
Fix demo mode issues

Bug: 22387423
Change-Id: I7b0b4ca75bae12a9fb3a90ab804b263e8d982b46

9 years agoMerge "Remove ExternalStorageFormatter" into mnc-dev
Rubin Xu [Mon, 13 Jul 2015 13:55:51 +0000 (13:55 +0000)]
Merge "Remove ExternalStorageFormatter" into mnc-dev

9 years agoRemove personal/device group from sideloading screen.
Julia Reynolds [Thu, 9 Jul 2015 19:23:42 +0000 (15:23 -0400)]
Remove personal/device group from sideloading screen.

Also ignore the requestedPermissionFlags of yet to be installed
packages when trying to determine if a permission is new.

Bug: 22229417

Change-Id: I59d579cdc42d64bcfdefdb06e1576959355bb7a4

9 years agoFix insertion handle disappearing in extract mode
Andrei Stingaceanu [Wed, 8 Jul 2015 14:07:59 +0000 (15:07 +0100)]
Fix insertion handle disappearing in extract mode

In extract mode, on every screen touch
TextView#setExtractedText gets called which calls
SpannableStringBuilder#sendTextChanged which in turn stops
the action mode. As a fix, if the text is the same only
copy the spans without replacing everything.

Bug: 22315095
Change-Id: I28da760b3dc11e1cfbaf720e547bd817c5b89d7e

9 years agoMerge "Use correct user when filtering app link candidates" into mnc-dev
Esteban Talavera [Mon, 13 Jul 2015 09:48:45 +0000 (09:48 +0000)]
Merge "Use correct user when filtering app link candidates" into mnc-dev

9 years agoMerge "Don't send app links to parent profile if status == never" into mnc-dev
Esteban Talavera [Mon, 13 Jul 2015 09:48:18 +0000 (09:48 +0000)]
Merge "Don't send app links to parent profile if status == never" into mnc-dev

9 years agoFinish already paused activity if it should be finished after pausing
Wale Ogunwale [Sun, 12 Jul 2015 22:14:01 +0000 (15:14 -0700)]
Finish already paused activity if it should be finished after pausing

If the app requests its activity to be finished allow it to be finished
immediately if the activity is already paused.

Also, don't schedule stop for an activity that was already finished in
ActivityStack.stopActivityLocked().

Bug: 22170595
Bug: 22397812
Change-Id: If349f7d3070a1fd2c0688fda7381b42f625ed9e4

9 years agoMerge "Bug: 21589105 Rescope WRITE_SETTINGS and SYSTEM_ALERT_WINDOW permission" into...
Billy Lau [Sun, 12 Jul 2015 22:02:34 +0000 (22:02 +0000)]
Merge "Bug: 21589105 Rescope WRITE_SETTINGS and SYSTEM_ALERT_WINDOW permission" into mnc-dev

9 years agoBug: 21589105 Rescope WRITE_SETTINGS and SYSTEM_ALERT_WINDOW permission
Billy Lau [Tue, 7 Jul 2015 23:31:01 +0000 (00:31 +0100)]
Bug: 21589105 Rescope WRITE_SETTINGS and SYSTEM_ALERT_WINDOW permission

Raised the protection level of WRITE_SETTINGS permission to appop and also
allowed backwards compatibility with pre23 flag. Also made sure that this
permission is not added as RuntimePermission in DefaultPermissionGrantPolicy as
that breaks a lot of gmscore stuff.

Introduced new action to manage write system settings as a new API and
renamed the string that describes the managing of overlay permission.

Change-Id: Ifd25a6ddc06de68ee37015cb9fb23452e4ef10f4

9 years agoLog full class name of the client activating sensors for better debugging.
Aravind Akella [Thu, 9 Jul 2015 21:11:45 +0000 (14:11 -0700)]
Log full class name of the client activating sensors for better debugging.

Bug: 22076400
Change-Id: Ibb8e72cfb031651e803f2eaf4b6530f809c00b6b

9 years agoCamera metadata: fix typos.
Zhijun He [Sun, 12 Jul 2015 03:02:30 +0000 (20:02 -0700)]
Camera metadata: fix typos.

Bug: 22417740
Change-Id: I871b990da43132f4967faf7ee23a9a2d962c4320

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Sat, 11 Jul 2015 19:01:43 +0000 (19:01 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Sat, 11 Jul 2015 17:35:45 +0000 (10:35 -0700)]
Import translations. DO NOT MERGE

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

9 years agoCheck user state after clearing identity.
Amith Yamasani [Sat, 11 Jul 2015 17:24:45 +0000 (10:24 -0700)]
Check user state after clearing identity.

This is to fix the case where the caller has GRANT_REVOKE_PERMISSIONS
but does not have MANAGE_USERS permission.

Related to a recent fix for
Bug: 22356546

Change-Id: Id51157abad14a0bdba3a16d7cd168f61ba25e890

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Sat, 11 Jul 2015 13:47:43 +0000 (06:47 -0700)]
Import translations. DO NOT MERGE

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

9 years agoMerge "Improve Html.toHtml() documentation" into mnc-dev
Raph Levien [Sat, 11 Jul 2015 06:09:09 +0000 (06:09 +0000)]
Merge "Improve Html.toHtml() documentation" into mnc-dev

9 years agoam e0f0fabb: am ccb8a9af: am b510225e: Merge "docs: replacing command line tool instr...
David Friedman [Sat, 11 Jul 2015 03:19:07 +0000 (03:19 +0000)]
am e0f0fabb: am ccb8a9af: am b510225e: Merge "docs: replacing command line tool instructions with Studio and Monitor steps" into lmp-docs

* commit 'e0f0fabbb1a416d71677fe7d9692530023cd53ec':
  docs: replacing command line tool instructions with Studio and Monitor steps

9 years agoam ccb8a9af: am b510225e: Merge "docs: replacing command line tool instructions with...
David Friedman [Sat, 11 Jul 2015 03:06:00 +0000 (03:06 +0000)]
am ccb8a9af: am b510225e: Merge "docs: replacing command line tool instructions with Studio and Monitor steps" into lmp-docs

* commit 'ccb8a9af1cf4c392b05ec7654d2a7213c8ef4019':
  docs: replacing command line tool instructions with Studio and Monitor steps

9 years agoam b510225e: Merge "docs: replacing command line tool instructions with Studio and...
David Friedman [Sat, 11 Jul 2015 02:53:54 +0000 (02:53 +0000)]
am b510225e: Merge "docs: replacing command line tool instructions with Studio and Monitor steps" into lmp-docs

* commit 'b510225e44742d488beb7dcf0248c9ba9b4010c9':
  docs: replacing command line tool instructions with Studio and Monitor steps

9 years agoChange MANAGE_FINGERPRINT permission to system|signature
Jim Miller [Sat, 11 Jul 2015 02:47:34 +0000 (19:47 -0700)]
Change MANAGE_FINGERPRINT permission to system|signature

This allows fingerprint enrollment to be done from
system-installed apps, such as Setup Wizard.

Fixes bug 21695577

Change-Id: I990912dcf229aa03f6350f96a09ff4588b20ca48

9 years agoMerge "docs: replacing command line tool instructions with Studio and Monitor steps...
David Friedman [Sat, 11 Jul 2015 02:41:10 +0000 (02:41 +0000)]
Merge "docs: replacing command line tool instructions with Studio and Monitor steps" into lmp-docs

9 years agoMerge "Fix new user creation regression due to vold remount calls" into mnc-dev
Amith Yamasani [Sat, 11 Jul 2015 02:27:59 +0000 (02:27 +0000)]
Merge "Fix new user creation regression due to vold remount calls" into mnc-dev

9 years agoMerge "Avoid IPC call with an empty array" into mnc-dev
Amith Yamasani [Sat, 11 Jul 2015 02:27:31 +0000 (02:27 +0000)]
Merge "Avoid IPC call with an empty array" into mnc-dev