OSDN Git Service

android-x86/frameworks-base.git
9 years agoam 6eec00ec: Merge "Camera: Reconnect after camera service crashes" into mnc-dev
Chien-Yu Chen [Tue, 14 Jul 2015 21:04:19 +0000 (21:04 +0000)]
am 6eec00ec: Merge "Camera: Reconnect after camera service crashes" into mnc-dev

* commit '6eec00ecf456b8a24487828b6f515cccc465cc1a':
  Camera: Reconnect after camera service crashes

9 years agoMerge "Camera: Reconnect after camera service crashes" into mnc-dev
Chien-Yu Chen [Tue, 14 Jul 2015 20:48:54 +0000 (20:48 +0000)]
Merge "Camera: Reconnect after camera service crashes" into mnc-dev

9 years agoam 5cf30c60: Merge "Pass wifi ap state through to tile when receiver triggered."...
Julia Reynolds [Tue, 14 Jul 2015 20:32:19 +0000 (20:32 +0000)]
am 5cf30c60: Merge "Pass wifi ap state through to tile when receiver triggered." into mnc-dev

* commit '5cf30c608f21a9685310e6cf7d5970c8b7fb36c8':
  Pass wifi ap state through to tile when receiver triggered.

9 years agoam 353886b2: am e67416ec: am 4859a612: Merge "docs: Clarified how to find out when...
Andrew Solovay [Tue, 14 Jul 2015 20:32:12 +0000 (20:32 +0000)]
am 353886b2: am e67416ec: am 4859a612: Merge "docs: Clarified how to find out when a switch is toggled" into mnc-preview-docs

* commit '353886b2dd1d6751d83469ddd3eb01dd0039231e':
  docs: Clarified how to find out when a switch is toggled

9 years agoam fb973240: Merge "Fix status bar bt accessibility message" into mnc-dev
Jason Monk [Tue, 14 Jul 2015 20:32:05 +0000 (20:32 +0000)]
am fb973240: Merge "Fix status bar bt accessibility message" into mnc-dev

* commit 'fb9732409a5f419ec00ba7b76de94bbcbd971936':
  Fix status bar bt accessibility message

9 years agoam 2061049d: Merge "Move wifi accessibility strings to SettingsLib" into mnc-dev
Jason Monk [Tue, 14 Jul 2015 20:31:58 +0000 (20:31 +0000)]
am 2061049d: Merge "Move wifi accessibility strings to SettingsLib" into mnc-dev

* commit '2061049d69390a7f4ace9b37bb983ebbb4caa678':
  Move wifi accessibility strings to SettingsLib

9 years agoMerge "Pass wifi ap state through to tile when receiver triggered." into mnc-dev
Julia Reynolds [Tue, 14 Jul 2015 20:23:48 +0000 (20:23 +0000)]
Merge "Pass wifi ap state through to tile when receiver triggered." into mnc-dev

9 years agoam e67416ec: am 4859a612: Merge "docs: Clarified how to find out when a switch is...
Andrew Solovay [Tue, 14 Jul 2015 20:22:59 +0000 (20:22 +0000)]
am e67416ec: am 4859a612: Merge "docs: Clarified how to find out when a switch is toggled" into mnc-preview-docs

* commit 'e67416eccc6092e2fce3619b2244deda36fabd26':
  docs: Clarified how to find out when a switch is toggled

9 years agoam 92a3914f: Merge "BatteryStats: Remove uid_cputime Slog.wtf for high cpu times...
Adam Lesinski [Tue, 14 Jul 2015 20:22:33 +0000 (20:22 +0000)]
am 92a3914f: Merge "BatteryStats: Remove uid_cputime Slog.wtf for high cpu times" into mnc-dev

* commit '92a3914fb353b725646a96185d1c1daaf3977e7b':
  BatteryStats: Remove uid_cputime Slog.wtf for high cpu times

9 years agoMerge "Fix status bar bt accessibility message" into mnc-dev
Jason Monk [Tue, 14 Jul 2015 20:21:06 +0000 (20:21 +0000)]
Merge "Fix status bar bt accessibility message" into mnc-dev

9 years agoMerge "Move wifi accessibility strings to SettingsLib" into mnc-dev
Jason Monk [Tue, 14 Jul 2015 20:20:31 +0000 (20:20 +0000)]
Merge "Move wifi accessibility strings to SettingsLib" into mnc-dev

9 years agoFix status bar bt accessibility message
Jason Monk [Tue, 14 Jul 2015 20:10:32 +0000 (16:10 -0400)]
Fix status bar bt accessibility message

Use the same description for both QS and status bar.

Bug: 20345203
Change-Id: I5789c1385d2240e1ad426a008e6e2192885ddc2b

9 years agoMerge "BatteryStats: Remove uid_cputime Slog.wtf for high cpu times" into mnc-dev
Adam Lesinski [Tue, 14 Jul 2015 20:08:41 +0000 (20:08 +0000)]
Merge "BatteryStats: Remove uid_cputime Slog.wtf for high cpu times" into mnc-dev

9 years agoam 4859a612: Merge "docs: Clarified how to find out when a switch is toggled" into...
Andrew Solovay [Tue, 14 Jul 2015 20:08:00 +0000 (20:08 +0000)]
am 4859a612: Merge "docs: Clarified how to find out when a switch is toggled" into mnc-preview-docs

* commit '4859a6125bcf967cf97339b19f30d9788b971e02':
  docs: Clarified how to find out when a switch is toggled

9 years agoMerge "docs: Clarified how to find out when a switch is toggled" into mnc-preview...
Andrew Solovay [Tue, 14 Jul 2015 19:59:05 +0000 (19:59 +0000)]
Merge "docs: Clarified how to find out when a switch is toggled" into mnc-preview-docs

9 years agoam 8b6d5b6b: Merge "Clear binder id when determining external storage state" into...
Svetoslav [Tue, 14 Jul 2015 19:52:08 +0000 (19:52 +0000)]
am 8b6d5b6b: Merge "Clear binder id when determining external storage state" into mnc-dev

* commit '8b6d5b6b6ac3c363ad7aa36873dec1701d33de1e':
  Clear binder id when determining external storage state

9 years agoam 66cc6bb6: Merge "Allow notification strings to be unredacted in dump output."...
Dan Sandler [Tue, 14 Jul 2015 19:52:02 +0000 (19:52 +0000)]
am 66cc6bb6: Merge "Allow notification strings to be unredacted in dump output." into mnc-dev

* commit '66cc6bb65eac220a01b6a300cf64f1035a0463af':
  Allow notification strings to be unredacted in dump output.

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 agoam 46d1864c: Merge "Make get_accounts a runtime permissions again" into mnc-dev
Svetoslav [Tue, 14 Jul 2015 18:55:52 +0000 (18:55 +0000)]
am 46d1864c: Merge "Make get_accounts a runtime permissions again" into mnc-dev

* commit '46d1864ceee7229cd7fe7bac80226c930539861d':
  Make get_accounts a runtime permissions again

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 agoam f5adce87: Merge "Removed logging for the empty keyguard" into mnc-dev
Selim Cinek [Tue, 14 Jul 2015 18:37:15 +0000 (18:37 +0000)]
am f5adce87: Merge "Removed logging for the empty keyguard" into mnc-dev

* commit 'f5adce87581bd3b7e8fd2846a85dbbf8c0dca939':
  Removed logging for the empty keyguard

9 years agoBatteryStats: Remove uid_cputime Slog.wtf for high cpu times
Adam Lesinski [Tue, 14 Jul 2015 18:31:29 +0000 (11:31 -0700)]
BatteryStats: Remove uid_cputime Slog.wtf for high cpu times

High cpu times are expected as multiple cores can be running at the
same time, so comparing against the time between samples is incorrect.

I am reasonable certain that the values we see now are correct, so disabling this
check. However, checking for negative values (overflows) is still enabled and
will remain enabled because there is no case where we will be ok with negative deltas.

Bug:22461683
Change-Id: If9c7cdbb75ceaed059d1e0f4dd83cfdd3e021a93

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 agoam 51b4e97a: Merge "Add checks for READ_PRIVILEGED_PHONE_STATE." into mnc-dev
Amit Mahajan [Tue, 14 Jul 2015 18:13:16 +0000 (18:13 +0000)]
am 51b4e97a: Merge "Add checks for READ_PRIVILEGED_PHONE_STATE." into mnc-dev

* commit '51b4e97ae42fb789b7d1c9d4134ddaa7e2b27b11':
  Add checks for READ_PRIVILEGED_PHONE_STATE.

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 agoPass wifi ap state through to tile when receiver triggered.
Julia Reynolds [Tue, 14 Jul 2015 17:36:30 +0000 (13:36 -0400)]
Pass wifi ap state through to tile when receiver triggered.

Bug: 22450078
Change-Id: I9b339aa2238a7427291bfdc2ef6aab58dcdb5cf3

9 years agoam fe03a84b: Merge "Fix QS labels on language change" into mnc-dev
Jason Monk [Tue, 14 Jul 2015 17:49:51 +0000 (17:49 +0000)]
am fe03a84b: Merge "Fix QS labels on language change" into mnc-dev

* commit 'fe03a84bc6d59e9b09029cfa8800bd9ef8d85d18':
  Fix QS labels on language change

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 agoam 3ced9617: Merge "Use original path if translated path doesn\'t exist" into mnc-dev
Marco Nelissen [Tue, 14 Jul 2015 17:35:22 +0000 (17:35 +0000)]
am 3ced9617: Merge "Use original path if translated path doesn\'t exist" into mnc-dev

* commit '3ced96178b1b132705e773736cbb707a3a0cd951':
  Use original path if translated path doesn't exist

9 years agoam 2f0116fa: Merge "Prevent null allowableAccounts from crashing" into mnc-dev
Craig Lafayette [Tue, 14 Jul 2015 17:35:15 +0000 (17:35 +0000)]
am 2f0116fa: Merge "Prevent null allowableAccounts from crashing" into mnc-dev

* commit '2f0116fa3ab2153188e43e87b194afae7e4efb81':
  Prevent null allowableAccounts from crashing

9 years agoMove wifi accessibility strings to SettingsLib
Jason Monk [Tue, 14 Jul 2015 17:32:33 +0000 (13:32 -0400)]
Move wifi accessibility strings to SettingsLib

Bug: 22468835
Change-Id: I66e85e8adfb3eda194995eda529422a172f00cbd

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 agoam 941bcedb: Merge "Fix unsafety in SkiaShader storage, and texture unit accounting...
Chris Craik [Tue, 14 Jul 2015 17:13:23 +0000 (17:13 +0000)]
am 941bcedb: Merge "Fix unsafety in SkiaShader storage, and texture unit accounting" into mnc-dev

* commit '941bcedb4c03832cd54225217697c7b8cba6e07c':
  Fix unsafety in SkiaShader storage, and texture unit accounting

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 agoam 10633c96: Merge "Fix Android Keystore key factories to obey JCA contract." into...
Alex Klyubin [Tue, 14 Jul 2015 16:30:41 +0000 (16:30 +0000)]
am 10633c96: Merge "Fix Android Keystore key factories to obey JCA contract." into mnc-dev

* commit '10633c96b55d13f05304b758b01be48035adece3':
  Fix Android Keystore key factories to obey JCA contract.

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 agoam 12952c79: Merge "Allow FloatingToolbar to be outside of the attached window."...
Yohei Yukawa [Tue, 14 Jul 2015 15:44:37 +0000 (15:44 +0000)]
am 12952c79: Merge "Allow FloatingToolbar to be outside of the attached window." into mnc-dev

* commit '12952c79528cd7ea804c400e5908a24e56f69bbe':
  Allow FloatingToolbar to be outside of the attached window.

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 agoam 148c7c5c: Merge "media: Implement getAchievableFrameRatesFor with measured frame...
Ronghua Wu [Tue, 14 Jul 2015 15:33:31 +0000 (15:33 +0000)]
am 148c7c5c: Merge "media: Implement getAchievableFrameRatesFor with measured frame rate." into mnc-dev

* commit '148c7c5c1794a9e306660f22c7cbbbc9906e5f5e':
  media: Implement getAchievableFrameRatesFor with measured frame rate.

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 agoam 8af7432c: Merge "Fix "Select All" in extracted mode" into mnc-dev
Andrei Stingaceanu [Tue, 14 Jul 2015 14:17:19 +0000 (14:17 +0000)]
am 8af7432c: Merge "Fix "Select All" in extracted mode" into mnc-dev

* commit '8af7432ca3fc1ce3539997d24439954f0e64134c':
  Fix "Select All" in extracted mode

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 agoam f5e20ec3: Merge "Retrieve resources for apps, even if not installed for current...
Julia Reynolds [Tue, 14 Jul 2015 13:57:31 +0000 (13:57 +0000)]
am f5e20ec3: Merge "Retrieve resources for apps, even if not installed for current user." into mnc-dev

* commit 'f5e20ec36480897f4c37fd63554872e74d874f02':
  Retrieve resources for apps, even if not installed for current user.

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 agoam a9b9907f: Merge "Fix insertion handle disappearing in extract mode" into mnc-dev
Andrei Stingaceanu [Tue, 14 Jul 2015 10:14:48 +0000 (10:14 +0000)]
am a9b9907f: Merge "Fix insertion handle disappearing in extract mode" into mnc-dev

* commit 'a9b9907f3c472e70d0950964d3e2c83c4926af14':
  Fix insertion handle disappearing in extract mode

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 agoam 77612940: Merge "Log NetworkRequestInfo to get more detailed history" into mnc-dev
Erik Kline [Tue, 14 Jul 2015 04:21:18 +0000 (04:21 +0000)]
am 77612940: Merge "Log NetworkRequestInfo to get more detailed history" into mnc-dev

* commit '776129402746be08d52bb9f0901f6ecd63b25399':
  Log NetworkRequestInfo to get more detailed history

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 agoam 569ff225: Fix BluetoothSocket file descriptor leak
Zach Johnson [Tue, 14 Jul 2015 03:49:15 +0000 (03:49 +0000)]
am 569ff225: Fix BluetoothSocket file descriptor leak

* commit '569ff225a3879363bb31548a664161fee5270a0d':
  Fix BluetoothSocket file descriptor leak

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 agoam 8017c647: Fix build
Svet Ganov [Tue, 14 Jul 2015 02:49:27 +0000 (02:49 +0000)]
am 8017c647: Fix build

* commit '8017c647e665a6b6240501dc43628143ebe4e333':
  Fix build

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 agoam 8cee6587: Merge "Teach storage appops." into mnc-dev
Svet Ganov [Tue, 14 Jul 2015 01:32:17 +0000 (01:32 +0000)]
am 8cee6587: Merge "Teach storage appops." into mnc-dev

* commit '8cee6587e0efb2d8e63f1505b057a1e328525017':
  Teach storage appops.

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 agoam 4b9b3e47: Merge "Default browser should not supersede intent filter priorities...
Christopher Tate [Tue, 14 Jul 2015 01:18:40 +0000 (01:18 +0000)]
am 4b9b3e47: Merge "Default browser should not supersede intent filter priorities" into mnc-dev

* commit '4b9b3e4731ffb962daf0f5029450001a8a6e7c00':
  Default browser should not supersede intent filter priorities

9 years agoam fc2bc7f1: Merge "Check signatures of privileged persistent apps for granting defai...
Svet Ganov [Tue, 14 Jul 2015 01:12:15 +0000 (01:12 +0000)]
am fc2bc7f1: Merge "Check signatures of privileged persistent apps for granting defailt  permissions" into mnc-dev

* commit 'fc2bc7f170ba564bc439fd22dd5a779d96670ffd':
  Check signatures of privileged persistent apps for granting defailt  permissions

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 agoam 288ecf98: Merge "Prioritize most-recently-enabled link-handling app" into mnc-dev
Christopher Tate [Tue, 14 Jul 2015 01:01:43 +0000 (01:01 +0000)]
am 288ecf98: Merge "Prioritize most-recently-enabled link-handling app" into mnc-dev

* commit '288ecf98f14c9eff639b0a3de074d5b4a06eccec':
  Prioritize most-recently-enabled link-handling app

9 years agoam 56c59d15: Merge "Fix two grant default permissions edge cases." into mnc-dev
Svetoslav [Tue, 14 Jul 2015 01:01:36 +0000 (01:01 +0000)]
am 56c59d15: Merge "Fix two grant default permissions edge cases." into mnc-dev

* commit '56c59d1550703bc96151dc53bb4b697fda6a6028':
  Fix two grant default permissions edge cases.

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

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

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 agoCamera: Reconnect after camera service crashes
Chien-Yu Chen [Mon, 13 Jul 2015 23:37:13 +0000 (16:37 -0700)]
Camera: Reconnect after camera service crashes

Schedule a reconnection after camera service crashes if any client
registered a camera availability callback or torch status callback.

Bug: 407755
Change-Id: Iabe0bf713863898ca468cff59d4c97c66a802630

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 agoam 9c2182e1: Merge "Add a dumpsys for KeyguardUpdateMonitor" into mnc-dev
Jason Monk [Tue, 14 Jul 2015 00:15:22 +0000 (00:15 +0000)]
am 9c2182e1: Merge "Add a dumpsys for KeyguardUpdateMonitor" into mnc-dev

* commit '9c2182e1b3d7a2eedb072d4ddcacb903e67b25aa':
  Add a dumpsys for KeyguardUpdateMonitor

9 years agoam fd186d20: am 28006a3b: am 7182f075: Merge "docs: Changed text as requested in...
Robert Schaub [Tue, 14 Jul 2015 00:15:15 +0000 (00:15 +0000)]
am fd186d20: am 28006a3b: am 7182f075: Merge "docs: Changed text as requested in Android TV advertising bug, with minor cleanup" into mnc-preview-docs

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

9 years agoam 0b403ebd: am 1962b730: am 3430bec7: Merge "docs: Removed parenthetic phrase that...
Robert Schaub [Tue, 14 Jul 2015 00:15:08 +0000 (00:15 +0000)]
am 0b403ebd: am 1962b730: am 3430bec7: Merge "docs: Removed parenthetic phrase that made explanation unnecessarily confusing" into mnc-preview-docs

* commit '0b403ebd6aecdf6691c4df009c791096d734aeb0':
  docs: Removed parenthetic phrase that made explanation unnecessarily confusing

9 years agoam 91a44578: am 5c3bf584: am e0f0fabb: am ccb8a9af: am b510225e: Merge "docs: replaci...
David Friedman [Tue, 14 Jul 2015 00:15:01 +0000 (00:15 +0000)]
am 91a44578: am 5c3bf584: am e0f0fabb: am ccb8a9af: am b510225e: Merge "docs: replacing command line tool instructions with Studio and Monitor steps" into lmp-docs

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

9 years agoam 908c50a1: am f13e914d: am 8cce3984: Merge "Adding a link to what is currently...
Eric Gilmore [Tue, 14 Jul 2015 00:14:54 +0000 (00:14 +0000)]
am 908c50a1: am f13e914d: am 8cce3984: Merge "Adding a link to what is currently our most popular "100 Days" video." into mnc-preview-docs

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

9 years agoam e249eb3a: Merge "Perform One touch play upon pressing home key" into mnc-dev
Jinsuk Kim [Tue, 14 Jul 2015 00:14:48 +0000 (00:14 +0000)]
am e249eb3a: Merge "Perform One touch play upon pressing home key" into mnc-dev

* commit 'e249eb3a6f33ee945113a8f11e8382e70c4e066f':
  Perform One touch play upon pressing home key

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 agoam cf01fd0f: Merge "Catch & log security exception in telephonymanager" into mnc-dev
Roshan Pius [Mon, 13 Jul 2015 23:56:07 +0000 (23:56 +0000)]
am cf01fd0f: Merge "Catch & log security exception in telephonymanager" into mnc-dev

* commit 'cf01fd0f128a2d7fc5b9c0f9db4fc9e0e5552093':
  Catch & log security exception in telephonymanager

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