232439 Commits

Author SHA1 Message Date
Geoff Mendal
dd69f76c7b Import translations. DO NOT MERGE
Change-Id: I24d659d05ccb735b984b23fc40fe4d69c768f5c0
Auto-generated-cl: translation import
2016-02-10 07:19:37 -08: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
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
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
Julia Reynolds
41466449aa Merge "Importance slider logging." into nyc-dev 2016-02-09 19:58:33 +00:00
Yohei Yukawa
f2dc2a926d Merge "Use Context#createConfigurationContext()." into nyc-dev 2016-02-09 19:56:59 +00:00
Yohei Yukawa
2ba26dd87c Merge changes Icf921fe3,Ie1a8ee22 into nyc-dev
* changes:
  Add a utility method to InputMethodInfo for FBE.
  Fix style issues in InputMethodInfo.java.
2016-02-09 19:49:20 +00:00
Randy Pan
12232f76fd Merge "Add RSN Information Element ID" into mm-wireless-dev
am: 2750b41d0b

* commit '2750b41d0b50eb66c8aada11d62666f934ca950d':
  Add RSN Information Element ID
2016-02-09 19:32:18 +00:00
Rakesh Iyer
cd412bae12 Merge "Fix a crash in SystemUI when using CarNavigationBar." into nyc-dev 2016-02-09 19:28:37 +00:00
Selim Cinek
9e37a70c1d Merge "Removed the notification scroller top stack" into nyc-dev 2016-02-09 19:25:05 +00:00
Randy Pan
2750b41d0b Merge "Add RSN Information Element ID" into mm-wireless-dev 2016-02-09 19:13:33 +00:00
Glenn Kasten
f1cf2afd52 Merge "Update documentation for offset and size" into nyc-dev 2016-02-09 19:06:23 +00:00
Andres Morales
7364905303 Merge "updates to FrameStatsObserver API" into nyc-dev 2016-02-09 19:00:32 +00:00