Commit Graph

316478 Commits

Author SHA1 Message Date
Doris Liu
88bb31b954 Better handle non-recommended use and warn against it in JavaDoc
BUG: 62386748
Test: Follow repro steps in b/62358678. The issue is no
longer reproducible

Change-Id: Ic3cec7c4947296224edb5365d81988d4da7ee5e1
2017-06-07 01:41:34 +00:00
TreeHugger Robot
faba1835b4 Merge "Change default for group alert behavior" into oc-dev 2017-05-31 19:43:10 +00:00
TreeHugger Robot
25329fa14f Merge "Don't verify secondary setting on restore" into oc-dev 2017-05-31 19:40:44 +00:00
Joe Onorato
1dfd194f7d Merge "Track Partial wakelock time in background" into oc-dev 2017-05-31 19:26:59 +00:00
Joe Onorato
413b135244 Merge "Fix batterystat Counter misreporting when charging" into oc-dev 2017-05-31 19:26:59 +00:00
Joe Onorato
fe06de1fc2 Merge "Batterystats track background bad ble scan time" into oc-dev 2017-05-31 19:26:59 +00:00
TreeHugger Robot
09f7dd5780 Merge "Don't call remoteFillService.destroy() until session is removed." into oc-dev 2017-05-31 18:51:01 +00:00
TreeHugger Robot
21999d2895 Merge "Always post AutofillManager operations in the UI thread." into oc-dev 2017-05-31 18:49:38 +00:00
Winson Chung
4e73123c52 Merge changes from topic 'hw_bitmap' into oc-dev
* changes:
  DO NOT MERGE Updating AnimationSpec and related internal APIs to use GraphicBuffer.
  Update code to draw into hardware bitmaps.
2017-05-31 18:46:59 +00:00
TreeHugger Robot
42f81ee464 Merge "Import translations. DO NOT MERGE" into oc-dev 2017-05-31 18:22:57 +00:00
TreeHugger Robot
8748505b32 Merge "Import translations. DO NOT MERGE" into oc-dev 2017-05-31 18:17:48 +00:00
Jorim Jaggi
f220d95f54 Merge "Check for null owner info" into oc-dev 2017-05-31 18:07:26 +00:00
Julia Reynolds
8f7828ebe7 Change default for group alert behavior
To alert for children but not the summary.

Bug: 62027641
Test: cts
Change-Id: Ie7978514be45be6b13c2ea3bd7ff898db352a1ed
2017-05-31 17:58:08 +00:00
TreeHugger Robot
db0836779e Merge "Fix for wifi detail icon disappearing" into oc-dev 2017-05-31 16:28:57 +00:00
Winson Chung
aa7fa01353 DO NOT MERGE Updating AnimationSpec and related internal APIs to use GraphicBuffer.
- This reduces the copy of the hardware bitmap when it is
  parceled/unparceled.

Bug: 38507414
Bug: 62021436
Test: Launch Overview to/from app, ensure that the header bar shows
Test: go/wm-smoke

Change-Id: I85a9a59a0a3699d1642158061d10fddef34393c3
Signed-off-by: Winson Chung <winsonc@google.com>
2017-05-31 16:23:24 +00:00
Julia Reynolds
5ddacf2d02 Don't verify secondary setting on restore
It'll already be verified as the primary setting of another
managed services type, and it will have a different service
interface, so it shouldn't be overwritten with the primary setting's
service information.

Fixes: 38236571
Test: restore a device. make sure the backup has vr notification
listener permissions on (or any other pkg with both a notification
listener and a condition provider) and some other enabled
notification listener (like a launcher). make sure both
listeners are enabled post restore.

Change-Id: I2e919c2bb06695a3326269571a901ed627c8bee6
2017-05-31 12:14:28 -04:00
TreeHugger Robot
2b81530bd2 Merge "Don't crash when presented with non-roundRect clipping outline." into oc-dev 2017-05-31 16:04:29 +00:00
TreeHugger Robot
388ceaa37a Merge "Fix header not set on initialization" into oc-dev 2017-05-31 15:42:58 +00:00
Rebecca Silberstein
c0643da09e Merge "WifiManager: setWifiApEnabled always returns false" into oc-dev 2017-05-31 15:42:33 +00:00
TreeHugger Robot
0b45799abc Merge "Hide Wi-Fi activity indicator when Wi-Fi icon is hidden" into oc-dev 2017-05-31 15:42:04 +00:00
TreeHugger Robot
69bf3ea86d Merge "Fix Error Prone ArrayEquals/ArrayHashCode bugs" into oc-dev 2017-05-31 15:37:48 +00:00
Jeff Sharkey
06951ac74d Merge "Consistent "low storage" behavior." into oc-dev 2017-05-31 14:18:32 +00:00
TreeHugger Robot
163ec051d1 Merge "Fix infinite loop problem in AnimationHandler" into oc-dev 2017-05-31 13:53:15 +00:00
Yoshinori Hirano
50eac3573a Hide Wi-Fi activity indicator when Wi-Fi icon is hidden
Wi-Fi icon in the status bar can be blocked by System UI Tuner.
So the activity indicator should be hidden.

Fixes: 62211154
Test: manual - block Wi-Fi icon

Author: Akira Oshimi <akira.oshimi@sony.com>
Change-Id: Iba698d621d60f6d6c9f6d8205f91df49806f3f54
2017-05-31 09:39:29 -04:00
TreeHugger Robot
614636e926 Merge "Change the thread for handling shutdown of PowerManagerService." into oc-dev 2017-05-31 12:06:24 +00:00
Bill Yi
a0c4c54aa3 Import translations. DO NOT MERGE
Change-Id: I6fda2cc77767045574759821cda2f330b4c1741b
Auto-generated-cl: translation import
2017-05-31 01:29:44 -07:00
Bill Yi
9194d15a77 Import translations. DO NOT MERGE
Change-Id: Ibb3d3f1843e4488274f6eb3c72ba2a7dbe1de6f8
Auto-generated-cl: translation import
2017-05-30 22:42:44 -07:00
Jeff Sharkey
ddff807b76 Consistent "low storage" behavior.
When answering the question "how much space is free", use the same
logic for Settings UI and StorageManager.getAllocatableBytes().  That
is, the reported free space is usable bytes plus any cached data the
system is willing to delete automatically.

This does *not* include any reserved cache space, since we don't want
abusive apps to penalize other well-behaved apps that are storing
their data in cache locations.  Callers freeing cached data need to
now explicitly request defiance of the reserved cache space.  (Most
callers are already doing this by using FLAG_ALLOCATE_AGGRESSIVE.)

Rewrite the core logic of DeviceStorageMonitorService to understand
this new "reserved" cache space, and to be easier to understand.  It
also now handles cached data on adopted storage volumes, which had
been ignored until now.  Also fix bug where we had skipped "low"
broadcasts when the device skipped directly from/to "full" state.

Bug: 38008706
Test: cts-tradefed run commandAndExit cts-dev -m CtsJobSchedulerTestCases -t android.jobscheduler.cts.StorageConstraintTest
Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.StorageHostTest
Change-Id: Icbdcf3b52775f7ada1ceaeff2f96094c8d8052f9
2017-05-30 22:17:23 -06:00
TreeHugger Robot
c6700cac67 Merge "Fix unnecessary relaunches when unlocking with fingerprint sensor." into oc-dev 2017-05-31 03:54:58 +00:00
Felipe Leme
9b36dfb2b1 Don't call remoteFillService.destroy() until session is removed.
Test: CtsAutoFillServiceTestCases pass

Fixes: 62200831
Bug: 62106708

Change-Id: I4e54e28a347e800c0b8353938399c860f213edfa
2017-05-30 19:55:59 -07:00
Felipe Leme
9876a6fba9 Always post AutofillManager operations in the UI thread.
Test: existing CtsAutoFillServiceTestCases pass
Fixes: 62194407

Change-Id: If878b2befc03706c000b3f31b60904072b2225f4
2017-05-30 19:54:43 -07:00
Svet Ganov
f36d53cbfc Prune unused static libs and instant apps if space needed
We are caching unused static shared libs and instant apps
(installed and uninstalled) opportunistically. If space is
needed we delete these to free up space.

Test: manual

bug:62045000

Change-Id: Id992dee5c7c6e36b8e8b81050602dbc4eeafb0f9
2017-05-31 02:30:41 +00:00
TreeHugger Robot
ddd5458092 Merge "Do not set the divider pos during adjust ime and minimized interaction" into oc-dev 2017-05-31 02:22:33 +00:00
Wale Ogunwale
bfa81adfbe Fix unnecessary relaunches when unlocking with fingerprint sensor.
When the device is unlocked using the fingerprint sensor in an
orientation opposite to the lockscreen orientation, the app that
will be visible is first relaunched in the current lockscreen
orientation and then later relaunched in the correct orientation.
If the keygaurd is going away then:
- Don't let keyguard affect device orientation. We want to use the
orientation of the app that will be visible.
- Allow the rotation sensor to be enabled even though draw isn't
complete so window manager can get the updated or last rotation
reading.
- Don't clear the previous proposed sensor reading to allow
window manager to use the information to update the orientation as
needed vs. falling back to the previous orientation.

Change-Id: I8369723d6a77f2c602f1ef080371fa7cd9ee094e
Fixes: 38494778
Test: Launch an app that doesn't fix orientation like clock, hold
the device in landscape, press the power button, unlock the device
using the fingerprint sensor, and verify the the app isn't
relaunched.
2017-05-30 18:35:36 -07:00
Joe Onorato
6fb15ea9d4 Merge "Turn off logspam" into oc-dev 2017-05-31 01:18:04 +00:00
TreeHugger Robot
a9873bc8f6 Merge changes I4b58610f,Ib758756a into oc-dev
* changes:
  Turn off the check in the test because the assertion is off in the implementation.
  Fix typos that cause infinite recursion and CTS test failure.
2017-05-31 01:07:27 +00:00
Jorim Jaggi
ad15b4982c Check for null owner info
Test: Cast screen, lock keyguard
Change-Id: I314244d8a5fe1d7f49afbaf5247e84d5ea4df027
Fixes: 38484035
2017-05-30 18:01:49 -07:00
TreeHugger Robot
13eef357d6 Merge "Compare against correct user id to determine static lib clients" into oc-dev 2017-05-31 00:52:43 +00:00
TreeHugger Robot
1573489991 Merge "Make NFC AIDL callbacks oneway" into oc-dev 2017-05-31 00:26:37 +00:00
Dianne Hackborn
952d68fa85 Merge "Fix issue #62196301: Pre-O background restrictions allow starts..." into oc-dev 2017-05-31 00:13:02 +00:00
TreeHugger Robot
9c1b222fc1 Merge "Fix issue with aspect ratio not applying correctly when PIP is expanded" into oc-dev 2017-05-31 00:01:00 +00:00
TreeHugger Robot
633b32be55 Merge "Fix NPE and wrong behavior of Typeface.isSupportedAxes" into oc-dev 2017-05-30 23:58:11 +00:00
Lucas Dupin
6ea2787920 Fix header not set on initialization
Header not being set was causing min priority
groups to skip expansion animation.

Bug: 38436027
Test: runtest -x frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/stack/NotificationChildrenContainerTest.java
Change-Id: I34307a7e5ecfe7e30d5bf97880b17fedb0d84378
2017-05-30 16:46:23 -07:00
TreeHugger Robot
17e512528f Merge "Fix QS header touch targets" into oc-dev 2017-05-30 23:36:52 +00:00
TreeHugger Robot
0c78e8238d Merge "Show date + alarm icon when on lock screen" into oc-dev 2017-05-30 23:29:37 +00:00
Andrii Kulian
ea6c7db229 Merge "Temporarily enable screen wakelock logging in WM" into oc-dev 2017-05-30 23:19:51 +00:00
TreeHugger Robot
28355df745 Merge "Random hacks to make QS DND work" into oc-dev 2017-05-30 23:12:31 +00:00
Joe Onorato
82ba91ddb4 Turn off logspam
For more information, see https://source.android.com/source/code-style#log-sparingly

Bug: 37252687
Test: development/tools/logblame/app_switch_test
Test: development/tools/logblame/power_toggle_test
Test: development/tools/logblame/medium_idle_test
Change-Id: Ie2f6ef33df7b6c1ea976a8180945651ac9482976
2017-05-30 16:01:02 -07:00
Svet Ganov
5ded03bd46 Compare against correct user id to determine static lib clients
Test: manual, static shared lib CTS tests pass

bug:36632264

Change-Id: I58b2787ff0b95c89f9e9bb9a005b39e3505aefcb
2017-05-30 22:50:25 +00:00
TreeHugger Robot
7b64dbd529 Merge "Set correct task remove mode when reparenting" into oc-dev 2017-05-30 22:05:08 +00:00