Commit Graph

309172 Commits

Author SHA1 Message Date
TreeHugger Robot
4a04f0fb91 Merge "Fix sysui crashing on profile-only app open" 2017-02-21 20:45:36 +00:00
Adrian Roos
26d8184d46 AOD: Don't use doze states when unsupported
Bug: 30876804
Test: runtest -x $ANDROID_BUILD_TOP/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/DozeScreenStatePreventingAdapterTest.java
Change-Id: Iff09aef0733e30f13723208ff4e7605d40449bb2
2017-02-21 21:39:50 +01:00
Brad Ebinger
caa5a35371 Merge "Remove Session ID from ImsService APIs that do not need it." am: 975be6c065 am: 50bc658e20
am: 8e8c26e25a

Change-Id: I7c7e02c23da5ef12bb0645be39eada1d11b8725c
2017-02-21 20:32:16 +00:00
Brad Ebinger
8e8c26e25a Merge "Remove Session ID from ImsService APIs that do not need it." am: 975be6c065
am: 50bc658e20

Change-Id: I2b2e4b0cbfcee5dd19f6d79ce5a949ca61140ffb
2017-02-21 20:28:09 +00:00
Brad Ebinger
50bc658e20 Merge "Remove Session ID from ImsService APIs that do not need it."
am: 975be6c065

Change-Id: I09469d99bc68133a4de594507854c269e905c40e
2017-02-21 20:24:21 +00:00
Treehugger Robot
975be6c065 Merge "Remove Session ID from ImsService APIs that do not need it." 2017-02-21 20:19:22 +00:00
Svetoslav Ganov
b29785db4a Merge "[DO NOT MERGE] The system can post notifications for any package" into nyc-mr2-dev am: 1ddddee33f
am: 3b119f7822  -s ours

Change-Id: Iad53e592dbdff2ef42c10ba1dd10eef40f11298c
2017-02-21 19:58:46 +00:00
Vladislav Kaznacheev
7614cdf9c3 Exit touch mode on mouse/stylus click
Bug: 35625345
Test: android.cts.view.ViewTest#testTouchMode
Change-Id: Ib31425c3da2c42a4df91735be4057d2aa8db7480
2017-02-21 11:57:59 -08:00
Selim Cinek
f306d9b498 Fixed some notification leaks
Since we're now allowing heads-up on the lockscreen
the addedHeadsUpChildren list would fill up, even
if animations were not enabled.

This also fixes that the ExpandHelper and the DragDownHelper
would not realease the view on up.

Change-Id: I8c1b54ff4b034a8f4f2219534a707bbd792b8efa
Fixes: 35375214
2017-02-21 11:57:43 -08:00
Chris Tate
ff2eb08a1c Merge "Send LOGIN_ACCOUNTS_CHANGED broadcast to manifest receivers" 2017-02-21 19:54:30 +00:00
Svetoslav Ganov
3b119f7822 Merge "[DO NOT MERGE] The system can post notifications for any package" into nyc-mr2-dev
am: 1ddddee33f

Change-Id: Iaf9aacd39ea328f3a22f26987eb65df682ddccc5
2017-02-21 19:54:06 +00:00
Jack Yu
6078cfebb0 Added telephony manager set sim power state API
The new API can be used to power up/down the SIM. This is equivalent
to inserting and removing the card.

Test: Telephony sanity tests
bug: 32224755

Change-Id: Ib82ab1eff613946e7c31c9b2131183a40d09af80
2017-02-21 11:52:03 -08:00
Felipe Leme
33791fd54b Add API to mark sanitized fields and implement it on TextView.
When sending a ViewNode to the auto-fill service, it's necessary to sanitize
it so it does not contain PII (Personally Identifiable Information).

A good rule of thumb is to mark as sanitized nodes whose value were statically
set from resources. Ideally, that logic should belong to View, but View does
not know how its contexts are set, so the decision must be made by the
subclasses, and this CL implements that logic on TextView (which is the main
auto-fill type - others will come soon...)

Bug: 33269702

Test: CtsAutoFillServiceTestCases pass
Test: manual verification

Change-Id: I4dcdd8419a35812bd2f15a63a5be85f8cd97bb4e
2017-02-21 11:47:33 -08:00
Sudheer Shanka
ac0a61bad3 Notify NPMS when uid becomes active or idle.
We used to notify for these events but this got
regressed in ag/1829603.

Bug: 35523062
Test: manual
Change-Id: I05e1517384f1436ee07094cdc6c3a339941f75ff
2017-02-21 11:47:22 -08:00
TreeHugger Robot
1ddddee33f Merge "[DO NOT MERGE] The system can post notifications for any package" into nyc-mr2-dev 2017-02-21 19:46:55 +00:00
TreeHugger Robot
b327a4a34e Merge "Fixed issues with child windows been IME targets" 2017-02-21 19:44:50 +00:00
Christopher Tate
bded68f78a Send LOGIN_ACCOUNTS_CHANGED broadcast to manifest receivers
Bug 35627018

Change-Id: I8255cbe0deff847a2feac4ea41d4a12902615caf
2017-02-21 11:41:55 -08:00
TreeHugger Robot
f9bd294469 Merge "Overhaul GraphicsStatsService" 2017-02-21 19:23:46 +00:00
Fan Zhang
7f2cace68b Add metrics for default assist/voice input pickers
Bug: 35203386
Test: Builds
Change-Id: Ic131eacfec84e79bcc3734f8f56b8e9848672e9b
2017-02-21 11:20:46 -08:00
Evan Rosky
5fd69c3864 Fixed poor behavior of position-based focus order
Rect-based focus order algorithm used to sort all views such-that
higher tops were higher. The result is that focus order could
easily move end-to-start when elements with varying heights (even
1px different) were arranged horizontally.

This changes the algorithm to take vertical overlap into account
when sorting. It tries its best to match UX for how focus-order
should work in ambiguous cases.

Bug: 33848452
Bug: 34854951
Test: Checked in a sample-app to make sure focus order matches UX
      more closely than before. Also verified that existing
      FocusFinder CTS tests still pass.

Change-Id: I0e0f2f63d5151693a2642604f64df985856c8991
2017-02-21 11:17:34 -08:00
Rob Carr
2d8f7e80be Merge changes I670fe942,I87eaf866,I4a729457
* changes:
  Pinned stack animation: Fix inset logic.
  Pinned stack animation: Trigger window preservation when dropping shadows.
  Pinned stack animation: Prevent window preservation during animation.
2017-02-21 19:04:09 +00:00
Rob Carr
30ed6d0d02 Merge "Pinned stack animation: Correct scaling calculations." 2017-02-21 19:02:10 +00:00
Matthew Ng
47fa6ae96c Fixes dragging divider up in splitscreen puts the docked stack behind
Fixes the regression introduced in ag/1721556 where the docked app would
be placed on top of all the other apps when it should be placed behind
everything.

Change-Id: I63fc3bcfd0ef93f6ac8509a4268b628d9b0eb46b
Fixes: 34697887
Test: manual - split screen and drag up to dismiss
2017-02-21 11:01:31 -08:00
Rob Carr
7f89ae05dd Merge "Pinned stack animation: Also clear finalClipRect." 2017-02-21 19:01:21 +00:00
Conrad Chen
56b2dcd54f Merge "TIF: fix NPE caused by invalid component name" 2017-02-21 19:00:02 +00:00
TreeHugger Robot
7897bb89a9 Merge "Fixing NPE when there is no running activity." 2017-02-21 18:52:24 +00:00
Shreyas Basarge
a88d8e04af Serialize restore operations
This cl introduces logic to serialize restore
operations. An incoming restore operation will
wait for the currently running restore to
complete.

Bug: 29010684

Test: Tested manually by installing an app while a restore was in
progress.

Change-Id: Ic88fdf2a6dcfab64853fe460c649380eea644774
2017-02-21 18:51:46 +00:00
Jeff Sharkey
d5d5e926eb Clear cache space when allocating bytes.
Fleshes out remainder of allocation implementation, where we offer
to clear cached data to satisfy the allocation request.  To prevent
abuse, we never let apps allocate into either the minimum cache space
or low storage space.

Clean up quota APIs to require the caller to pass in the path they're
interested in, and we resolve the underlying filesystem for them.

Defines settings that can be used to tweak the minimum cache space.

Test: builds, boots
Bug: 34690590
Change-Id: I85bc07399f91ee4aa568a8a54c615646bf748ad4
2017-02-21 11:50:55 -07:00
Peter Qiu
e8c7b23a52 Merge "SettingsLib: wifi: Fixed AccessPoint tracking for Passpoint networks" am: b13de64a11 am: bedf92ed24
am: 763d6ab49b  -s ours

Change-Id: I2af0b7dc0a2048bb5d357080526668f2f3ffb5ef
2017-02-21 18:47:34 +00:00
Jason Monk
4597600dec Fix sysui crashing on profile-only app open
Missing not installed flag.

Test: Launch app only installed on a profile
Change-Id: Ibbebe0cdeb71168aa7ce5c072eb2b3f4de8f9231
Fixes: 35618441
2017-02-21 13:45:36 -05:00
Peter Qiu
763d6ab49b Merge "SettingsLib: wifi: Fixed AccessPoint tracking for Passpoint networks" am: b13de64a11
am: bedf92ed24

Change-Id: Ibcbc93be7e0294e6a06976a6222adc8fe95582e7
2017-02-21 18:43:11 +00:00
Lei Yu
1335669b0e Merge "Add statusLabel in BatteryInfo" 2017-02-21 18:40:52 +00:00
Peter Qiu
bedf92ed24 Merge "SettingsLib: wifi: Fixed AccessPoint tracking for Passpoint networks"
am: b13de64a11

Change-Id: I0e45cb17f11e8991d0d2c58cf7630f1e33296d97
2017-02-21 18:39:01 +00:00
Treehugger Robot
b13de64a11 Merge "SettingsLib: wifi: Fixed AccessPoint tracking for Passpoint networks" 2017-02-21 18:22:39 +00:00
Glen Kuhne
b7f47eb781 Merge "Move wifi.proto to shared service .jar" am: 9ca5ddff4c am: d0dcf559c5
am: f231c62802  -s ours

Change-Id: I78421f235461a8534c2b2995873f25b3c86121e8
2017-02-21 18:14:22 +00:00
Robin Lee
b601d5db9e Merge "Reinstate USER_PRESENT for ConnectivityService" am: 2c8229456a am: 433631edfe
am: 4d00a13c35

Change-Id: Id22859b30b848418cbc1bcf46c74ebd2aa88cd06
2017-02-21 18:13:12 +00:00
Erik Kline
977adb98e7 Merge "Don't request information on unregistered callbacks" am: 14e3db3de5 am: 042be0bd84
am: 507feec43a

Change-Id: I9d43269d4b3d3c61110a0ce07cb3cf8cd200aab6
2017-02-21 18:12:07 +00:00
Isaac Chen
bde7905716 Merge "Turned ENABLE_CPUSETS into runtime decision." am: d95aa50b18 am: 7eca8f7073
am: d60d606eba

Change-Id: Ib114f65ca5eee84dca7510866a15459334ec6460
2017-02-21 18:10:18 +00:00
Glen Kuhne
f231c62802 Merge "Move wifi.proto to shared service .jar" am: 9ca5ddff4c
am: d0dcf559c5

Change-Id: I7c0095922c87073732f29b623aee2d99608511cf
2017-02-21 18:06:31 +00:00
Robin Lee
4d00a13c35 Merge "Reinstate USER_PRESENT for ConnectivityService" am: 2c8229456a
am: 433631edfe

Change-Id: I2c5b9061435e17d8319a3109e28fa2a1b6f75154
2017-02-21 18:05:37 +00:00
Erik Kline
507feec43a Merge "Don't request information on unregistered callbacks" am: 14e3db3de5
am: 042be0bd84

Change-Id: Idd102961c422be5c94e4bf92c3aaae7f660f4313
2017-02-21 18:04:38 +00:00
Isaac Chen
d60d606eba Merge "Turned ENABLE_CPUSETS into runtime decision." am: d95aa50b18
am: 7eca8f7073

Change-Id: I96e38dc38e372a27990b9cd1bda9f04676f13eb8
2017-02-21 18:02:59 +00:00
Glen Kuhne
d0dcf559c5 Merge "Move wifi.proto to shared service .jar"
am: 9ca5ddff4c

Change-Id: I3c10728fdbcd2882723a1bd519a47a63aeba0ac0
2017-02-21 17:56:13 +00:00
Robin Lee
433631edfe Merge "Reinstate USER_PRESENT for ConnectivityService"
am: 2c8229456a

Change-Id: If8b7239cdabdd79d9ea24baf99e95c6ec1a9acf3
2017-02-21 17:55:07 +00:00
Erik Kline
042be0bd84 Merge "Don't request information on unregistered callbacks"
am: 14e3db3de5

Change-Id: I99bf9b6a092318cf5183b18d25bda36f9977ce4e
2017-02-21 17:54:13 +00:00
Isaac Chen
7eca8f7073 Merge "Turned ENABLE_CPUSETS into runtime decision."
am: d95aa50b18

Change-Id: Ie31a736b2edd33c1cebbc08fbc39b555d501a349
2017-02-21 17:52:22 +00:00
John Reck
df1742ed47 Overhaul GraphicsStatsService
* LRU cache of recently-used is dead, replaced
  disk storage
* ASHMEM size is read from native by the system service,
  no longer requires keeping a sizeof() in sync with a
  constant in Java
* Supports dumping in proto format by passing --proto
* Rotates logs on a daily basis
* Keeps a history of the most recent 3 days

Bug: 33705836
Test: Manual. Verified log rotating works by setting it up to
rotate every minute instead of day. Confirmed /data/system/graphicsstats
only has the most recent 3 entries after several minutes

Change-Id: Ib84bafb26c58701cc86f123236de4fff01aaa4aa
2017-02-21 09:49:10 -08:00
Daniel Nishi
58229846d0 Merge "First pass at adding the cache quota suggestions." 2017-02-21 17:37:58 +00:00
Derek Sollenberger
d7df6748f2 Merge "Add developer setting to set the default GPU renderer." 2017-02-21 17:37:38 +00:00
Derek Sollenberger
7c196d4a85 Merge "Disable buffer age swap behavior for SkiaGL on Adreno gpus" 2017-02-21 17:37:38 +00:00