Commit Graph

13198 Commits

Author SHA1 Message Date
Julia Reynolds
2bc9e4fdf3 Merge "Properly filter alert window notifications" into pi-dev
am: cfa0f19fa1

Change-Id: I2eda66d48b148156f8e6b2dc0a29bd1256ffbc16
2018-03-29 04:03:50 +00:00
TreeHugger Robot
cfa0f19fa1 Merge "Properly filter alert window notifications" into pi-dev 2018-03-29 03:50:31 +00:00
Mady Mellor
e9761dcc70 Merge "Fix keywords hint and add some hints and a subtype to Slice" into pi-dev
am: 822dfea6ca

Change-Id: I3e366649169e6f7fa12f6ae31e7b0d72048b138d
2018-03-29 00:59:04 +00:00
Michael Wachenschwanz
b98ecddeba Merge "Change MeteredDataDisabled function names for clarity" into pi-dev
am: 631f55ba54

Change-Id: Icf55fa2d58a0d36c21e331f1756e3f05b3cc61f0
2018-03-29 00:11:25 +00:00
TreeHugger Robot
822dfea6ca Merge "Fix keywords hint and add some hints and a subtype to Slice" into pi-dev 2018-03-28 23:59:37 +00:00
TreeHugger Robot
631f55ba54 Merge "Change MeteredDataDisabled function names for clarity" into pi-dev 2018-03-28 23:18:01 +00:00
Joshua Baxter
affc3087f5 Merge "docs: fixed a couple of typos" into oc-mr1-dev am: 651ffd426c
am: 9a2d959eff

Change-Id: I02788adeb444186d8d9e0471fe326d090d9199d7
2018-03-28 23:08:09 +00:00
Chris Wren
315c41b60c Merge "fix SliceMetrics typo and disambiguate logTouch" into pi-dev
am: 362b3522d1

Change-Id: Id01778f18acba57ad19353e814fd0f8f278c3bc2
2018-03-28 22:14:20 +00:00
Robert Berry
725f2dfe36 Merge "Add autobackup XML support for test BackupTransport flag" into pi-dev
am: 88f8de612d

Change-Id: I38aa9b19b3ed22376824dda753b0c30ef2df458e
2018-03-28 22:09:02 +00:00
Joshua Baxter
9a2d959eff Merge "docs: fixed a couple of typos" into oc-mr1-dev
am: 651ffd426c

Change-Id: Ie6fb97aae76637023657d751f6ad0ebbc74ff284
2018-03-28 22:06:24 +00:00
TreeHugger Robot
362b3522d1 Merge "fix SliceMetrics typo and disambiguate logTouch" into pi-dev 2018-03-28 21:18:33 +00:00
TreeHugger Robot
88f8de612d Merge "Add autobackup XML support for test BackupTransport flag" into pi-dev 2018-03-28 21:10:54 +00:00
Julia Reynolds
3c7de110cc Properly filter alert window notifications
Test: atest SystemUITests
Change-Id: Ie07ffeb7a96469d985261c9a1edb1d7ce82af5c5
Fixes: 77162311
2018-03-28 16:41:01 -04:00
Vishwath Mohan
77b5ccb59b Merge "Refactor FingerprintDialog to BiometricDialog" into pi-dev
am: 86ed912f5a

Change-Id: I2582d4770900460a8d37c9d832e9a20583f9adf9
2018-03-28 19:01:11 +00:00
Vishwath Mohan
86ed912f5a Merge "Refactor FingerprintDialog to BiometricDialog" into pi-dev 2018-03-28 18:46:34 +00:00
Robert Berry
39cf42c927 Add autobackup XML support for test BackupTransport flag
We need this to be able to write a CTS test.

Bug: 73710054
Test: runtest frameworks-core -p android.app.backup
Change-Id: I37d4b64d40426c5de47308394e21baebd542ad52
2018-03-28 17:31:45 +00:00
Jan Althaus
39441a9d85 Merge "Change TextClassification to use RemoteActions" into pi-dev
am: 08a75e0ee7

Change-Id: I411c8b207e24c6a4e9ca8660619fae1e0a3a8ef7
2018-03-28 17:23:56 +00:00
Jan Althaus
08a75e0ee7 Merge "Change TextClassification to use RemoteActions" into pi-dev 2018-03-28 17:04:58 +00:00
Luis Hector Chavez
fd131815ee Merge "Also allow avoiding gfx acceleration at runtime" into pi-dev
am: 744e6f1738

Change-Id: I3e691bac969b76ebfdd9ee3e3e3956fb53e64548
2018-03-28 15:16:59 +00:00
TreeHugger Robot
744e6f1738 Merge "Also allow avoiding gfx acceleration at runtime" into pi-dev 2018-03-28 14:58:10 +00:00
Jan Althaus
20d346eafe Change TextClassification to use RemoteActions
Behavioural changes:
- Every action now as an icon, and instead hints via RemoteAction whether
  the icon should be shown or not.
- Icons are now taken from the app default, not the activity.
  (That way, we can construct a lightweight resource backed Icon)
- Legacy intents are no longer parceled for security reasons.
  (TextClassificatio wasn't parcelable in O)
- TextClassifications built with the new API will always return null for
  getIntent, but provide a getOnClickListener.
- Accessibility descriptions are now provided for action mode items.

Testing changes:
- Removed URI checks from TCM test because PendingIntent hides this info.

Bug: 73950205
Test: atest FrameworksCoreTests:TextClassificationManagerTest
Test: atest FrameworksCoreTests:TextClassificationTest
Test: atest CtsViewTestCases:TextClassificationManagerTest
Test: atest CtsViewTestCases:TextClassifierValueObjectsTest
Test: atest CtsWidgetTestCases:TextViewTest
Test: atest CtsWidgetTestCases:EditTextTest
Change-Id: I6706d2c342a8bbb9de0146a48c8b8aac9d9c7d83
2018-03-28 11:41:39 +02:00
Svet Ganov
1e8ea5f3bb Add API to query if a UID is active
am: 0c1c9cd7f2

Change-Id: Ic209da2a6817b82e7bcc09bd6eb2c0896a4071f5
2018-03-28 04:27:08 +00:00
Svet Ganov
0c1c9cd7f2 Add API to query if a UID is active
Test: cts-tradefed run cts-dev -m CtsCameraTestCases

Bug: 72863398

Change-Id: I4bacfd87cac782ef178e9a279cd833b229150ae1
2018-03-28 04:14:53 +00:00
Suprabh Shukla
8f92f5f20d Merge "Optimizing TimeSparseArray#put in case of collisions" into pi-dev
am: 7eee509df5

Change-Id: I94fcc01c6a767fb21f962dd36fc2c464650cb5cb
2018-03-28 02:21:24 +00:00
TreeHugger Robot
7eee509df5 Merge "Optimizing TimeSparseArray#put in case of collisions" into pi-dev 2018-03-28 02:10:45 +00:00
Lucas Dupin
a68e764dad Merge "Unload wallpaper bitmap and release HwuiContext" into pi-dev
am: 3844e1d83c

Change-Id: I845b4ec476ea1c7e9bfa44a224818dea85c06577
2018-03-28 02:09:56 +00:00
TreeHugger Robot
3844e1d83c Merge "Unload wallpaper bitmap and release HwuiContext" into pi-dev 2018-03-28 01:59:26 +00:00
Lucas Dupin
4898d75766 Merge "Hide activities when AOD comes in" into pi-dev
am: 11866a4242

Change-Id: I7b4524fb00fbd394c7e0794f052f394c1aad5460
2018-03-28 01:26:42 +00:00
TreeHugger Robot
11866a4242 Merge "Hide activities when AOD comes in" into pi-dev 2018-03-28 01:11:42 +00:00
Suprabh Shukla
33333ae877 Merge "Sending MY_PACKAGE_SUSPENDED to suspended apps" into pi-dev
am: 1c73370df4

Change-Id: I7d2ab9a1d57c9837a9ed5564fbc609bf11d59b8f
2018-03-28 00:58:47 +00:00
TreeHugger Robot
1c73370df4 Merge "Sending MY_PACKAGE_SUSPENDED to suspended apps" into pi-dev 2018-03-28 00:45:23 +00:00
Mady Mellor
930f9a54b8 Fix keywords hint and add some hints and a subtype to Slice
Test: make
Bug: 76461875
Bug: 74338434
Change-Id: If1357f7709cfa9c43fe6882f4b2979d9ab84067d
2018-03-27 17:25:57 -07:00
Dianne Hackborn
30181d3bc1 Merge "Work on issue #74404949: Screen state usage API" into pi-dev
am: 00f3c4333e

Change-Id: I3bff628d13f1089213edf84aa1feffd683b99cd7
2018-03-27 23:37:02 +00:00
Suprabh Shukla
a2cf00a011 Optimizing TimeSparseArray#put in case of collisions
Adding a linear check instead of binary searching everytime. Logging
only when the displacement is greater than 10 millis.

Test: python system/extras/boottime_tools/bootanalyze/bootanalyze.py\
-r -c system/extras/boottime_tools/bootanalyze/config.yaml -n 10
and
atest android.app.usage.TimeSparseArrayTest

Bug: 76435713
Change-Id: I8f4df59e84fc196d0f63f9433d01ebc759f104c4
2018-03-27 16:30:56 -07:00
Lucas Dupin
41c25cee06 Unload wallpaper bitmap and release HwuiContext
To decrease sysui memory usage

Test: adb dumpsys meminfo
Fixes: 74534423
Change-Id: I3cb4a5927e8d6b20a7aeba3fda253f0ba4cc18f6
2018-03-27 16:30:07 -07:00
Christopher Tate
f88a8023d6 Merge "Regularize some wallpaper APIs" into pi-dev
am: 17b6490ce1

Change-Id: I3ce564689cea8a2172dc682813c7bd0dcec3b199
2018-03-27 23:02:45 +00:00
Dianne Hackborn
00f3c4333e Merge "Work on issue #74404949: Screen state usage API" into pi-dev 2018-03-27 22:40:51 +00:00
Chris Wren
41a25211de fix SliceMetrics typo and disambiguate logTouch
Bug: 76461931, 76461916
Test: make docs
Change-Id: I25c453effbfa7037c036eed81aac26fff30cc55a
2018-03-27 18:27:23 -04:00
TreeHugger Robot
17b6490ce1 Merge "Regularize some wallpaper APIs" into pi-dev 2018-03-27 21:50:31 +00:00
Joshua Baxter
9a841a6519 docs: fixed a couple of typos
Test: make ds-docs

Bug: 36948822
Bug: 36946883

Change-Id: I4de699dc7d5a69e456b0656de890f76b9787aafa
2018-03-27 21:44:55 +00:00
Dianne Hackborn
ced54398cc Work on issue #74404949: Screen state usage API
Add usage stats tracking of screen time.  There are two new
events, one for when the device is an interactive state, the
other for when it is non-interactive.  Also add a whole new
usage stats API for retrieving aggregated data that is associated
with general events, not particular packages.  In this case
it allows you to find the time the device spent interactive
and non-interactive and the count of the transitions in to
each of those states.

Bug: 74404949
Test: atest CtsUsageStatsTestCases:UsageStatsTest\#testInteractiveEvents

Change-Id: Ibe6d55e2aecb0c8519b1358644378ec5c7a4250d
2018-03-27 13:27:20 -07:00
Vishwath Mohan
cf87df1531 Refactor FingerprintDialog to BiometricDialog
This CL changes FingerprintDialog into the more generic
BiometricDialog, which OEMs will be able to extend as necessary to
provide support for alternate biometric modalities.

Bug: 74831038
Test: m -j50 FingerprintDialog (from the associated CL on this topic)
      The app works and authenticates successfully.
Test: make update-api -j56

Change-Id: Ic398ef0a0b448be68dbe3330b30779f93f567243
2018-03-27 13:15:01 -07:00
Lucas Dupin
47a65c79c9 Hide activities when AOD comes in
Display timeout does not lock the keyguard, which means that
activities won't immediatelly disappear.

We need to factor AOD into to equation to make sure that
the user won't see phantom activities under the status bar
window when the display times out.

Fixes: 73120928
Test: open Settings, wait for display timeout
Test: Wait for display timeout, press power, see launcher
Test: Launch maps, start navigation (FLAG_SHOW_WHEN_LOCKED)
Test: Go to AOD, press power button: activity is occluding keyguard
Test: Press home: bouncer shows up
Test: Unlock: maps goes into pip mode
Test: Go to AOD and back to lock screen: keyguard visible
Test: Expand maps, go to AOD, back to lock screen: maps is occluding keyguard
Change-Id: I9b7512313af2f851d8788ec53de7880bce3bed2c
2018-03-27 12:12:14 -07:00
Andrii Kulian
cde24090c7 Merge "Use transaction for local activity relaunch" into pi-dev
am: dbac87dd40

Change-Id: Iea33b11413999fe45f6d0e28d376b18e68fc5124
2018-03-27 18:24:50 +00:00
Andrii Kulian
dbac87dd40 Merge "Use transaction for local activity relaunch" into pi-dev 2018-03-27 17:24:42 +00:00
Jeff Sharkey
120b8aa395 Merge "API council requested tweaks to JobInfo." into pi-dev
am: a9975804a2

Change-Id: I40217f8df995db19a59e0253b3d8d0440d57acb3
2018-03-27 16:43:25 +00:00
TreeHugger Robot
a9975804a2 Merge "API council requested tweaks to JobInfo." into pi-dev 2018-03-27 16:25:23 +00:00
Jeff Sharkey
8474ca0246 API council requested tweaks to JobInfo.
Split network estimates into separate download/upload values, and
add missing accessor methods.

Test: none
Bug: 74945408, 74032541, 74032817
Change-Id: I4c92b8a867690dc4f048701f13142655c3370958
2018-03-27 08:41:42 -06:00
Eric Sandness
f21a3796cb Merge "Permission Check For DPM.isDeviceProvisioned" into pi-dev
am: 9f36c26f83

Change-Id: Ie798dde6593e6d0786f541a5c2512eb388ca5554
2018-03-27 12:36:01 +00:00
Eric Sandness
9f36c26f83 Merge "Permission Check For DPM.isDeviceProvisioned" into pi-dev 2018-03-27 12:25:53 +00:00