232554 Commits

Author SHA1 Message Date
Ben Kwa
fabd228168 Update the subdir icon to svg.
BUG=21705832

Change-Id: I400b5402c0efd34d79be3e8b05b2154dd8c48735
(cherry picked from commit 032c283ef32f72d038b8a989366b184d68ccfd0e)
2016-02-10 15:14:27 +00:00
Ben Kwa
b0bfe2df6f Move focus-related code out of DirectoryFragment.
BUG=25195767

Change-Id: Ibf2247a81e8903924037b5f01305593219a8c068
2016-02-10 07:07:09 -08:00
Jason Monk
f517cbe9a6 Merge "Extract QS animations to QSContainer" into nyc-dev 2016-02-10 15:06:07 +00:00
Jason Monk
04dd9d008a 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
2016-02-10 10:04:34 -05:00
Geoff Mendal
9eac0ce5e9 Import translations. DO NOT MERGE
am: b46d66d5d8  -s ours

* commit 'b46d66d5d86b1be95ff6f315feca5406183a4a85':
  Import translations. DO NOT MERGE
2016-02-10 14:11:40 +00:00
Julia Reynolds
146d931ece Merge "Allow apps to know what users think of their notifications." into nyc-dev 2016-02-10 14:10:24 +00:00
Geoff Mendal
b46d66d5d8 Import translations. DO NOT MERGE
Change-Id: I25a7f71ae61c1e6dc0539fc88b2cdbadb6f99eed
Auto-generated-cl: translation import
2016-02-10 09:01:06 -05:00
Jorim Jaggi
ff25528a9b Merge "Do not invalidate drawable if tint doesn't change" into nyc-dev 2016-02-10 06:08:35 +00:00
Jorim Jaggi
7cd1f0d39a Do not invalidate drawable if tint doesn't change
Change-Id: I99d7a679ba3aa4978f2915f1a52f23dbce7fd971
2016-02-09 22:07:32 -08:00
Svetoslav Ganov
3552418fcf Merge "Fix build" into nyc-dev 2016-02-10 04:46:07 +00:00
Svet Ganov
8c6d8a7ef9 Fix build
Change-Id: I7c0601f873e37c7ebf71068ba81366704672bd70
2016-02-09 20:45:13 -08:00
Jae Seo
e3c11e8429 TIF: Rename connect()/disconnect() and remove unnecessary methods
Bug: 26969670
Change-Id: Iee7d1af2eecc11bb28a8d9d7e377b4754a37095c
2016-02-09 19:18:29 -08:00
Steve McKay
41cafa1a20 Merge "Don't die if dirKey hasn't been set in Selection." into nyc-dev 2016-02-10 03:05:47 +00:00
Steve McKay
7ed21c2f00 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
2016-02-09 19:05:05 -08:00
Svetoslav Ganov
e0feadcaac Merge "Add an API to query the package name of the services shared lib" into nyc-dev 2016-02-10 03:00:09 +00:00
Steve McKay
e852d93e1d 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
2016-02-09 18:52:45 -08:00
Svet Ganov
d7b1f41109 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
2016-02-09 18:49:27 -08:00
Steve McKay
30ff5dd2c8 Merge "Automatically open roots pane if default dir is empty." into nyc-dev 2016-02-10 02:28:13 +00:00
Daichi Hirono
619afdaae1 Check parent existance when adding/removing documents.
BUG=26212981
Change-Id: I8109e2324c027ec2182c6f521d57f3fe078a8660
(cherry picked from commit df803ec6ebd47ddc7f97ea8ef13aa359ecc7fb95)
2016-02-10 02:17:28 +00:00
Tomasz Mikolajewski
65d9a51afa Fix flakiness of testFilesList_LiveUpdate.
Change-Id: I87618d5640e2e17de3188554d561abc5f3a3152a
(cherry picked from commit 1008c2d4878abde1890560ef48eec229a4253445)
2016-02-10 02:11:37 +00:00
Steve McKay
40d5d9d827 Merge "Don't apply fancy back logic when drawer is not present." into nyc-dev 2016-02-10 02:00:38 +00:00
Andre Eisenbach
d4263faf8c 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
2016-02-10 01:54:07 +00:00
Chulwoo Lee
65fa5ea41e Fix build
Change-Id: I9498ecda9b05c7166faf9f648f0b61682a88c4da
2016-02-09 17:49:54 -08:00
Chulwoo Lee
889f0b7fda Merge "Encode/Decode genres using CSV" into nyc-dev 2016-02-10 01:33:55 +00:00
Chulwoo Lee
b2a2351383 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
2016-02-09 17:19:50 -08:00
Roozbeh Pournader
85fc47b8a0 Merge "Language list heading: add padding and make it bold [DO NOT MERGE]" into nyc-dev 2016-02-10 01:02:50 +00:00
Mihai Nita
e6beed8075 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)
2016-02-10 01:01:50 +00:00
Jorim Jaggi
65bff3e4e9 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
2016-02-10 00:42:18 +00:00
Chris Craik
4f4c608209 Fix build
Change-Id: I24d82c44db9d9e04098a0d7cb9289d6b9fc19e41
2016-02-09 16:32:49 -08:00
Steve McKay
aa15dae22d Automatically open roots pane if default dir is empty.
Move drawer fiddling out of DirectoryFragment into respective
    FragmentTuner instance.

Bug: 27084308
Change-Id: Ia13fc2be1442e1a7164c2d67ea6ce4bcfda68bcc
2016-02-09 16:25:44 -08:00
Wale Ogunwale
a21c6e90c8 Merge "Further improvement to determining visiblility of tasks in home stack." into nyc-dev 2016-02-10 00:19:41 +00:00
Wale Ogunwale
0489c1459e Merge "Reduce jank during pinned stack animation" into nyc-dev 2016-02-10 00:11:11 +00:00
Sergey Poromov
10f0f71249 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)
2016-02-10 00:08:02 +00:00
Sergey Poromov
eee352f7a2 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)
2016-02-10 00:07:55 +00:00
Aga Wronska
3b5a29cb5d Merge "Go to root from child directory when root tapped. Bug: 27060001" into nyc-dev 2016-02-09 23:58:42 +00:00
Ben Kwa
479064b9ea Merge "Implement PgUp/PgDn support. (cherry-pick DO NOT MERGE)" into nyc-dev 2016-02-09 23:37:32 +00:00
Tony Mantler
905dc7e9c0 Merge "Handle null list from getPackagesForOps" into nyc-dev 2016-02-09 23:30:21 +00:00
Tony Mantler
d6cc7909fd Handle null list from getPackagesForOps
b/27101914

Change-Id: I468da1a0f38f78e1cd7fec50e3bc78cec6fd2771
2016-02-09 15:17:56 -08:00
Chris Craik
b76e5865db Merge "Calculate clip bounds correctly when serializing" into nyc-dev 2016-02-09 23:04:54 +00:00
Jeff Sharkey
950b30426e Merge "More encryption-aware triaging." into nyc-dev 2016-02-09 23:00:55 +00:00
Shawn Willden
ea46bb2cbf Merge "Add attestation API to Android KeyStore." into nyc-dev 2016-02-09 22:57:24 +00:00
Jeff Sharkey
c7bacab20f 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
2016-02-09 15:56:13 -07:00
Steve McKay
9146ac608c Don't apply fancy back logic when drawer is not present.
Add test coverage. Booya!

Bug: 27078649
Change-Id: Id2ce53009ee212b3af8d143091859d30e2bc76b1
2016-02-09 14:47:50 -08:00
Jeff Sharkey
4f15f2ba67 Merge "Make ServiceWatcher encryption-aware." into nyc-dev 2016-02-09 21:59:04 +00:00
Yohei Yukawa
ae8e090004 Merge "Make InputMethodInfo#isEncryptionAware() strict." into nyc-dev 2016-02-09 21:48:34 +00:00
Yohei Yukawa
37db07216e Make InputMethodInfo#isEncryptionAware() strict.
This is a follow up CL to the previous CL [1], which unintentionally
relied on whether the entire application rather than the
InputMethodService is marked to be encryption-aware.  This wasn't
obvious because right now LatinIME is entirely marked to be
encryption-aware, which probably needs to be reconsidered in subsequent
CLs.

This CL drops "encryptionAware" line from InputMethodInfo#dump() as it
is redundant.  The same information is already dumped in the
'ServiceInfo' section.

 [1] Icf921fe3661eccf4a589b08b616d05decc561356
     69811a98f161a04af8e8ec9978c3a5efe1ea0f29

Bug: 26279466
Change-Id: I6cea5fe5731f4a6a64ea722b854b99c5154a15ae
2016-02-09 13:39:50 -08:00
Svetoslav Ganov
558e38b975 Merge "Delete only the target user" into nyc-dev 2016-02-09 20:54:30 +00:00
Svetoslav Ganov
e476bf6aeb Delete only the target user
bug:27094971

Change-Id: I5b43d59ff6edeefc0e05a6ec90d04d388e707c29
2016-02-09 12:53:39 -08:00
Wale Ogunwale
480dca0d1b Reduce jank during pinned stack animation
- Don’t launch Pip overlay activities during pinned stack animation.
This causes extra CPU load and takes a way resources from the running
animation.
- Finish Pip overlay activities before starting pinned stack resize
animation. Reduces the amount of work the system needs to do to keep
the overlays in-sync with the other activities in the pinned stack.
- Use AM.resizeStack with null bounds to take Pip to fullscreen so that
we can animate the bounds changed.
- Also, fixed Activity.enterPictureInPicture API to animate the transition
if Pip is entered from the app instead of Pip manager.

Bug: 25672053
Change-Id: I82399c10f1b8c675ea3861ba973dc8ecfbfbe50f
2016-02-09 12:48:11 -08:00
Adam Lesinski
59e04c6f92 AAPT2: Switch to protobuf for intermediate format
Without needing to conform to the runtime data format,
it is much easier to add new features such as debugging symbols
and carrying over product data to link time.

This also simplifies the runtime format parser and serializer,
which will change much less frequently than the protobuf intermediate
format.

Change-Id: I209787bbf087db0a58a534cb8511c51d21133e00
2016-02-09 19:59:17 +00:00