OSDN Git Service
Adam Lesinski [Wed, 22 Jul 2015 20:50:23 +0000 (13:50 -0700)]
BatteryStats: Use English locale for dump and checkin data
Dump and checkin data is read by tools that expect a consistent
locale.
Bug:
22357316
Change-Id: I0d7e6e771c3512278efca7579fe9c4b79b560e28
Roshan Pius [Wed, 15 Jul 2015 19:23:28 +0000 (19:23 +0000)]
Merge "Handle exceptions when accessing Content providers." into mnc-dev
Felipe Leme [Wed, 15 Jul 2015 19:00:41 +0000 (19:00 +0000)]
Merge "Set last modified timestamp for the bugreport entry in the zipped file from original file, otherwise it uses the date the zip was created." into mnc-dev
Dianne Hackborn [Wed, 15 Jul 2015 18:59:18 +0000 (18:59 +0000)]
Merge "Fix build." into mnc-dev
Dianne Hackborn [Wed, 15 Jul 2015 18:58:27 +0000 (11:58 -0700)]
Fix build.
Change-Id: Ib165c32d1d87e971902b4dd7300ccebd65e71a7d
Jeff Brown [Tue, 7 Jul 2015 19:44:17 +0000 (12:44 -0700)]
Add USB port manager.
Add some new internal APIs to enumerate USB Type C ports, query their
status, determine whether they support changing power or data roles,
and doing so. The API also adds a new ACTION_USB_PORT_CHANGED broadcast
for port state changes.
The implementation includes a mechanism for simulating the behavior
of the USB stack. See 'adb shell dumpsys usb -h' for details.
Note that the underlying kernel driver interface is still subject
to change but its behavior has been encapsulated as much as possible.
Bug:
21615151
Change-Id: I0c853ae179248a4550b3e60d02a7a7e65e4546b2
Jeff Brown [Tue, 7 Jul 2015 19:40:53 +0000 (12:40 -0700)]
Clean up USB Manager dump.
Tidy up the dump() implementation in preparation for further work.
Bug:
21615151
Change-Id: If6d94c8dc9457b8e93103541ec1798981eeb5b54
Jeff Sharkey [Wed, 15 Jul 2015 18:02:59 +0000 (18:02 +0000)]
Merge "Give DCS permission needed to measure all users." into mnc-dev
Jeff Sharkey [Wed, 15 Jul 2015 18:02:53 +0000 (18:02 +0000)]
Merge "Only send EXTRA_STACK for private intent." into mnc-dev
Dianne Hackborn [Wed, 15 Jul 2015 17:11:05 +0000 (17:11 +0000)]
Merge "Improve tracking of screen on reasons." into mnc-dev
Dianne Hackborn [Mon, 13 Jul 2015 21:48:08 +0000 (14:48 -0700)]
Improve tracking of screen on reasons.
- New screen on app op to record the last time each app has
caused the screen to be turned on.
- New battery stats event that tells us the reason the screen
has been asked to turn on.
- Propagate out power manager API to specify the reason a caller
is asking to have the screen turned on.
Note that currently the window flag to turn the screen on bypasses
much of this because it is being handled in the window manager by
just directly telling the power manager to turn the screen on. To
make this better we need a new API where it can specify who it is
calling the API for.
Change-Id: I667e56cb1f80508d054da004db667efbcc22e971
Jeff Sharkey [Wed, 15 Jul 2015 16:58:22 +0000 (09:58 -0700)]
Give DCS permission needed to measure all users.
DCS runs as owner user, but needs to measure details for other users
on the device.
Bug:
22503636
Change-Id: I6d6899fae90c4e92b94647676bda8b88bad412e6
Geoff Mendal [Wed, 15 Jul 2015 16:30:20 +0000 (11:30 -0500)]
Import translations. DO NOT MERGE
Change-Id: I54d30125585b48fa3d419a991802ce6152b9cbcd
Auto-generated-cl: translation import
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
Geoff Mendal [Wed, 15 Jul 2015 15:46:59 +0000 (15:46 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Wed, 15 Jul 2015 15:43:54 +0000 (10:43 -0500)]
Import translations. DO NOT MERGE
Change-Id: I03908869f5a297a5400488f13e57999c4e883db0
Auto-generated-cl: translation import
George Mount [Wed, 15 Jul 2015 14:12:26 +0000 (14:12 +0000)]
Merge "Fix input pause without resume." into mnc-dev
Geoff Mendal [Wed, 15 Jul 2015 13:48:51 +0000 (13:48 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Wed, 15 Jul 2015 13:47:39 +0000 (06:47 -0700)]
Import translations. DO NOT MERGE
Change-Id: I4e7c446cc9fd0a34b81173a74cddc40c22b7b74b
Auto-generated-cl: translation import
Geoff Mendal [Wed, 15 Jul 2015 13:42:54 +0000 (06:42 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ic93e9b866c3f933bab929f480a6b8098e585ed9c
Auto-generated-cl: translation import
Adam Powell [Wed, 15 Jul 2015 02:31:18 +0000 (02:31 +0000)]
Merge "Relax strict ActionMode instance checking when finishing action modes" into mnc-dev
Adam Powell [Wed, 15 Jul 2015 02:08:39 +0000 (19:08 -0700)]
Relax strict ActionMode instance checking when finishing action modes
In previous platform versions, finishing an action mode would clean up
the current action mode even if it was not the same ActionMode
instance. Some common shared code inadvertently relied on this
behavior, so stay bug-compatible with it based on targetSdkVersion.
New apps will get the stricter behavior.
Bug
22265882
Change-Id: Id5d6341aefc07a3cb788d5d6d0b531816f761e42
Dianne Hackborn [Wed, 15 Jul 2015 01:49:52 +0000 (01:49 +0000)]
Merge "Bump mms whitelist time up to 1 minute." into mnc-dev
Dianne Hackborn [Wed, 15 Jul 2015 01:48:07 +0000 (18:48 -0700)]
Bump mms whitelist time up to 1 minute.
Change-Id: I09074c440430580fcfb2581275defe61c63c8ae8
Dianne Hackborn [Wed, 15 Jul 2015 01:45:30 +0000 (01:45 +0000)]
Merge "Fix issue #
21626564: MMS should be receivied while Dozing" into mnc-dev
Fyodor Kupolov [Wed, 15 Jul 2015 01:34:37 +0000 (01:34 +0000)]
Merge "Require ACCESS_COARSE_LOCATION for ACTION_FOUND broadcast" into mnc-dev
Dianne Hackborn [Tue, 14 Jul 2015 01:00:37 +0000 (18:00 -0700)]
Fix issue #
21626564: MMS should be receivied while Dozing
We now place whoever is receiving the MMS on the temporary
whitelist while doing so, so they can get network access to
download it.
There was also an issue that needed to be fixed where we
were no longer updating the list of allowed uids while
dozing based on their proc states... we now do that.
Also did a bit of optimization of the temp white list update
path do the network policy manager, instead of going through
a broadcast we now directly call in to the network policy
manager. This also allows us to have a synchronous version
of updating the list, so we can know the app has network access
before we tell it to do anything.
Finally added battery stats events for things going on and off
the whitelist so we can diagnose the behavior there.
Change-Id: Ic7fe010af680034d9f8cb014bb135b2addef7455
Eric Laurent [Wed, 15 Jul 2015 01:31:44 +0000 (01:31 +0000)]
Merge "AudioManager: fix audio device callback list access" into mnc-dev
Fyodor Kupolov [Wed, 15 Jul 2015 00:48:37 +0000 (00:48 +0000)]
Merge "Added sendBroadcastMultiplePermissions method" into mnc-dev
Adam Lesinski [Wed, 15 Jul 2015 00:30:17 +0000 (00:30 +0000)]
Merge "BatteryStats: Clear power use when removing a UID from uid_cputime kernel module" into mnc-dev
Fyodor Kupolov [Tue, 14 Jul 2015 02:19:25 +0000 (19:19 -0700)]
Added sendBroadcastMultiplePermissions method
Added Context.sendBroadcastMultiplePermissions(Intent intent, String[]
receiverPermissions) method, which allows an array of required permissions
to be enforced.
Bug:
21852542
Change-Id: I27c9130e8f004b428452501ebc8a36aabde1f343
Adam Lesinski [Tue, 14 Jul 2015 23:27:40 +0000 (16:27 -0700)]
BatteryStats: Fix deadlock
Bug:
22486756
Change-Id: I20e10cc344b128bfa156c5aada93d3fb2b0fcaa3
Adam Lesinski [Tue, 14 Jul 2015 23:51:53 +0000 (16:51 -0700)]
BatteryStats: Clear power use when removing a UID from uid_cputime kernel module
Bug:
22461683
Change-Id: Iffb847268d2872bd2a843e28dc41fa22b1e36828
Eric Laurent [Tue, 14 Jul 2015 23:27:54 +0000 (16:27 -0700)]
AudioManager: fix audio device callback list access
Bug:
22470616.
Change-Id: Ic59e8499557395dabe789b5fec9cb7c86c13d10c
Adam Lesinski [Tue, 14 Jul 2015 23:00:20 +0000 (23:00 +0000)]
Merge "BatteryStats: Fix units in wakelock distribution calculation" into mnc-dev
Yin-Chia Yeh [Tue, 14 Jul 2015 22:53:02 +0000 (22:53 +0000)]
Merge "Camera: clarify largest JPEG dimension expectation" into mnc-dev
Fyodor Kupolov [Tue, 14 Jul 2015 22:43:44 +0000 (22:43 +0000)]
Merge "Revert "Allow array of required permissions in sendBroadcast"" into mnc-dev
xinhe [Tue, 14 Jul 2015 22:29:17 +0000 (22:29 +0000)]
Merge "Need to disable 5GHz bands for WiFi tethering in Japan" into mnc-dev
Fyodor Kupolov [Tue, 14 Jul 2015 22:29:21 +0000 (22:29 +0000)]
Revert "Allow array of required permissions in sendBroadcast"
This reverts commit
b4e7283c9afd9fb15ebd63f6ce9b75c9c1af658b.
Change-Id: Ie8390964bda5bdfa869cee8f46584043d8e7c664
Yorke Lee [Tue, 14 Jul 2015 22:00:20 +0000 (22:00 +0000)]
Merge "Standardize stateToString return values" into mnc-dev
Fyodor Kupolov [Tue, 14 Jul 2015 21:57:19 +0000 (21:57 +0000)]
Merge "Allow array of required permissions in sendBroadcast" into mnc-dev
Jeff Sharkey [Tue, 14 Jul 2015 20:52:20 +0000 (20:52 +0000)]
Merge "Better handling of storage paths." 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
Adam Lesinski [Tue, 14 Jul 2015 19:02:44 +0000 (12:02 -0700)]
BatteryStats: Fix units in wakelock distribution calculation
This is mostly for checkin stats, this is not used in any computation.
Bug:
22468534
Bug:
22391540
Change-Id: Ib3d0c86db5044092d3d76acf8f001337272af2ff
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
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
Jason Monk [Tue, 14 Jul 2015 20:21:06 +0000 (20:21 +0000)]
Merge "Fix status bar bt accessibility message" 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
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
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
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
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
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
Fyodor Kupolov [Tue, 14 Jul 2015 02:19:25 +0000 (19:19 -0700)]
Allow array of required permissions in sendBroadcast
Added Context.sendBroadcast(Intent intent, String[] receiverPermissions)
method, which allows an array of required permissions to be enforced.
Bug:
21852542
Change-Id: I3b8ff258fa9f3249c344bb8093b820b24eef00c0
Svetoslav [Tue, 14 Jul 2015 19:39:13 +0000 (19:39 +0000)]
Merge "Clear binder id when determining external storage state" 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
Svetoslav [Tue, 14 Jul 2015 18:42:05 +0000 (18:42 +0000)]
Merge "Make get_accounts a runtime permissions again" into mnc-dev
Yorke Lee [Tue, 14 Jul 2015 18:39:36 +0000 (11:39 -0700)]
Standardize stateToString return values
Bug:
20303674
Change-Id: I884029614c8ce36120c1fc039ef33c0e6736ed5c
Fyodor Kupolov [Tue, 14 Jul 2015 18:38:58 +0000 (11:38 -0700)]
Require ACCESS_COARSE_LOCATION for ACTION_FOUND broadcast
Receivers of ACTION_FOUND intent are now required to have
ACCESS_COARSE_LOCATION permission.
Bug:
21852542
Change-Id: I8306f7431f067ca36bfc568a912385153fa3d496
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
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
Selim Cinek [Tue, 14 Jul 2015 18:27:54 +0000 (18:27 +0000)]
Merge "Removed logging for the empty keyguard" into mnc-dev
Roshan Pius [Mon, 13 Jul 2015 19:57:40 +0000 (12:57 -0700)]
Handle exceptions when accessing Content providers.
BUG:
21638129
Change-Id: I88f7dcf67e395f49136a1f434fbd9c75e15cddad
Amit Mahajan [Tue, 14 Jul 2015 17:59:17 +0000 (17:59 +0000)]
Merge "Add checks for READ_PRIVILEGED_PHONE_STATE." into mnc-dev
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
Jason Monk [Tue, 14 Jul 2015 17:40:21 +0000 (17:40 +0000)]
Merge "Fix QS labels on language change" into mnc-dev
Jason Monk [Tue, 14 Jul 2015 17:32:33 +0000 (13:32 -0400)]
Move wifi accessibility strings to SettingsLib
Bug:
22468835
Change-Id: I66e85e8adfb3eda194995eda529422a172f00cbd
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
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
Craig Lafayette [Tue, 14 Jul 2015 17:25:37 +0000 (17:25 +0000)]
Merge "Prevent null allowableAccounts from crashing" into mnc-dev
George Mount [Tue, 14 Jul 2015 17:03:06 +0000 (10:03 -0700)]
Fix input pause without resume.
Bug
22455206
Previously, when an exit activity transition was created, the input
would be paused. This worked fine as long as the transition was
run. However, sometimes that transition wasn't run and this would
cause the input to fail to be started again.
This fix moves the input pause to when the transition is started.
Change-Id: I738d5471f7932f00b50897f87a8f8a71ecbc57e2
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
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
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
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
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
Ronghua Wu [Tue, 14 Jul 2015 15:21:30 +0000 (15:21 +0000)]
Merge "media: Implement getAchievableFrameRatesFor with measured frame rate." into mnc-dev
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
Andrei Stingaceanu [Tue, 14 Jul 2015 14:03:18 +0000 (14:03 +0000)]
Merge "Fix "Select All" in extracted mode" into mnc-dev
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
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
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
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
Andrei Stingaceanu [Tue, 14 Jul 2015 09:57:20 +0000 (09:57 +0000)]
Merge "Fix insertion handle disappearing in extract mode" 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
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
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
Svet Ganov [Tue, 14 Jul 2015 02:34:19 +0000 (19:34 -0700)]
Fix build
Change-Id: I2c97e405eaec7ee1569fcddc872ff2a98c829efe
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
Svet Ganov [Tue, 14 Jul 2015 01:24:34 +0000 (01:24 +0000)]
Merge "Teach storage appops." into mnc-dev
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
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
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
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
Christopher Tate [Tue, 14 Jul 2015 00:56:55 +0000 (00:56 +0000)]
Merge "Prioritize most-recently-enabled link-handling app" 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
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
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
xinhe [Mon, 13 Jul 2015 22:31:06 +0000 (15:31 -0700)]
Need to disable 5GHz bands for WiFi tethering in Japan
b/
22396383
Change-Id: I61efef1babaab756425e6958843dfb9ad47b46cd
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