OSDN Git Service
TreeHugger Robot [Mon, 27 Mar 2017 20:54:37 +0000 (20:54 +0000)]
Merge "Updating to new aspect ratio limits."
Sudheer Shanka [Mon, 27 Mar 2017 20:40:31 +0000 (20:40 +0000)]
Merge "Uncomment a test."
Wale Ogunwale [Mon, 27 Mar 2017 20:20:52 +0000 (20:20 +0000)]
Merge "Fixed logic error with setting maxAspectRatio"
Jason Monk [Mon, 27 Mar 2017 20:20:22 +0000 (20:20 +0000)]
Merge "Fix status bar visibility initialization"
TreeHugger Robot [Mon, 27 Mar 2017 20:17:10 +0000 (20:17 +0000)]
Merge "MediaCas: rethrow MediaCas specific exception"
David Stevens [Mon, 27 Mar 2017 19:59:53 +0000 (19:59 +0000)]
Merge "Compute the focused window in display focus order"
TreeHugger Robot [Mon, 27 Mar 2017 19:58:29 +0000 (19:58 +0000)]
Merge "Fixed issue with SCREEN_ORIENTATION_BEHIND not working correctly"
Lorenzo Colitti [Mon, 27 Mar 2017 19:27:43 +0000 (19:27 +0000)]
Merge "Make CONNECTIVITY_USE_RESTRICTED_NETWORKS @SystemApi." am:
a1e206a335 am:
37afaac70d
am:
d042c3f400
Change-Id: Ic8a35c9f2d9de0b36cb7ab3f8227f0bc298d672f
Lorenzo Colitti [Mon, 27 Mar 2017 19:21:19 +0000 (19:21 +0000)]
Merge "Make CONNECTIVITY_USE_RESTRICTED_NETWORKS @SystemApi." am:
a1e206a335
am:
37afaac70d
Change-Id: Id576f61f3ac7d1de828c870ffaf4d6ab3e1e2568
TreeHugger Robot [Mon, 27 Mar 2017 19:20:58 +0000 (19:20 +0000)]
Merge "TextClassifier updates"
Winson Chung [Mon, 6 Mar 2017 23:07:25 +0000 (15:07 -0800)]
Updating to new aspect ratio limits.
Bug:
35949789
Test: android.server.cts.ActivityManagerPinnedStackTests
Change-Id: Id47bdee0903744efb6aa3200691cd7817463aa13
Lorenzo Colitti [Mon, 27 Mar 2017 19:16:17 +0000 (19:16 +0000)]
Merge "Make CONNECTIVITY_USE_RESTRICTED_NETWORKS @SystemApi."
am:
a1e206a335
Change-Id: I71fabdff9deb0f7ba40a545090bd09ddc66994a8
Winson Chung [Mon, 27 Mar 2017 19:08:53 +0000 (19:08 +0000)]
Merge "Prevent cleaning up and resuming null activity when task is reparented."
Lorenzo Colitti [Mon, 27 Mar 2017 19:08:24 +0000 (19:08 +0000)]
Merge "Make CONNECTIVITY_USE_RESTRICTED_NETWORKS @SystemApi."
Michael Dooley [Mon, 27 Mar 2017 19:05:48 +0000 (19:05 +0000)]
Merge "Adding a comment specifying the timebase for emergency call time"
TreeHugger Robot [Mon, 27 Mar 2017 18:59:41 +0000 (18:59 +0000)]
Merge "Fix PiP dismissing on drag away from bottom and then fling"
TreeHugger Robot [Mon, 27 Mar 2017 18:43:29 +0000 (18:43 +0000)]
Merge "Unbind from service on app killed and dedup association requests"
TreeHugger Robot [Mon, 27 Mar 2017 18:36:23 +0000 (18:36 +0000)]
Merge "Register functor draw correctly"
Jason Monk [Mon, 27 Mar 2017 18:24:16 +0000 (18:24 +0000)]
Merge "Clean up and cover more QS metrics"
David Stevens [Fri, 24 Mar 2017 20:04:00 +0000 (13:04 -0700)]
Compute the focused window in display focus order
A WindowContainer's children are sorted so the focused child is at the
end of the list, so RootWindowContainer needs to iterate from end to
start when looking for the focused window.
Bug:
36590788
Test: DisplayContentTests#testFocusedWindowMultipleDisplays
Change-Id: I56e6b7d2054bc1e74b54a4f99706a08d278fa2e1
Wale Ogunwale [Sat, 25 Mar 2017 00:36:38 +0000 (17:36 -0700)]
Fixed issue with SCREEN_ORIENTATION_BEHIND not working correctly
If an app specifies SCREEN_ORIENTATION_BEHIND, then use the orientation
of the app behind it regardless of the visibility state of the app
behind.
Fixes:
35281868
Test: bit FrameworksServicesTests:com.android.server.wm.WindowContainerTests
Test: bit FrameworksServicesTests:com.android.server.wm.AppWindowTokenTests
Test: bit FrameworksServicesTests:com.android.server.wm.TaskStackTests
Change-Id: Ieba4e4bb1a7f47cd6f082491d37fcabcf5bd5199
TreeHugger Robot [Mon, 27 Mar 2017 18:02:21 +0000 (18:02 +0000)]
Merge "Fixed check for null Anchor."
Sudheer Shanka [Fri, 24 Mar 2017 22:53:14 +0000 (15:53 -0700)]
Uncomment a test.
It was commented earlier because of a crash. Since that issue has been
fixed, uncomment the test.
Bug:
27803922
Test: runtest -c com.android.server.am.ActivityManagerServiceTest frameworks-services
Change-Id: I5f2b1b0bffe032633f42c8c34ed8a7ae5a3dfc10
TreeHugger Robot [Mon, 27 Mar 2017 17:51:15 +0000 (17:51 +0000)]
Merge "Remove task activities from LRU list when task is reparented."
Kang Li [Mon, 27 Mar 2017 17:38:57 +0000 (17:38 +0000)]
Merge "Move retention length of users' chooser selections to SystemProperties, to meet CDD requirement."
mike dooley [Thu, 9 Mar 2017 20:58:42 +0000 (12:58 -0800)]
Adding a comment specifying the timebase for emergency call time
Test: none
Bug:
35767700
Change-Id: Idac16da57d0a9f21804f9c515974d269c012796a
Wale Ogunwale [Mon, 27 Mar 2017 16:16:38 +0000 (09:16 -0700)]
Fixed logic error with setting maxAspectRatio
Ignore maxAspectRatio values less than 1.0 and set it to 0 which
means use device aspect ratio.
Change-Id: Ib2c76f6232e3f7521a1a4565d7c0c9e1de9c9eac
Fixes:
36606641
Test: cts/.../run-test CtsAppTestCases android.app.cts.AspectRatioTests
TreeHugger Robot [Mon, 27 Mar 2017 17:15:20 +0000 (17:15 +0000)]
Merge "Replace possibly-expensive size() == 0 with isEmpty()"
Mady Mellor [Wed, 22 Mar 2017 00:45:00 +0000 (17:45 -0700)]
Fix PiP dismissing on drag away from bottom and then fling
Adds two flags to watch for movement outside of the starting area of the
gesture, one for dismissing and one for minimizing.
Test: - Have PiP at bottom of screen, drag to top and fling down (does not
dismiss)
- Have PiP at left or right edge of screen, drag PiP to opposite
edge and fling to other side (no longer minimizes)
Bug:
35358628
Change-Id: I007e2c2c688254dbe1abaecdedc28e281278def8
Abodunrinwa Toki [Fri, 24 Mar 2017 21:43:13 +0000 (21:43 +0000)]
TextClassifier updates
- Increase the size of the text sent as context to the classifier
- Pass regex match hints to the classifer
Test: Build still works. Regex hints logged correctly. The hints won't
matter until we've actually passed in this values to native code. Native
library test will be written and I've got a tracker bug to write more robust Java tests.
Bug:
35416389
Bug:
36584397
Change-Id: I29e56189b388b36dc0cc7a8bb13ef237ff55be7b
Felipe Leme [Mon, 27 Mar 2017 16:33:23 +0000 (09:33 -0700)]
Fixed check for null Anchor.
It was checking if the weak reference pointee was null, but not for a null
weak reference per se.
Fixes:
36643768
Test: manual verification
Test: CtsAutoFillServiceTestCases pass
Change-Id: I106dfd4a91ff1d45f8cb3141a992b06cbe460367
Jason Monk [Fri, 24 Mar 2017 15:26:35 +0000 (11:26 -0400)]
Fix status bar visibility initialization
Make sure it starts up to everything showing and that the StatusBar
calculates the bar mades after it is attached.
There is still a bug where the behind scrim is showing during SUW,
but this fixes many of the issues besides that case.
Test: visual
Change-Id: I93314c607e374c97d5c06f936ef8b7e07e057648
Bug:
36407135
Jason Monk [Thu, 16 Mar 2017 15:53:40 +0000 (11:53 -0400)]
Clean up and cover more QS metrics
Change-Id: I4ab5e54398024c8b16ca8223f0639aadcdef4377
Fixes:
34801532
Test: runtest systemui
TreeHugger Robot [Mon, 27 Mar 2017 16:35:55 +0000 (16:35 +0000)]
Merge "WatchDog: dump hal pids when killing a process."
Yorke Lee [Mon, 27 Mar 2017 16:34:29 +0000 (16:34 +0000)]
Merge "Only change bounds if new activity is being added to InTask"
TreeHugger Robot [Mon, 27 Mar 2017 15:57:16 +0000 (15:57 +0000)]
Merge "Fix font golden image using Oracle JDK"
TreeHugger Robot [Mon, 27 Mar 2017 15:48:54 +0000 (15:48 +0000)]
Merge "Store the number of saved networks in WifiTracker."
Jeff Sharkey [Mon, 27 Mar 2017 15:22:47 +0000 (15:22 +0000)]
Merge "Add a new "virtual disk" feature."
Kang Li [Sat, 25 Mar 2017 00:29:18 +0000 (17:29 -0700)]
Move retention length of users' chooser selections to SystemProperties,
to meet CDD requirement.
bug:
33423136
Test: manual - shared images in Camera. More CTS and GTS tests to be
added.
Change-Id: I0e0c759bec11137e2290f4a43a92be8e97eef022
Steven Moreland [Tue, 21 Mar 2017 19:52:16 +0000 (12:52 -0700)]
WatchDog: dump hal pids when killing a process.
Test: `adb shell am hang --allow-restart` -> Watchdog dumps
hal traces (eventually)
Bug:
36414311
Change-Id: I5143cedf3e5ab4695d2507a29993e748f6de17d5
TreeHugger Robot [Mon, 27 Mar 2017 14:51:08 +0000 (14:51 +0000)]
Merge "TextClassifier cleanup."
Diego Perez [Mon, 27 Mar 2017 14:28:52 +0000 (14:28 +0000)]
Merge "Handle case where canvas is 0x0 for shadows"
Neil Fuller [Mon, 27 Mar 2017 14:23:37 +0000 (14:23 +0000)]
Merge "Update settings to use latest IDs for zones" am:
c75dbe9d9c am:
0f3235a167
am:
2a3c633d49 -s ours
Change-Id: Ibc4d5dea60639ba1504290948de4675aaf6dbb17
Neil Fuller [Mon, 27 Mar 2017 14:17:33 +0000 (14:17 +0000)]
Merge "Update settings to use latest IDs for zones" am:
c75dbe9d9c
am:
0f3235a167
Change-Id: I0a7c8e33d84995b36793b2ed3485f985bc251bc5
Neil Fuller [Mon, 27 Mar 2017 14:12:35 +0000 (14:12 +0000)]
Merge "Update settings to use latest IDs for zones"
am:
c75dbe9d9c
Change-Id: If3708653ad78fb38e57508c4d8fac9dd5bffc2c1
Treehugger Robot [Mon, 27 Mar 2017 14:06:34 +0000 (14:06 +0000)]
Merge "Update settings to use latest IDs for zones"
Diego Perez [Mon, 27 Mar 2017 13:19:43 +0000 (14:19 +0100)]
Fix font golden image using Oracle JDK
Test: Fixes test
Change-Id: Ie90d55ee73d6342524ba2b8b267d190cb5218fc8
TreeHugger Robot [Mon, 27 Mar 2017 13:01:34 +0000 (13:01 +0000)]
Merge "add alert and reason enums"
TreeHugger Robot [Mon, 27 Mar 2017 12:55:02 +0000 (12:55 +0000)]
Merge "Create NotificationChannels in SystemUI per-user"
Neil Fuller [Thu, 23 Mar 2017 14:46:52 +0000 (14:46 +0000)]
Update settings to use latest IDs for zones
Various zones in timezones.xml were being identified by old
IDs. The settings picker and setup wizard uses the exact
ID when pre-selecting the user's current zone. Since the
autodetection uses the new IDs in places like Buenos
Aires users would not have the correct zone pre-selected
during setup.
Thanks to Marcio Ikeda of LG for the report.
Other legacy IDs found with:
for TZ in `grep 'id=' timezones.xml \
| awk -F\" '{ print $2 }'`; do \
grep ${TZ} ~/Downloads/tzdata2016g/zone.tab > /dev/null; \
if (( $? != 0 )); then echo Bad: ${TZ}; fi; \
done
New IDs found using tzdata NEWS and "backward" file.
Test: Manual testing: selection of the zone in the settings
Bug:
36469833
(cherry picked from commit
b4d003da66beb414e8e7fcec94a82a53027dbbfa)
Merged-In: I8c20494a48870cdc600854756061e86db730e14a
Change-Id: I829a70921eb13b763b5446820c87672615f2524d
Neil Fuller [Mon, 27 Mar 2017 12:28:26 +0000 (12:28 +0000)]
Merge "Update settings to use latest IDs for zones"
TreeHugger Robot [Mon, 27 Mar 2017 11:12:55 +0000 (11:12 +0000)]
Merge "Updating font test after the TextView fix"
Michal Karpinski [Mon, 27 Mar 2017 09:28:00 +0000 (09:28 +0000)]
Merge "Add support for key-value packages to adb backup/restore."
Joel Scherpelz [Mon, 27 Mar 2017 05:35:41 +0000 (05:35 +0000)]
Merge "Revert "Set accept_ra_rt_info_max_plen to 64 before enabling IPv6 interfaces"" am:
63d26caa38 am:
84c2fb2070
am:
c3e0dcf082
Change-Id: I9a48897312a785ea7e0338aa68c8bb4877a741e6
Joel Scherpelz [Mon, 27 Mar 2017 05:29:02 +0000 (05:29 +0000)]
Merge "Revert "Set accept_ra_rt_info_max_plen to 64 before enabling IPv6 interfaces"" am:
63d26caa38
am:
84c2fb2070
Change-Id: I6601d7a30e3eabc3e3929a02f415ba620a2b5c28
Joel Scherpelz [Mon, 27 Mar 2017 05:24:09 +0000 (05:24 +0000)]
Merge "Revert "Set accept_ra_rt_info_max_plen to 64 before enabling IPv6 interfaces""
am:
63d26caa38
Change-Id: I367506eee558dbd7abeeabf09716f7024c2e43d8
Joel Scherpelz [Mon, 27 Mar 2017 05:17:20 +0000 (05:17 +0000)]
Merge "Revert "Set accept_ra_rt_info_max_plen to 64 before enabling IPv6 interfaces""
Joel Scherpelz [Fri, 24 Mar 2017 02:39:14 +0000 (02:39 +0000)]
Revert "Set accept_ra_rt_info_max_plen to 64 before enabling IPv6 interfaces"
On second thought, let's set accept_ra_rt_info_m**_plen in
Netd (InterfaceController::initializeAll())
This reverts commit
25870a2c9effd7a7d31c0678c34a6e952b2d56a1.
Change-Id: I22b000623bb852e375385d4aae789d007e84ba3d
TreeHugger Robot [Sun, 26 Mar 2017 21:59:19 +0000 (21:59 +0000)]
Merge "Send storage broadcasts to manifest receivers."
TreeHugger Robot [Sun, 26 Mar 2017 21:56:46 +0000 (21:56 +0000)]
Merge "Another buggy app is already targeting O."
Jeff Sharkey [Sun, 26 Mar 2017 20:34:47 +0000 (14:34 -0600)]
Send storage broadcasts to manifest receivers.
Bug:
35316141
Test: builds, boots
Change-Id: I50998416f189a7f7662ba59ad5a6b6cacf114cf2
Jeff Sharkey [Sun, 26 Mar 2017 20:15:19 +0000 (14:15 -0600)]
Another buggy app is already targeting O.
Bug:
36612878
Test: builds, boots
Change-Id: I161a58bf972a0af327fb216d041a7e46d33c0d2e
Jeff Sharkey [Sun, 26 Mar 2017 05:14:06 +0000 (23:14 -0600)]
Add a new "virtual disk" feature.
It's extremely difficult to test storage related logic on devices
that don't have physical SD card slots. So to support better
debugging and testing, add a new "virtual disk" feature which mounts
a 512MB file through loop device.
Also move ParcelFileDescriptor.open() over to using Os.open() so
that it gets StrictMode treatment.
Bug:
34903607
Test: builds, boots, virtual disk works
Change-Id: I072a3a412cfcc8a2a3472919b7273a1ed794fd98
TreeHugger Robot [Sat, 25 Mar 2017 18:17:14 +0000 (18:17 +0000)]
Merge "Add logging constant for reset dashboard page."
Sudheer Shanka [Sat, 25 Mar 2017 08:01:09 +0000 (08:01 +0000)]
Merge "Update AMS to use NetworkManagementInternal.isNetworkRestrictedForUid."
Sudheer Shanka [Sat, 25 Mar 2017 08:00:35 +0000 (08:00 +0000)]
Merge "Add NetworkManagementInternal.isNetworkRestrictedForUid."
Wonsik Kim [Sat, 25 Mar 2017 05:34:21 +0000 (05:34 +0000)]
Merge "MediaFrameworkTest: don't set surface if video format is unsupported"
TreeHugger Robot [Sat, 25 Mar 2017 04:04:10 +0000 (04:04 +0000)]
Merge "Target selection for Accessibility button"
TreeHugger Robot [Sat, 25 Mar 2017 02:50:32 +0000 (02:50 +0000)]
Merge "Prevent inclusion of null KeyphraseMetadata in info map."
Guang Zhu [Sat, 25 Mar 2017 02:27:03 +0000 (02:27 +0000)]
Merge "Revert "Enable Wifi Wakeup Setting by default.""
Guang Zhu [Sat, 25 Mar 2017 02:26:24 +0000 (02:26 +0000)]
Revert "Enable Wifi Wakeup Setting by default."
Bug:
36385983
Bug:
32913119
Bug:
36604943
This reverts commit
abb947ac24b316a188965c341599973a1f7a3de9.
Change-Id: I484534dd6c24f5b2c2839781fc6a71d9e976a859
Casey Burkhardt [Fri, 24 Mar 2017 17:07:20 +0000 (10:07 -0700)]
Target selection for Accessibility button
Allows for selecting a single accessibility service or feature
to be triggered by the accessibility button in the navigation bar
Bug:
34720082
Test: Manual
Change-Id: I320febede0398b1eff38a87d4db31fd7dfc53062
Santos Cordon [Wed, 22 Mar 2017 00:05:36 +0000 (17:05 -0700)]
Add a default Surface to the VR Virtual Display.
Uses ImageReader as a do-nothing Surface to ensure the Virtual Display
gets passed through to SurfaceFlinger.
Without a Surface, the Virtual Display never makes it through the
android system to SurfaceFlinger. This change is needed to get the
Virtual Display recognized in the Flinger layers.
Test: 'setprop vr_virtualdisplay true' to enable virtual displays.
'setprop vr_debug_vd_receiver true' and shell restart for the test app.
Bug:
36491910
Change-Id: I2bf2cb4035dcf04484b7fb0bec61671864069335
Felipe Leme [Sat, 25 Mar 2017 00:36:38 +0000 (00:36 +0000)]
Merge "Make auto-fill UI robust"
Chris Craik [Sat, 25 Mar 2017 00:00:39 +0000 (17:00 -0700)]
Register functor draw correctly
Bug:
36602041
Test: existing tests still pass
Change-Id: I9f385da89e9e49e562031578a02f13a68697e0df
Johan Toras Halseth [Fri, 3 Mar 2017 15:37:43 +0000 (15:37 +0000)]
Add support for key-value packages to adb backup/restore.
For adding CTS tests for packages having key-value backup agents, we add
support for key-value backups to the adb backup/restore command.
Previously, packages not supporting fullbackup would just be skipped on
this command. Now, by adding the -keyvalue flag to the adb backup command,
packages supporting key-value will also be added to the resulting
tarball. Similarly, if the tarball being supplied to adb restore
contains data from key-value packages, it will be restored.
This will later be utilized for writing CTS tests for such packages.
Test: adb backup -includekeyvalue -all && adb restore backup.ab
Change-Id: I7b4ccfb7072d01d29a888952145d7cce90a4f59e
TreeHugger Robot [Fri, 24 Mar 2017 23:48:05 +0000 (23:48 +0000)]
Merge "Update hidden WifiManager API."
TreeHugger Robot [Fri, 24 Mar 2017 23:13:56 +0000 (23:13 +0000)]
Merge "Use resolved ActivityInfo to set instant app installer"
TreeHugger Robot [Fri, 24 Mar 2017 23:04:02 +0000 (23:04 +0000)]
Merge "Collect background stats: bluetooth, wifi, sensors"
TreeHugger Robot [Fri, 24 Mar 2017 22:58:11 +0000 (22:58 +0000)]
Merge "Fix companion device feature presence check"
TreeHugger Robot [Fri, 24 Mar 2017 22:42:08 +0000 (22:42 +0000)]
Merge "Added support for maxAspectRatio manifest attribute."
Phil Weaver [Fri, 24 Mar 2017 22:31:12 +0000 (22:31 +0000)]
Merge "Restructure a11y shortcut settings"
TreeHugger Robot [Fri, 24 Mar 2017 22:25:16 +0000 (22:25 +0000)]
Merge "Remove "Allow persistent changes to the vendor overlay theme""
Felipe Leme [Thu, 23 Mar 2017 03:24:00 +0000 (20:24 -0700)]
Make auto-fill UI robust
Now the autofill UI tracks the movement of the anchor view,
both real and virtual and while still preventing the filled
app from accessing the chooser UI. This was achieved by using
a popup window in the app process to determine the window
location and adding a window presenter interface to popup
window that controls the actual window addition, removal, and
update which is implemented by the system server.
Test: all autofill CTS tests pass
bug:
36392498
bug:
35708258
bug:
34943932
fixes:
36039182
fixes:
36493078
Change-Id: I0321913b2e2e759f4b17003bf85cb873e63a467c
Mike Tsao [Fri, 24 Mar 2017 21:56:34 +0000 (14:56 -0700)]
Replace possibly-expensive size() == 0 with isEmpty()
Bug:
36596458
Change-Id: Ieb0ea65be056bb8ce0613280e6213c330fbf783c
Test: added ContentValuesTest
TreeHugger Robot [Fri, 24 Mar 2017 22:04:55 +0000 (22:04 +0000)]
Merge "AAPT2: Fix up file IO"
Badhri Jagan Sridharan [Fri, 24 Mar 2017 21:56:12 +0000 (21:56 +0000)]
Merge "Persist functions for oemOverride across reboot"
Chong Zhang [Tue, 14 Mar 2017 17:05:36 +0000 (10:05 -0700)]
MediaCas: rethrow MediaCas specific exception
Translate ServiceSpecificException from aidl to CAS-specific
exceptions. Also, throw CAS specific exception for descramble().
bug:
22804304
Change-Id: I6d68c335c87fbb95fd8cc227e432eed4e5951550
Stephen Chen [Fri, 24 Mar 2017 21:27:08 +0000 (21:27 +0000)]
Merge "Enable Wifi Wakeup Setting by default."
Felipe Leme [Fri, 24 Mar 2017 21:26:25 +0000 (21:26 +0000)]
Merge "Checks if an adapter item is null before addint it to options."
Eugene Susla [Tue, 14 Mar 2017 17:26:10 +0000 (10:26 -0700)]
Unbind from service on app killed and dedup association requests
1. Listen to calling package binder death stopping the scanning on that.
2. Don't restart scanning when a request with the same values was made.
Bug:
30932767
Test: 1.:
- Using a test app start scanning and kill the app.
- In debug mode ensure that DeviceDiscoveryService#stopScan gets triggered
2.:
- Start scanning and rotate the device while device chooser is visible
- Ensure no visible loss of state is happening
Change-Id: If126a2c963da90172a956fbd88e6b3dcd7ac8b01
Fan Zhang [Fri, 24 Mar 2017 20:44:51 +0000 (13:44 -0700)]
Add logging constant for reset dashboard page.
Change-Id: I526bdd71dad46510a205ed7f540914e83f779224
Fix:
36458355
Test: builds
Wale Ogunwale [Mon, 20 Mar 2017 15:56:38 +0000 (08:56 -0700)]
Added support for maxAspectRatio manifest attribute.
- Allows an app to specify the maximum aspect ratio it supports.
- Support for overriding configuration and bounds at the activity
record and app window token level.
Test: cts/.../run-test CtsAppTestCases android.app.cts.AspectRatioTests
Test: bit FrameworksServicesTests:com.android.server.wm.WindowContainerTests
Test: bit FrameworksServicesTests:com.android.server.wm.WindowFrameTests
Bug:
36505427
Bug:
33205955
Bug:
35810513
Change-Id: Ib2d46ed0c546dd903d09d6bb7162a98bd390ba81
Fyodor Kupolov [Fri, 24 Mar 2017 18:38:16 +0000 (11:38 -0700)]
Use resolved ActivityInfo to set instant app installer
Previously we were only using the component name, which is not always
enough.
Now the resolved ActivityInfo is used and only 'flags'/'exported' and
'enabled' attributes are modified.
Test: Manual
Bug:
34751853
Change-Id: I32a2a2bd98cc5d73ab02ccfc100868b826bb8105
Jakub Pawlowski [Fri, 24 Mar 2017 20:46:59 +0000 (20:46 +0000)]
Merge "Expose connection update callback (4/4)" am:
60865e4a8d am:
45487910b4
am:
ccff3be9d4
Change-Id: I621210ff8d2c0b203d86e6ad2a11402466724b97
Jakub Pawlowski [Fri, 24 Mar 2017 20:41:51 +0000 (20:41 +0000)]
Merge "Expose connection update callback (4/4)" am:
60865e4a8d
am:
45487910b4
Change-Id: I43cca913c52aac4bd3487f7450ef8167c19db0df
Eugene Susla [Fri, 24 Mar 2017 20:35:45 +0000 (13:35 -0700)]
Fix companion device feature presence check
There was a typo causing the feature to be falsely detected as not present.
Test: Ensure feature presence is now detected correctly
Bug:
30932767
Change-Id: I44d137e89546596058b272e8eeaccc0a1db21aef
Jakub Pawlowski [Fri, 24 Mar 2017 20:36:30 +0000 (20:36 +0000)]
Merge "Expose connection update callback (4/4)"
am:
60865e4a8d
Change-Id: I0f5301b195b697743d1fb552dac4af8e1fd1445c
Jakub Pawlowski [Fri, 24 Mar 2017 20:31:31 +0000 (20:31 +0000)]
Merge "Expose connection update callback (4/4)"
Antony Sargent [Thu, 23 Mar 2017 23:32:04 +0000 (16:32 -0700)]
Create a metrics event for ag/
1972563 (instant apps detail screen)
Bug:
35098444
Test: Tests for functional changes are in ag/
1972563
Change-Id: I17de46278c815c9b6b385b111ca6544aa456d133