OSDN Git Service
Mady Mellor [Wed, 8 Jul 2015 19:31:45 +0000 (12:31 -0700)]
Use hint text to position handle / floating tool bar popups
In situations where the hint text does not match the direction of
the TextView's primary selection, when you copy text, and long press
in that EditText to paste, the cursor would use the direction of the
hint text to be placed, whereas the handle and floating tool bar
used the TextView's direction to be placed so they wouldn't match.
This CL updates the handle view and floating tool bars to use the
hint text direction when appropriate.
Bug:
21480429
Change-Id: I8090a5b2738c035522c307535ffa165ca024e811
Ian Pedowitz [Tue, 7 Jul 2015 15:32:44 +0000 (08:32 -0700)]
Revert "Bug:
21589105 Rescope WRITE_SETTINGS and SYSTEM_ALERT_WINDOW permission"
This reverts commit
d6b404c72da7e2475508c7d5948494b2e9b1a262.
This CL seems to have broken the build, causing GMSCore to continuously
crash.
Bug:
22313634
Bug:
22312938
Bug:
22314605
Bug:
22308392
Bug:
22307889
Jason Monk [Tue, 7 Jul 2015 14:34:58 +0000 (14:34 +0000)]
Merge "Don't dismiss volume during animation" into mnc-dev
Jason Monk [Tue, 7 Jul 2015 14:34:45 +0000 (14:34 +0000)]
Merge "Fix to work statusbar configs as mcc/mnc" into mnc-dev
John Reck [Tue, 7 Jul 2015 14:08:47 +0000 (14:08 +0000)]
Merge "Adjust for pipeline stalls" into mnc-dev
Sungmin Choi [Tue, 7 Jul 2015 04:06:59 +0000 (13:06 +0900)]
Fix to work statusbar configs as mcc/mnc
Call handleConfigurationChanged() at the end of
PhoneStatusBar#onConfigurationChanged to update statusbar configs.
BUG:
22215928
Change-Id: I7329d4949a8a47717ea037cf007ef0baa63507bd
Zoltan Szatmary-Ban [Tue, 7 Jul 2015 10:17:03 +0000 (10:17 +0000)]
Merge "Update javadoc on DPM.setGlobalSetting" into mnc-dev
Richard Coles [Tue, 7 Jul 2015 10:15:13 +0000 (10:15 +0000)]
Merge "Add WebView permission MIDI sysex" into mnc-dev
Esteban Talavera [Tue, 7 Jul 2015 09:27:22 +0000 (09:27 +0000)]
Merge "Notify the profile when cloned settings are changed." into mnc-dev
Andrei Stingaceanu [Tue, 7 Jul 2015 09:14:32 +0000 (09:14 +0000)]
Merge "Drag handles persist after lost focus in extracted mode" into mnc-dev
Ian Pedowitz [Tue, 7 Jul 2015 06:13:12 +0000 (06:13 +0000)]
Merge "Final resource IDs." into mnc-dev
Abodunrinwa Toki [Tue, 7 Jul 2015 03:59:42 +0000 (03:59 +0000)]
Merge "FloatingToolbar: Offset visible rect by the rootview's offset" into mnc-dev
Jan Nordqvist [Tue, 7 Jul 2015 01:41:11 +0000 (01:41 +0000)]
Merge "Changed config_wifi_hotspot2_enabled to false." into mnc-dev
Selim Cinek [Tue, 7 Jul 2015 01:37:05 +0000 (01:37 +0000)]
Merge "Fixed a bug where redacted notifications had the wrong height" into mnc-dev
Zhijun He [Tue, 7 Jul 2015 01:07:16 +0000 (01:07 +0000)]
Merge "ImageUtils: fix image copy issue" into mnc-dev
Adam Lesinski [Tue, 7 Jul 2015 00:32:13 +0000 (00:32 +0000)]
Merge "BatteryStats: Remove isolated UIDs from /proc/uid_cputime when they are not in use anymore" into mnc-dev
Billy Lau [Tue, 7 Jul 2015 00:27:23 +0000 (00:27 +0000)]
Merge "Bug:
21589105 Rescope WRITE_SETTINGS and SYSTEM_ALERT_WINDOW permission" into mnc-dev
Aravind Akella [Tue, 7 Jul 2015 00:24:03 +0000 (00:24 +0000)]
Merge "Remove flag mDataInjectionMode." into mnc-dev
Winson Chung [Tue, 7 Jul 2015 00:17:55 +0000 (00:17 +0000)]
Merge "Adding metrics to overview." into mnc-dev
Selim Cinek [Mon, 6 Jul 2015 21:51:36 +0000 (14:51 -0700)]
Fixed a bug where redacted notifications had the wrong height
When redacted notifications were added on the lockscreen,
it's size might have been incorrect sometimes.
Bug:
22235304
Change-Id: I30f665bc8e725cdd40a20051e995b10e77f96918
Billy Lau [Mon, 6 Jul 2015 23:27:53 +0000 (00:27 +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.
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: I939a95b9a8b1ae75bf67aa6d8190c92a8d2001d3
John Reck [Mon, 6 Jul 2015 20:49:58 +0000 (13:49 -0700)]
Adjust for pipeline stalls
Bug:
20853441
Calculating duration that crosses the UI-RT
sync point will now subtract out the time spent waiting
in queue under the assumption that this time will be
accounted for in the previous frame's metrics
Change-Id: Ia8213f4410638840613f5ae439e98dfb77532a6a
Jean-Michel Trivi [Mon, 6 Jul 2015 23:07:23 +0000 (23:07 +0000)]
Merge "Ringtone: add support for volume control and looping" into mnc-dev
Winson Chung [Thu, 25 Jun 2015 23:16:46 +0000 (16:16 -0700)]
Adding metrics to overview.
Bug:
21528167
Change-Id: Ice1ce892682aa4599b9a689b47af373780897548
Adam Lesinski [Wed, 1 Jul 2015 22:05:07 +0000 (15:05 -0700)]
BatteryStats: Remove isolated UIDs from /proc/uid_cputime when they are not in use anymore
Bug:
22225933
Change-Id: I384a3c37ad45af981cca5fc3e92643da948d48d0
Dianne Hackborn [Mon, 6 Jul 2015 22:24:50 +0000 (22:24 +0000)]
Merge "Add easy way to get device idle whitelist." into mnc-dev
Dianne Hackborn [Mon, 6 Jul 2015 22:13:37 +0000 (15:13 -0700)]
Add easy way to get device idle whitelist.
Change-Id: I28b0df69e7fb16b5d7542b1eae626bbfdd9a4c1c
Jorim Jaggi [Mon, 6 Jul 2015 22:07:32 +0000 (22:07 +0000)]
Merge "Don't prevent windows from drawing when they are just moving" into mnc-dev
Aravind Akella [Mon, 6 Jul 2015 21:56:10 +0000 (14:56 -0700)]
Remove flag mDataInjectionMode.
Change-Id: Ia7cbe8942168ac57abbb92c1a1ed51c568be94fe
Alex Klyubin [Mon, 6 Jul 2015 21:50:42 +0000 (21:50 +0000)]
Merge "Avoid IllegalStateException when generating/importing keys." into mnc-dev
David Friedman [Mon, 6 Jul 2015 21:41:05 +0000 (21:41 +0000)]
am
076d4f40: am
7bd9b634: Merge "docs: Updated M Preview API Overview and Behavior Changes for Preview 2 release." into mnc-preview-docs
* commit '
076d4f40d849d1d1e628fa6b210e690020d04956':
docs: Updated M Preview API Overview and Behavior Changes for Preview 2 release.
Casey Ho [Mon, 6 Jul 2015 21:39:21 +0000 (21:39 +0000)]
Merge "Unhide signal strength constants used by getLevel." into mnc-dev
David Friedman [Mon, 6 Jul 2015 21:27:05 +0000 (21:27 +0000)]
am
7bd9b634: Merge "docs: Updated M Preview API Overview and Behavior Changes for Preview 2 release." into mnc-preview-docs
* commit '
7bd9b634c42b500466cf416566d27da229d6ca1c':
docs: Updated M Preview API Overview and Behavior Changes for Preview 2 release.
David Friedman [Mon, 6 Jul 2015 21:15:05 +0000 (21:15 +0000)]
Merge "docs: Updated M Preview API Overview and Behavior Changes for Preview 2 release." into mnc-preview-docs
David Friedman [Mon, 6 Jul 2015 21:13:19 +0000 (21:13 +0000)]
am
77b6971b: am
c66c7622: Docs: Clarification of language and typo fix for work merged from CL 716303.
* commit '
77b6971b4699bd94c9a4b044108f264f1ddfe31f':
Docs: Clarification of language and typo fix for work merged from CL 716303.
Jorim Jaggi [Thu, 2 Jul 2015 00:16:27 +0000 (17:16 -0700)]
Don't prevent windows from drawing when they are just moving
Bug:
21292010
Change-Id: I0cf459d75e9749afa58a4b8649457b3908c8adeb
David Friedman [Mon, 6 Jul 2015 20:56:51 +0000 (20:56 +0000)]
am
c66c7622: Docs: Clarification of language and typo fix for work merged from CL 716303.
* commit '
c66c7622eadb04c1ca258725ae7125626824c324':
Docs: Clarification of language and typo fix for work merged from CL 716303.
Zhijun He [Sat, 4 Jul 2015 17:47:58 +0000 (10:47 -0700)]
ImageUtils: fix image copy issue
Source and destination images may have different alignment requirements,
therefore may have different strides. Copy row by row for such case.
Bug:
21934891
Change-Id: Id53f45f1429d233032fa608f7ab9e2774e88c13b
Chris Craik [Mon, 6 Jul 2015 20:29:54 +0000 (20:29 +0000)]
Merge "Clearer message when failing to draw a SW layer" into mnc-dev
David Friedman [Mon, 6 Jul 2015 20:09:11 +0000 (20:09 +0000)]
am
5977c487: am
07661e3b: Merge "docs: M Preview 2 - release notes" into mnc-preview-docs
* commit '
5977c4879b166eb1b5c0d6a7a361dde515e1d502':
docs: M Preview 2 - release notes
David Friedman [Mon, 6 Jul 2015 20:04:16 +0000 (13:04 -0700)]
Docs: Clarification of language and typo fix for work merged from CL 716303.
Change-Id: I04f062696926b00ccfbd45fef368061dd968efbb
Jason Monk [Mon, 6 Jul 2015 19:53:59 +0000 (15:53 -0400)]
Don't dismiss volume during animation
(sometimes this messes up the state and results in it getting
stuck on the screen)
Bug:
22169656
Change-Id: I7738be8f7f54fc72d68bf9831baed2821f362bb1
David Friedman [Mon, 6 Jul 2015 19:53:11 +0000 (19:53 +0000)]
am
07661e3b: Merge "docs: M Preview 2 - release notes" into mnc-preview-docs
* commit '
07661e3b73cee9720d79d0d09f7a60104ce4cabc':
docs: M Preview 2 - release notes
David Friedman [Mon, 6 Jul 2015 19:38:07 +0000 (19:38 +0000)]
Merge "docs: M Preview 2 - release notes" into mnc-preview-docs
Jim Miller [Mon, 6 Jul 2015 19:18:03 +0000 (19:18 +0000)]
Merge "Only allow fingerprint auth for the current user" into mnc-dev
David Friedman [Mon, 6 Jul 2015 18:43:37 +0000 (18:43 +0000)]
am
e7fb3318: am
b50a279f: Merge "Docs: Localized pages for Distribution on DAC. Bug:
20503707" into mnc-preview-docs
* commit '
e7fb33180d689bbdddae03ab0afe730e4d312f45':
Docs: Localized pages for Distribution on DAC. Bug:
20503707
Andrew Solovay [Mon, 6 Jul 2015 18:43:31 +0000 (18:43 +0000)]
am
b9e4e0d0: am
afea7a99: docs: Updating permissions preview for Preview 2.
* commit '
b9e4e0d0f13ba40e95590f42c351af9b1dba0c5b':
docs: Updating permissions preview for Preview 2.
Dianne Hackborn [Fri, 26 Jun 2015 21:57:44 +0000 (14:57 -0700)]
Final resource IDs.
Change-Id: I6200a013375f1b3e196b6426a6c925f4e9dfe4b1
Jim Miller [Tue, 16 Jun 2015 22:05:48 +0000 (15:05 -0700)]
Only allow fingerprint auth for the current user
This prevents fingerprint access from activities
for a user that isn't the current user.
Fixes bug
20223481
Change-Id: I360f90972fe63f5066f701a3efda355a7cb11338
David Friedman [Mon, 6 Jul 2015 18:29:11 +0000 (18:29 +0000)]
am
b50a279f: Merge "Docs: Localized pages for Distribution on DAC. Bug:
20503707" into mnc-preview-docs
* commit '
b50a279fb68aace181787780187c9d3485c84f50':
Docs: Localized pages for Distribution on DAC. Bug:
20503707
Andrew Solovay [Mon, 6 Jul 2015 18:29:06 +0000 (18:29 +0000)]
am
afea7a99: docs: Updating permissions preview for Preview 2.
* commit '
afea7a9982de194893cf1a789bc2625d192727c4':
docs: Updating permissions preview for Preview 2.
Alex Klyubin [Mon, 6 Jul 2015 17:31:07 +0000 (10:31 -0700)]
Avoid IllegalStateException when generating/importing keys.
This avoids IllegalStateException when generating/importing keys which
require user authentication when the system is not configured to
generate/import such keys (e.g., secure lock screen not set up).
The documentation states that before generating/importing such keys
apps should check (using public API) whether the system is in a
suitable state. However, some apps are not doing that and instead
catching the IllegalStateException thrown during key
generation/import. This is a bad practice because this exception is an
undocumented implementation detail and should thus not be depended
upon.
This CL addresses this issue as follows:
1. Key(Pair)Generator.init now throws a checked
InvalidAlgorithmParameterException when the system is in a wrong
state. Because in most uses of Key(Pair)Generator .init is
immediately followed by .generate, this prevents .generate from
encountering this state and does so using a checked exception
which is part of public API.
2. Key import rethrows the IllegalStateException as a checked
KeyStoreException which is meant to be thrown if the key cannot be
imported for any reason. Key(Pair)Generator.generate unfortunately
cannot throw any checked exceptions and thus has to continue
throwing unchecked exceptions.
Bug:
22262809
Change-Id: Ic0f7b7a90e0ba63df9139c79b80a8649d2645d2a
David Friedman [Mon, 6 Jul 2015 18:20:37 +0000 (18:20 +0000)]
Merge "Docs: Localized pages for Distribution on DAC. Bug:
20503707" into mnc-preview-docs
Andrew Solovay [Mon, 22 Jun 2015 23:27:36 +0000 (16:27 -0700)]
docs: Updating permissions preview for Preview 2.
Currently just contains doc additions/clarifications that apply to
both Preview 1 and Preview 2, and also the addition of the new
'storage' bucket and the new shouldShowRequestPermissionRationale()
method.
See first comment for doc stage location.
Change-Id: I0b97741c45e117c5de3fa1a85c9ba0d5e927fa8f
Raph Levien [Mon, 6 Jul 2015 18:08:39 +0000 (18:08 +0000)]
Merge "Fix problems with StaticLayout indentation" into mnc-dev
Adam Lesinski [Mon, 6 Jul 2015 18:00:24 +0000 (18:00 +0000)]
Merge "BatteryStats: Fix issue with method parameter order..." into mnc-dev
Jeff Sharkey [Mon, 6 Jul 2015 17:58:57 +0000 (17:58 +0000)]
Merge "Permission to view shared storage for all users." into mnc-dev
Jeff Sharkey [Mon, 6 Jul 2015 17:57:50 +0000 (17:57 +0000)]
Merge "Fix DocumentsUI animation regression." into mnc-dev
Jeff Sharkey [Mon, 6 Jul 2015 17:57:48 +0000 (17:57 +0000)]
Merge "Handle missing migration source volume." into mnc-dev
Jeff Sharkey [Mon, 6 Jul 2015 17:57:44 +0000 (17:57 +0000)]
Merge "Reconcile private volumes when mounted." into mnc-dev
Jeff Sharkey [Mon, 6 Jul 2015 16:45:55 +0000 (09:45 -0700)]
Permission to view shared storage for all users.
Typical apps are restricted so they can only view shared storage
belonging to the user they're running as. However, a handful of
system components need access to shared storage across all users,
such as DefaultContainerService and SystemUI.
Since WRITE_MEDIA_STORAGE already offers this functionality by
bypassing any FUSE emulation, reuse it to grant the "sdcard_rw" GID
which is no longer handed out to third-party apps. Then we change
the FUSE daemon to allow the "sdcard_rw" GID to see shared storage
of all users.
Bug:
19995822
Change-Id: I504c2a179ba74f142ed0d32da5baa69f4212cd82
Eino-Ville Talvala [Mon, 6 Jul 2015 17:51:42 +0000 (17:51 +0000)]
Merge "Camera2: Remove FREEFORM cropping requirement from FULL" into mnc-dev
Dianne Hackborn [Mon, 6 Jul 2015 17:50:26 +0000 (17:50 +0000)]
Merge "Maybe fix issue #
22283836 -- package manager NPE." into mnc-dev
David Friedman [Tue, 30 Jun 2015 19:02:41 +0000 (12:02 -0700)]
Docs: Localized pages for Distribution on DAC.
Bug:
20503707
Change-Id: I7e45012b34d57bad426d930399eb1afbf3f5f859
Geoff Mendal [Mon, 6 Jul 2015 17:33:57 +0000 (17:33 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Mon, 6 Jul 2015 17:29:06 +0000 (10:29 -0700)]
Import translations. DO NOT MERGE
Change-Id: I6c69d2d259e0341bb42765b0940a607599df666b
Auto-generated-cl: translation import
George Mount [Mon, 6 Jul 2015 17:25:44 +0000 (17:25 +0000)]
Merge "Fix Fade out during Activity Transition." into mnc-dev
George Mount [Tue, 30 Jun 2015 23:54:00 +0000 (16:54 -0700)]
Fix Fade out during Activity Transition.
Bug
22181705
The Fade Transition sets the transitionAlpha in onTransitionEnd.
I previously changed Visibility to only do it in onAnimationEnd,
so the onTransitionEnd overrides the Visibility's version. This
fixes that change.
Change-Id: I7df478897b6fcfec20999965e297925b65a1448b
Jason Monk [Mon, 6 Jul 2015 17:19:17 +0000 (17:19 +0000)]
Merge "Fix wifi crash" into mnc-dev
Adam Lesinski [Mon, 6 Jul 2015 17:17:24 +0000 (10:17 -0700)]
BatteryStats: Fix issue with method parameter order...
Argh, this explains some weird instances of negative power
given to Wakelock usage. Realtime and uptime were switched in the
parameter list, and since they're both longs, compiler was happy.
Bug:
22295225
Change-Id: I6759504f2690baf66af567d8b1a6d0478bc22228
Makoto Onuki [Mon, 6 Jul 2015 17:13:27 +0000 (17:13 +0000)]
Merge "If user ejects a storage from details, take user to... ... the storage list view" into mnc-dev
Barnaby James [Mon, 6 Jul 2015 17:08:13 +0000 (17:08 +0000)]
Merge "Minor doc fixes for VoiceInteractor." into mnc-dev
Jean-Michel Trivi [Tue, 30 Jun 2015 19:34:48 +0000 (12:34 -0700)]
Ringtone: add support for volume control and looping
Bug
22182606
Change-Id: Ied910b9fe02a5da9c4822a107ee884677c8b4991
Jason Monk [Mon, 6 Jul 2015 16:55:48 +0000 (12:55 -0400)]
Fix wifi crash
Handle clearing state for resume on the same worker thread as everything
else, this way there can't be concurrent modification.
Bug:
22040227
Change-Id: I9ac78a19fc126c8103f3218e657ca93911d3890d
Dianne Hackborn [Mon, 6 Jul 2015 16:52:59 +0000 (09:52 -0700)]
Maybe fix issue #
22283836 -- package manager NPE.
Change-Id: I0383b9a4f1e0b872b3b427e6ad42fd8aa309b7ab
Amith Yamasani [Mon, 6 Jul 2015 16:24:08 +0000 (09:24 -0700)]
Fix a typo causing NPE in restricted profiles
Bug:
22287398
Change-Id: Iec19d890c7b0b7ffed3381dc3f5a9b3e761362a7
Raph Levien [Mon, 6 Jul 2015 16:07:35 +0000 (16:07 +0000)]
Merge "Clean up Hyphenator file reading" into mnc-dev
Raph Levien [Mon, 6 Jul 2015 16:01:36 +0000 (09:01 -0700)]
Clean up Hyphenator file reading
The old code made invalid assumptions about read() behavior and
failed to clean up properly in case of error. This patch changes the
file reading to use IoUtils.readFileAsString, which handles that.
Bug:
21020457
Change-Id: If9b54955c20a20a4ed5e8381d0c7e9c920d0639a
Svet Ganov [Mon, 6 Jul 2015 15:51:57 +0000 (15:51 +0000)]
Merge "Show basic feature warning for default granted permissions" into mnc-dev
Svet Ganov [Mon, 6 Jul 2015 15:48:44 +0000 (15:48 +0000)]
Merge "Improve request permission docs" into mnc-dev
George Mount [Mon, 6 Jul 2015 14:39:39 +0000 (14:39 +0000)]
Merge "Fix docs for ViewAnimationUtils.createCircularReveal" into mnc-dev
Geoff Mendal [Mon, 6 Jul 2015 13:58:49 +0000 (13:58 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Mon, 6 Jul 2015 13:56:00 +0000 (08:56 -0500)]
Import translations. DO NOT MERGE
Change-Id: I16a0ddf1bed80ef9b985cca96eec87e48d342982
Auto-generated-cl: translation import
Geoff Mendal [Mon, 6 Jul 2015 13:51:48 +0000 (13:51 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Mon, 6 Jul 2015 13:50:33 +0000 (08:50 -0500)]
Import translations. DO NOT MERGE
Change-Id: Ia90a9400d718b5ef61f55ed4d6c5eb9fe48d9667
Auto-generated-cl: translation import
Geoff Mendal [Mon, 6 Jul 2015 13:48:34 +0000 (13:48 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Mon, 6 Jul 2015 13:47:43 +0000 (08:47 -0500)]
Import translations. DO NOT MERGE
Change-Id: I1b900ec1f54720fab0915cede28dd79fbcb70d5c
Auto-generated-cl: translation import
Geoff Mendal [Mon, 6 Jul 2015 13:43:33 +0000 (08:43 -0500)]
Import translations. DO NOT MERGE
Change-Id: Icd52bfb7b30de7dbc2c7c7e7f073a4fddb5fa5e3
Auto-generated-cl: translation import
Lorenzo Colitti [Mon, 6 Jul 2015 03:29:43 +0000 (12:29 +0900)]
Fix two parsing bugs in new DHCP client.
1. We don't parse PAD options properly, leading in failure to
parse packets sent by DHCP servers that put the end of options
marker after pad options and at an odd offset.
2. We get the DhcpResults vendorInfo from the wrong option type
(60 instead of 43).
Fix these and add unit tests for the offer packets sent by a few
different DHCP servers.
Bug:
21955617
Bug:
22281295
Change-Id: I5d13f1a6a3ff0b53112f18f3db8792fa32ad2da3
Jeff Sharkey [Sun, 5 Jul 2015 21:44:48 +0000 (14:44 -0700)]
Fix DocumentsUI animation regression.
Various fragments need backgrounds to protect their contents during
animation transitions.
Bug:
22232368
Change-Id: I4ce4c57650f9b64b3c6101d829dd484417585410
Jeff Sharkey [Sun, 5 Jul 2015 21:17:27 +0000 (14:17 -0700)]
Handle missing migration source volume.
Users can try migrating primary storage while the current location
is missing/unmounted. Fail gracefully instead of runtime restarting.
Bug:
21927076
Change-Id: I40645f8ccea05154e7cbacd188f6cba5f4dbbdc4
Ian Pedowitz [Sun, 5 Jul 2015 01:13:43 +0000 (01:13 +0000)]
Merge "Fixing log typo. s/realted/related" into mnc-dev
Ian Pedowitz [Sun, 5 Jul 2015 01:07:33 +0000 (18:07 -0700)]
Fixing log typo. s/realted/related
Bug:
22273408
Change-Id: I756f56ee80d5840bd734249826eb658cbf472921
Jeff Sharkey [Sat, 4 Jul 2015 01:08:41 +0000 (18:08 -0700)]
Reconcile private volumes when mounted.
Many things can happen while a private volume is ejected, so we need
to reconcile newly mounted volumes against known state.
First, user IDs can be recycled, so we store the serial number in the
extended attributes of the /data/user/[id] directory inode. Since a
serial number is always unique, we can quickly determine if a user
directory "10" really belongs to the current user "10". When we
detect a mismatched serial number, we destroy all data belonging to
that user. Gracefully handles upgrade case and assumes current serial
number is valid when none is defined.
Second, we destroy apps that we find no record of, either due to
uninstallation while the volume was unmounted, or reinstallation on
another volume.
When mounting a volume, ensure that data directories exist for all
current users. Similarly, create data directories on all mounted
volumes when creating a user. When forgetting a volume, gracefully
uninstall any apps that had been installed on that volume.
Bug:
20674082,
20275572
Change-Id: I4e3448837f7c03daf00d71681ebdc96e3d8b9cc9
Svet Ganov [Fri, 3 Jul 2015 23:22:26 +0000 (16:22 -0700)]
Fix app ops aidl as it is also used from native.
bug:
22248271
Change-Id: Ic3f31d1ee4d27c1483c9d19929c19946d4c815c6
Svet Ganov [Fri, 3 Jul 2015 23:03:53 +0000 (16:03 -0700)]
Improve request permission docs
bug:
22252258
Change-Id: Ife19eb6b1e17b43a824379d2a039ff1c441bebdd
Svet Ganov [Fri, 3 Jul 2015 19:03:02 +0000 (12:03 -0700)]
Show basic feature warning for default granted permissions
bug:
22174223
Change-Id: Ie8209e1f678ac459893151b5125e86eb5025aad8
Robin Lee [Fri, 3 Jul 2015 16:48:11 +0000 (16:48 +0000)]
Merge "KeyChain: annotate with @WorkerThread" into mnc-dev
Zoltan Szatmary-Ban [Fri, 3 Jul 2015 13:04:09 +0000 (14:04 +0100)]
Update javadoc on DPM.setGlobalSetting
Bug:
19967818
Change-Id: Id91c137f7b5200be8e8b581126a518f3b6be147e
Nicolas Prevot [Thu, 2 Jul 2015 13:03:06 +0000 (14:03 +0100)]
Notify the profile when cloned settings are changed.
In SettingsProvider, for settings that are cloned from the parent
to the profile:
When the parent value is changed, notify ContentObservers in the
profile as well.
BUG:
21414456
Change-Id: Ie0560d1332174499d067db9978553843b640a161