OSDN Git Service
Jean-Michel Trivi [Wed, 10 Feb 2016 22:26:35 +0000 (14:26 -0800)]
Dynamic audio policies: JNI support for UID rules
Rename AttributeMatchCriterion to AudioMixMatchCriterion to be consistent
with the fact that now mixing rules are not always about audio attributes.
AudioSystem JNI: add support for UID-based rules.
Bug
26798796
Change-Id: Icb0f57841c94f410e1fac9ed071a829a26b9a58e
Makoto Onuki [Wed, 10 Feb 2016 21:59:14 +0000 (21:59 +0000)]
Merge "Use Slog.e() instead of Slog.wtf() for unknown restrictions" into nyc-dev
Jason Monk [Wed, 10 Feb 2016 21:56:17 +0000 (21:56 +0000)]
Merge changes I8a56254b,I618e363c into nyc-dev
* changes:
Fix QS input handling
Extract QS animations to QSContainer
Jason Monk [Wed, 10 Feb 2016 20:39:21 +0000 (15:39 -0500)]
Fix QS input handling
Remove the observable scroll view and put the qs container in its
place. Also update the NotificationStackScrollerLayout to be aware
of the container and not eat up its touches as scroll events.
Change-Id: I8a56254bf8e76a7cdd63bd637a974c1f3aa49482
Wale Ogunwale [Wed, 10 Feb 2016 21:48:41 +0000 (21:48 +0000)]
Merge "Don't stop paused activities that are visible." into nyc-dev
Jason Monk [Wed, 10 Feb 2016 21:47:55 +0000 (21:47 +0000)]
Merge "Move editing from long press to edit button" into nyc-dev
Wale Ogunwale [Wed, 10 Feb 2016 04:40:18 +0000 (20:40 -0800)]
Don't stop paused activities that are visible.
Paused activities can be visible, but stopped activities are not
visible.
Change-Id: I305f77542d198ca897b33ad07ac3fc2a14a04397
Jason Monk [Wed, 10 Feb 2016 21:42:38 +0000 (16:42 -0500)]
Move editing from long press to edit button
Change-Id: I2bd0e2febbde4babe05545c79d585280a7b2fb14
Makoto Onuki [Wed, 10 Feb 2016 21:41:15 +0000 (13:41 -0800)]
Use Slog.e() instead of Slog.wtf() for unknown restrictions
Slog.wtf() normally indicates a bug in the system, but in this case
it's a caller side issue, so e() is more suitable.
Bug
26918715
Change-Id: I94980cb9dafd34e6c5672bf833fec921df14e6a1
Julia Reynolds [Wed, 10 Feb 2016 21:34:54 +0000 (21:34 +0000)]
Merge "Don't unbind services unnecessarily." into nyc-dev
Abhijith Shastry [Wed, 10 Feb 2016 21:22:52 +0000 (21:22 +0000)]
Merge "Add hidden APIs for number blocking which will be used by the system." into nyc-dev
Youngsang Cho [Sat, 6 Feb 2016 00:15:23 +0000 (16:15 -0800)]
TIF: Add INPUT_ID field in RecordedProgram
INPUT_ID can be retrieved from CHANNEL_ID. But, even if the channel
is removed, recording should be playable. So INPUT_ID is needed.
Change-Id: I7042a19758ce71e77ca2ae7613015e4d22f0d41f
Julia Reynolds [Wed, 10 Feb 2016 20:38:15 +0000 (15:38 -0500)]
Don't unbind services unnecessarily.
When rebinding services, don't unbind from services that are still allowed to
be bound.
Change-Id: I5f250724d2d0931ee0ac7d1182e9c1d8122bfdf0
Jason Monk [Tue, 9 Feb 2016 15:51:40 +0000 (10:51 -0500)]
Extract QS animations to QSContainer
Move some of the logic for QS animations into QSContainer with a
stable interface for NotificationPanelView to call.
This also moves the QSPanel out of the scroll container and up
to live in with the header (QSContainer is the parent of both
the header and the QSPanel now).
Change-Id: I618e363ccca2be9197a4a75256e0b7841ca2c61c
Abhijith Shastry [Wed, 10 Feb 2016 19:15:08 +0000 (11:15 -0800)]
Add hidden APIs for number blocking which will be used by the system.
These APIs will ensure that blocking is suppressed after the user contacts emergency services.
BUG:
26989170
Change-Id: Ib78c9faa31a6d4bfb62b690f97d5ca8084d69927
Ritesh Reddy [Wed, 10 Feb 2016 19:46:20 +0000 (19:46 +0000)]
Merge "Enabled Network Policy Backup/Restore." into mm-wireless-dev
am:
d9c4bc0c4d
* commit '
d9c4bc0c4db7a8b16d8ea0f58ed0615efc167f47':
Enabled Network Policy Backup/Restore.
Sergey Poromov [Wed, 10 Feb 2016 19:40:53 +0000 (19:40 +0000)]
Merge "Update bmgr tool." into nyc-dev
Sergey Poromov [Wed, 10 Feb 2016 19:40:47 +0000 (19:40 +0000)]
Merge "Fix that backupFinished() callback is not called sometimes." into nyc-dev
Ritesh Reddy [Wed, 10 Feb 2016 19:37:17 +0000 (19:37 +0000)]
Merge "Enabled Network Policy Backup/Restore." into mm-wireless-dev
Jae Seo [Wed, 10 Feb 2016 07:46:58 +0000 (23:46 -0800)]
TIF: Clean the hardware input list when the input service is reconnected
Needed to avoid adding duplicate TvInputInfo objects when the hardware
TV input service is killed and reconnected.
Bug:
26503803
Change-Id: I9265219678cb8594d43dac561f1e69c21d9c2733
(cherry picked from commit
6657e292a57e600669b3102d27f69497c45f899d)
Shreyas Basarge [Mon, 8 Feb 2016 23:52:27 +0000 (23:52 +0000)]
SyncManager sync blow up fix
Duplicates for periodic syncs would be
created just after boot and when a
periodic sync was delayed. This CL fixes
the behavior.
Bug:
26954967
Change-Id: I2440961629d443a62f96360563d435af9137857b
(cherry picked from commit
1675400a7cd0b56e5adc5606fb4fea77f8d24ea5)
Andy Hung [Wed, 10 Feb 2016 18:56:15 +0000 (18:56 +0000)]
Merge "Add AudioRecord timestamps" into nyc-dev
Adrian Roos [Thu, 4 Feb 2016 22:55:57 +0000 (14:55 -0800)]
Make actions extend over the whole action rail
Bug:
26767249
Change-Id: I3c67f1de40b218aa21f0a1f68bda1032c0804a14
Daniel U [Wed, 10 Feb 2016 18:36:11 +0000 (18:36 +0000)]
Merge "Allow different paragraph breaks in fromHtml()" into nyc-dev
Daniel U [Thu, 21 Jan 2016 13:52:07 +0000 (13:52 +0000)]
Allow different paragraph breaks in fromHtml()
- Separate block-level elements with different numbers of newline
characters according to the user specified option flag.
- Parse the ALIGN attribute and the CSS TEXT-ALIGN property to handle text
alignment.
- Rename "header" to the correct term "heading"
Change-Id: I446fa97155e761623a1da6632a0d872a5e47e8af
Jae Seo [Wed, 10 Feb 2016 18:27:05 +0000 (18:27 +0000)]
Merge "TIF: Rename connect()/disconnect() and remove unnecessary methods" into nyc-dev
Jorim Jaggi [Wed, 10 Feb 2016 05:51:30 +0000 (21:51 -0800)]
Reset docked stack resizing when divider dies
Bug:
27062375
Change-Id: I699f8d99ceab8405bcb973942787ee80caea12b2
Aga Wronska [Wed, 10 Feb 2016 18:19:50 +0000 (18:19 +0000)]
Merge "Improve document rename experience - Initially select the name of the file without extension - Trigger renaming action when software keyboard Done button pressed - Trigger creating new directory when software kayboard Done button pressed" into nyc-dev
Adrian Roos [Tue, 9 Feb 2016 18:13:41 +0000 (10:13 -0800)]
Isolate Keyguard from main thread badness
Adds a bindService variant to run the ServiceConnection callbacks
on a dedicated Handler.
Changes KeyguardService binding to use the foreground thread
instead of the main thread and changes state to the
KeyguardScrim on the UI thread.
Bug:
26954967
Change-Id: I9d7bd85382816cd0e23772b14ff6518266a9d232
Ritesh Reddy [Wed, 10 Feb 2016 18:04:38 +0000 (18:04 +0000)]
Merge "Enabling SoftAP Configuration Backup." into mm-wireless-dev
am:
c4a1188afd
* commit '
c4a1188afd81b4b773e30ec184839bc1a82b355d':
Enabling SoftAP Configuration Backup.
Felipe Leme [Wed, 10 Feb 2016 18:02:20 +0000 (18:02 +0000)]
Merge "Whitelisted ACTION_OPEN_EXTERNAL_DIRECTORY to use file:// URIs." into nyc-dev
Ritesh Reddy [Wed, 10 Feb 2016 17:48:31 +0000 (17:48 +0000)]
Merge "Enabling SoftAP Configuration Backup." into mm-wireless-dev
Felipe Leme [Wed, 10 Feb 2016 17:23:57 +0000 (09:23 -0800)]
Whitelisted ACTION_OPEN_EXTERNAL_DIRECTORY to use file:// URIs.
BUG:
27109099
BUG:
26742218
Change-Id: I4848b30e6efbda72ff04a6786bac32f34d528f84
Daichi Hirono [Sun, 7 Feb 2016 06:17:16 +0000 (15:17 +0900)]
Keep metadata of documents as disconnected status after the device is
disconnected.
To restore Document IDs when the device is reconnected, we need to keep
the metadata in database so that we can use it as hint to remap document
ID with new MTP IDs.
BUG=
26212981
Change-Id: Idcc93c41c09d082a709281022c56188dabc80515
(cherry picked from commit
53f5af3f2ba1328d301a0f8a4ae3f574ccc5da65)
Esteban Talavera [Wed, 10 Feb 2016 16:43:49 +0000 (16:43 +0000)]
Merge "Check for null on app restrictions managing app APIs" into nyc-dev
Rubin Xu [Wed, 10 Feb 2016 16:29:34 +0000 (16:29 +0000)]
Merge "Require delegated cert installer and app restriction manager to exist" into nyc-dev
Rubin Xu [Wed, 10 Feb 2016 14:54:15 +0000 (14:54 +0000)]
Require delegated cert installer and app restriction manager to exist
Enforce that apps with delegated powers to exist on device before
empowering them. This is consistent with DevicePolicyManagerService's
internal logic to clear the delegation power once the package is removed.
For delegated cert installer, only enforce this new restriction on
device admins targeting N or later.
Bug:
26233778
Change-Id: Ia8f45dfd5290958cebb36991c4b6baa03e8c28ae
Esteban Talavera [Wed, 10 Feb 2016 16:24:28 +0000 (16:24 +0000)]
Check for null on app restrictions managing app APIs
Change-Id: I3d3cc9b4a4bd6a2526fd0bd7d8662c6b07183208
Jason Monk [Wed, 10 Feb 2016 16:16:37 +0000 (16:16 +0000)]
Merge "Revert "Extract QS animations to QSContainer"" into nyc-dev
Jason Monk [Wed, 10 Feb 2016 16:16:15 +0000 (16:16 +0000)]
Revert "Extract QS animations to QSContainer"
This reverts commit
04dd9d008a314709d4ab80216e2db6a7bb3a2a38.
Change-Id: I76f059fe54ad4417c45e008de5291da0f24099e1
Andy Hung [Fri, 29 Jan 2016 01:47:56 +0000 (17:47 -0800)]
Add AudioRecord timestamps
Bug:
13569372
Bug:
22886739
Change-Id: Icdd0e6f3871a43a26faa39e5535740f72a58dcae
Erik Kline [Wed, 10 Feb 2016 15:58:17 +0000 (15:58 +0000)]
Expose measurement results to interested callers.
am:
106cdf6c94
* commit '
106cdf6c94c455462316555b7ac59ec79c3b40fa':
Expose measurement results to interested callers.
Geoff Mendal [Wed, 10 Feb 2016 15:42:20 +0000 (15:42 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Wed, 10 Feb 2016 15:42:05 +0000 (15:42 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Wed, 10 Feb 2016 15:41:39 +0000 (15:41 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Wed, 10 Feb 2016 15:41:11 +0000 (15:41 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Wed, 10 Feb 2016 15:40:50 +0000 (15:40 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Wed, 10 Feb 2016 15:39:33 +0000 (10:39 -0500)]
Import translations. DO NOT MERGE
Change-Id: I8e98fc3cdb339c3374a7e4acd6f5d3973963687c
Auto-generated-cl: translation import
Geoff Mendal [Wed, 10 Feb 2016 15:38:51 +0000 (07:38 -0800)]
Import translations. DO NOT MERGE
Change-Id: Idc440b1951f4d3d0489adf7c59380b2d11ac7591
Auto-generated-cl: translation import
Jeremy Joslin [Wed, 10 Feb 2016 15:38:19 +0000 (15:38 +0000)]
Merge "Update test to stub the correct method." into nyc-dev
Geoff Mendal [Wed, 10 Feb 2016 15:36:12 +0000 (07:36 -0800)]
Import translations. DO NOT MERGE
Change-Id: Id4deeb209ea9830e53273b68152c0f7630a26389
Auto-generated-cl: translation import
Jeremy Joslin [Wed, 10 Feb 2016 15:34:46 +0000 (07:34 -0800)]
Update test to stub the correct method.
NetworkScorerAppManager was recently updated to use
queryBroadcastReceiversAsUser() in place of
queryBroadcastReceivers() but its unit test wasn't changed accordingly.
Change-Id: Ib41195fe8b9cf8c8da9a9090a4f26e1cde3db4f0
Erik Kline [Wed, 3 Feb 2016 05:12:23 +0000 (14:12 +0900)]
Expose measurement results to interested callers.
With this it's possible for callers to:
Network network = ...
LinkProperties lp = ...
NetworkDiagnostics netdiag = new NetworkDiagnostics(network, lp, 5000);
netdiag.startMeasurements();
netdiag.waitForMeasurements();
boolean result = true;
for (Measurement m : netdiag.getMeasurements()) {
if (!m.checkSucceeded()) {
result = false;
// Additional error handling here.
}
}
return result;
Bug:
21832299
Bug:
26780890
Change-Id: Iaf7ff029e2c6a998b574c23d0dcde8d57a467a22
Geoff Mendal [Wed, 10 Feb 2016 15:23:03 +0000 (07:23 -0800)]
Import translations. DO NOT MERGE
Change-Id: Iba4fcac2427bf5213b78626aefdbabf17131e652
Auto-generated-cl: translation import
Geoff Mendal [Wed, 10 Feb 2016 15:19:37 +0000 (07:19 -0800)]
Import translations. DO NOT MERGE
Change-Id: I24d659d05ccb735b984b23fc40fe4d69c768f5c0
Auto-generated-cl: translation import
Ben Kwa [Sat, 6 Feb 2016 00:05:14 +0000 (16:05 -0800)]
Update the subdir icon to svg.
BUG=
21705832
Change-Id: I400b5402c0efd34d79be3e8b05b2154dd8c48735
(cherry picked from commit
032c283ef32f72d038b8a989366b184d68ccfd0e)
Ben Kwa [Tue, 9 Feb 2016 19:27:45 +0000 (11:27 -0800)]
Move focus-related code out of DirectoryFragment.
BUG=
25195767
Change-Id: Ibf2247a81e8903924037b5f01305593219a8c068
Jason Monk [Wed, 10 Feb 2016 15:06:06 +0000 (15:06 +0000)]
Merge "Extract QS animations to QSContainer" into nyc-dev
Jason Monk [Tue, 9 Feb 2016 15:51:40 +0000 (10:51 -0500)]
Extract QS animations to QSContainer
Move some of the logic for QS animations into QSContainer with a
stable interface for NotificationPanelView to call.
This also moves the QSPanel out of the scroll container and up
to live in with the header (QSContainer is the parent of both
the header and the QSPanel now).
Change-Id: I197b93bab05c336a8a8debea781e7ad3053b0b1d
Geoff Mendal [Wed, 10 Feb 2016 14:11:40 +0000 (14:11 +0000)]
Import translations. DO NOT MERGE
am:
b46d66d5d8 -s ours
* commit '
b46d66d5d86b1be95ff6f315feca5406183a4a85':
Import translations. DO NOT MERGE
Julia Reynolds [Wed, 10 Feb 2016 14:10:23 +0000 (14:10 +0000)]
Merge "Allow apps to know what users think of their notifications." into nyc-dev
Geoff Mendal [Wed, 10 Feb 2016 14:01:06 +0000 (09:01 -0500)]
Import translations. DO NOT MERGE
Change-Id: I25a7f71ae61c1e6dc0539fc88b2cdbadb6f99eed
Auto-generated-cl: translation import
Jorim Jaggi [Wed, 10 Feb 2016 06:08:34 +0000 (06:08 +0000)]
Merge "Do not invalidate drawable if tint doesn't change" into nyc-dev
Jorim Jaggi [Wed, 10 Feb 2016 05:36:41 +0000 (21:36 -0800)]
Do not invalidate drawable if tint doesn't change
Change-Id: I99d7a679ba3aa4978f2915f1a52f23dbce7fd971
Svetoslav Ganov [Wed, 10 Feb 2016 04:46:07 +0000 (04:46 +0000)]
Merge "Fix build" into nyc-dev
Svet Ganov [Wed, 10 Feb 2016 04:45:13 +0000 (20:45 -0800)]
Fix build
Change-Id: I7c0601f873e37c7ebf71068ba81366704672bd70
Jae Seo [Tue, 9 Feb 2016 07:18:49 +0000 (23:18 -0800)]
TIF: Rename connect()/disconnect() and remove unnecessary methods
Bug:
26969670
Change-Id: Iee7d1af2eecc11bb28a8d9d7e377b4754a37095c
Steve McKay [Wed, 10 Feb 2016 03:05:47 +0000 (03:05 +0000)]
Merge "Don't die if dirKey hasn't been set in Selection." into nyc-dev
Steve McKay [Wed, 10 Feb 2016 03:04:24 +0000 (19:04 -0800)]
Don't die if dirKey hasn't been set in Selection.
Some times the raw selection in State can be saved....raw.
Change-Id: Ibf4efab31fffc99baa25ba415f8b53c110aa81f3
Svetoslav Ganov [Wed, 10 Feb 2016 03:00:09 +0000 (03:00 +0000)]
Merge "Add an API to query the package name of the services shared lib" into nyc-dev
Steve McKay [Tue, 9 Feb 2016 03:09:42 +0000 (19:09 -0800)]
Preserve selection across device rotation.
Also, update Selection model to use a discrete provisional selection,
rather than a superset "total" selection
Bug:
27075323
Change-Id: I855e6b66010b3cdd599cc0a9f0046a7efadca5fe
Svet Ganov [Wed, 10 Feb 2016 02:49:23 +0000 (18:49 -0800)]
Add an API to query the package name of the services shared lib
The servcies shared lib contains components apps can invoke such
as services to bind to, activities to start, UI choosers, etc.
This lib is built from AOSP code but an OEM may chage its
package name. For example, Google renames the package names for
GMS apps from android.foo.bar to com.google.android.foo.bar.
While we have more than one shared lib that are a part of the
platform (currently shared and services libs) the serivces lib
is the only one clients need to start components in, thus need
to know its package name. This change adds an API to query the
package name of the services shared lib. The API is hidden as
currently the only clients are a part of the system.
Change-Id: Ied48fa4819024522791764b22b3336d4f4b42cc3
Steve McKay [Wed, 10 Feb 2016 02:28:12 +0000 (02:28 +0000)]
Merge "Automatically open roots pane if default dir is empty." into nyc-dev
Daichi Hirono [Sun, 7 Feb 2016 05:23:43 +0000 (14:23 +0900)]
Check parent existance when adding/removing documents.
BUG=
26212981
Change-Id: I8109e2324c027ec2182c6f521d57f3fe078a8660
(cherry picked from commit
df803ec6ebd47ddc7f97ea8ef13aa359ecc7fb95)
Tomasz Mikolajewski [Mon, 8 Feb 2016 06:36:04 +0000 (15:36 +0900)]
Fix flakiness of testFilesList_LiveUpdate.
Change-Id: I87618d5640e2e17de3188554d561abc5f3a3152a
(cherry picked from commit
1008c2d4878abde1890560ef48eec229a4253445)
Steve McKay [Wed, 10 Feb 2016 02:00:37 +0000 (02:00 +0000)]
Merge "Don't apply fancy back logic when drawer is not present." into nyc-dev
Andre Eisenbach [Wed, 10 Feb 2016 01:28:58 +0000 (17:28 -0800)]
Add Developer menu entry to disable Bluetooth absolute volume
NOTE: Original CL updated: Developer-related settings in
res/values/strings.xml are now in SettingsLib .
Bug:
27078729
Change-Id: I499c420b1eb8cafd674cd69f29ed64f6126307f0
Chulwoo Lee [Wed, 10 Feb 2016 01:42:32 +0000 (17:42 -0800)]
Fix build
Change-Id: I9498ecda9b05c7166faf9f648f0b61682a88c4da
Chulwoo Lee [Wed, 10 Feb 2016 01:33:54 +0000 (01:33 +0000)]
Merge "Encode/Decode genres using CSV" into nyc-dev
Chulwoo Lee [Tue, 9 Feb 2016 00:47:50 +0000 (16:47 -0800)]
Encode/Decode genres using CSV
Currently, the delimiter of genres is comma, but it is also used in the
broadcast genre, so we decided to encode the genre to CSV format.
Let's support only a simple CSV not a complex cases like fully double
quoted string to simplify the encode/decode method and encourage the
TIS to use these methods for broadcast genres.
Bug:
25241891
Change-Id: Id745d4fee43dbcdc508c0f6fad83477b6209ecd8
Roozbeh Pournader [Wed, 10 Feb 2016 01:02:49 +0000 (01:02 +0000)]
Merge "Language list heading: add padding and make it bold [DO NOT MERGE]" into nyc-dev
Mihai Nita [Fri, 5 Feb 2016 19:33:37 +0000 (11:33 -0800)]
Language list heading: add padding and make it bold [DO NOT MERGE]
This makes it consistent with heading labels used in other areas
of the Settings app.
Bug:
26758145
Change-Id: I9b66e97b5a0a8b0646e4b345b25b6d93178fc8e6
(cherry picked from commit
5d1e9977350b85828f3ba533f3bf9d17917a9977)
Jorim Jaggi [Tue, 9 Feb 2016 03:17:07 +0000 (19:17 -0800)]
Fix Keyboard overlap with navigation bar
FLAG_FULLSCREEN is really the wrong flag for determining whether
to subtract the window insets in the decore view and layout
it with a reduced size - FLAG_LAYOUT_IN_SCREEN suits these needs
much better.
Bug:
26014496
Bug:
26984057
Change-Id: I5c7a0fb7468d3981b91b23aa4c8b1e4841202131
Chris Craik [Wed, 10 Feb 2016 00:32:32 +0000 (16:32 -0800)]
Fix build
Change-Id: I24d82c44db9d9e04098a0d7cb9289d6b9fc19e41
Steve McKay [Wed, 10 Feb 2016 00:17:24 +0000 (16:17 -0800)]
Automatically open roots pane if default dir is empty.
Move drawer fiddling out of DirectoryFragment into respective
FragmentTuner instance.
Bug:
27084308
Change-Id: Ia13fc2be1442e1a7164c2d67ea6ce4bcfda68bcc
Wale Ogunwale [Wed, 10 Feb 2016 00:19:41 +0000 (00:19 +0000)]
Merge "Further improvement to determining visiblility of tasks in home stack." into nyc-dev
Wale Ogunwale [Wed, 10 Feb 2016 00:11:10 +0000 (00:11 +0000)]
Merge "Reduce jank during pinned stack animation" into nyc-dev
Sergey Poromov [Mon, 8 Feb 2016 20:55:42 +0000 (21:55 +0100)]
Update bmgr tool.
Add support to QUOTA_EXCEEDED error output.
Command "backupnow --all" without parameters now starts backup of all eligible packages.
Change-Id: I563be35d575346d3dfb45a6dd254b387053c7ab7
(cherry picked from commit
d5d68528bc7a7c1edb4691b5a40e37955128e73b)
Sergey Poromov [Tue, 9 Feb 2016 15:24:46 +0000 (16:24 +0100)]
Fix that backupFinished() callback is not called sometimes.
Before this in case of TRANSPORT_ERROR backup pass was aborted before backupFinished() call.
Now this happens in 'finally' block so that there is no way to avoid it.
Also, now backup pass doesn't break in case of QUOTA_EXCEEDED result for single package.
And some refactoring around 'currentPackage' variable.
Bug:
27094847
Change-Id: I18df3f500b427381f32bd11ed1aa87ab9577bc91
(cherry picked from commit
2ea71ad6254c4094d0d34a39d9988c9d75b038ed)
Aga Wronska [Tue, 9 Feb 2016 23:58:42 +0000 (23:58 +0000)]
Merge "Go to root from child directory when root tapped. Bug:
27060001" into nyc-dev
Ben Kwa [Tue, 9 Feb 2016 23:37:32 +0000 (23:37 +0000)]
Merge "Implement PgUp/PgDn support. (cherry-pick DO NOT MERGE)" into nyc-dev
Tony Mantler [Tue, 9 Feb 2016 23:30:20 +0000 (23:30 +0000)]
Merge "Handle null list from getPackagesForOps" into nyc-dev
Tony Mantler [Tue, 9 Feb 2016 22:12:43 +0000 (14:12 -0800)]
Handle null list from getPackagesForOps
b/
27101914
Change-Id: I468da1a0f38f78e1cd7fec50e3bc78cec6fd2771
Chris Craik [Tue, 9 Feb 2016 23:04:53 +0000 (23:04 +0000)]
Merge "Calculate clip bounds correctly when serializing" into nyc-dev
Jeff Sharkey [Tue, 9 Feb 2016 23:00:54 +0000 (23:00 +0000)]
Merge "More encryption-aware triaging." into nyc-dev
Shawn Willden [Tue, 9 Feb 2016 22:57:23 +0000 (22:57 +0000)]
Merge "Add attestation API to Android KeyStore." into nyc-dev
Jeff Sharkey [Tue, 9 Feb 2016 22:56:11 +0000 (15:56 -0700)]
More encryption-aware triaging.
Most of these callers are okay having results omitted when a package
is uninstalled or encryption unaware. For example, jobs and
notifications can only be enqueued by already running apps.
When clearing zen rules, keep around rules inserted by apps on
ejected external storage devices.
Make ServiceWatcher stricter by requiring that the matching package
be in the system image.
Bug:
26471205,
27105254
Change-Id: Ie41ea8042ac1a54e9cbe0c35cec89e70521e9bed
Steve McKay [Tue, 9 Feb 2016 20:40:07 +0000 (12:40 -0800)]
Don't apply fancy back logic when drawer is not present.
Add test coverage. Booya!
Bug:
27078649
Change-Id: Id2ce53009ee212b3af8d143091859d30e2bc76b1
Jeff Sharkey [Tue, 9 Feb 2016 21:59:03 +0000 (21:59 +0000)]
Merge "Make ServiceWatcher encryption-aware." into nyc-dev
Yohei Yukawa [Tue, 9 Feb 2016 21:48:33 +0000 (21:48 +0000)]
Merge "Make InputMethodInfo#isEncryptionAware() strict." into nyc-dev