Louis Chang
a358d7611c
Set minimum scaled width/height to 1
...
Applications could be launched on a secondary display that
has lower density than default display. While some applications
may use 1x1 image resource as activity background, the scaled
width/height would be 0 if down scaling the 1x1 image with
scale ratio that is less than 1/2.
Making sure the scaled width/height won’t less than 1 to
prevent application crashed.
Bug: 117749148
Test: Launch app on secondary display
Change-Id: I73567dd237736466d0bc423485359d50073d86c1
2018-11-20 22:38:08 +08:00
..
2018-11-09 03:55:04 +00:00
2018-11-07 03:52:35 +00:00
2018-10-10 15:49:51 +00:00
2018-10-30 16:53:59 -07:00
2018-10-23 20:02:00 +00:00
2018-10-09 12:16:52 -07:00
2018-10-27 00:24:59 +00:00
2018-08-02 14:24:12 +00:00
2018-09-14 13:18:34 +01:00
2018-07-31 14:36:52 +01:00
2018-08-02 19:28:44 +00:00
2018-11-02 14:24:32 -07:00
2018-07-31 14:36:52 +01:00
2018-08-30 13:38:01 +01:00
2018-10-16 16:50:25 +00:00
2018-08-30 13:38:01 +01:00
2018-09-28 15:59:15 -07:00
2018-11-08 15:32:35 -08:00
2018-07-31 14:36:52 +01:00
2018-11-08 15:32:35 -08:00
2018-11-20 22:38:08 +08:00
2018-10-29 07:44:13 -07:00
2018-10-03 18:52:33 +09:00
2018-07-31 14:36:52 +01:00
2018-07-31 14:36:52 +01:00
2018-07-31 14:36:52 +01:00
2018-09-14 13:18:34 +01:00
2018-07-31 14:36:52 +01:00
2018-07-31 14:36:52 +01:00
2018-09-25 18:34:26 +00:00
2018-08-02 14:24:12 +00:00
2018-10-04 16:18:12 -07:00
2018-10-18 14:32:51 -06:00
2018-07-18 12:11:47 -04:00
2018-07-31 14:36:52 +01:00
2018-07-31 14:36:52 +01:00
2018-03-30 20:13:39 -04:00
2018-07-31 14:36:52 +01:00
2018-11-14 15:25:10 -08:00
2018-09-28 16:48:23 -07:00
2018-06-05 19:03:56 -04:00
2018-07-31 14:36:52 +01:00
2018-11-09 15:18:43 -08:00
2018-07-31 14:36:52 +01:00
2018-08-02 14:24:12 +00:00
2018-07-31 14:36:52 +01:00
2018-07-31 14:36:52 +01:00
2018-07-31 14:36:52 +01:00
2018-11-09 17:02:36 -08:00
2018-07-31 14:36:52 +01:00