Commit Graph

17318 Commits

Author SHA1 Message Date
Adam Lesinski
10eb1455b9 Merge changes from topic 'configForSplit'
* changes:
  libandroidfw: Search all packages for an identifier
  AAPT2: Finish support for feature splits
  Add support for configForSplit
2017-03-17 23:19:13 +00:00
TreeHugger Robot
b096e58811 Merge "Sets accessibility title for autofill dataset picker." 2017-03-17 06:43:05 +00:00
Felipe Leme
b4f868deca Sets accessibility title for autofill dataset picker.
Bug: 34219631
Test: CtsAutoFillServiceTestCases (with new tests) pass

Change-Id: I9bda820a41ef82e008f2a1ffd32c286b91841c10
2017-03-16 18:06:22 -07:00
Jack He
e7739053f0 Merge "Add a flag that indicates whether in-band ringing is avalable" am: 41f5b61f5d am: 592d78238d
am: 90397ba054

Change-Id: I11c594bb6da104a85a1fd05138e7f224a3d18b09
2017-03-17 00:21:31 +00:00
Jack He
90397ba054 Merge "Add a flag that indicates whether in-band ringing is avalable" am: 41f5b61f5d
am: 592d78238d

Change-Id: I47b79c0113f3452df40325df4d96952aa1c7d835
2017-03-17 00:14:57 +00:00
Jack He
592d78238d Merge "Add a flag that indicates whether in-band ringing is avalable"
am: 41f5b61f5d

Change-Id: I25931f4ed056f6990c6ecb2d9f6629d89610c072
2017-03-17 00:09:58 +00:00
Adam Lesinski
1665d0f028 Add support for configForSplit
Applications with the android:isolatedSplits="true" attribute in
their AndroidManifest.xml would have their Split APKs loaded in
isolation of each other, based on a set of dependencies.

Configuration Splits generated for a Feature split would not be properly
loaded before, so this change, along with a tools change, fixes this
issue and completes support for isolatedSplits.

Bug: 30999713
Test: CTS test coming (depends on some tool changes)
Change-Id: Ia4e7b0e69168a9d6637867558e306f7031720fb3
2017-03-16 15:45:10 -07:00
Jack He
317f5043ba Add a flag that indicates whether in-band ringing is avalable
* Add a flag in config.xml and symbols.xml to indicate whether in-band
  ringing is available on current platform

Bug: 19171297
Test: make, testplans/79248
Change-Id: I7eaa0d838ae25184502587d0bcc73f055d62170d
2017-03-16 22:26:00 +00:00
Calin Juravle
e1d8f2da83 Merge "Set pm.BackgroundDexOptService as the source of true" 2017-03-16 17:59:32 +00:00
Calin Juravle
91d40f1baa Set pm.BackgroundDexOptService as the source of true
The real dexopt maintainance job is
com.android.server.pm.BackgroundDexOptService, and not
com.android.server.BackgroundDexOptJobService

Partial revert of commit 096d304ae3.

Test: manual inspection
Bug: 36140426
Change-Id: I983ac91117f107282095fa7eefdbce08e0dcfce3
2017-03-15 18:55:25 -07:00
TreeHugger Robot
5bf03b7640 Merge "Allow users to manually request Autofill." 2017-03-16 01:33:46 +00:00
Conrad Chen
287a68e62a Merge "Deprecate settingsActivity field in TvInputService" 2017-03-16 00:16:15 +00:00
Abodunrinwa Toki
047fe04766 FloatingToolbar: Change divider color.
Test: Visually inspected.
Bug: 36038316
Change-Id: I4bf3b2abdfe15ff02b3969d1824752640e733128
2017-03-15 19:14:26 +00:00
Felipe Leme
2ac463e3f5 Allow users to manually request Autofill.
- Added a requestAutofill(view,flags) method, that when passed with
  FLAG_MANUAL_AUTOFILL triggers a manual request.
- Added same method for virtual views
- Overloaded existing AutofillService request methods to take a flag.
- Added an AUTOFILL context menu option on TextViews.
- Added a canRequestAutofill() that is used to enable the context menu.

BUG: 35708229
Test: manual verification
Test: existing CtsAutoFillServiceTestCases pass
Test: android.autofillservice.cts.LoginActivityTest#testManualAutofill pass

Change-Id: I1a64d40da3373774451d178b1cabf20f11120e9d
2017-03-15 09:37:10 -07:00
Joachim Sauer
dd0f47a9da Merge "Change Czech Republic to Czechia" am: 027a67062e am: 14bcec27a0
am: 9b30497243

Change-Id: I78d646c5052e29662f523dc4ae6ce3ecb5d4768d
2017-03-15 12:07:40 +00:00
Joachim Sauer
9b30497243 Merge "Change Czech Republic to Czechia" am: 027a67062e
am: 14bcec27a0

Change-Id: Ia8b2bcf8d01aaad715f2bd4051fc7dc011735569
2017-03-15 12:02:27 +00:00
Joachim Sauer
14bcec27a0 Merge "Change Czech Republic to Czechia"
am: 027a67062e

Change-Id: I51fc6fde5647b1fd8ecc677da7f6ec7a248a3b38
2017-03-15 11:57:28 +00:00
Treehugger Robot
027a67062e Merge "Change Czech Republic to Czechia" 2017-03-15 11:45:45 +00:00
TreeHugger Robot
a98767ab7f Merge "Apply static RRO" 2017-03-15 04:30:33 +00:00
Conrad Chen
3f547dcce2 Deprecate settingsActivity field in TvInputService
Test: build
Bug: 27325064
Change-Id: Ieb38cc06f49b3944387ba4bbb11b953e35f06d89
2017-03-14 18:08:47 -07:00
Philip P. Moltmann
37bf8b1736 Merge "Change autoFillHint to list of strings" 2017-03-14 21:13:14 +00:00
Ajay Panicker
ab96721a57 resolve merge conflicts of 4b39c15da0 to nyc-mr2-dev-plus-aosp
Change-Id: I7567db6d1fbb9f8a8b5e29c3e24cdff6508c4b6f
2017-03-14 14:01:57 -07:00
Marie Janssen
4b39c15da0 Merge commit 'faf40708836c34936932c67f47ed39ef4b85de03' into manual_merge_faf40708836c am: 4034a9a96a am: 89d2b46a4a
am: c1a5939026

Change-Id: I50df57c208542d35bc72851fa37e47731bbd9965
2017-03-14 19:29:50 +00:00
Marie Janssen
c1a5939026 Merge commit 'faf40708836c34936932c67f47ed39ef4b85de03' into manual_merge_faf40708836c am: 4034a9a96a
am: 89d2b46a4a

Change-Id: I5f710900167558283cb9e898c2022d8991dbb5c3
2017-03-14 19:21:49 +00:00
Marie Janssen
89d2b46a4a Merge commit 'faf40708836c34936932c67f47ed39ef4b85de03' into manual_merge_faf40708836c
am: 4034a9a96a

Change-Id: Ie63f9d24ab37c5465b250d2b9b60efdf736b4d60
2017-03-14 19:16:47 +00:00
Marie Janssen
4034a9a96a Merge commit 'faf40708836c34936932c67f47ed39ef4b85de03' into manual_merge_faf40708836c
Change-Id: I2b9aeca138aefb0579b3be8014b3f0bf49d99764
2017-03-14 10:09:52 -07:00
Jaekyun Seok
0434289c45 Apply static RRO
Static RRO package is designed to support resource overlay for system
server and they shouldn't be disabled or changed by a user.
The design details are in go/treble-static-rro.

Selection method for static RROs will be applied later when its design
is determined.

Test: building succeeded and tested on sailfish.
Bug: 35742444
Change-Id: I8cbf2fd37a73a24bf6ad291e2c5cf75a0fc757fc
2017-03-15 00:07:34 +09:00
Filip Pavlis
b3d2e110a5 Merge "Enable recycling of third party preference widgets" 2017-03-14 13:19:42 +00:00
Svet Ganov
2f8fb1f62f Fix a few auto fill ussues
1. Ensure clicking on a focused view brings up autofill if needed

2. Notify the autofill manager in a couple of cases we missed

3. Renamed the AutofillManager app facing APIs to better reflect what
    they do and added a API for the app to cancel the autofill interaction

4. Fix view structure dispatch where the ordering of children for autofill
    was mixed with ordering of direct view children - the autofill children
    may be indirect as views can be marked not important for autofill

5. Show scrollbars only if there are more fill options than want is shown

6. Show only three fill options and the rest can be accessed with a scroll

7. Remove the list divider to allow fill items to control all fill window content

8. Renamed the autofill manager internal service classes to xxAutofillxx

9. Fixed a comment that was not addressed in a previous CL

10. Showing max three fill options - rest needs a scroll

11. Make sure fill UI shown when filter with no matches is changed
      to filter with some matches

12. Make sure the fill window has a shadow

Test: Autofill CTS tests pass and manual

bug:36038929
bug:36040101
bug:36149166
bug:36034681
bug:36126001
bug:36035654

Change-Id: Ic8726146fc3c0a19d3e536becdd63fb65622136e
2017-03-13 21:57:10 -07:00
Philip P. Moltmann
495cadd8a9 Change autoFillHint to list of strings
Test: Ran autofill CTS tests
Fixes: 35364993
Change-Id: I3f4ceb719b2d3fef0168e8300c0d15f1661560c0
2017-03-13 13:42:51 -07:00
Bill Yi
a255569b21 Import translations. DO NOT MERGE
Change-Id: Id210d19e5b916c4294e4225c39e5c1ab2a25459a
Auto-generated-cl: translation import
2017-03-12 05:55:18 -07:00
TreeHugger Robot
bd7ae7df28 Merge "Basic accessibility support for picture-in-picture" 2017-03-11 01:52:51 +00:00
Phil Weaver
f00cd14f17 Basic accessibility support for picture-in-picture
Exposing actions from the PIP InputConsumer to accessibility,
stripping all actions from a covered PIP app, and adding the
InputConsumer's actions on the PIP app's root view.

We were also using an "undefined" accessibility ID to mean
three different things: a root view, a host view of a virtual
view hierarchy, and a truly undefined view. I've introduced
new values for cases where the id could be defined.

Also gathering all window IDs into one place to reduce the
chance of collisions.

Bug: 34773134
Test: In progress. Current cts passes.
Change-Id: I97269741a292cf406272bf02359c76c396f84640
2017-03-10 15:35:30 -08:00
TreeHugger Robot
208e264461 Merge "Updated alert window notification to new UX spec." 2017-03-10 23:26:27 +00:00
Randy Pan
1e7c18244e Merge "Add a config for WiFi exponential backoff scan base interval" am: c25e2b79b1 am: aa72261023
am: bb76af7c44

Change-Id: Ie442c9e26e4b936d62f86205847b10b4c23875fa
2017-03-10 23:15:46 +00:00
Randy Pan
aa72261023 Merge "Add a config for WiFi exponential backoff scan base interval"
am: c25e2b79b1

Change-Id: Ic924e478f1278ab0873f33984d3026a5ec63c91c
2017-03-10 23:08:15 +00:00
Marie Janssen
4763c1b5ca Merge "Protect Bluetooth OPP ACCEPT and DECLINE broadcast" 2017-03-10 22:03:58 +00:00
Wale Ogunwale
d76881e002 Updated alert window notification to new UX spec.
- Updated strings
- Removed action button
- Clicking on notification takes user to alert window permissions
  activity

Bug: 36069437
Test: Manual
Change-Id: I32e59ed3faa7fba1641660095d59f5ebf9acec43
2017-03-10 13:26:16 -08:00
Maurice Lam
95628d6d25 Merge "Add permission to show notification during setup" 2017-03-10 21:14:58 +00:00
TreeHugger Robot
d7cf3b48d5 Merge "Enabling storage notifications on TV" 2017-03-10 19:39:05 +00:00
Filip Pavlis
4186b344d8 Enable recycling of third party preference widgets
Until now we have been recycling only framework preference widgets since
there were no guarantees for third party preferences to support recycling.
This let to broken animations for preference widgets that are outside of
the framework.

This change makes recycling to be used always and in case the developers
need to turn it off they can explicitely use a new attribute that is
being added to the Preference called "recycleEnabled" and set it to false.

Bug: b/34334451
Test: Test are part of the same topic.

Change-Id: I324087841e1edddbf0d3eaad00b5895a196acff6
2017-03-10 19:19:47 +00:00
Randy Pan
9c0c173da2 Add a config for WiFi exponential backoff scan base interval
Bug: 36026947
Test: bulid and boot up the phone
Change-Id: I4971c1c7d0fc162ac5934becbdf28fba50d65c11
2017-03-10 09:47:49 -08:00
TreeHugger Robot
642028fccd Merge "Replaced auto-fill by autofill to keep it consistent with API style." 2017-03-10 07:05:41 +00:00
TreeHugger Robot
8c47c6deb2 Merge "PIP should only move along long edges when on phone" 2017-03-10 01:17:19 +00:00
Dmitri Plotnikov
519c088e65 Enabling storage notifications on TV
Bug: 35164265
Test: Using the Sabrent 120Gb external drive and manually going through all flows
Change-Id: If856cfd3b67bb97b60998d805f9ebb3d459cf28f
2017-03-09 14:26:33 -08:00
Mady Mellor
89dc00a3ad PIP should only move along long edges when on phone
Phone portrait: restrict movement to left / right edges
Phone landscape: restrict movement to top / bottom edges

Tablet: allow PIP on all edges regardless of orientation

Test: manual - have PIP try to move along top / bottom edge
in phone portrait, and left / right edge in phone landscape
Fixes: 35358644
Change-Id: Ie50ae220782936942d1bcd8d9251d7275832a47f
2017-03-09 12:31:00 -08:00
Maurice Lam
132710e389 Add permission to show notification during setup
Add a priviledged permission NOTIFICATION_DURING_SETUP which together
with the existing Notification.EXTRA_ALLOW_DURING_SETUP will allow a
notification to be shown during setup.

Test: Added NotificationDataTest
Bug: 34705874
Change-Id: I7215acf4017ad897294c69abf63a7f2e5d556f31
2017-03-09 11:08:30 -08:00
Felipe Leme
640f30a776 Replaced auto-fill by autofill to keep it consistent with API style.
This change will affects 2 types of apps: autofill service implementations
and apps that use autofill APIs.

Since just the former is known to be used at the moment, we're not trying
to keep backward compatibility with the latter.

Bug: 35956626
Test: CtsAutoFillServiceTestCases pass
Test: android.provider.SettingsBackupTest pass

Change-Id: Ia720083508716deae9e887f9faa7ae7c5a82f471
2017-03-09 08:14:49 -08:00
Marie Janssen
71c52e6e30 Protect Bluetooth OPP ACCEPT and DECLINE broadcast
Non-system apps could send these, and accept OPP transfers without user
interaction.

Test: run POC code, see that it crashes instaed of accepting
Bug: 35258579
Change-Id: I37bf2e17b4d612258f9dbaa879727ac7c72e5969
2017-03-08 13:52:53 -08:00
Felipe Leme
d04a697ede Optimize ViewStructure for autofill by removing irrelevant nodes.
Test: CtsAutoFillServiceTestCases (with new tests) pass
Fixes: 35840787

Change-Id: Iaa2c1907c8383b4a820fd7204e67fa2d276ad2b8
2017-03-08 13:31:38 -08:00