Commit Graph

417140 Commits

Author SHA1 Message Date
Julia Reynolds
e50aa221bc Fix a11y read-twice bug
Also remove a hardcoded string

Test: manual with talkback
Fixes: 133731969
Change-Id: I0effe046fd6edddd109335a6dd7fa6b732587d64
2019-05-31 15:06:34 -04:00
Keun-young Park
eb05a18d3b Merge "Add useSystemProvidedLauncherForSecondary config" into qt-dev 2019-05-31 18:52:15 +00:00
Matt Casey
f4b45a602c Merge "Make CornerHandleView use device radius." into qt-dev 2019-05-31 18:49:42 +00:00
Jean-Michel Trivi
bc20854746 Merge "Audio service: no double message handling for A2DP device connection" into qt-dev 2019-05-31 18:28:15 +00:00
Kweku Adams
d6d8091d51 Merge "Adding checks for bad periodic job scheduling." into qt-dev 2019-05-31 18:03:16 +00:00
Kweku Adams
966e72b822 Adding checks for bad periodic job scheduling.
1. There are cases where a periodic job is scheduled in a past time
period. Without any other constraints, the job could be run much too
frequently and spam the system. Adding these checks makes sure the jobs
are scheduled with sane values.
2. Adding an upper limit on the job period to avoid overflow cases.
3. Changing int to long to avoid overflow.

Bug: 133654009
Test: atest com.android.server.job.JobSchedulerServiceTest
Test: atest com.android.server.job.controllers.QuotaControllerTest
Test: atest com.android.server.job.controllers.TimeControllerTest
Test: atest CtsJobSchedulerTestCases
Change-Id: I97616efb6c37b7201eb926d16c0d9be450bf2ba4
2019-05-31 10:57:48 -07:00
Nazanin Bakhshi
1e3ee721c7 Merge "Revert "Store subscriber ID / IMSI into telephony database"" into qt-dev 2019-05-31 17:55:18 +00:00
Nazanin Bakhshi
7ca2360714 Revert "Store subscriber ID / IMSI into telephony database"
This reverts commit 3dc7e3a4f6.
Bug: 134113745
Bug: 131916175
Reason for revert: <breaking presubmit>

Change-Id: Icd9235fc09eb6c1eacdb5b3bc02585cf23de7fc4
Merged-In: I501aed14d73b7cc19f9c492a7fe451eac127e8e4
2019-05-31 17:54:03 +00:00
TreeHugger Robot
2e45d4fb47 Merge "Reset session for augmented only on manual requests." into qt-dev 2019-05-31 17:51:46 +00:00
Winson Chung
4410d23560 Merge "Removing logs from old bug" into qt-dev 2019-05-31 17:33:24 +00:00
TreeHugger Robot
ae76af46b2 Merge "Prevent double teardown of service connections" into qt-dev 2019-05-31 17:27:34 +00:00
Julia Reynolds
9c11745528 Merge "Lower max concurrent notifications from an app" into qt-dev 2019-05-31 17:13:44 +00:00
Matt Casey
bdb3cb325d Make CornerHandleView use device radius.
Both the radius and margin will vary from device to device. Created a
derivation of margin from the radius values based upon numbers on real
devices.

Bug: 133861138
Test: Verified padding and radius on multiple devices.
Change-Id: I3a284d75da8beb7ab77e5cb8e1fa8af57c5e3978
2019-05-31 13:05:09 -04:00
TreeHugger Robot
ab6d2d3152 Merge "Fix always-null children on NotificationEntry" into qt-dev 2019-05-31 17:03:05 +00:00
TreeHugger Robot
f2079ee257 Merge "Marking job deferral time in QuotaController." into qt-dev 2019-05-31 16:44:23 +00:00
Baligh Uddin
5d35b50398 Merge "Add OWNERS file to block further submits so we can start migration." into qt-dev 2019-05-31 16:33:59 +00:00
Zimuzo Ezeozue
fb9843f8d7 Merge "Pause watchdog triggering on the main thread during OtaDexoptService" into qt-dev 2019-05-31 16:14:17 +00:00
Gavin Corkery
5b9e00273b Merge "Perform user data back up in post install stage" into qt-dev 2019-05-31 16:10:13 +00:00
TreeHugger Robot
ab160487d6 Merge "Add text shadow to improve visibility on album art" into qt-dev 2019-05-31 16:02:40 +00:00
Lorenzo Colitti
f4a435aca0 Merge changes Ib9a15fec,I9f3f2588 into qt-dev
* changes:
  Don't crash ConnectivityService if the network stack crashes.
  Add a wrapper for INetworkMonitor.
2019-05-31 15:45:49 +00:00
Heemin Seog
f1f6146ed8 Merge "Send data warning intents with the current user" into qt-dev 2019-05-31 15:44:18 +00:00
TreeHugger Robot
36d2b17108 Merge "ColorDisplayService: Check for null content observer before unregistering" into qt-dev 2019-05-31 15:33:32 +00:00
Santos Cordon
9b26440e86 Merge "Adding some brightness logging." into qt-dev 2019-05-31 14:56:41 +00:00
Lucas Dupin
47e4102e9f Merge "Do not translate statusbar icons" into qt-dev 2019-05-31 14:52:07 +00:00
TreeHugger Robot
a8723416cc Merge "Clear AppOpsController when it stops listening" into qt-dev 2019-05-31 14:44:10 +00:00
Remi NGUYEN VAN
e7e0294294 Merge "Simplify crash conditions in NetworkStackClient" into qt-dev 2019-05-31 14:42:08 +00:00
Fabian Kozynski
c40cff352a Merge "Remove leftover stopship comment line" into qt-dev 2019-05-31 14:33:54 +00:00
Aran Ink
2f86e74333 Merge "Change GlobalActions emergency icon to star of life." into qt-dev 2019-05-31 14:32:01 +00:00
Aran Ink
50195263b7 Change GlobalActions emergency icon to star of life.
Also fixes spacing for landscape/seascape layout spacing in column view.

Test: Manual inspection.
Fixes: 133435027

Change-Id: Ia3eee8747847ee2a74c2014263545dfdf14f52ce
2019-05-31 14:31:07 +00:00
Lorenzo Colitti
f331108f5a Don't crash ConnectivityService if the network stack crashes.
When the network stack crashes, the system will rebind to it.
Existing references are no longer useful (they just throw
RemoteException) but if the system is still up, then the user
can at least recover the situation by taking actions such as
going into airplane mode, toggling wifi, etc.

This CL stops ConnectivityService from crashing the system when
it cannot talk to NetworkMonitor. This is arguably better than
crashing the system, because crashing the system is disruptive
and carries the serious risk of a bootloop from which it is not
possible to recover.

NetworkStackClient already contains code to crash the system
when the network stack crashes. This change help ensure that
if a crash occurs, it is the result of an explicit decision by
that code instead of an unchecked exception in one of the callers
of the network stack.

Bug: 133725814
Test: builds, boots
Test: atest FrameworksNetTests NetworkStackTests
Change-Id: Ib9a15fececd8579fc5b139fe0341275a45512e0f
Merged-In: Ib9a15fececd8579fc5b139fe0341275a45512e0f
(cherry picked from commit ac29a97d10)
2019-05-31 14:19:36 +00:00
Lorenzo Colitti
1cf53ba8e6 Add a wrapper for INetworkMonitor.
Generated using:
./wrap_aidl.sh frameworks/base/services/net/aidl/networkstack/3/android/net/INetworkMonitor.aidl > frameworks/base/services/net/java/android/net/NetworkMonitorManager.java

Bug: 133725814
Test: builds, boots
Test: atest FrameworksNetTests
Change-Id: I9f3f2588d498a05e2405129cf58bfcdd30f45e3b
Merged-In: I9f3f2588d498a05e2405129cf58bfcdd30f45e3b
(cherry picked from commit 64877b6509)
2019-05-31 13:58:59 +00:00
Julia Reynolds
3e9bd48fea Lower max concurrent notifications from an app
Test: boot device
Fixes: 134072958
Change-Id: I083f2c0d034b0429a26abd93286dc2c8fcf59f26
2019-05-31 09:19:15 -04:00
Fabian Kozynski
4a7331f845 Remove leftover stopship comment line
Test: none
Fixes: 129405675
Change-Id: I95e74cd50cccf81879e0fcb5321d4b1656efdd1c
2019-05-31 09:04:59 -04:00
Zimuzo
f3c4614d1f Pause watchdog triggering on the main thread during OtaDexoptService
Similar to I3876c41e6d0e41d044a5b1d5e57f894c7fb4fb0e where we pause
the watchdog because dexopting can take a while, here moving A/B
artificats can take a long time.

Bug: 134062700
Test: Manually tested by adding an artificial sleep in
OtaDexoptService#main and verified that watchdog was not triggered

Change-Id: I69067fbbb8be4e421918c18b67269044fab51b3e
2019-05-31 12:46:12 +01:00
Remi NGUYEN VAN
0edda9f555 Simplify crash conditions in NetworkStackClient
The previous model could have impact on boot time to read/write from/to
disk, and could potentially fail in some scenarios where the device does
full reboots instead of framework restarts.

The current design most simply avoids crashing in the first 30mins after
a full reboot, and optimistically checks the wall clock to rate-limit
the crashes to every 6h.

Test: manual as below, without IS_DEBUGGABLE condition
Test: Install new NetworkStack, force crash, observe rollback
Test: Set min_uptime_before_crash to 100, force crash, observe crash
Test: min_uptime_before_crash still 100, install new NetworkStack, force
      crash: observe rollback (there was already a recent crash)
Test: Set min_crash_interval to 10, force crash: observe crash
Bug: 133725814
Change-Id: I3fd5ba7047d7ac991cb62a7cab16a40f4ee731a3
2019-05-31 20:06:11 +09:00
Gavin Corkery
ab5ee411e5 Perform user data back up in post install stage
Currently the backup of user data is done in the enable rollback stage,
during which there is no guarantee that the package being backed up is
not currently running. Moving the backup to the post install stage will
guarantee that the package is not running.

Test: atest RollbackTest
Test: atest StagedRollbackTest
Bug: 124032231
Change-Id: I4b42a0c5ade1645585d1d6f698637df950d05c72
2019-05-31 10:26:56 +01:00
Linus Tufvesson
b26792a2ca Merge "Notify all running users of DeviceConfig changes" into qt-dev 2019-05-31 09:14:53 +00:00
TreeHugger Robot
f3eaec257a Merge "Prevent a 4-way binder interlock leading to a leak." into qt-dev 2019-05-31 09:12:53 +00:00
Winson Chung
780fc519dc Removing logs from old bug
Bug: 134106231
Test: None, only log removal
Change-Id: I6503f38ac25d1b2784a181182de026ec0f96e125
2019-05-30 21:03:49 -07:00
Winson Chung
64fc46315f Merge "Ensure margins for floating rotation button account for corner insets" into qt-dev 2019-05-31 03:41:33 +00:00
TreeHugger Robot
f3825f11a1 Merge "Fix RTL placement of "Silent Notifications" section header" into qt-dev 2019-05-31 02:52:14 +00:00
Remi NGUYEN VAN
d63457c64b Merge "Add tests for NetworkStack failure notifications" into qt-dev 2019-05-31 02:23:28 +00:00
Anil Admal
2ef048060c Merge "Fix permission mismatch logging of NfwNotification when GNSS HAL is disabled" into qt-dev 2019-05-31 01:58:55 +00:00
TreeHugger Robot
f185b652bd Merge "Fix notification shade inefficient contrast" into qt-dev 2019-05-31 01:26:19 +00:00
Lucas Dupin
c53aaf84b9 Do not translate statusbar icons
We're not showing them on AOD anymore, this code is obsolete.

Test: visual
Fixes: 132396324
Change-Id: Ief1870b5c92351ca5533721b7dd5db57994d5d27
2019-05-30 17:23:28 -07:00
Jeff Sharkey
6f574c4d3a Merge "video files with mimetype “video/x-ms-asf” can't scan to Gallery" into qt-dev 2019-05-31 00:10:04 +00:00
TreeHugger Robot
1f915b0d33 Merge "Brought back compatibility check for falling back on dest_out whenever clear is used as a blend mode to draw bitmaps" into qt-dev 2019-05-30 23:37:42 +00:00
Winson Chung
082e8dfb06 Ensure margins for floating rotation button account for corner insets
Bug: 134070810
Test: On P4, rotate the screen and see the button
Change-Id: I67159e94a3a03e8a580b943d860ad32b1753e160
2019-05-30 16:18:00 -07:00
TreeHugger Robot
cd8a323f2a Merge "Revert "Make statusBarColor and navBarColor transparent for"" into qt-dev 2019-05-30 23:16:30 +00:00
Nazanin Bakhshi
75de2d5464 Merge "Store subscriber ID / IMSI into telephony database" into qt-dev 2019-05-30 23:07:29 +00:00